Commit Graph
2103 Commits
Author SHA1 Message Date
diego 863b4e5218 Initialize socklen_t variable to "no".
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27386 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-01 05:35:30 +00:00
diego 83edb070eb For the case that we add a typedef for socklen_t, we should #define
HAVE_SOCKLEN_T as well to avoid clashing with other typedefs.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27379 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-30 18:22:32 +00:00
diego a376987211 Check for socklen_t in ws2tcpip.h as well.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27378 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-30 18:16:57 +00:00
diego 6138ec05eb Rename preprocessor directive HAVE_MENU --> CONFIG_MENU.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27377 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-30 18:07:19 +00:00
diego e3afb4b2de Remove unused HAVE_MENCODER definition.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27376 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-30 13:46:27 +00:00
diego 3b31fa5717 Rename two GUI-related preprocessor directives:
HAVE_NEW_GUI --> CONFIG_GUI, HAVE_GTK2_GUI --> CONFIG_GTK2


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27375 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-30 13:44:59 +00:00
diego 1fdf02e6fb Remove unused definition from config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27374 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-30 12:03:30 +00:00
diego 4b141479da Start unifying names of internal preprocessor directives.
Replace all USE_ prefixes by CONFIG_ prefixes to indicate
options which are configurable.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27373 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-30 12:01:30 +00:00
diego 914d02fbdf Remove unused definition from config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27370 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-30 09:49:59 +00:00
diego 32879d8d61 Add proper check for socklen_t.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27369 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-30 09:42:37 +00:00
diego 2871b0b874 cosmetics: Group FFmpeg definitions together in config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27368 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-30 08:59:02 +00:00
diego 9e4b7bbc27 Do not add __CYGWIN__ to CFLAGS on Cygwin, the system defines it anyway.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27364 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-28 17:33:54 +00:00
diego 9c40dd44ab Rework OS/2 configuration with respect to linker output formats.
Since nm only supports a.out on OS/2, the linker options to specify
a different output format need to be added after the check using nm.
based on a patch by  KO Myung-Hun, komh chollian net


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27363 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-28 17:33:08 +00:00
diego e9aed9cf90 cosmetics: Add a separator comment.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27362 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-28 17:21:36 +00:00
diego 81a931dd9d Move libdvdnav check before the CFLAGS section. It is still the last check
at this position.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27361 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-28 17:18:07 +00:00
diego 3a313f4def Move CFLAGS specific to internal libdvdread and libfaad2 to the Makefile and
use them only when compiling objects from those subdirectories.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27359 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-28 16:57:22 +00:00
diego cc9fdab3e8 Remove unused HPUX #define from command line.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27358 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-28 16:47:19 +00:00
diego 0934a87e1a Move libdvdcss-specific CFLAG settings to libdvdcss test.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27357 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-28 16:36:11 +00:00
diego 65f404c85f Revert to previous dependency checking behavior.
Take included header files into account when generating dependency files.
This has problems when header files are removed or renamed, but does not
silently miscompile files.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27351 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-26 18:36:48 +00:00
diego d1dcbd2f87 Remove AltiVec vector declaration compiler compatibility macros.
The original problem was that FSF and Apple gcc used a different syntax
for vector declarations, i.e. {} vs. (). Nowadays Apple gcc versions support
the standard {} syntax and versions that support {} are available on all
relevant Mac OS X versions. Thus the greater compatibility is no longer
worth cluttering the code with macros.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27350 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-26 12:26:04 +00:00
reimar 38137d514c Fix configure hanging forever in iconv check using --charset=noconv
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27343 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-24 15:38:20 +00:00
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