summaryrefslogtreecommitdiff
path: root/configure
Commit message (Collapse)AuthorAge
* build: error on variable-length arraysMans Rullgard2012-10-05
| | | | | | With all the VLAs gone, make sure they never come back. Signed-off-by: Mans Rullgard <mans@mansr.com>
* x86: Drop CPU detection intrinsicsDiego Biurrun2012-10-04
| | | | | | Now that there is CPU detection in YASM, there will always be one of inline or external assembly enabled, which obviates the need to fall back on CPU detection through compiler intrinsics.
* configure: add --enable-lto optionMans Rullgard2012-10-04
| | | | | | | This works with gcc. Other compilers might need to have a flag mapping added. Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: Factor out mpegaudio dependencies to CONFIG_MPEGAUDIODiego Biurrun2012-10-04
| | | | | A new hidden config variable is added for the codecs that depend on the mpegaudio parts.
* configure: Refactor HAVE_ options available on the command lineDiego Biurrun2012-10-03
|
* msvc: Fix detection of VFW & Avisynth required libsDerek Buitenhuis2012-10-01
| | | | | | It should be vfw32.lib with MSVC. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* Opus encoder using libopusNathan Caldwell2012-10-01
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Opus decoder using libopusNicolas George2012-09-28
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* configure: update tms470 detection for latest versionMans Rullgard2012-09-20
| | | | | | | | v5.0 of the TI ARM compiler changes the version string. This updates the detection to check for both the old and the new strings. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: msvc: default to 'lib' as 'ar' toolMans Rullgard2012-09-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: support some non-standard ar variantsMans Rullgard2012-09-19
| | | | | | | This adds support for the TI and Microsoft (lib.exe) variants of the ar utility. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: add --toolchain optionMans Rullgard2012-09-18
| | | | | | | This allows creating canned shorthands for common combinations of cc, ld etc. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: Make the smoothstreaming muxer enable the ismv muxerMartin Storsjö2012-09-18
| | | | | | | This doesn't fix any build failure, but the smoothstreaming muxer opens a chained ismv muxer. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: include flags in nm variableMans Rullgard2012-09-17
| | | | | | | This simplifies ensuring proper flags are used when the default is overridden by the system or on the command line. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: x86: improve ebp availability checkMans Rullgard2012-09-14
| | | | | | | | Some compilers are extra strict about register usage in main(), disallowing ebp in inline asm there while allowing it elsewhere. This change makes the test better reflect actual usage. Signed-off-by: Mans Rullgard <mans@mansr.com>
* os_support: Choose between direct.h and io.h using a configure checkMartin Storsjö2012-09-13
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Only disable aligned stack on MSVC on 32 bitMartin Storsjö2012-09-11
| | | | | | On 64 bit, the stack seems to be aligned enough for our needs. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: indentation cosmeticsDiego Biurrun2012-09-11
|
* configure: Adjust the xgetbv instrinsic checkMartin Storsjö2012-09-10
| | | | | | | | | | | | The 64 bit cl.exe version 16.00.30319.01 crashes with an internal compiler error on the current check (and thus deduces it isn't supported, even if the actual usage in libavuil/x86/cpu.c works fine), but by assigning the value from the intrinsic to a variable, or returning it, it works fine. This error is fixed in cl.exe version 16.00.40219.01. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Add --disable-inline-asm command line optionDiego Biurrun2012-09-10
| | | | This can come in handy for testing and possibly other purposes.
* configure: Don't try to enable the log2 function on msvcrtMartin Storsjö2012-09-10
| | | | | | | | | | | | Some msvcrt versions (the static 64 bit libc in MSVC 10) have a log2 function, but there is no declaration for it in the headers. Therefore, the normal configure check might find it, but it can fail during build or at runtime, depending on whether implicit function declarations are an error or not. Therefore simply ignore this function on this platform. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: msvc: fix/simplify setting of flags for hostccMans Rullgard2012-09-08
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: Set the right cc_e flags for msvcMartin Storsjö2012-09-06
| | | | | | | The default ones work, but outputs the preprocessed file on stdout (into config.log). Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Disable some warnings in MSVCMartin Storsjö2012-09-05
| | | | | | | | | | | | | | This disables the following warnings: C4100: unreferenced formal parameter (1035 occurrances) C4214: nonstandard extension used : bit field types other than int (609 occurances) C4996: 'avpriv_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. (351 occurrances) Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Add support for MSVC cl.exe/link.exeRonald S. Bultje2012-09-05
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* lavu: add snprintf(), vsnprint() and strtod() replacements for MS runtime.Ronald S. Bultje2012-09-05
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: add section for libc-specific hacksMans Rullgard2012-09-05
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* build: disable ranlib on mingwMans Rullgard2012-09-05
| | | | | | | | Using ranlib is not required but prevents using the libraries with msvc. Signed-off-by: Mans Rullgard <mans@mansr.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* build: eamad: Add missing dependency on mpegvideo codeDiego Biurrun2012-09-05
|
* build: utvideoenc: Add missing dependency on Huffman codeDiego Biurrun2012-09-05
|
* configure: add support for bdver1 and bdver2 CPU types.Diego Elio Pettenò2012-09-04
| | | | | Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* MSS2 decoderAlberto Delmás2012-08-31
| | | | Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* configure: handle --disable-asm before check_depsMans Rullgard2012-08-31
| | | | | | | This is necessary to avoid spuriously enabling _external or _inline variants of arch extensions when they should be disabled. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: x86: Separate inline from standalone assembler capabilitiesDiego Biurrun2012-08-31
|
* configure: Add more fine-grained SSE CPU capabilities flagsDiego Biurrun2012-08-30
|
* build: allow non-standard variations of linker -l/-L flagsMans Rullgard2012-08-29
| | | | | | | | | This enables replacing the -l and -L flags used to specify the just-built libraries when linking the tools and shared libs with non-standard syntaxes. System library flags are already handled by the filtering mechanism in configure. Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: export filtered -lz flag in config.makMans Rullgard2012-08-28
| | | | | | | This is needed to link tools/cws2fws using a linker with non-standard command line syntax. Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: add separate setting for host linkerMans Rullgard2012-08-28
| | | | | | | This adds new HOSTLD and related settings for host linker allowing it to be different from HOSTCC. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: probe_cc: use separate variable for linker output flagMans Rullgard2012-08-28
| | | | | | | | | Some tools use different command line syntax for specifying output when compiling and linking. To accomodate these, separate variables must be used. No currently supported compilers/linkers are affected by the change. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: support Bitrig OSBrad Smith2012-08-29
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* huffman: add ff_huff_gen_len_tableMichael Niedermayer2012-08-28
| | | | | | The function will be used by utvideo as well. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* configure: use HOSTCC_C/O in check_host_ccMans Rullgard2012-08-27
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: use AS_O setting in check_asMans Rullgard2012-08-27
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: use LD_O setting in check_ld()Mans Rullgard2012-08-27
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: Fix shared library creation for OpenBSDBrad Smith2012-08-27
| | | | | | | OpenBSD does not expect or require symlinked shared libraries with just the major version in the name. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* configure: Drop fastdiv optionDiego Biurrun2012-08-22
| | | | | | There is no point in having the user disable any fastdiv macros. Besides the condition implementation was broken and only disabled the C implementation, but no platform specific assembly versions.
* build: Make the E-AC-3 encoder select the AC-3 encoderDiego Biurrun2012-08-22
| | | | | The E-AC-3 encoder depends on almost all of the code of the AC-3 encoder, so it makes no sense to enable one without the other.
* configure: clean up Altivec detectionMans Rullgard2012-08-16
| | | | | | | | | | | | | | | There used to be one test for Altivec intrinsics support and a separate test to determine which of two possible syntaxes to use for vector literals. Since 2008, we only support the more common of these so the split test no longer makes sense. This combines the tests into one and also changes the hard error on failure to a warning. The test can reasonably fail if no --cpu flag is provided (or is provided with an unknown CPU) and the compiler default target does not support Altivec. Aborting in this case is probably over-reacting. Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: Factor out rangecoder dependencies to CONFIG_RANGECODERDiego Biurrun2012-08-16
| | | | | A new hidden config variable is added for the codecs that depend on the rangecoder parts.
* build: Factor out error resilience dependencies to CONFIG_ERROR_RESILIENCEDiego Biurrun2012-08-16
| | | | | A new hidden config variable is added for the codecs that depend on the error resilience parts.