summaryrefslogtreecommitdiff
path: root/configure
Commit message (Collapse)AuthorAge
* Drop Snow codecDiego Biurrun2013-01-06
| | | | Snow is a toy codec with no real-world use and horrible code.
* configure: suppress -fPIC in msvc buildsHendrik Leppkes2012-12-31
| | | | | | | MSVC doesn't understand the option, and emits a warning on every call to cl.exe. Signed-off-by: Martin Storsjö <martin@martin.st>
* build: Add rtpenc_chain extra config optionDiego Biurrun2012-12-28
| | | | | | Also fixes linking in various configs with only individual parts enabled because the RTP muxer chaining code depends on the general RTP code, which is now accounted for.
* configure: Add --disable-all command line optionDiego Biurrun2012-12-28
| | | | | This option disables all programs, libraries and other parts of Libav that get built as part of the compilation process.
* configure: cosmetics: Separate hwaccel dependencies from decoders/encodersDiego Biurrun2012-12-23
| | | | Also move mpegvideo_select statement to the correct position.
* configure: Make avconv depend on null, anull and resample filtersDiego Biurrun2012-12-21
| | | | Building avconv without that functionality makes little sense.
* miscellaneous typo fixesDiego Biurrun2012-12-21
|
* lavc: introduce VideoDSPContextRonald S. Bultje2012-12-20
| | | | | | | | Move some functions from dsputil. The idea is that videodsp contains functions that are useful for a large and varied set of video decoders. Currently, it contains emulated_edge_mc() and prefetch(). Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* configure: formatting cosmeticsDiego Biurrun2012-12-18
|
* configure: fix automatic processing of _extralibs in check_depsMans Rullgard2012-12-09
| | | | | | | This fixes the automatic use of $foo_extralibs when feature foo is enabled indirectly through a _select or _suggest. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: Have protocols select network code instead of depending on itDiego Biurrun2012-12-09
|
* tak: demuxer, parser, and decoderPaul B Mahol2012-12-07
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* arm: detect cpu features at runtime on LinuxMans Rullgard2012-12-07
| | | | | | | | This allows compiling optimised functions for features not enabled in the core build and selecting these at runtime if the system has the necessary support. Signed-off-by: Mans Rullgard <mans@mansr.com>
* arm: rename ARMVFP config symbol to VFPMans Rullgard2012-12-07
| | | | | | | This is consistent with usual ARM nomenclature as well as with the VFPV3 and NEON symbols which both lack the ARM prefix. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: arm: make _inline arch ext symbols depend on inline_asmMans Rullgard2012-12-07
| | | | | | This makes --disable-inline-asm work as expected. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: arm: check inline and external asm support for extensionsMans Rullgard2012-12-07
| | | | | | | This tests instruction set support in both inline and external asm. If both fail, the base config option is disabled. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: add check_insn functionMans Rullgard2012-12-07
| | | | | | | | The check_insn function tests an instruction in both inline asm and standalone assembly, and sets _external/_inline config properties accordingly. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: clean up check_inline_asm and check_as functionsMans Rullgard2012-12-07
| | | | | | | | | | | | | | | The check_inline_asm function should check the actual C compiler, not the one used for assembly files. Usually these are the same, but they might be different, typically when using a compiler other than gcc. The check_as should, as its name suggests, test the type of input the AS command is used with, i.e. a standalond assembly (.S) file. Finally, check for gnu assembler using the modified check_as as this reflects actual usage. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: arm: set fast_clz and fast_unaligned in cpuflags sectionMans Rullgard2012-12-07
| | | | | | | | These are properties of the targeted core and do not depend on specific assembly support in the toolchain which if missing will render the controlling options here disabled. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: arm: detect toolchain default arch versionMans Rullgard2012-12-07
| | | | | | | | | | | | | Probe for the toolchain default architecture version if no --cpu flag is present or an unknown cpu is specified. Works with gcc, clang and armcc. This allows configuring based on the arch version even if it is not explicitly specified to configure. It also causes an explicit -march flag to be added to CFLAGS and ASFLAGS, which in turn lets us do proper instruction set tests with the assembler. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: do not bypass cpuflags section if --cpu not givenMans Rullgard2012-12-07
| | | | | | | This will allow arch-specific ways of determining the target variant when none is specified on the command line. Signed-off-by: Mans Rullgard <mans@mansr.com>
* ppc: always use pic for shared librariesLuca Barbato2012-12-03
| | | | CC: libav-stable@libav.org
* configure: Strip ordinals from mingw generated def filesMartin Storsjö2012-12-03
| | | | | | | | | | | | | | | | | | | | | | | | The def files are used for generating import libraries for other toolchains (in particular, for generating import libraries for MSVC for DLLs built with mingw). The def files produced by mingw/gcc contains ordinals for each exported function. When MSVC tools generate import libraries from such a def file, MSVC links to the DLL by the ordinals instead of linking by name. Since the def files aren't maintained by hand, the ordinal numbers are assigned (more or less) randomly and any caller linking to the libs by ordinals will break as soon as the libraries export more/fewer functions. Therefore, strip out the ordinals from the generated def files, to make users link to the libraries by name. Callers linking to the DLLs using the gcc provided import library link by name as they should. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: arm: detect default thumb state of compilerMans Rullgard2012-12-03
| | | | | | | This makes configure honour the compiler default if thumb is not explicitly enabled or disabled. Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: Make the ISMV muxer select the MOV muxerDiego Biurrun2012-12-03
| | | | They share the same code, so building one w/o the other makes no sense.
* configure: move arm arch extensions to a separate variableMans Rullgard2012-12-03
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: avplay now depends on avresampleDiego Biurrun2012-12-02
|
* configure: fix indentation in option parsing loopMans Rullgard2012-12-01
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: Use headers in the check for _beginthreadex for w32threadsMartin Storsjö2012-11-30
| | | | | | | | | When targeting the metro API subset, this function still exists in the link libraries, but is excluded from the headers. This makes sure w32threads is automatically disabled when targeting this API subset (since not all the necessary functions for it are available). Signed-off-by: Martin Storsjö <martin@martin.st>
* avutil: Use a configure check to enable windows console functionsMartin Storsjö2012-11-30
| | | | | | Not all versions or API subsets of windows have these functions. Signed-off-by: Martin Storsjö <martin@martin.st>
* cmdutils: Use a configure check for enabling CommandLineToArgvWMartin Storsjö2012-11-29
| | | | | | | | | This simplifies the condition to avoid hardcoding the systems where the function exists. This also simplifies support for newer Windows API subsets where this function doesn't exist, such as Windows Phone 8 and the "metro" API subset of Windows 8. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Enable avconv filter dependencies automaticallyMartin Storsjö2012-11-27
| | | | | | | | | This makes sure minimal configurations such as "--disable-everything --enable-avconv" will enable the filters necessary for running avconv, instead of just keeping avconv disabled (even if the user specified "--enable-avconv"). Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Add separate list for libraries and use where appropriateDiego Biurrun2012-11-26
|
* configure: suncc: Add compiler arch support for Nehalem & Sandy BridgeSean McGovern2012-11-25
| | | | | | | | GCC does not appear to have a -march= string for Westmere, which is a bit surprising as it has a few more instructions than a Nehalem, but a few less than a Sandy Bridge. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* configure: sort cpuflags section by architectureMans Rullgard2012-11-23
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: properly support DEC/Compaq compilerMans Rullgard2012-11-23
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: add rules to generate preprocessed source filesMans Rullgard2012-11-23
| | | | | | | This is useful for debugging. Dependencies for these files are not generated due to limitations in many compilers. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: Refactor CPPFLAGS settings for glibc/uclibcDiego Biurrun2012-11-18
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: add basic support for ARM AArch64Mans Rullgard2012-11-18
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: set -U__STRICT_ANSI__ for newlibMans Rullgard2012-11-18
| | | | | | | This is (erroneously) required to enable various things in the newlib headers. As cygwin uses newlib, it is covered by this. Signed-off-by: Mans Rullgard <mans@mansr.com>
* parisc: work around bug in gcc 4.3 and laterMans Rullgard2012-11-17
| | | | | | | | A bug in tail call optimisation in gcc 4.3 and later on parisc causes numerous tests to fail. Disabling this optimisation gives a working build. See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55023 Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: Check for -Werror parameters on clangMartin Storsjö2012-11-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Add option to disable all command line programsDiego Biurrun2012-11-14
|
* ppc: do not pass redundant compiler flagsMans Rullgard2012-11-14
| | | | | | | | The -mpowerpc64 and -mpowerpc-gfxopt flags are implicitly set by -mcpu as needed. Passing them explicitly is redundant and can conflict with user-supplied flags. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: remove support for -n flag in print_enabled()Mans Rullgard2012-11-12
| | | | | | This flag is no longer used. Signed-off-by: Mans Rullgard <mans@mansr.com>
* x86: Require an assembler able to cope with AVX instructionsDiego Biurrun2012-11-11
| | | | | | | | All modern assemblers have this capability. Older NASM versions that lack the capability produce code that crashes at runtime, so it's better to error out during the build process instead. CC: libav-stable@libav.org
* configure: add lavu dependency to lavr/lavfi .pc filesAnton Khirnov2012-11-11
|
* libvpxenc: Allow enabling constrained quality (CQ) modeJames Zern2012-11-08
| | | | | | The CQ mode was introduced in libvpx 0.9.6. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: fix print_config() with broke awksMans Rullgard2012-10-30
| | | | | | | | 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>
* configure: rewrite print_config() function using awkMans Rullgard2012-10-30
| | | | | | | 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>