Commit Graph

2363 Commits

Author SHA1 Message Date
diego 3818abb4ae Move all CFLAGS checks together at the beginning of configure.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29169 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-10 18:29:01 +00:00
diego 465abf0b8d Move thread-related CFLAGS settings into pthread test.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29168 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-10 17:39:44 +00:00
diego 446980680f Remove unnecessary Darwin default CFLAGS and LDFLAGS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29165 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-10 13:38:57 +00:00
diego b4546308e8 Move darwin CFLAG settings to darwin section at the beginning of configure.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29164 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-10 13:37:59 +00:00
diego 01415637a0 Move amigaos CFLAG settings to amigaos section at the beginning of configure.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29163 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-10 13:12:28 +00:00
diego e2023a9037 gcc <3.1 is unsupported on Darwin, no need to check for this.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29162 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-10 13:09:39 +00:00
ramiro ca242e5f73 Rename RUNTIME_CPUDETECT to CONFIG_RUNTIME_CPUDETECT and always define it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29154 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-08 20:21:21 +00:00
diego 79701be883 Fix wrong syntax in test example, noticed by Jason Holt, jholt google com.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29151 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-08 11:56:09 +00:00
diego 389853416f Fix passing CFLAGS and LDFLAGS with = in them as configure parameters.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29138 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-04 14:17:53 +00:00
cehoyos 431ac86c7b Fix compilation for newly added VAAPI_HWACCEL's.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29135 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-03 08:08:44 +00:00
bircoph a4861528c6 Support for libbs2b audio filter.
Add auto detection and selection routines to configure.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29131 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-02 19:01:23 +00:00
cehoyos 06c07eb5c0 Fix compilation with libavcodec's HWACCEL.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29130 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-02 18:38:15 +00:00
reimar c9120b9892 Check for ddk/ntddcdrm.h header before enabling VCD on mingw.
Fixes a compilation issue on mingw-w64 which does not have that header.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29085 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-28 18:53:26 +00:00
reimar 0e70761fd9 Rename local TMP variable to TMPRES to avoid a clash with the
variable holding the path used for temporary files - this is used
by mingw-w64 and this change avoids crashes with it.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29068 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-27 17:14:58 +00:00
diego 8a629b04c5 cosmetics: Drop leading underscore from extra_ variables.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29057 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-25 19:48:05 +00:00
diego 2c5574088d Update help output with previous --extra-ldflags change.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29049 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-24 09:32:35 +00:00
diego 1b2ad68721 Replace --with-extralibdir option by --extra-ldflags, which accepts arbitrary
LDFLAGS. Also rename the corresponding variable for consistency.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29045 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-24 00:22:51 +00:00
diego d13c228316 typo fix: Remove stray '-' from --extra-cflags option evaluation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29044 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-23 23:41:24 +00:00
diego 552a5d9ac1 Replace --with-extraincdir option by --extra-cflags, which accepts arbitrary
CFLAGS. Also rename the corresponding variables for consistency.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29043 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-23 23:37:51 +00:00
diego a5b7fe4b7c Get rid of pointless EXTRA_INC and EXTRAXX_INC config.mak variable indirection.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29042 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-23 22:53:42 +00:00
diego 941a7941de Initialize HAVE_FAST_UNALIGNED definition to 0 so that it is never undefined.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29023 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-21 16:00:15 +00:00
diego 5b8a842476 Add CONFIG_SWSCALE_ALPHA and HAVE_VIRTUALALLOC config.h #defines for FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29019 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-21 09:18:36 +00:00
cehoyos b1fc7adc3e Support icc 11.1.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28995 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-18 21:48:35 +00:00
cehoyos a2bfb53d16 Older versions of <vdpau/vdpau.h> will fail during compilation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28989 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-18 09:17:15 +00:00
diego 5148ca89d2 HAVE_THREADS should be initialized to 0, it is a 0/1 #define in FFmpeg.
patch by Dave Yeo, dave.r.yeo gmail com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28952 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-15 09:17:42 +00:00
diego 366c3fa13d KVA vo driver for OS/2, patch by KO Myung-Hun, komh chollian net
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28950 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-14 18:44:58 +00:00
diego e7d3dce041 Add /usr/X11R7 to the list of directories in which to search for X11 includes
and libraries. patch by Bernd Ernesti, mplayer-dev-eng lists veego.de


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28946 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-14 16:00:21 +00:00
reimar db0be49509 Fix compilation with --charset=noconv
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28939 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-13 16:42:42 +00:00
reimar 7397dbcb66 Update x264 version check for version required by lavc.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28869 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-07 12:50:52 +00:00
diego 1005952a8b Only add -Ilibdvdnav to the CFLAGS of the files that require it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28829 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-05 22:19:47 +00:00
diego 23599b030c DART audio output driver for OS/2 by KO Myung-Hun, komh chollian net
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28775 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-01 11:36:39 +00:00
uau 9aa9e86517 configure: Make the special dvdnav test the last one again
The libdvdnav linker flag handling is hacky and can add flags that
make any compile attempt using them fail unless MPlayer's internal
dvdread has been compiled and is linked as a part of the resulting
binary. For this reason no more tests using the common flags can be
performed after the flags from the dvdnav test have been added.
However the dvdnav test was no longer the last one despite some warning
comments. Move it back to the last position and make the warnings a
bit more explicit.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28703 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-23 01:39:27 +00:00
diego fa33e96dd8 Make alpha arch detection more lenient. Taken from the Debian patchset.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28699 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-21 22:08:50 +00:00
diego 2c48477e53 Add -ffast-math to LDFLAGS as well as to CFLAGS.
patch by Piotr Kaczuba, pepe attika.ath cx


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28694 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-21 20:25:02 +00:00
diego 1c6964f547 Add HAVE_GETHRTIME and HAVE_INLINE_ASM definitions for FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28692 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-21 17:36:26 +00:00
diego e5ee1232c5 AVR32 apparently supports fast unaligned accesses.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28641 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-17 22:05:25 +00:00
diego e9d5b64a29 Also set HAVE_EBP_AVAILABLE in debug mode.
patch by Gwenole Beauchesne, gbeauchesne splitted-desktop com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28631 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-17 11:40:59 +00:00
diego be8c67909b Convert HAVE_MALLOC_H into a 0/1 definition, fixes the warning:
mem.c:32:5: warning: "HAVE_MALLOC_H" is not defined


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28629 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-17 11:16:19 +00:00
diego e98a6e2bff Convert HAVE_MEMALIGN into a 0/1 definition, fixes the warning:
mem.c:67:7: warning: "HAVE_MEMALIGN" is not defined


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28628 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-17 10:41:13 +00:00
uau 991d64b31f Fix compilation without VDPAU
The commit adding vo_vdpau had two bugs that broke compilation when
VDPAU was not enabled.
- video_out.c used "#ifdef CONFIG_VDPAU", but it's always set to 0 or 1
- In configure, MPEG1_VDPAU_DECODER was dropped from the list of
  libavcodec codecs to disable when moving VDPAU-related ones from the
  always-disabled list to a conditinal one.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28620 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-17 00:09:15 +00:00
reimar 7e9fd9351c Add support for VDPAU video out, including hardware decoding.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28617 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-16 20:58:13 +00:00
diego 3983328889 Make configure recognize avr32.
patch by Hans-Christian Egtvedt, hans-christian.egtvedt atmel com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28612 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-16 17:02:16 +00:00
diego 802f91138e On clean/distclean, remove binaries with all types of executable suffixes.
This helps clean a tree completely before and after crosscompiling.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28539 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-12 12:17:50 +00:00
diego ceae4989a2 Port check for 10 assembler operands support from FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28534 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-11 23:11:06 +00:00
diego cdfafa6999 Add priority support for OS/2 and factorize the Windows priority support.
patch by KO Myung-Hun, komh chollian net


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28520 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-10 15:34:44 +00:00
diego 97e427039d Add proper check for posix_memalign(), needed for FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28519 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-10 02:01:35 +00:00
diego 883133fe45 cosmetics: Remove leading underscore from all def_ variables.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28489 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-08 22:49:52 +00:00
diego a760f58636 Add CONFIG_LIBAMR_NB_FIXED #define for FFmpeg to config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28488 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-08 21:57:14 +00:00
diego 94a8f89c57 CONFIG_LIBAMR_NB/WB should be 0/1 #defines.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28487 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-08 21:56:18 +00:00
diego 49f88ad861 Conditionally compile aclib.c instead of placing #ifdef around its content.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28483 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-08 03:42:00 +00:00