summaryrefslogtreecommitdiffstats
path: root/configure
Commit message (Collapse)AuthorAgeFilesLines
* configure: fix print_config() with broke awksMans Rullgard2012-10-301-1/+1
| | | | | | | | Some awk versions do not treat the result of unary + on a (numeric) string as numeric, giving wrong results when used in a boolean context Using unary - instead is logically equivalent works as expected. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-10-301-21/+19
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: pixfmt: support more yuva formats swscale: support gray to 9bit and 10bit formats configure: rewrite print_config() function using awk FATE: fix (AD)PCM test dependencies broken in e519990 Use ptrdiff_t instead of int for intra pred "stride" function parameter. x86: use PRED4x4/8x8/8x8L/16x16 macros to declare intrapred prototypes. Conflicts: libavcodec/h264pred.c libavcodec/h264pred_template.c libavutil/pixfmt.h libswscale/swscale_unscaled.c tests/ref/lavfi/pixdesc tests/ref/lavfi/pixfmts_copy tests/ref/lavfi/pixfmts_null tests/ref/lavfi/pixfmts_scale tests/ref/lavfi/pixfmts_vflip Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * configure: rewrite print_config() function using awkMans Rullgard2012-10-301-21/+19
| | | | | | | | | | | | | | This is much faster with slow shells and noticeably faster even with bash on a fast Linux system. Signed-off-by: Mans Rullgard <mans@mansr.com>
* | Merge commit '14f031d7ecfabba0ef02776d4516aa3dcb7c40d8'Michael Niedermayer2012-10-301-0/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '14f031d7ecfabba0ef02776d4516aa3dcb7c40d8': dv: use AVStream.index instead of abusing AVStream.id lavfi: add ashowinfo filter avcodec: Add a RFC 3389 comfort noise codec lpc: Add a function for calculating reflection coefficients from samples lpc: Add a function for calculating reflection coefficients from autocorrelation coefficients lavr: document upper bound on number of output samples. lavr: add general API usage doxy indeo3: remove duplicate capabilities line. fate: ac3: Add dependencies Conflicts: Changelog doc/filters.texi libavcodec/Makefile libavcodec/allcodecs.c libavcodec/avcodec.h libavcodec/codec_desc.c libavcodec/version.h libavfilter/Makefile libavfilter/af_ashowinfo.c libavfilter/allfilters.c libavfilter/version.h libavutil/avutil.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avcodec: Add a RFC 3389 comfort noise codecMartin Storsjö2012-10-291-0/+1
| | | | | | | | | | | | | | | | | | | | This isn't too useful as a normal codec, but can be used in voip style applications. The decoder updates the noise generator parameters when a packet is given to it for decoding, but if called with an empty packet, it generates more noise according to the last parameters. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-10-281-3/+6
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: yuv4mpeg: reject unsupported codecs nutenc: K&R formatting cosmetics assdec: fix qsort() callback signature configure: detect sparc64 automatically vp8: fix memset() crossing array boundary h264: fix invalid pointer arithmetic amrwbdec: fix invalid pointer arithmetic Conflicts: libavformat/nutenc.c libavformat/yuv4mpeg.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * configure: detect sparc64 automaticallyMans Rullgard2012-10-271-3/+6
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-10-271-26/+12
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: configure: fix tests for 2-arg math functions doc: git-howto: Clarify comment about pushing series of commits ivi_common: Drop unused function parameter from decode_band() cook: Remove some silly Doxygen comments cook: Remove senseless maybe_reformat_buffer32() function cook: cosmetics: Better names for joint_decode() function parameters cook: cosmetics: Better name for ccpl COOKSubpacket member doxygen: Add av_alloc_size to list of predefined macros doxygen: Drop some pointless entries from PREDEFINED macros list h263: avoid memcpys over array bound in motion vector caching for obmc Conflicts: configure doc/git-howto.texi libavcodec/cook.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * configure: fix tests for 2-arg math functionsMans Rullgard2012-10-261-3/+9
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-10-261-6/+4
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: configure: sanitise sparc vis check configure: recognise more sparc variants as --cpu argument build: Include HEADERS-yes in the HEADERS variable pcm: change references to raw to pcm ffv1: set the range coder state in decode_slice_header pcmdec: change default of channels parameter to 1 Conflicts: libavformat/pcmdec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * configure: sanitise sparc vis checkMans Rullgard2012-10-261-3/+1
| | | | | | | | | | | | It is wrong to force -mcpu=ultrasparc when checking for vis. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * configure: recognise more sparc variants as --cpu argumentMichael Kostylev2012-10-261-3/+3
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-10-251-15/+29
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: avutil: Make LZO decoder code configure-time selectable avutil: Move memcpy_backptr() to mem.c configure: detect parisc64 automatically configure: detect ppc64 automatically configure: detect mips64 automatically configure: generalise 64-bit test smoothstreamingenc: Don't assume streams start from timestamp 0 Conflicts: configure libavutil/Makefile libavutil/lzo.c libavutil/lzo.h libavutil/mem.c libavutil/mem.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avutil: Make LZO decoder code configure-time selectableDiego Biurrun2012-10-251-1/+5
| |
| * configure: detect parisc64 automaticallyMans Rullgard2012-10-241-6/+6
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * configure: detect ppc64 automaticallyMans Rullgard2012-10-241-5/+4
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * configure: detect mips64 automaticallyMans Rullgard2012-10-241-6/+6
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * configure: generalise 64-bit testMans Rullgard2012-10-241-2/+9
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* | Merge commit '0c03cc68386443f1e96ab6fb358220faf67cd5ff'Michael Niedermayer2012-10-241-1/+21
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | * commit '0c03cc68386443f1e96ab6fb358220faf67cd5ff': mp3: exit on parsing error in mp_decode_frame rtmppkt: Avoid unescaped backslash in Doxygen comment fate-lavfi: replace sed/grep/cut combos with awk build: Plan 9 support Conflicts: configure tests/lavfi-regression.sh Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * build: Plan 9 supportMans Rullgard2012-10-231-1/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | This adds support for building on Plan 9 x86-32. The compat/plan9 directory contains these items: - replacements for the 'head' and 'printf' shell commands - wrapper for main() to disable FPU exceptions Larger required changes to the system are described in the documentation. Signed-off-by: Mans Rullgard <mans@mansr.com>
* | build: fix detection of math functions with 2 parameters.Michael Niedermayer2012-10-241-3/+23
| | | | | | | | | | | | The code from libav seems to have been entirely untested. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '80521c1997a23e148edf89e11b939ab8646297ca'Michael Niedermayer2012-10-241-0/+11
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '80521c1997a23e148edf89e11b939ab8646297ca': build: allow targets to specify extra objects to link with executables swscale: avoid pointless use of compound literals libm: add fallbacks for various single-precision functions network: use getservbyport() only if available network: add fallbacks for INADDR_LOOPBACK and INET_ADDRSTRLEN Include sys/time.h before sys/resource.h Conflicts: Makefile configure libavutil/libm.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * build: allow targets to specify extra objects to link with executablesMans Rullgard2012-10-231-0/+1
| | | | | | | | | | | | | | This allows targets to include special objects when linking executables without including them in (shared) libraries. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * libm: add fallbacks for various single-precision functionsMans Rullgard2012-10-231-0/+8
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * network: use getservbyport() only if availableMans Rullgard2012-10-231-0/+2
| | | | | | | | | | | | | | The absence of this function will only give a less informative string back from our fallback implementation of getnameinfo(). Signed-off-by: Mans Rullgard <mans@mansr.com>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-10-201-32/+23
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | * 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-201-32/+23
| | | | | | | | This avoids some duplication when listing and testing for the functions.
| * configure: Disable Snow decoder and encoder by defaultDiego Biurrun2012-10-191-0/+2
| | | | | | | | Snow has serious unfixed bugs and no real-world use.
* | fate: Handle lavf-fate tests in a makefilejamal2012-10-191-14/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '1cd432e167b1a80853760c89a33606e2b5f229c2'Michael Niedermayer2012-10-191-3/+4
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-191-1/+1
| | | | | | | | | | | | 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-191-4/+30
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-181-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-181-4/+8
| | | | | | | | | | | | | | | | | | | | 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-181-13/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | * 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-171-14/+1
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* | Merge commit '36ac9a16a19a365ce58cc871484c20cffe9b6401'Michael Niedermayer2012-10-181-47/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | * 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-171-3/+1
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * fate: handle lavf test dependencies entirely in makeMans Rullgard2012-10-171-46/+1
| | | | | | | | | | | | 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-171-2/+2
| | | | | | | | | | | | | | | | | | 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-171-0/+5
|\ \ | |/ | | | | | | | | | | | | | | | | | | * 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-161-0/+5
| | | | | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | Merge commit 'c1fcfdec75468009dc7de29a5d1c6adf3b2ef77d'Michael Niedermayer2012-10-161-7/+12
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | * 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-151-4/+11
| | | | | | | | | | | | | | | | 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-161-5/+2
|\ \ | |/ | | | | | | | | | | | | | | | | * 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-151-5/+2
| | | | | | | | | | | | | | 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-161-1/+11
|\ \ | |/ | | | | | | | | | | | | | | * 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-151-1/+1
| | | | | | | | | | | | 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-151-0/+10
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-10-151-0/+2
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
OpenPOWER on IntegriCloud