summaryrefslogtreecommitdiff
path: root/configure
Commit message (Collapse)AuthorAge
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-10-20
|\ | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: configure: Group math functions into a separate variable avutil/mem: K&R formatting cosmetics avutil/lzo: K&R formatting cosmetics Conflicts: configure libavutil/mem.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * configure: Group math functions into a separate variableDiego Biurrun2012-10-20
| | | | | | | | This avoids some duplication when listing and testing for the functions.
| * configure: Disable Snow decoder and encoder by defaultDiego Biurrun2012-10-19
| | | | | | | | Snow has serious unfixed bugs and no real-world use.
* | fate: Handle lavf-fate tests in a makefilejamal2012-10-19
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '1cd432e167b1a80853760c89a33606e2b5f229c2'Michael Niedermayer2012-10-19
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '1cd432e167b1a80853760c89a33606e2b5f229c2': configure: fix libcdio check rtsp: Allow setting the reordering buffer size via an AVOption rtsp: Vertically align a constant definition rtp: Update the check for distinguishing between RTP and RTCP aac: fix build with hardcoded tables fate: dependencies for screen codec tests riff: Move functions around to be covered by appropriate #ifdefs Conflicts: configure tests/fate/screen.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * configure: fix libcdio checkMans Rullgard2012-10-19
| | | | | | | | | | | | The compiler/linker flags passed to check_lib2 should not be quoted. Signed-off-by: Mans Rullgard <mans@mansr.com>
* | Merge commit 'c0329748b04e1f175dad8c9c2ebf22a5e2dc5b72'Michael Niedermayer2012-10-19
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'c0329748b04e1f175dad8c9c2ebf22a5e2dc5b72': fate: add a dependency helper macro Add support for building shared libraries with MSVC avcodec: Rename avpriv_frame_rate_tab to ff_mpeg12_frame_rate_tab gxf: Add a local copy of the relevant parts of the frame rate table configure: Split out msvc as a separate target OS aviobuf: Remove a senseless ifdef in avio_seek Conflicts: configure libavcodec/dirac.c libavcodec/mpeg12data.h libavcodec/mpeg12enc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Add support for building shared libraries with MSVCMartin Storsjö2012-10-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This requires the makedef perl script by Derek, from the c89-to-c99 repo. That scripts produces a .def file, listing the symbols to be exported, based on the gcc version scripts and the built object files. To properly load non-function symbols from DLL files, the data symbol declarations need to have the attribute __declspec(dllimport) when building the calling code. (On mingw, the linker can fix this up automatically, which is why it has not been an issue so far. If this attribute is omitted, linking actually succeeds, but reads from the table will not produce the desired results at runtime.) MSVC seems to manage to link DLLs (and run properly) even if this attribute is present while building the library itself (which normally isn't recommended) - other object files in the same library manage to link to the symbol (with a small warning at link time, like "warning LNK4049: locally defined symbol _avpriv_mpa_bitrate_tab imported" - it doesn't seem to be possible to squelch this warning), and the definition of the tables themselves produce a warning that can be squelched ("warning C4273: 'avpriv_mpa_bitrate_tab' : inconsistent dll linkage, see previous definition of 'avpriv_mpa_bitrate_tab'). In this setup, mingw isn't able to link object files that refer to data symbols with __declspec(dllimport) without those symbols actually being linked via a DLL (linking avcodec.dll ends up with errors like "undefined reference to `__imp__avpriv_mpa_freq_tab'"). The dllimport declspec isn't needed at all in mingw, so we simply choose not to declare it for other compilers than MSVC that requires it. (If ICL support later requires it, the condition can be extended later to include both of them.) This also implies that code that is built to link to a certain library as a DLL can't link to the same library as a static library. Therefore, we only allow building either static or shared but not both at the same time. (That is, static libraries as such can be, and actually are, built - this is used for linking the test tools to internal symbols in the libraries - but e.g. libavformat built to link to libavcodec as a DLL cannot link statically to libavcodec.) Also, linking to DLLs is slightly different from linking to shared libraries on other platforms. DLLs use a thing called import libraries, which is basically a stub library allowing the linker to know which symbols exist in the DLL and what name the DLL will have at runtime. In mingw/gcc, the import library is usually named libfoo.dll.a, which goes next to a static library named libfoo.a. This allows gcc to pick the dynamic one, if available, from the normal -lfoo switches, just as it does for libfoo.a vs libfoo.so on Unix. On MSVC however, you need to literally specify the name of the import library instead of the static library. Signed-off-by: Martin Storsjö <martin@martin.st>
| * configure: Split out msvc as a separate target OSMartin Storsjö2012-10-18
| | | | | | | | | | | | | | | | | | | | The name mingw32 as target OS is both misleading, and very little of the target OS specific settings actually match. Since the target OS default is set based on uname, the default (which on MSYS is set to mingw) is overridden by --toolchain=msvc. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-10-18
|\| | | | | | | | | | | | | | | | | | | | | | | * qatar/master: mips64: mark hi/lo registers clobbered in MAC64/MLS64 macros fate: list lavfi tests in a makefile Conflicts: configure tests/Makefile Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * fate: list lavfi tests in a makefileMans Rullgard2012-10-17
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* | Merge commit '36ac9a16a19a365ce58cc871484c20cffe9b6401'Michael Niedermayer2012-10-18
|\| | | | | | | | | | | | | | | | | | | | | | | * commit '36ac9a16a19a365ce58cc871484c20cffe9b6401': fate: dependencies for seek tests fate: handle lavf test dependencies entirely in make Conflicts: configure tests/Makefile Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * fate: dependencies for seek testsMans Rullgard2012-10-17
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * fate: handle lavf test dependencies entirely in makeMans Rullgard2012-10-17
| | | | | | | | | | | | This makes the lavf tests depend on all codecs and formats they use. Signed-off-by: Mans Rullgard <mans@mansr.com>
* | configure: do not quote arguments passed to filter{,_out} in check_ld.Alexis Ballier2012-10-17
| | | | | | | | | | | | | | | | | | This fixes the following error: ./configure: eval: line 417: syntax error near unexpected token `-lcdio_cdda' [...] Broken by 66a1ccd74 when doing, e.g., ./configure --enable-gpl --enable-libcdio. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-10-17
|\| | | | | | | | | | | | | | | | | | | | | * qatar/master: configure: Add support for Tilera processors wavdec: check size before reading the data, not after. Conflicts: configure Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * configure: Add support for Tilera processorsDerek Buitenhuis2012-10-16
| | | | | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | Merge commit 'c1fcfdec75468009dc7de29a5d1c6adf3b2ef77d'Michael Niedermayer2012-10-16
|\| | | | | | | | | | | | | | | | | | | | | | | * commit 'c1fcfdec75468009dc7de29a5d1c6adf3b2ef77d': rangecoder-test: Return in case of an error build: simplify enabling of compat objects Conflicts: configure libavutil/Makefile Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * build: simplify enabling of compat objectsMans Rullgard2012-10-15
| | | | | | | | | | | | | | | | Add a configure function to pull in a compat object and set up redirects in one operation. This avoids duplicating conditions across configure and makefiles. Signed-off-by: Mans Rullgard <mans@mansr.com>
* | Merge commit '66a1ccd7467ab1913cd8877114c6d4c2588bb12f'Michael Niedermayer2012-10-16
|\| | | | | | | | | | | | | | | | | | | * commit '66a1ccd7467ab1913cd8877114c6d4c2588bb12f': configure: simplify argument handling in check_ld Conflicts: configure Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * configure: simplify argument handling in check_ldMans Rullgard2012-10-15
| | | | | | | | | | | | | | Use the existing filter functions instead of open-coding the separation of general flags and libraries. Signed-off-by: Mans Rullgard <mans@mansr.com>
* | Merge commit '4c995fafd861f537360b3717901cdbed6a6844e7'Michael Niedermayer2012-10-16
|\| | | | | | | | | | | | | | | | | * commit '4c995fafd861f537360b3717901cdbed6a6844e7': configure: simplify get_version() function build: support asan and tsan toolchain shortcuts rmdec: Move SIPR code shared with Matroska demuxer to a separate file Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * configure: simplify get_version() functionMans Rullgard2012-10-15
| | | | | | | | | | | | awk alone can do this, no need for grep. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * build: support asan and tsan toolchain shortcutsLuca Barbato2012-10-15
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-10-15
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: swscale: try to use mmap only if available configure: check for mprotect wmapro: use planar sample format wmalossless: output in planar sample format wmadec: use float planar sample format output shorten: use planar sample format lavc: update documentation for AVFrame.extended_data Conflicts: libavcodec/shorten.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * configure: check for mprotectMans Rullgard2012-10-15
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-10-14
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: avutil: Do not make ff_ symbols globally visible. avutil: Rename ff_set_systematic_pal2() ---> avpriv_set_systematic_pal2() build: tms470: work around glibc math.h problems configure: improve tms470 compiler usage with glibc Conflicts: libavcodec/bmpenc.c libavcodec/rawdec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * build: tms470: work around glibc math.h problemsMans Rullgard2012-10-13
| | | | | | | | | | | | | | The glibc definitions of INFINITY and NAN do not work with the tms470 compiler, nor do our usual fallbacks. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * configure: improve tms470 compiler usage with glibcMans Rullgard2012-10-13
| | | | | | | | | | | | | | | | | | | | Apply flags to work around glibc quirks only if glibc is detected, and add a few more such flags. Do not mess with as/ld settings in probe_cc. This is not the proper place. Signed-off-by: Mans Rullgard <mans@mansr.com>
* | Merge commit 'b5198a2637b7b45b0049a1d4b386a06f016f2520'Michael Niedermayer2012-10-14
|\| | | | | | | | | | | | | | | | | | | | | | | * commit 'b5198a2637b7b45b0049a1d4b386a06f016f2520': configure: tms470: add mapping for -mfpu=vfpv3-d16 flag configure: recognise Minix as OS configure: work around bug in ash shell eval-test: make table static const lavr: handle clipping in the float to s32 conversion nut: support pcm codecs not mapped in avi Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * configure: tms470: add mapping for -mfpu=vfpv3-d16 flagMans Rullgard2012-10-13
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * configure: recognise Minix as OSMans Rullgard2012-10-13
| | | | | | | | | | | | No special setup is required for Minix. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * configure: work around bug in ash shellMans Rullgard2012-10-13
| | | | | | | | | | | | | | The ash 'test' builtin misbehaves if the first operand of a binary operator looks like a unary operator. Signed-off-by: Mans Rullgard <mans@mansr.com>
* | Merge commit 'f5962229bfcb14c2879e69ccdf7f1a4934168609'Michael Niedermayer2012-10-13
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'f5962229bfcb14c2879e69ccdf7f1a4934168609': avplay: use audio parameters from the decoded frame instead of AVCodecContext dca: allocate a secondary buffer for extra channels when downmixing configure: use utilities from /usr/xpg4/bin if it exists avstring-test: fix memory leaks Conflicts: ffplay.c libavcodec/dcadec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * configure: use utilities from /usr/xpg4/bin if it existsMans Rullgard2012-10-12
| | | | | | | | | | | | | | | | Solaris defaults to non-standard utilities (grep, sed, ...) with proper ones being in /usr/xpg4/bin. Prefixing PATH with this directory when it exists ensures we get correct variants. Signed-off-by: Mans Rullgard <mans@mansr.com>
* | Merge commit 'ca411fc1d34329cd17b28627f697e391ae52073f'Michael Niedermayer2012-10-13
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'ca411fc1d34329cd17b28627f697e391ae52073f': avcodec: Remove broken MMI optimizations Conflicts: arch.mak configure libavcodec/avcodec.h libavcodec/mips/Makefile libavcodec/mips/dsputil_mmi.c libavcodec/mips/idct_mmi.c libavcodec/mips/mmi.h libavcodec/mips/mpegvideo_mmi.c libavcodec/options_table.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avcodec: Remove broken MMI optimizationsDiego Biurrun2012-10-12
| | | | | | | | The code fails to compile and is broken beyond repair.
* | Merge commit 'b7f1010c8fce09096057528f7cd29589ea1ae7df'Michael Niedermayer2012-10-12
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'b7f1010c8fce09096057528f7cd29589ea1ae7df': tools: do not use av_pix_fmt_descriptors directly. pixdesc: add functions for accessing pixel format descriptors. build: add support for Tru64 (OSF/1) md5: Allocate a normal private context for the opaque md5 context pointer Conflicts: cmdutils.c doc/APIchanges ffprobe.c libavformat/md5enc.c libavutil/version.h tools/graph2dot.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * build: add support for Tru64 (OSF/1)Mans Rullgard2012-10-12
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* | Merge commit '0a75d1da23b8659ec49391469bb592da12760077'Michael Niedermayer2012-10-12
|\| | | | | | | | | | | | | | | | | | | | | | | | | * commit '0a75d1da23b8659ec49391469bb592da12760077': options_table: refs option is not snow-only random_seed: Support using CryptGenRandom on windows doc: update the faq entry about custom I/O Conflicts: doc/faq.texi libavcodec/options_table.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * random_seed: Support using CryptGenRandom on windowsMartin Storsjö2012-10-11
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* | Revert "configure: link flite against libasound"Stefano Sabatini2012-10-11
| | | | | | | | | | | | | | | | | | This reverts commit 396648cc6a3eb5c00c698555fa4ddd631bf6664d. The commit made impossible to build against libflite if libasound is not available (e.g. on Windows). Thus remove the -lasound flag. In case of libflite static linking the workaround is to enable --extra-ldflags=-lasound (or disable the ALSA output device in libflite).
* | configure: link flite against libasoundStefano Sabatini2012-10-11
| | | | | | | | | | | | | | libflite depends on libasound. Fix a linking failure when linking against a static version of libflite. Reported-by: Vladimir Kraljevic
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-10-09
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: mingw/cygwin: Stop adding -fno-common to gcc CFLAGS Restructure av_log_missing_feature message rtp: Support packetization/depacketization of opus file: Set the return value type for lseek to int64_t. ppc: fix Altivec build with old compilers build: add LTO support for PGI compiler build: add -Mdse to PGI optimisation flags rtpenc_vp8: Update the packetizer to the latest spec version rtpdec_vp8: Make the depacketizer implement the latest spec draft doc: allow building with old texi2html versions avutil: skip old_pix_fmts.h since it is just a list Conflicts: libavcodec/aacdec.c libavcodec/h264.c libavcodec/ppc/fmtconvert_altivec.c libavcodec/utils.c libavformat/file.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * mingw/cygwin: Stop adding -fno-common to gcc CFLAGSDiego Biurrun2012-10-09
| | | | | | | | This was done to work around toolchain bugs that have long been fixed.
| * build: add LTO support for PGI compilerMans Rullgard2012-10-08
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * build: add -Mdse to PGI optimisation flagsMans Rullgard2012-10-08
| | | | | | | | | | | | | | | | Enable dead store elimination. The last few releases work no worse with this flag than without. Older versions failed to build some source files when using this flag. Signed-off-by: Mans Rullgard <mans@mansr.com>
* | DTS-HD demuxerPaul B Mahol2012-10-09
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | configure: add support to nicely enable ftrapvMichael Niedermayer2012-10-09
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | TAK demuxer, decoder and parserPaul B Mahol2012-10-08
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>