summaryrefslogtreecommitdiffstats
path: root/configure
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Simplify vector declarations and fast inttypes check with statement_check(). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32744 b3059339-0415-0410-9bf9-f77b7e298cf2 Drop unnecessary Xlib.h #include from Xss screensaver extensions check. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32745 b3059339-0415-0410-9bf9-f77b7e298cf2 configure: Simplify *BSD ioctl_meteor.h check. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32746 b3059339-0415-0410-9bf9-f77b7e298cf2 Add sys/time.h #include to videodev.h/videodev2.h checks. Older kernels had broken videodev* headers that lacked the required #include. patch by Michael Lampe, mlampe0 googlemail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32747 b3059339-0415-0410-9bf9-f77b7e298cf2 Revert previous wrong simplification of AltiVec vector declarations check. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32749 b3059339-0415-0410-9bf9-f77b7e298cf2 cosmetics: Drop some unnecessary end-of-line backslashes after &&/||. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32752 b3059339-0415-0410-9bf9-f77b7e298cf2 cosmetics: Get rid of some backslashes at the end of lines. This is done by either moving the logical &&/|| operators to the preceding line or by merging the two lines together. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32753 b3059339-0415-0410-9bf9-f77b7e298cf2
* libfaad2:/ Remove forked internal libfaad2 copydiego2011-01-311-60/+6
| | | | | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32741 b3059339-0415-0410-9bf9-f77b7e298cf2 Remove AAC/FAAD2 installation instructions. There is nothing special about building and installing FAAD2, so there is no longer a need to keep maintaining instructions for it. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32742 b3059339-0415-0410-9bf9-f77b7e298cf2
* build: cygwin: don't rely on _WIN32 being definedreimar2011-01-291-2/+5
| | | | | | | | | | | | | | | configure: Compilation fixes for current Cygwin git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32724 b3059339-0415-0410-9bf9-f77b7e298cf2 Do not #define _WIN32 on the command line for Cygwin. Newer Cygwin versions no longer do this and hopefully we should be able to survive without this hack as well. This change necessitates adapting two #ifdefs in the MPlayer codebase. It is committed untested as I do not have access to a Cygwin system. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32763 b3059339-0415-0410-9bf9-f77b7e298cf2
* configure: remove obsolete things used for internal FFmpeg buildUoti Urpala2011-01-251-63/+1
| | | | | | Remove some definitions from generated config.h/config.mak that were only used when building internal FFmpeg. Remove Solaris mlib test. Also fix definition of --disable-ffmpeg in configure help output.
* configure: remove MEncoder-related options and testsClément Bœsch2011-01-251-171/+2
| | | | | Also remove one MEncoder variable reference from TOOLS/vivodump rule in Makefile.
* configure: Do not enable rpath on NetBSDdiego2010-11-081-1/+0
| | | | | | patch extracted from the NetBSD pkgsrc tree git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32573 b3059339-0415-0410-9bf9-f77b7e298cf2
* configure: Enable joystick support on FreeBSDdiego2010-11-081-1/+1
| | | | | | patch extracted from the FreeBSD ports tree git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32572 b3059339-0415-0410-9bf9-f77b7e298cf2
* build: enable vf_geq if libavutil version installs eval.hUoti Urpala2010-11-061-0/+8
| | | | | New enough libavutil versions allow building vf_geq.c without requiring internal FFmpeg headers.
* configure: Fix detection of mips processor variantsdiego2010-11-021-1/+1
| | | | | | patch by Graham Gower, graham.gower gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32522 b3059339-0415-0410-9bf9-f77b7e298cf2
* configure: check if libdvdcss has been removed from treesiretart2010-11-021-1/+1
| | | | | | | | | | | In some scenarios it might make sense to redistribute a copy of the mplayer sources that does not contain the internal libdvdcss copy. In order to not require the configure parameter --disable-libdvdcss-internal, this change checks that the libdvdcss directory actually exists when no particular behavior has been requested. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32493 b3059339-0415-0410-9bf9-f77b7e298cf2
* configure: Ensure that CONFIG_NETWORK is #defined to 0 or 1diego2010-11-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32441 b3059339-0415-0410-9bf9-f77b7e298cf2
* configure: simplify X11, IVTV and V4l2 checksdiego2010-11-021-39/+5
| | | | | | | | | | Simplify some X11 checks with the help of statement_check_broken(). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32428 b3059339-0415-0410-9bf9-f77b7e298cf2 Remove some unnecessary #includes from IVTV and V4L2 checks. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32429 b3059339-0415-0410-9bf9-f77b7e298cf2
* configure: simplify some checksdiego2010-11-021-35/+7
| | | | | | | | | | | | | | | | | | Simplify some configure checks through statement_check{_broken}(). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32380 b3059339-0415-0410-9bf9-f77b7e298cf2 Drop two unnecessary Xlib.h #includes and use helper functions. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32388 b3059339-0415-0410-9bf9-f77b7e298cf2 Revert accidentally committed changes. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32389 b3059339-0415-0410-9bf9-f77b7e298cf2 Remove unnecessary Xlib.h #include from xf86keysym check. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32390 b3059339-0415-0410-9bf9-f77b7e298cf2
* configure: Rename function_check{_broken}() --> statement_check{_broken}()diego2010-11-021-47/+47
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32379 b3059339-0415-0410-9bf9-f77b7e298cf2
* configure: simplify some testsdiego2010-11-021-49/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove some unnecessary windows.h #includes in configure checks. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32363 b3059339-0415-0410-9bf9-f77b7e298cf2 configure: simplify Direct3D and Windows waveout tests Simplify Direct3D check with header_check(). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32364 b3059339-0415-0410-9bf9-f77b7e298cf2 Simplify Windows waveout test with header_check_broken(). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32365 b3059339-0415-0410-9bf9-f77b7e298cf2 Simplify ENCA check. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32371 b3059339-0415-0410-9bf9-f77b7e298cf2 Remove unnecessary linux/types.h #include from Apple IR check. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32373 b3059339-0415-0410-9bf9-f77b7e298cf2 Simplify jpeglib check with header_check_broken(). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32375 b3059339-0415-0410-9bf9-f77b7e298cf2 Simplify inet_pton/inet_aton checks with function_check(). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32376 b3059339-0415-0410-9bf9-f77b7e298cf2 Remove unnecessary sys/types.h #include from shm check. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32378 b3059339-0415-0410-9bf9-f77b7e298cf2
* configure: update documentation comments about adding checksdiego2010-11-021-17/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32367 b3059339-0415-0410-9bf9-f77b7e298cf2
* configure: Add HAVE_STDLIB_H to config.h for libfaad2diego2010-11-021-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32350 b3059339-0415-0410-9bf9-f77b7e298cf2
* configure: Move network requirement check for FTP into the FTP testdiego2010-11-021-3/+5
| | | | | | | | | | This makes the FTP test self-sufficient and reduces complexity. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32340 b3059339-0415-0410-9bf9-f77b7e298cf2 Add proper autodetection for FTP support; should fix Bugzilla #1804. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32377 b3059339-0415-0410-9bf9-f77b7e298cf2
* configure: Move ASMALIGN check into x86 sectiondiego2010-11-021-12/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32337 b3059339-0415-0410-9bf9-f77b7e298cf2
* configure: simplify libbluray testdiego2010-11-021-7/+1
| | | | | | | | | | Remove unnecessary #include from libbluray test. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32312 b3059339-0415-0410-9bf9-f77b7e298cf2 Simplify libbluray test with function_check(). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32316 b3059339-0415-0410-9bf9-f77b7e298cf2
* configure: Make sure that HAVE_MKSTEMP is always #defined to a valuediego2010-11-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32303 b3059339-0415-0410-9bf9-f77b7e298cf2
* configure: Make sure that CONFIG_LIBMP3LAME is always #defineddiego2010-11-021-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32301 b3059339-0415-0410-9bf9-f77b7e298cf2
* configure: Add function_check_broken(), simplify testdiego2010-11-021-9/+15
| | | | | | | | | | | | | | | It can be used similar to header_check_broken, but it also tests for the availability of functions along with the needed headers. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32298 b3059339-0415-0410-9bf9-f77b7e298cf2 Simplify libdca check using function_check_broken(). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32299 b3059339-0415-0410-9bf9-f77b7e298cf2 1000l: Fix shift amount in function_check_broken(). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32311 b3059339-0415-0410-9bf9-f77b7e298cf2
* configure: minor cleanupsdiego2010-11-021-11/+5
| | | | | | | | | | | | | | cosmetics: Slightly shorten swab() check. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32296 b3059339-0415-0410-9bf9-f77b7e298cf2 cosmetics: Slightly reformat a comment. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32297 b3059339-0415-0410-9bf9-f77b7e298cf2 cosmetics: Drop a bunch of unnecessary parentheses from big-endian check. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32300 b3059339-0415-0410-9bf9-f77b7e298cf2
* configure: Fix compilation on Windows: MinGW unistd.h does not define NULLreimar2010-11-021-1/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32295 b3059339-0415-0410-9bf9-f77b7e298cf2
*