summaryrefslogtreecommitdiffstats
path: root/configure
Commit message (Collapse)AuthorAgeFilesLines
* configure, build: remove --disable-libav supportUoti Urpala2011-12-111-20/+6
| | | | | Remove support for building the player without libavcodec and libavformat. These libraries are now always required.
* vo_gl: add native mac osx Cocoa backend for vo_glStefano Pigozzi2011-11-261-1/+36
| | | | | | | | | Add native Cocoa code to display an OpenGL window. Some of the code is based on the OpenGL parts of vo_corevideo but I took the time to remove old code based on Carbon. There is autodetection in the configure script but you can use --enable[disable]-cocoa to enable[disable] this.
* libmenu: remove OSD menu functionality (--menu)Uoti Urpala2011-10-251-22/+4
| | | | | | | | | | Something like the OSD menu functionality could be useful. However the current implementation has several problems and would require a relatively large amount of work to get into good shape. As far as I know there are few users of the existing functionality. Nobody is working on the existing code and keeping it compiling at all while changing other code would require extra work. So delete the menu code and some related code elsewhere that's used by nothing else.
* vo_gl2, vo_matrixview: remove these VOswm42011-10-241-20/+0
| | | | | | | | | | | | | | | | | | | | | Delete the vo_gl2 and vo_matrixview implementations. vo_gl2 was barely useful anymore. It was a hack based on an old vo_gl.c version, and all it did differently was rendering the video in tiles instead of using a single texture. That made it work with some crappy OpenGL implementations. These days all GPUs support textures of at least 2048x2048 pixels, which is enough for HD playback. On the other hand, gl2 suffered from various bugs and deficiencies, all of which are fixed in gl. Its existence also confused users; many thought that gl2 is the next version of gl and attempted to use it, even though it's much worse than gl and they should have used that instead. Should it turn out that tiling is actually useful, it should be implemented in vo_gl, instead of keeping vo_gl2 alive. vo_matrixview was a toy that couldn't even properly display a video. All it did was display a screensaver-like animation that showed "a Matrix-like running-text effect". (mplayer is not a screensaver.)
* audio/video: delete buggy "dynamic plugin" codeUoti Urpala2011-10-201-18/+0
| | | | | | | | | | | | Codec selection for audio and video decoding had a "dynamic plugin" feature that tried to load a shared library for any codec that had not been enabled at compilation (disabled by default, but could be enabled with --enable-dynamic-plugins configure switch; for unknown reasons some distro packages have enabled it). The implementation was buggy and could cause normal codec selection fallback to fail if the feature was enabled. I'm not aware of any real uses of such dynamic plugins and the feature seems questionable anyway (there are no ABI guarantees that would make it safe to use). Remove the buggy feature.
* configure: libav: use "pkg-config --print-errors", "Libav" nameUoti Urpala2011-08-211-9/+9
| | | | | | | | | | | | Use the "--print-errors" flag of pkg-config when testing for the presence of Libav libraries. Even though the error output is a bit messy (printed on the same "Checking for"... line), it does contain useful information for this test which checks for several libraries at once. Also change the test name from "FFmpeg" to "Libav" and rename the option from --disable-ffmpeg to --disable-libav. The change should cause no compatibility problems as the option is very rarely used.
* configure: make libavutil eval API check require newer versionUoti Urpala2011-07-181-1/+1
| | | | | The code now uses a newer syntax (av_expr_*), so require a newer version of libavutil which supports that.
* stream_bluray: switch to new libbluray APIRico Tzschichholz2011-07-101-1/+1
| | | | | | Switch to new libbluray API with three parameters to bd_get_title_info(). libbluray versions using the old API are no longer supported.
* configure: clang: set custom warning flags for clangUoti Urpala2011-07-071-0/+2
| | | | | | | | | | Before there was no attempt to set warning flags sanely when compiling with clang. Set some reasonable defaults that cut down noise and enable various non-default warnings that are enabled with GCC too. I'm not sure whether clang is supposed to support more of the options now used with GCC - it accepts some of those options but they apparently have no effect; I didn't find any real documentation about the individual warnings.
* configure: rename "--disable-ass" to "--disable-libass"Uoti Urpala2011-07-061-4/+4
| | | | | | | The name of the project is "libass". "ASS" alone refers only to the subtitle format, not the library, and --disable-ass did not completely disable handling of subtitles in this format - only advanced rendering with libass. Thus --disable-libass is a better name.
* Merge branch 'mplayer1_changes'Uoti Urpala2011-07-061-19/+20
|\
| * configure: Remove obsolete test for ARM pld instructiondiego2011-07-061-7/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33786 b3059339-0415-0410-9bf9-f77b7e298cf2
| * stream/tvi_v4l[2]: fix calculation of free RAM for buffersiive2011-07-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Do a proper calculation of free RAM to be used as V4L buffers. The code uses sysinfo to query the available RAM, however it used ancient form available in some early development 2.3.x kernels. Newer form reports the size in memory units (usually same as page size), as result the code would fall back on 2 buffers even on multi GB system. The commit does: Improve the check in configure to ensure that we do use sysinfo struct with present mem_unit. Use free RAM instead of total RAM (to avoid swapping). Tweak memory constants and simplify code. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33732 b3059339-0415-0410-9bf9-f77b7e298cf2
| * configure: fix check for clang compilerdiego2011-07-061-2/+1
| | | | | | | | | | | | patch by Jeremy Huddleston, jeremyhu macports org git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33723 b3059339-0415-0410-9bf9-f77b7e298cf2
| * configure: fix mmxext detection with --disable-ssereimar2011-07-061-3/+2
| | | | | | | | | | | | | | Fix "sse in cpuinfo implies mmxext" hack to still work when --disable-sse is used. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33714 b3059339-0415-0410-9bf9-f77b7e298cf2
| * configure: only set NEED_GLOB on Windowsreimar2011-07-061-2/+5
| | | | | | | | | | | | | | | | | | Only set NEED_GLOB on Windows, as currently this has the effect of compiling win32-only code - and even if that compiled it would not be used anyway, since mf.c uses glob under "#if defined(HAVE_GLOB) || defined(__MINGW32__)". git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33587 b3059339-0415-0410-9bf9-f77b7e298cf2
| * configure: when cross-compiling default host_cc to "cc"reimar2011-07-061-4/+5
| | | | | | | | | | | | | | | | | | Set host_cc after cross-compile check. This allows to set "cc" as a more sensible, almost always working default when cross-compiling instead of using the cross-compiler as host-cc which is just nonsense. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33580 b3059339-0415-0410-9bf9-f77b7e298cf2
| * configure: fix _libcdio variable staying on "auto"reimar2011-07-061-0/+1
| | | | | | | | | | | | Fix _libcdio staying on "auto" if cdparanoia test succeeded before. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33555 b3059339-0415-0410-9bf9-f77b7e298cf2
| * configure: add an initial check to verify compiler works at alliive2011-07-061-0/+4
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33533 b3059339-0415-0410-9bf9-f77b7e298cf2
* | configure: Use -Werror-implicit-function-declaration with GCCUoti Urpala2011-07-061-2/+3
|/ | | | | | | | | | | Add -Werror-implicit-function-declaration to the default compiled flags used with GCC. Add the option through a new variable ERRORFLAGS instead of the existing WARNFLAGS to avoid using it in configure tests. I think it's overall preferable not to fail tests because of the warning - in some case this could cause a compilation failure later, but on the other hand it could be just an unreliable test triggering the warning and even if it does fail those are likely cases worth closer investigation.
* Merge branch 'mplayer1_changes'Uoti Urpala2011-06-291-8/+7
|\
| * configure: handle X11 dependencies at depending checksdiego2011-06-291-7/+5
| | | | | | | | | | | | | | | | | | Make features depending on X check its availability at their individual checks rather than having the X11 check disable them if needed. This makes each individual feature check self-contained, which is desirable. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33371 b3059339-0415-0410-9bf9-f77b7e298cf2
| * configure: fix swab() check for Windowscehoyos2011-06-291-1/+2
| | | | | | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33339 b3059339-0415-0410-9bf9-f77b7e298cf2 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33349 b3059339-0415-0410-9bf9-f77b7e298cf2
* | stream/tvi_v4l2: Add V4L2 support for OpenBSD (and NetBSD)Uoti Urpala2011-06-291-0/+11
|/ | | | Patch by Brad <brad@comstyle.com>.
* configure: Remove checks for default inline asm featuresDiego Biurrun2011-06-281-29/+0
| | | | | | | Remove checks for compiler support of >= 10 assembler operands and named assembler arguments. Just assume the features are always available. These features were only missing from obsolete GCC versions which are not supported any more.
* ao_rsound: add new RSound audio output driverHans-Kristian Arntzen2011-06-261-0/+22
|
* vo_xvmc: drop XvMC supportUoti Urpala2011-05-091-40/+1
| | | | | | | | | Due to libavcodec changes vo_xvmc would have needed some modifications to keep working. However, I think there's little real demand for XvMC, so I'll just drop XvMC support. XvMC only supported MPEG-2, making it of very limited usefulness nowadays, plus the vo_xvmc implementation was not high quality and never worked particularly well or reliably anyway.
* Merge branch 'mplayer1_changes'Uoti Urpala2011-05-021-17/+3
|\
| * configure: Make largefile support non-optionaldiego2011-05-021-16/+2
| | | | | | | | | | | | | | | | | | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33314 b3059339-0415-0410-9bf9-f77b7e298cf2 rpm: Delete reference to removed --enable-largefiles configure option. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33321 b3059339-0415-0410-9bf9-f77b7e298cf2 Conflicts: rpm/mplayer.spec
| * configure: print correct result variable for armv6t2 testreimar2011-04-131-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32996 b3059339-0415-0410-9bf9-f77b7e298cf2
* | configure: abort if certain libraries can't be foundUoti Urpala2011-04-201-2/+10
| | | | | | | | | | | | | | Change the behavior of the iconv, freetype, fontconfig and libass tests when autodetection fails. They now abort instead of silently creating a crippled build. Users who really want to build without those features can use explicit --disable flags.
* | configure: fix --enable-3dfx override without dgaUoti Urpala2011-04-201-0/+1
| | | | | | | | | | | | | | | | | | If --enable-3dfx is specified but dga is not available then 3dfx is disabled nonetheless. However, this disabling is not done properly, and libvo/vo_3dfx.c is still compiled (but cannot be used). Fix. The behavior of automatically disabling vo_3dfx despite --enable-3dfx is itself questionable, but I'm not changing that now.
* | vo_dga: replace xf86dga.h with Xxf86dga.hClément Bœsch2011-04-201-2/+2
|/ | | | xf86dga.h is deprecated and may be removed in the future.
* configure: remove old GUI-related optionsUoti Urpala2011-04-021-19/+0
| | | | | | | | Remove --with-glib-config, --with-gtk-config, --enable-gui, --disable-gui, --enable-gtk1, --disable-gtk1. The only one of these that still had any effect was --enable-gui which printed a warning about GUI removal and exited. The --with options were still shown in help output, the rest had already been deleted from that.
* mp3lib: drop internal mp3lib treeUoti Urpala2011-04-021-19/+0
| | | | | | | | | | | | | Delete mp3lib which has been the default mp3 decoder until now. In addition to being an unnecessary embedded library it now fails to compile correctly with the new gcc-4.6, producing noise. After the deletion the default decoder priority for mp3 will be first libmpg123 (a newer version of the code that mp3lib was based on) if available, then ffmp3float which should be available in all normal compiles. I think that some tweaking may be required as these decoder alternatives get wider testing, but any problems should be solvable and there should be no need for mp3lib.
* configure, Windows: support static pthreads on WindowsDiogo Franco2011-03-301-1/+12
| | | | | | Windows pthreads requires certain functions to be called to initialize itself. It can do that through DllMain but no such luck when linked statically; mplayer needs to call the initialization explicitly.
* configure: remove --ffmpeg-source-dir help outputUoti Urpala2011-03-011-1/+0
| | | | | | | | As things currently are the --ffmpeg-source-dir option will cause a compilation failure. Maybe the video filters that depend on internal FFmpeg headers to work should be deleted completely; for now I'll remove the option from the help output as it can only confuse normal users.
* build: change version number generationUoti Urpala2011-02-191-2/+0
| | | | | | | Force Makefile to always run version.sh to potentially regenerate version.h. Drop compiler version and 'git-' prefix from version number. Match only git tags starting 'v'+number when generating version number; leave the 'v' out from the result.
* configure: fix --enable-libvorbis with tremor installedUoti Urpala2011-02-181-0/+2
| | | | | | Autodetected libvorbis prevented tremor test from running, but --enable-libvorbis didn't. Add an explicit check to disable tremor in that case.
* configure: disable libmpcdec by defaultreimar2011-02-151-3/+4
| | | | | | | Disable libmpcdec (musepack) support by default, FFmpeg has a decoder that works better for us and is used by default. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32826 b3059339-0415-0410-9bf9-f77b7e298cf2
* configure: remove unused maemo checkUoti Urpala2011-02-151-24/+0
| | | | | | configure had a check for some libraries specific to the maemo platform. Apparently the code which would have used the results of this check was never added. Remove the unused check.
* configure: use LINGUAS environment variable for messagesUoti Urpala2011-02-151-0/+1
| | | | | | | | Previously the default with --enable-translation was to install all language files if --language-msg was not explicitly specified. Change the default to the languages set with the --language option or LINGUAS environment variable if those are set; if neither is set then the default is still to install all message languages.
* configure: abort if FFmpeg libraries are not foundUoti Urpala2011-02-081-2/+4
| | | | | | | | | | | | | | Abort if FFmpeg libraries are not found unless --disable-ffmpeg was explicitly specified. Note that even if you disable FFmpeg, libavutil and libswscale are still required and you'll need to add linker flags for them manually; I didn't try to clean up that case (few people will want to do that). Also fix the fallback test used if pkg-config doesn't find the libraries: fix wrong header name and drop forced -lavcore which isn't present in all FFmpeg versions. This shouldn't make a difference for normal use since the pkg-config test should succeed if the libraries are available.
* configure: print "Unknown parameter: " error to stderrUoti Urpala2011-02-021-1/+1
| | | | | Print the "Unknown parameter: " line shown for unrecognized configure options to stderr; other fatal errors are already directed there.
* configure: drop unused liblzo and bzlib testsUoti Urpala2011-02-021-35/+0
| | | | | The configure liblzo test was left over from MEncoder functionality, bzlib from internal FFmpeg build. Remove both.
* configure: prefer libvorbis to libvorbisidec/tremorUoti Urpala2011-02-011-6/+6
| | | | | | | | libvorbis and libvorbisidec cannot both be enabled at the same time. Change configure to enable libvorbis by default if both are available. It's the more common library, and if someone want to do a special build for FPU-less systems he can select the library manually.
* tremor: drop internal tremor libraryUoti Urpala2011-02-011-37/+3
| | | | | | | Drop internal copy of the tremor library. Note that the internal ogg demuxer (which is still sometimes useful to work around libavformat ogg demuxer problems, though it's itself quite buggy) now cannot be compiled without either external libvorbis or libvorbisidec (tremor).
* libmpeg2: drop libmpeg2 supportUoti Urpala2011-02-011-50/+0
| | | | | libavcodec mpeg2 decoder has been the default for a while and seems to work fine.
* vo_zr2: drop Zoran supportUoti Urpala2011-01-311-31/+0
| | | | | | | There were multiple files specific to Zoran support, and they also depended on internal FFmpeg headers (so it would probably have been hard to get them to compile now even if you tried). It's obsolete now, so just drop the whole mess.
* vo_dxr2, ao_dxr2: drop dxr2 supportUoti Urpala2011-01-311-25/+0
| | | | | | dxr2 support had been broken quite a while and nobody noticed. There were finally commits to fix it in the svn repo, but rather than apply those I'll just drop dxr2 support.
* vidix: drop VIDIX supportUoti Urpala2011-01-311-146/+0
| | | | | | | | | | | | | By now VIDIX is too obscure to justify the amount of code and complexity it requires in the sources. Although there is no pressing need to drop it just now from a code point of view, I'll rather remove it before release than release with VIDIX support and then drop it later. Some of the manpage mentions of VIDIX were in "this option supported for these VOs" lists that looked outdated and failed to mention vdpau for example. Replace such incorrect lists with a generic "not supported for all VOs" mention.
* cosmetics: configure: Drop leading underscore from _need_* variablesdiego2011-01-311-24/+24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32816 b3059339-0415-0410-9bf9-f77b7e298cf2
* configure: add return_check and return_statement_check helpersdiego2011-01-311-30/+25
| | | | | | | | | | | | | | cosmetics: Move header_check helper function. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32803 b3059339-0415-0410-9bf9-f77b7e298cf2 Add return_check() helper function and use it to simplify some checks. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32805 b3059339-0415-0410-9bf9-f77b7e298cf2 Add return_statement_check() helper function and use it to simplify some checks. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32806 b3059339-0415-0410-9bf9-f77b7e298cf2
* configure: Define _XOPEN_SOURCE to 600 in mkstemp checkreimar2011-01-311-1/+1
| | | | | | | | | | Define _XOPEN_SOURCE to 600 instead of 500 in mkstemp check, this is consistent to the use in libavcodec, consistent with other _XOPEN_SOURCE defines in tests and it fixes detection on Solaris that refuses to compile system headers when combining std=c99 with _XOPEN_SOURCE 500. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32759 b3059339-0415-0410-9bf9-f77b7e298cf2
* configure: add define_statement_check functiondiego2011-01-311-73/+23
| | | | | | | | | | Add define_statement_check function and use it to simplify some checks. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32758 b3059339-0415-0410-9bf9-f77b7e298cf2 Simplify a bunch of configure checks with the statement_check function. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32760 b3059339-0415-0410-9bf9-f77b7e298cf2
* configure: simplify some testsdiego2011-01-311-53/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |