Commit Graph

2232 Commits

Author SHA1 Message Date
diego fa164d8a94 Add Dirac video support via libdirac and libschroedinger in libavcodec.
patch by Anuradha Suraparaju, anuradha rd.bbc.co uk


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27339 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-22 22:58:51 +00:00
diego ebb8b63112 Only build the documentation in the languages requested from configure.
Fixes Bugzilla #978.
inspired by a patch from Jonas Berlin, bugs outerspace.dyndns org


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27328 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-19 02:00:56 +00:00
diego f45acd080b Fix typo in msg_lang variable name that prevented the correct message
filename from being generated.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27319 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-17 22:38:26 +00:00
ben 9ca38e5303 Maemo platform runs on Nokia N8x0 series too.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27315 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-17 19:23:27 +00:00
reimar 6dfb85dc9e Our ALSA code needs alloca, so check for it in configure and include alloca.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27313 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-17 17:11:30 +00:00
diego 4cbefcd4f1 cosmetics: Indent language handling after last commit.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27312 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-17 12:38:05 +00:00
diego adc68058bd Rewrite translation handling in the build system.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27311 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-17 12:36:54 +00:00
diego 67dec9f5a8 Simplify summary output, add an extra empty line to it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27310 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-17 12:24:47 +00:00
diego 535174672b Remove note about localization from configure output.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27309 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-17 12:22:05 +00:00
diego 87f1f5fea3 cosmetics: Rename _doc_lang variable to doc_lang.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27308 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-17 12:19:39 +00:00
diego fad0b588c2 Add variables for all available man page and documentation languages.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27300 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-16 16:14:56 +00:00
diego c2c1ef0189 Remove redundant check in message language test.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27298 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-16 16:05:58 +00:00
diego 5068f7a778 Move the "all" option to the front of the list of available languages in
the configure help output so it can be noticed more easily.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27297 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-16 15:53:21 +00:00
diego e0a81e9d31 cosmetics: Rename LANGUAGES variable to msg_langs.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27296 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-16 15:51:15 +00:00
diego fb01819aba Replace output redirection with grep by POSIX standard options.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27295 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-16 15:38:06 +00:00
diego 4d16c72fa0 Replace simple sed invocation by even simpler tr invocation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27294 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-16 15:09:24 +00:00
diego 4b068f19a9 Merge two consecutive sed calls into one.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27293 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-16 15:08:34 +00:00
reimar b945a124ef ALSA stupidly tries to define struct timeval and struct timespec, which
may cause compilation errors. Check for this and disable ALSA.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27288 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-15 16:39:26 +00:00
diego 727a1272bc Fix dlopen(), dlclose() dlsym() calls in configure test.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27287 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-15 09:21:53 +00:00
diego 64944f9385 Fix tgetent call in termcap configure test.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27286 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-15 09:17:07 +00:00
diego ff641a6429 Add two more missing headers to configure checks.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27285 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-15 09:07:31 +00:00
diego 0c107a325e Add missing return statements to configure tests.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27284 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-15 08:31:43 +00:00
diego 39456b850a Add missing headers to configure checks.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27283 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-15 08:18:08 +00:00
rathann 414178967f Do not set _dvdreadconfig unconditionally.
Makes --with-dvdread-config actually work.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27274 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-13 14:36:20 +00:00
diego 846f87f83b cosmetics: main (void) --> main(void)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27273 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-13 11:54:13 +00:00
diego 0caa345a69 main(void) --> int main(void) in .align test
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27272 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-13 11:50:48 +00:00
diego 72fa0a8931 Use correct header in libamr narrowband test.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27271 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-13 11:49:57 +00:00
diego 4952dbf19a Dependency files should be refreshed when object files are rebuilt.
Express this with Makefile syntax instead of in the dependency file
generation command.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27268 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-12 08:23:10 +00:00
diego 86f66849c1 Add -std=gnu99 to gcc CFLAGS if supported. This sets appropriate #defines to
avoid a bunch of implicit declaration warnings in (g)libc headers that define
certain functions conditional to those #defines.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27240 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-08 16:11:58 +00:00
diego 9cb9c5df70 Add missing 'struct input_id id' to Apple IR configure check.
patch by Jan Knutar, jknutar nic fi


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27129 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-24 08:21:04 +00:00
diego e8ff7f29f6 Dependency files need to get updated when any of their dependencies are
modified. Otherwise new header inclusions might get missed and necessary
recompilations would get skipped.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27125 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-23 08:58:25 +00:00
diego 0d11807191 Replace misuse of echores in libdvdnav check by _res_comment.
Reword the informative message.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27122 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-22 16:41:26 +00:00
ben 566f257194 fix obviously wrong option description
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27117 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-20 20:31:19 +00:00
ben 2bd0d969a6 allow conditionnal compilation of yuv4mpeg video out.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27103 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-20 19:33:32 +00:00
diego 02134bc46b cosmetics: Group internal codec library tests together.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27074 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-15 16:00:51 +00:00
lu_zero a5b74aa05d Fix support for libnemesi installed on nonstandard paths
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27056 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-13 08:28:03 +00:00
gpoirier 39af15e1b4 require latest x264 to enable MEncoder's x264 support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27041 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-09 08:09:02 +00:00
diego 3ddc612bdb Add support for enabling VIDIX dhahelper.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27029 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-08 10:38:28 +00:00
diego 4653f5ed75 Restore support for compiling with svgalib_helper.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27025 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-07 14:32:06 +00:00
diego b248b393df Only check for VIDIX PCI device name database if VIDIX is enabled.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27024 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-07 14:00:04 +00:00
diego 24b27f92c1 Make sure that the LC_ALL variable is exported to the environment of
shell commands invoked by make.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27023 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-07 13:54:49 +00:00
ben de97a24d3f Drop support for external libvidix (unmaintained and not up-to-date)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27006 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-07 10:54:07 +00:00
diego 764c8aee0f Use LC_ALL instead of LANG in config.mak to prevent locale settings from
messing with text processing tools.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26967 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-02 16:32:38 +00:00
diego 0e5273520b 10l: Restore LANG variable in config.mak so that shell commands are not
negatively affected by (broken) locale settings.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26966 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-02 12:55:24 +00:00
diego fb9b1ccced Remove unused variable LANG from config.mak.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26965 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-02 12:28:48 +00:00
diego a81621c35d Remove unused variable TARGET_OS from config.mak.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26964 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-02 12:26:57 +00:00
diego 1f2cc31b4e cosmetics: Restructure config.mak logically and alphabetically.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26963 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-02 12:24:28 +00:00
diego 6459b442ba Remove unused variable TARGET_CPU from config.mak.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26962 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-02 12:09:01 +00:00
diego 32ed434840 Remove unnecessary FFmpeg hack from config.mak.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26961 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-02 11:08:04 +00:00
nicodvb 167c4a1990 tiny reindentation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26954 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-01 07:45:22 +00:00
nicodvb d73f2a4c07 disable dvdnav when using the internal dvdread
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26953 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-01 07:44:36 +00:00
nicodvb 95a38dab33 reindented the dvdread detection block
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26952 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-01 07:32:28 +00:00
nicodvb 5241f8a1f1 changed the code that checks the presence of the external dvdread
to include the headers from libdvdread/ (as in current svn)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26951 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-01 07:31:03 +00:00
nicodvb 35071aae3f removed support for Ogle's dvdread
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26950 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-01 07:28:31 +00:00
diego 6e478b9ea6 Change spelling of XviD to Xvid as has already been done in the (rest of the)
documentation. The name change was effected a few years ago already.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26940 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-31 16:38:02 +00:00
diego 6a131b0ddf Rework AltiVec CFLAGS detection. '-maltivec -mabi=altivec' should be used
only when altivec.h is available and preferred over '-faltivec'.
This should now finally work on all Mac OS X and gcc combinations.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26930 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-30 18:03:36 +00:00
diego b1bbd23b61 Check for AltiVec vector declaration syntax.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26926 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-30 11:45:08 +00:00
iive 08ec85ba4b Revert commit r26897.
XviD is the correct spelling of the codec. 
You can see it written in the codec own 
documentation and header files.

Prefered name capitalization confirmed 
in conversation with XviD developer (prunedtree).



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26915 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-28 23:04:41 +00:00
diego 8ac2b7bbf5 cosmetics: XviD --> Xvid
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26897 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-27 12:41:27 +00:00
ben e3755edad5 add potentially missing types
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26841 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-20 20:51:22 +00:00
diego a560f84301 Output a better informative message if no AltiVec CFLAGS can be found.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26838 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-19 05:41:49 +00:00
diego a2fda39c21 Do not run second AltiVec CFLAG check in a subshell; the variable that is
set as a result is needed in the calling shell.
noticed by Michael Kostylev


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26837 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-19 05:40:19 +00:00
diego 955495414e Replace hack to disable iconv conversion of messages with something more sane.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26831 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-18 23:16:30 +00:00
diego aaf66caefd Only run AltiVec compiler tests on PowerPC.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26830 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-18 19:05:52 +00:00
diego 700a3f74c5 10l: Fix MAN_LANG creation for real this time.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26825 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-18 17:32:51 +00:00
diego ea41342f76 10l: missing quotes in sed command
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26824 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-18 17:22:53 +00:00
diego 32fc1074a6 Split MAN_LANG Makefile variable into MAN_LANG and MAN_LANG_ALL with
MAN_LANG only containing the translated languages.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26818 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-18 16:40:20 +00:00
diego 049d820592 Introduce make variable common to the GTK and Windows GUI and use it
in the appropriate places.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26817 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-18 16:25:20 +00:00
diego ed2e3a2199 10l: Add missing parentheses in AltiVec test logic.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26807 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-18 15:49:31 +00:00
ben dc6d14fb1b Add support for AppleIR Remote as an input under Linux systems.
This requires Linux 2.6 with evdev and appleir drivers.
The keymapping is done to mimics the one that was done for MacOSX.

WARNING: Most distributions do not seems to bother and only let root
access to the device. Modify udev rules accordingly if you want regular
user to be able to use the remote.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26795 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-18 11:53:00 +00:00
diego 5423c418c2 cosmetics: Remove useless parentheses from return statements.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26791 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-16 09:42:28 +00:00
diego 1290235b58 Prefer FSF-style AltiVec flags over Apple-style.
FSF gcc is better than Apple gcc.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26720 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-10 14:57:13 +00:00
diego b77add3447 Simplify AltiVec compiler flag test.
Add a note about the new build system to the AUTHORS file.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26719 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-10 14:54:51 +00:00
diego 87836bc7c8 Simplify AltiVec CFLAG test.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26717 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-10 13:41:10 +00:00
diego 26f5615762 Replace some if constructs with && in the AltiVec test.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26716 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-10 13:40:36 +00:00
diego 3f747ea3a7 cosmetics: whitespace changes, spelling, code moving in AltiVec test.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26715 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-10 13:23:05 +00:00
diego 00b1ac02e2 Only check for and set AltiVec flags if AltiVec or runtime CPU detection is
enabled.  Fixes Bugzilla #1073.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26712 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-10 12:13:53 +00:00
diego ca91eee881 Remove outdated FIXME comment.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26710 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-10 12:07:06 +00:00
diego f6318795de FFmpeg parts no longer require extra -I CFLAGS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26704 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-09 12:39:04 +00:00
diego 5f377b0985 cosmetics: indentation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26701 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-09 00:02:27 +00:00
diego 1b9fab9b17 Add options to handle the external libraries in libavcodec, which require
extra linker flags etc. individually.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26700 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-08 22:50:17 +00:00
diego becb41b03e Add option to disable mp3lame.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26699 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-08 22:32:40 +00:00
diego e68334018f cosmetics: Rename _lavc_* variables to _*_lavc.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26698 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-08 21:58:32 +00:00
diego e5b39178e8 cosmetics: Rename _def_lavc_* variables to _def_*_lavc.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26697 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-08 21:50:31 +00:00
diego 410f101d4d Remove obscure comment about libmp3lame depending on Vorbis.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26683 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-07 23:45:11 +00:00
diego 5fb33b5b5f 1l: Remove leftover _lavc_x264 variable.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26682 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-07 23:26:16 +00:00
diego 6630c983d6 Always enable x264 in libavcodec if x264 is enabled.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26678 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-06 22:56:42 +00:00
diego a3d37001af Rewrite (gcc) compiler check to default to enabling compilation and not set
gcc-specific variables before the compiler is confirmed to be gcc.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26668 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-04 11:35:07 +00:00
diego 462874ba64 cosmetics: Remove trailing whitespace.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26667 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-03 20:14:50 +00:00
diego acd931bbbf cosmetics: Remove unused argc/argv parameters from test programs.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26666 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-03 20:07:04 +00:00
diego 5a233b416f cosmetics: Consistently compactify and reformat test programs.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26665 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-03 20:03:36 +00:00
diego 1ad8aae439 Use a regular expression to filter out all external library parts from FFmpeg.
In the rare cases we use some of those external libraries, add them explicitly
instead of removing them if the library is disabled.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26660 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-03 15:40:12 +00:00
diego 1f6d336dc5 Remove dead code; LIBVORBIS_ENCODER is deleted from _libavencoders elsewhere.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26659 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-03 15:30:45 +00:00
diego bf73f7d900 External libraries used by FFmpeg now have a lib prefix in their name.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26658 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-03 15:29:26 +00:00
reimar 5e148df550 Fix compilation: disable libdirac and libschroedinger FFmpeg de- and encoders.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26655 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-03 14:25:10 +00:00
diego efd42817e4 cosmetics: Reindent after last commit and reformat comment.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26643 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-01 17:51:04 +00:00
diego 6ff2ac06fd Always run the GCC AltiVec test so that the correct AltiVec CFLAGS get picked
up. They are needed even on machines without AltiVec for the altivec.h check.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26642 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-01 17:48:38 +00:00
diego 926b32f487 cosmetics: Fix indentation after last commits.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26641 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-01 17:43:12 +00:00
diego 974576b0c2 Remove obsolete gcc 2.96 warning message. This was also used for e.g. icc,
which makes no sense at all.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26640 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-01 17:40:38 +00:00
diego 55cab460a9 Remove --disable-gcc-check option and related code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26639 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-01 17:32:52 +00:00
diego c712ce6632 Rename cc_verc_fail variable to cc_fail.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26638 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-01 17:25:19 +00:00
diego d5859f1ae6 cosmetics: Simplify altivec.h test.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26631 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-01 13:49:53 +00:00
diego a37b456dd8 cosmetics: Fix indentation after last commit.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26630 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-01 13:46:17 +00:00
diego be32c9127d Check for altivec.h always, not just when AltiVec is enabled.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26629 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-01 13:45:00 +00:00
diego 4d3d65af03 Set libdvdcss CFLAGS for dvdread from configure.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26619 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-30 15:36:17 +00:00
diego 2e30b5c260 Move CFLAGS setting to configure.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26599 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-29 22:27:50 +00:00
diego 2582357923 Remove unnecessary -I.. from CFLAGS, change -I../libavutil to -Ilibavutil.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26577 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-28 15:19:50 +00:00
diego 21c9bd3b8b Only compile libmpcodecs/ve_qtvideo.c on Windows.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26545 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-26 10:53:32 +00:00
diego cc339fac3a Rename make variable DVDCSS_INTERNAL --> LIBDVDCSS_INTERNAL.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26525 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-24 22:30:50 +00:00
diego e7f6edf300 dependency generation infrastructure for C++ files
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26521 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-24 21:46:50 +00:00
diego a2d82df9cc Move libfaad2 fixed-point CFLAGS setting to configure.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26517 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-24 16:41:44 +00:00
diego 8784ae223d Move Tremor low accuracy CFLAGS handling to configure.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26502 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-22 22:55:55 +00:00
nicodvb 5c1be94ba3 added support for dvdread-config (from our svn), called as fallback when dvdread isn't detected
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26497 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-22 21:48:28 +00:00
diego 61e9f32d6a Only add available CPU extensions to config.mak.
Fixes compilation on non-x86 after latest FFmpeg changes.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26493 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-22 19:46:08 +00:00
diego 4be1fe461f Fix DEPEND_CMD, there was one level of variable indirection too much.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26436 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-13 10:59:11 +00:00
diego 0cf1308e21 Add Makefile variable for DVB OSD menu, saves one ifeq.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26434 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-13 10:44:21 +00:00
diego 7bd7e50709 Restore compilation of osdep/mplayer-rc.o.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26431 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-13 07:57:35 +00:00
diego 67e8b044c3 Fix MPDEPEND_CMD to work with more than one subdirectory level.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26426 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-12 23:28:11 +00:00
zuxy b74750a948 Enable runtime control for colorful and/or module name output
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26402 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-12 12:51:07 +00:00
diego b406dccd69 Remove unused make variable.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26399 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-11 17:45:17 +00:00
diego f55af6125a Add GUI_GTK make variable.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26396 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-11 10:51:36 +00:00
diego 7a4e96783d Remove unused TARGET_WIN32 setting.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26388 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-11 07:39:49 +00:00
diego 0e2ecd39c5 Add a config.mak variable to control compilation of the Win32 GUI.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26386 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-11 07:28:32 +00:00
diego 137ff809f9 Remove unused definition.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26385 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-11 07:17:40 +00:00
diego 2f4381fffd Rename ASS make variable to LIBASS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26378 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-09 18:26:44 +00:00
diego 0ce6d08a83 Handle af_ladspa conditional compilation in the usual way.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26373 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-09 17:23:59 +00:00
diego 2abdcd86d9 Move decision about which getch2 and timer file to compile to configure.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26351 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-08 18:03:14 +00:00
diego e2c560a9f6 Move decision about whether or not to compile osdep/mmap_os2.c to configure.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26350 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-08 17:31:25 +00:00
diego 4022a072f0 Fix FFmpeg DEPEND_CMD to account for latest changes and add MPDEPEND_CMD.
MPlayer needs a slightly modified incantation due to different levels
of Makefile indirection.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26348 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-07 23:49:39 +00:00
diego e20c28296b Export some more information for FFmpeg's buid system.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26325 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-04 19:38:06 +00:00
diego 54ea438edf Darwin and Win32 DVD support libs are handled separately, take them back
out of the combined system and DVD header test in the dvdread check.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26318 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-01 21:59:39 +00:00
diego a414eba619 Initialize _dvdread variable to "no" in the dvdread check.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26317 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-01 21:22:02 +00:00
diego 228b36b9b3 Ahem, fix quoting of $ in DEPEND_CMD.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26311 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-31 17:48:50 +00:00
diego adc9ef3107 Add DEPEND_CMD to config.mak (sync with FFmpeg).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26310 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-31 17:27:01 +00:00
diego 8697a8148d Rename HAVE_XVMC_ACCEL to HAVE_XVMC for consistency and to sync with FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26309 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-31 17:19:51 +00:00
diego 073786ee4f cosmetics: Group all FFmpeg settings together in config.mak.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26308 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-31 17:04:06 +00:00
diego ff3609fb9b HAVE_MLIB was renamed to CONFIG_MLIB in FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26307 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-31 16:53:14 +00:00
diego 568fb38cda cosmetics: prettyprinting
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26284 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-27 11:19:11 +00:00
diego bd3b8d278a some more DragonFly BSD changes, patch by Hasso Tepper, hasso estpak ee
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26283 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-27 11:18:09 +00:00
diego 5420e79056 support for DragonFly BSD, patch by Hasso Tepper, hasso estpak ee
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26280 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-27 02:04:03 +00:00
diego 5a5acd6b1f Remove bsd() system check. Lumping different *BSD systems together like
that was not a good idea in the first place. They are too different and
constantly diverging.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26279 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-27 01:56:37 +00:00
diego 0383a49a67 cosmetics: Reindent X11 header search section after last commit.
patch by Guillaume Lecerf, foxcore gmail com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26277 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-26 00:15:43 +00:00
diego 27ffcb5802 Do not look for X11 headers on the host when cross-compiling.
patch by Guillaume Lecerf, foxcore gmail com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26276 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-26 00:14:51 +00:00
eugeni b0d3b9e4c8 Compilation fix.
Since FFmpeg r12484, libswscale requires EXTERN_PREFIX defined.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26262 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-18 09:09:53 +00:00
diego 6a0541fd70 Remove unused MACOSX definition.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26250 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-15 11:37:18 +00:00
diego 9e1ccf7447 Introduce HAVE_QUICKTIME definition and use it where appropriate.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26248 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-15 11:31:28 +00:00
diego b5fb7e831e Add a separate definition for quartz.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26245 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-15 09:49:14 +00:00
diego ebd1b1f8f9 10l: Really disable coreaudio where intended.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26244 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-15 09:28:33 +00:00
diego ca16b1ad20 Do not disable all Mac OS X support when pthreads are unavailable.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26242 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-15 09:20:41 +00:00
diego 5e49bb2dd2 MACOSX_COREVIDEO --> corevideo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26241 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-15 09:19:38 +00:00
diego f9da8542dd Introduce a separate definition for Mac OS X coreaudio support.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26240 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-15 08:54:21 +00:00
diego 8c7467a011 Fix wrong res_comment.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26239 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-15 08:21:02 +00:00
diego c188635e70 CONFIG_SWSCALER --> CONFIG_SWSCALE to match FFmpeg changes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26211 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-10 18:00:25 +00:00
zuxy 05854c17bb Disable QTX emulation on win32; fix builds on cygwin and mingw32.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26208 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-10 08:16:55 +00:00
diego ef5a881b07 CONFIG_PP --> CONFIG_POSTPROC, sync with FFmpeg
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26203 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-08 18:55:08 +00:00
diego ee5e856146 Move HP-UX SCSI header check from the internal libdvdread check to the
internal libdvdcss check, where it is really used.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26202 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-08 16:44:51 +00:00
diego cd3ee8b2b2 Add parentheses where necessary to fix || conditions to work as intended.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26190 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-07 10:39:43 +00:00
diego 8599bc5eb8 Remove duplicate conditions in dvdread check.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26189 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-07 10:36:31 +00:00
diego c84c5f6258 Set ASFLAGS in configure and initialize it as necessary for OS/2.
patch by KO Myung-Hun, komh chollian net


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26188 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-07 10:05:08 +00:00
diego edc39ca57e Disable S3 VIDIX driver on non-x86 platforms.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26177 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-06 00:42:24 +00:00
diego d6662d9e78 10l: ENABLE_GRAY needs to be present for libavcodec to compile.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26176 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-06 00:34:40 +00:00
diego 5d3c5c26f6 Do not enable grayscale decoding in FFmpeg, it slows down the
default (color) case.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26174 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-05 23:04:27 +00:00
diego 9d6f93f652 Add ENABLE_DECODERS/ENABLE_DEMUXERS alongside CONFIG_DECODERS/CONFIG_DEMUXERS
in config.h. 


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26173 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-05 23:03:04 +00:00
diego 98669ebdce Move decision about whether or not to compile Windows emulation
infrastructure to configure.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26149 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-03 18:12:05 +00:00
diego e834773166 Move decision about whether or not to compile wrapper.S to configure.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26148 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-03 17:51:36 +00:00
uau 2e16b2826a configure: Set CONFIG_ENCODERS=yes in config.mak unconditionally
config.h already had "#define CONFIG_ENCODERS 1" unconditionally, but
the config.mak value depended on whether MEncoder was enabled.
Encoders need to be enabled as some encoder code is used by MPlayer
too. The inconsistent values broke compilation with --disable-mencoder
after libavcodec Makefile made compilation of i386/dsputilenc_mmx.o
depend on the config.mak value.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26142 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-03 03:02:36 +00:00
ben 094daed554 New S3 VIDIX driver.
Provides support for S3 Trio and S3 Virge chipsets.
This deprecates the old Savage driver that worked with latest chips only.
(synchronized with vidix.sf.net r326 and r327)



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26128 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-29 20:01:28 +00:00
diego aeb2ece331 Use _res_comment in joystick check.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26110 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-28 18:19:10 +00:00
diego d1e5f8e31a Default to disabling VIDIX on platforms where it is not known to work.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26106 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-26 23:24:53 +00:00
uau 6d9f52dac0 configure: define ENABLE_ENCODERS for FFmpeg
Compilation was broken as FFmpeg's dsputil_mmx.c now (ab)uses this
variable. Fix by adding "#define ENABLE_ENCODERS 1" to generated
config.h.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26104 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-26 05:18:56 +00:00
diego 21c200e767 FFmpeg now uses different (unified) #include paths.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26101 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-25 15:46:36 +00:00
diego 7c631d4bea Disable internal VIDIX on OS/2, patch by Dave Yeo, dave.r.yeo gmail com.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26095 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-24 22:41:39 +00:00
cehoyos 9247d50842 Only icc 10.1 will be supported.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26081 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-24 11:18:12 +00:00
cehoyos 5f34c7b2aa Check for -mno-omit-leaf-frame-pointer (compilation fix for icc 10.1.012).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26080 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-24 11:15:30 +00:00
diego ea42787378 #define ATTRIBUTE_ALIGNED_MAX in config.h instead of hardcoding it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26075 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-23 13:13:28 +00:00
diego b8850a630d Move libdca definition to a better place in config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26074 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-23 12:47:19 +00:00
diego 884a2ba97a Replace Alpha MVI compiler workarounds by a proper configure check.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26051 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-21 16:47:05 +00:00
diego f1d416c70c Use standard multiple inclusion guard.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26050 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-21 16:35:00 +00:00
diego 9a1c6d9d89 Remove unused #define from config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26049 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-21 16:34:23 +00:00
diego 8d4b171c8c basic support for OS/2 in configure
patch by KO Myung-Hun, komh a chollian d net


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26022 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-18 15:02:41 +00:00
diego 1b2d02e8e3 Set SYS_BEOS for libdvdcss compilation on BeOS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26021 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-18 14:57:54 +00:00
diego 9b3be6a2ca Apple gcc defines __APPLE_ALTIVEC__ with -faltivec.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26011 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-16 15:34:19 +00:00
iive 153b4a23f9 Implement test for system byteswap.h header file.
The result of this check is required by libavutil library.
If it is not defined the library would try to implement its own
byte swapping routines in bswap.h . As the routines are with same names, 
if included, the system definition would replace the function names with
the macros. The result can not be compiled and looks like this:

# 42 "../libavutil/bswap.h"
-static av_always_inline uint16_t bswap_16(uint16_t x)
+static __attribute__((always_inline)) inline uint16_t (__extension__ ({ register unsigned short int __v, __x = (uint16_t x); if (__builtin_constant_p (__x)) __v = ((((__x) >> 8) & 0xff) | (((__x) & 0xff) << 8)); else __asm__ ("rorw $8, %w0" : "=r" (__v) : "0" (__x) : "cc"); __v; }))


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25989 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-12 21:10:13 +00:00
diego 1726ba9e05 Disable v4l2 if pthreads are not available, fixes bug #1015.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25975 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-10 19:37:18 +00:00
iive 3e9b59583d Update the test for ivtv output driver.
Linux kernel 2.6.24 now includes ivtv, 
but the vo_ivtv.c fails to compile with it.

Test for structures and ioctl()s used in the current driver.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25946 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-01 20:14:53 +00:00
reimar ca8decea78 Also accept OpenAL32 as library name for OpenAL, it is used by some Windows-Implementations
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25937 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-30 21:46:20 +00:00
diego 989d3d9452 Remove setting of ldconfig, it is unused.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25886 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-27 17:05:10 +00:00
iive 41c2d2cb15 Move Zoran video controller check after the libavcodec one.
As _libavcodec_a is set to "auto" the zoran check used to always fail.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25836 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-23 14:08:59 +00:00
diego 026a104c62 The GUI requires font support.
patch by Guillaume Lecerf, foxcore gmail com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25753 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-14 23:08:24 +00:00
uau 77c0eb8af9 Set CONFIG_SWSCALER in order to avoid imgresample
Set "CONFIG_SWSCALE=yes" in config.mak. This prevents building
libavcodec/imgresample.o which has symbols that conflict with swscale
ones.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25655 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-09 01:17:52 +00:00
uau 3e9a60e11d Add HAVE_SOCKLEN_T to config.h for FFmpeg
Needed to fix compilation after recent FFmpeg changes. It's now always
set to true without any tests. I don't expect this to cause problems
as common systems will have the type and the FFmpeg demuxers which
would use it are not compiled under MPlayer (compilation was broken
because the type was redefined in a header).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25592 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-03 01:44:58 +00:00
diego 2ca61e7f46 Use _ISOC99_SOURCE instead of _GNU_SOURCE.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25584 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-02 18:32:55 +00:00
nicodvb 7ded17d4c2 include dvdnav.h from its installation directory rather than appending
-Idvdnav to the compilation of the whole mplayer (dvdnav-config was just
cleaned)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25567 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-01 17:34:57 +00:00
eugeni 43de62a54d Add detection of *lrint* and round* functions to configure.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25535 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-28 17:23:57 +00:00
diego a9d779578d Make windres binary name configurable, useful for cross-compiling.
patch by sheba, sheba469 yahoo com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25534 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-28 10:33:22 +00:00
reimar 4a6fb09a63 Simplify int_fastXY_t test in configure.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25497 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-22 15:44:57 +00:00
reimar defbb2a545 Add support for XScreenSaverSuspend
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25494 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-22 11:09:43 +00:00
diego f9455f34d0 Remove internal unrarlib copy, the new unrarexec code is a strict superset.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25468 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-20 10:10:26 +00:00
ulion 6277b4387f Support cddb on darwin.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25421 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-16 11:31:52 +00:00
uau 44a3623cfd Always enable largefile support by default
The largefile configure option was disabled by default, but the
enabled-by-default dvdread and dvdcss options force in on (dvdnav
code also tries to enable it, but sets the variable too late so that
is has no effect). Change configure to enable largefile support
independently of other options unless explicitly disabled.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25400 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-14 22:02:48 +00:00