Commit Graph

2200 Commits

Author SHA1 Message Date
diego ed0af8844a Determine default CD/DVD device in configure instead of using an #ifdef jungle.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27809 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-21 07:02:25 +00:00
diego 491826b4cd cosmetics: Reorganize config.h. Remove pointless comments, group together
options in sensible parts and order them alphabetically.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27795 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 20:44:05 +00:00
diego d0ff7c091a typo: _dev_dvd_openbsd --> _def_dvd_openbsd
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27794 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 20:40:34 +00:00
diego 6fa340d54c Create LIBDIR for binary codecs upon make install.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27793 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 20:25:41 +00:00
diego 4a29d6dee8 Move dcbzl definition to the FFmpeg section of config.h where it belongs.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27792 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 20:23:22 +00:00
diego 26b29f4f2d Replace all occurrences of '__volatile__' and '__volatile' by plain 'volatile'.
We were using an inconsistent mix of the three variants and 'volatile' should
be the most correct and portable variant.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27791 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 20:17:56 +00:00
diego 6b52a2e974 Change all occurrences of asm and __asm to __asm__, same as was done for FFmpeg.
Neither variant is valid C99 syntax, but __asm__ is the most portable variant.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27788 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 18:59:27 +00:00
diego 629db77d89 Move DEFAULT_CDROM_DEVICE/DEFAULT_DVD_DEVICE to stream.h where it belongs.
config.h should only contain option definitions, no logic.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27787 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 18:28:38 +00:00
diego 7136bb0105 Move likely/unlikely macros to libmpdemux/demuxer.h where they are used.
config.h should only contain option definitions, no logic.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27786 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 18:26:01 +00:00
diego af21f25f31 Move SCREEN_SIZE_X/Y definition to libmpcodecs/vd.c where it is used.
config.h should only contain option definitions, no logic.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27785 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 18:24:18 +00:00
diego a290af1657 Move X11_FULLSCREEN definition to x11_common.h where it belongs.
config.h should only contain option definitions, no logic.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27784 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 18:19:36 +00:00
diego 2b9e1bf0fa Move attribute_used declaration from config.h to mangle.h where it is useful.
config.h should only contain definitions, no logic.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27781 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 18:13:06 +00:00
diego af9d6f2d0e sun --> __sun in config.h preprocessor check
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27777 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 13:33:29 +00:00
diego 6e40bc14c9 cosmetics: Move _def_fast_unaligned to the FFmpeg section of config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27775 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-14 23:15:10 +00:00
diego 883557290d cosmetics: Consistently name all header #define variables.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27774 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-14 23:00:04 +00:00
diego 7b64ef7fd4 Set HAVE_FAST_UNALIGNED for PowerPC as well, patch by Emanuele Giaquinta.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27763 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-13 22:25:35 +00:00
diego 885a7962ec Remove global definition of WIN32 in config.h for Cygwin.
Instead just define it for libdvdcss, where it is strictly needed.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27762 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-13 16:26:05 +00:00
diego 4d644f513c Replace preprocessor check for WIN32 with checks for __MINGW32__ and __CYGWIN__.
This avoids a pointless indirection that only obscures what is really done.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27761 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-13 16:23:55 +00:00
diego 7559876669 Remove check for byteswap.h, it was removed from FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27752 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-13 14:17:25 +00:00
diego 8f2b2b1b03 Filter out .hh and .h files in the C++ dependency generation command.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27749 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-12 17:18:15 +00:00
diego 28d7f776ac Remove useless HAVE_STRCHR definition from config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27748 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-12 17:14:13 +00:00
diego ac3b6d090c Move socklen_t typedef from config.h to stream/network.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27744 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-12 12:12:41 +00:00
diego 4ac23d655f Do not provide a prototype for setenv in config.h, we do not provide a
prototype for all the other functions that we have in osdep/.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27743 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-11 08:22:03 +00:00
diego 41272e3014 cosmetics: Move some config.h entries to more sensible places.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27742 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-10 21:56:03 +00:00
diego 54a1406b31 cosmetics: Group codec-, network- and gui-related options together in config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27741 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-10 05:34:49 +00:00
diego e61c3a381a cosmetics: Group system header and function definitions together in config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27740 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-09 22:11:56 +00:00
cehoyos 3fa84e0247 Disable mp3lib and liba52-internal for icc.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27721 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-05 20:43:09 +00:00
diego 6fb9d58116 Revert the removal of the likely/unlikely macros, they are still used.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27717 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 17:55:42 +00:00
diego 036b3d0c51 Merge variable declaration and export.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27716 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 17:15:39 +00:00
diego d68f29e593 Add a comment to lonely 'fi' for clarification.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27713 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 15:06:50 +00:00
diego 975e5a97e2 cosmetics: more config.h reordering
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27711 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 13:07:31 +00:00
diego 34e161377a cosmetics: Reorder entries in config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27710 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 12:39:16 +00:00
diego 5fa09d26e0 100l: Revert incorrect removal or --ar and --ranlib options.
They are still needed for FFmpeg.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27709 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 12:24:18 +00:00
diego b91df4ad96 cosmetics: Improve some config.h comments.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27708 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 12:14:38 +00:00
diego 02c93f7b98 Do not duplicate likely/unlikely #defines from libmpeg2/libavcodec in config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27707 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 11:47:00 +00:00
diego 6e916bbf28 Remove unused HAVE_SYS_POLL_H definition from config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27706 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 11:42:39 +00:00
diego 5b3b982baf cosmetics: Move around some more stuff in config.mak.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27705 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 11:27:39 +00:00
diego c43243575c cosmetics: Move around stuff in config.mak.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27704 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 11:06:50 +00:00
diego e46c293c57 Remove unused LIBDIR Makefile variable from config.mak.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27703 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 10:57:57 +00:00
diego 40505981d7 Remove unused options --ar and --ranlib.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27702 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 10:53:28 +00:00
diego b924795056 Do not set DESTDIR to an empty value so that it can be overridden on the
command line.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27701 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 10:39:29 +00:00
diego 220ec4f125 FAAC/FAAD are no longer the only available AAC encoders/decoders.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27700 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 10:18:42 +00:00
diego 526cfa28a2 Remove word size check and macro and use __WORDSIZE directly instead.
It has been done this way in libswscale for years without apparent ill effect.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27699 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 10:16:48 +00:00
diego 677ce98c85 Merge SPARC and SPARC64 sections in the CPU detection code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27697 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 09:38:10 +00:00
diego 6685ee530b Skip setting variables to empty values in the CPU detection code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27696 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 09:27:46 +00:00
diego c4c2d94214 100l copy and paste typo fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27694 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-03 22:49:53 +00:00
diego 6c9eadf059 spelling cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27693 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-03 22:46:33 +00:00
diego 8a0c673c03 Fix vsscanf test.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27692 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-03 22:39:06 +00:00
diego e4b700c6f8 CVS --> Subversion
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27689 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-03 21:49:25 +00:00
diego 6aa065d0c6 Filter out xpm files from the list of dependencies to check for recursive
dependencies. This avoids a ton of spurious warnings when generating
dependency information in the gui subdirectory.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27686 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-03 09:56:37 +00:00