summaryrefslogtreecommitdiff
path: root/configure
Commit message (Collapse)AuthorAge
* build: Add separate hidden config option for the intrax8 codeDiego Biurrun2014-01-15
| | | | This allows for slightly cleaner dependency specification.
* aarch64: add cpuflags support for NEON and VFPJanne Grunau2014-01-15
| | | | | | | NEON and VFP are currently mandatory for all ARMv8 profiles. Both are handled as extensions as far as cpuflags are concerned. This is consistent with handling x86_64 which always has SSE2, but still handles it as an extension.
* aarch64: configure: set arch dependent featuresJanne Grunau2014-01-14
| | | | | | | Stack is always 16 byte aligned and clz, 64bit operations and unaligned memory access are fast in aarch64 mode on ARMv8. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* vf_yadif: Relicense from GPL to LGPLRobert Krüger2014-01-14
| | | | All copyright holders have agreed to the relicensing.
* x86/arm: Add clobber tests to libavresampleMartin Storsjö2014-01-13
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* arm: Add an option for making sure NEON registers aren't clobberedMartin Storsjö2014-01-11
| | | | | | This is pretty much based on the same test for XMM registers. Signed-off-by: Martin Storsjö <martin@martin.st>
* ATRAC3+ decoderMaxim Polijakowski2014-01-09
| | | | | | Cleanup by Diego Biurrun. Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* configure: Disable networking if winsock2.h is available but winsock ↵Martin Storsjö2014-01-06
| | | | | | | | | | | | | | | | | functions aren't Previously, if neither of the checks for the closesocket function succeeded, we still kept winsock2.h and networking in general enabled. When targeting the WinRT API subset, the winsock2.h header is available (making the check for it succeed, giving the impression that winsock is available), but tests that actually try to use such a function will fail. In this case, disable the winsock2.h feature and networking in general, as if the winsock2.h header test would have failed in the first place. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Update freetype check to follow upstreamLuca Barbato2014-01-06
| | | | | | The freetype tutorial suggests to use #include FT_FREETYPE_H. Bug-Id: 616
* configure: Support preprocessor macros as header namesDiego Biurrun2014-01-05
| | | | | | | | | | New versions of FreeType have moved the location of their API header(s) and hide the location behind a macro. Since the location changes between versions and no other way to know the location exists, this workaround becomes necessary. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* configure: Explicitly disable w32threads if the test for it failsDiego Biurrun2013-12-25
| | | | | This avoids false positive enabling of w32threads if explicitly requested on the command line, but dependencies are missing.
* Add a libwebp encoderJustin Ruggles2013-12-21
|
* configure: Express atomics/thread deps through the dependency systemDiego Biurrun2013-12-19
|
* build: Define __printf__ to __gnu_printf__ on MinGW*/gccDiego Biurrun2013-12-16
| | | | This is necessary to avoid GCC assuming MS style printf arguments.
* configure: Detect Solaris libc in an OpenIndiana/illumos compatible wayDiego Biurrun2013-12-14
|
* configure: Reorder pthreads checksLuca Barbato2013-12-13
| | | | | | | | Some pthreads symbols might be present in libc (as shown on various *BSD) but not all of them, leading to false positives. Check for the most common compiler flags before the plain symbol check to avoid known pitfalls.
* configure: Move the bz2 and zlib checks below phtreadsLuca Barbato2013-12-13
| | | | There are alternate implementations of those libraries that use pthreads.
* configure: Add -D__USE_MINGW_ANSI_STDIO=1 to CPPFLAGS on MinGW32Diego Biurrun2013-12-13
| | | | This enables a more C99-compliant implementation of printf et al.
* configure: Detect newer (>=4.1) versions of MinGW32Diego Biurrun2013-12-13
| | | | The MinGW32 project is deprecating its old version macros.
* build: Do not add -g to HOSTCFLAGSDiego Biurrun2013-12-13
| | | | | The flag is not unconditionally added to CFLAGS either and the programs built on the host do not get habitually fed to a debugger.
* configure: Add -D__USE_MINGW_ANSI_STDIO=1 to CPPFLAGS on MinGW64Diego Biurrun2013-12-11
| | | | | This enables a more POSIX-compliant printf implementation, that allows using length modifiers like 'z'.
* configure: Move log2 dependency declaration to a place it takes effectDiego Biurrun2013-12-10
| | | | It was incorrectly moved in c869fcdeac3b7cd71a852b928902daadeca55685.
* configure: Split host and target libc detectionDiego Biurrun2013-12-09
|
* configure: Move toolchain dependency declarations to a more appropriate placeDiego Biurrun2013-12-09
|
* configure: Prefix libc-related variables with "libc_"Diego Biurrun2013-12-09
| | | | Simplifies host/target libc detection splitting.
* configure: detect Solaris libcSean McGovern2013-12-09
| | | | | | Add preprocessor flags for API availability as necessary. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* avformat: AviSynth demuxer rewrited s2013-12-08
| | | | | | | | | | | | | | | | | | | | Directly loads AviSynth through LoadLibrary instead of relying on Video for Windows, and supports using AvxSynth (via dlopen) to open scripts on Linux and OS X. Error messages from AviSynth/AvxSynth are now reported through av_log and exit, rather than the traditional behavior of generating an error video that the user would need to watch to diagnose. The main rewrite was authored by d s <avxsynth.testing@gmail.com> from the AvxSynth team, with additional contributions by Oka Motofumi <chikuzen.mo@gmail.com> Stephen Hutchinson <qyot27@gmail.com> Diego Biurrun <diego@biurrun.de> Anton Khirnov <anton@khirnov.net> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* configure: Move adding of compat objects out of libc detectionDiego Biurrun2013-12-08
|
* configure: Separate MinGW32 and MinGW64 libc handlingDiego Biurrun2013-12-08
|
* configure: Detect msvcrt libc with a CPP check instead of a link checkDiego Biurrun2013-12-04
| | | | Simplifies host/target libc detection splitting.
* configure: Add detected C library and host compiler to informative outputDiego Biurrun2013-12-04
|
* configure: Do not use pthread_create to check for pthreadLuca Barbato2013-11-30
| | | | | | | Certain instrumentation addons leads to a false positive in configure and link failures at the end of the build phase. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* configure: add strip flags checksVittorio Giovara2013-11-28
| | | | | | This will check if -wN '..@*' is available and fall back on -x if not; when none are available, do not run strip at all to prevent removing functions that might be actually needed.
* Add an audio transcoding example.Andreas Unterweger2013-11-27
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* build: Check for pod2man instead of perl for manual page generationDiego Biurrun2013-11-26
| | | | Some systems provide Perl without pod2man.
* configure: Restore doc option to disable building the documentationDiego Biurrun2013-11-26
| | | | Also add appropriate dependency declarations for perl and texi2html.
* build: Integrate multilibrary examples into the build systemDiego Biurrun2013-11-25
| | | | This includes moving libavformat/output-example to doc/examples/output.
* build: Import makedef script from c99-to-c89Derek Buitenhuis2013-11-24
| | | | | | | This allows MSVC 2013 and ICL to build with no external dependencies. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* build: more fine-grained dependencies for documentation build toolsDiego Biurrun2013-11-23
| | | | Perl is needed to build the manual pages, texi2html for the HTML pages.
* avconv: add support for VDPAU decodingAnton Khirnov2013-11-23
|
* configure: Avoid requiring c99wrap for working around msys path issuesMartin Storsjö2013-11-21
| | | | | | | | | | | | | | | | | | | | Msys is unable to convert unix style absolute paths to windows style paths when combined with certain multichar MSVC options such as -Fo<file>. We used to work around this issue by passing them as two separate parameters separated by a space to c99wrap, which then mapped them back to the actual parameter format that MSVC uses. The only paths that actually are an issue are absolute unix style paths, and the only place such absolute paths are used with the output arguments (-Fo, -Fe, -Fi, -out:) are for the temp files within configure. By setting TMPDIR to . for msvc/icl builds, we never need to use absolute unix style paths for the file output, and we can use the actual proper form of the file output parameters. This avoids requiring the c99wrap wrapper for remapping the parameters for cases where the c99 converter isn't invoked at all (MSVC2013 and ICL). Signed-off-by: Martin Storsjö <martin@martin.st>
* win{32,64}: Hard disable symbol versioningDerek Buitenhuis2013-11-19
| | | | | | | | ICL doesn't return an error on unknown parameters, and will always pass the symver_gnu_asm test, and since Windows never has symbol versioning, just always disable it. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* configure: Don't use symlinks for creating the out of tree makefileMartin Storsjö2013-11-19
| | | | | | | | | | | | | | On some platforms (such as msys), symlinks are (poorly) emulated by simply creating a copy of the file. This means that when building out of tree, the build tree gets a copy of the original makefile, which can lead to unintuitive build errors when the original makefile gets updated later. Instead simply create a stub makefile which includes the real one. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc: VP9 decoderRonald S. Bultje2013-11-15
| | | | | | | | | | | | | | Originally written by Ronald S. Bultje <rsbultje@gmail.com> and Clément Bœsch <u@pkh.me> Further contributions by: Anton Khirnov <anton@khirnov.net> Diego Biurrun <diego@biurrun.de> Luca Barbato <lu_zero@gentoo.org> Martin Storsjö <martin@martin.st> Signed-off-by: Luca Barbato <lu_zero@gentoo.org> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* configure: Check whether MSVC requires using the C89-to-C99 converterMartin Storsjö2013-11-13
| | | | | | | | | | | | | | | | MSVC does support enough of C99 to work without the converter since the 2013 version. Try to detect which version of the compiler in the path needs to run the C99 converter or not. When the converter is omitted, compilation time is reduced quite drastically. Prior to this, users could still use --cc="c99conv -noconv cl" when running MSVC 2013 to achieve the same. This checks the version number instead of doing a normal compile test, since this check needs to be done earlier in configure, before the normal compile test helpers are usable. Signed-off-by: Martin Storsjö <martin@martin.st>
* dsputil: Split off H.263 bits into their own H263DSPContextDiego Biurrun2013-11-08
|
* configure: Move -Wno-maybe-uninitialized check into gcc sectionDiego Biurrun2013-11-05
| | | | | | As another example of bizarre compiler behavior clang groks the -Wmaybe-uninitialized option, but not -Wno-maybe-uninitialized and spews a warning for every file that gets compiled.
* Add an HDS live fragmenting muxerMartin Storsjö2013-11-02
| | | | | | | HDS fragments basically are FLV fragments wrapped in an ISO media mdat atom. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Properly check for availability of -Wno-foo warning flagsDiego Biurrun2013-11-01
| | | | | | | | | | | | | For some weird reason gcc does not check if the -Wno disabling variants of warning flags match existing warning flags. Instead it swallows them silently. That is, unless other warning or error messages are generated, because then - for some even more bizarre reason - a complaint about the unknown disable warning flag is issued along with the error or warning message. Thus to check for the availability of a warning disabling option, one needs to check for the enabling variant instead and then add the disabling variant to CFLAGS.
* configure: Split test_cflags function off from check_cflagsDiego Biurrun2013-11-01
| | | | This is useful to test flags without directly adding them to CFLAGS.