summaryrefslogtreecommitdiff
path: root/configure
Commit message (Collapse)AuthorAge
...
* Allow linking to CUDA dynamically instead of dlopen()ing it at runtimeAnton Khirnov2016-02-14
|
* configure: Restore the --enable-everything behaviourLuca Barbato2016-02-14
| | | | | | | Make sure that the minimum set of dependencies needed by the tools and the examples are enabled. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* configure: Print which libraries will be builtLuca Barbato2016-02-14
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* configure: Use `require` for the non-component optionsLuca Barbato2016-02-14
| | | | | | And make sure to enable all the components needed Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* vdpau: Support for VDPAU accelerated HEVC decodingPhilip Langdale2016-02-13
| | | | | Signed-off-by: Rémi Denis-Courmont <remi@remlab.net> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* eatqi: Remove MpegEncContext dependencyVittorio Giovara2016-02-09
| | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* configure: Refactor toolchain flag settingDiego Biurrun2016-02-09
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avplay: drop support for building without lavfiAnton Khirnov2016-02-09
| | | | | | lavfi has been considered to be stable for a while now, so it is enabled in most configurations. Supporting avplay without lavfi requires a lot of nontrivial ifdef mess for no good reason.
* msvc: Fix libx264 linkingHenrik Gramner2016-02-06
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* configure: Support MSYS2 mingw-w64 64bitLuca Barbato2016-02-06
|
* configure: add missing avx2 support checkJames Almer2016-01-28
| | | | | | | | AVX2 support was introduced in Yasm 1.2.0 and NASM 2.10, and the oldest versions currently supported are Yasm 0.8.0 and NASM 2.03 Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* configure: Correctly add openssl cflags and libsLuca Barbato2016-01-23
|
* configure: Force-enable select_any dependencies only on --enableLuca Barbato2016-01-21
| | | | | | Unbreak --enable-gnutls enabling tls_openssl_protocol Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* configure: Improve requesting specific featuresLuca Barbato2016-01-21
| | | | | | | | | | | | | | | | | | Before this patch trying to enable only https by issuing --disable-protocols --enable-protocol=https --enable-gnutls does not enable https, and --disable-all --enable-protocols does not enable libavformat and the protocols component. Now the default-enabled options are set after the explicitly disabled/enabled options are evaluated. If an explicitly enabled option cannot be enabled configure will fail printing an error message.
* libkvazaar: Set frame rate as a rational numberArttu Ylä-Outinen2016-01-19
| | | | | | | | | | | | Updates libkvazaar to pass the exact frame rate to Kvazaar by setting the numerator and denominator separately instead of a single floating point number. The exact frame rate is needed for writing timing info to the bitstream. Requires Kvazaar version 0.8.1. Signed-off-by: Arttu Ylä-Outinen <arttu.yla-outinen@tut.fi> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* configure: mips: Support both-endian compilersLuca Barbato2016-01-19
| | | | | Use mips{,64}eb to force big endian and mips{,64}el to force little endian.
* configure: Use pkg-config to check for opensslLuca Barbato2016-01-19
|
* nvenc: rename encodersAnton Khirnov2016-01-12
| | | | | Change 'nvenc_<codec>' to '<codec>_nvenc', which is consistent with other similar decoders and encoders (QSV, MMAL).
* swfdec: support compressed swfClément Bœsch2016-01-11
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: export Dirac parsing API used by the ogg demuxer as publicAnton Khirnov2015-12-06
| | | | Also, stop using AVCodecContext for storing the stream parameters.
* configure: Add -framework CoreVideo when building the avfoundation indevMartin Storsjö2015-12-03
| | | | | | | This fixes builds with --disable-vda, which previously failed with undefined references to CVImageBuffer* and CVPixelBuffer* functions. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Replace `pr` since it is not provided by busyboxKylie McClain2015-12-02
| | | | | | | | | | While pr is a valid POSIX.1 command, its usage in configure is a little borderline and is possible to replace it with printf. Bug-Id: 913 Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* build: Move -Wcast-qual to the extra_warningsLuca Barbato2015-12-02
| | | | | It amounts to about 1/2 of the warnings generated and does not help spotting anything useful.
* avfoundation: Simple captureAlexandre Lision2015-11-26
| | | | | | | Originally based on the capture written by Thilo Borgmann <thilo.borgmann@mail.de>. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* configure: ObjC supportLuca Barbato2015-11-26
| | | | | | | Assume that the default C compiler and the default ObjC compiler match (default for OSX). Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* configure: Clearly state that MSYS native builds are discouragedLuca Barbato2015-11-21
| | | | | | | | | MSYS, as per cygwin, by default uses a custom posix abstraction in the form of a "msys2.dll". Programs build that way are harder to distribute and use. MSYS2 provides alternate launcher scripts that provide a MINGW environment nearly out of box.
* configure: Add a SONAME entry for the android targetLuca Barbato2015-10-30
| | | | | | | | In order to load libraries in Android they need to be unversioned. The android target section was derived from the BSD ones, and they that simply drop the SONAME Android M requires to have a SONAME entry but unversioned.
* vdpau: remove dysfunctional H.263 supportRémi Denis-Courmont2015-10-30
| | | | | | The VDPAU API never explicitly supported H.263 in the first place. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* os_support: Don't try to return the service name as a string in getnameinfoMartin Storsjö2015-10-30
| | | | | | | | | | | | | Some systems may be lacking getservbyport; the previous ifdef wasn't quite enough since it still assumed that struct servent was defined, as pointed out by Clément Gregoire. Simply remove the possibility to return non-numeric services in getnameinfo; no caller of getnameinfo within libavformat currently try to use getnameinfo for retrieving the port number without NI_NUMERICSERV, and falling back on getservbyport may be non-threadsafe. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Add -D_CRT_NONSTDC_NO_WARNINGS when building with msvcMartin Storsjö2015-10-29
| | | | | | | | | This silences warnings like this one: libavformat/file.c(62) : warning C4996: 'read': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _read. See online help for details. Signed-off-by: Martin Storsjö <martin@martin.st>
* innoHeim/Rsupport Screen Capture Codec decoderVittorio Giovara2015-10-23
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* kvazaar: Add libkvazaar HEVC encoderArttu Ylä-Outinen2015-10-23
| | | | | Signed-off-by: Arttu Ylä-Outinen <arttu.yla-outinen@tut.fi> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* build: add Solaris symbol versioningSean McGovern2015-10-11
| | | | | | | | | | | | | | | | | | The versioning facility in the Solaris linker differs from Linux in 3 ways: 1. It does not support globs in linker scripts for symbol versioning -- this is a GNU extension. 2. The linker argument is '-M', instead of '--version-script'. 3. It is picky about line endings. Each symbol or directive must be on a line of it's own. Let's use make_sunver.pl from GCC to generate a version script that works correctly with the Solaris linker. It's function is to correctly expand the globs in the original generated version script. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* configure: When disabling a library disable all the related componentsLuca Barbato2015-10-07
| | | | | | This way is sufficient to use the component specific configure variable and not guard against the global library configure variable in code that is outside it (e.g. checkasm).
* build: Add support for known custom allocatorsLuca Barbato2015-09-30
| | | | | | Makes slightly easier to use jemalloc and tcmalloc. The two are quite common choices for profiling and debugging.
* Screenpresso SPV1 decoderVittorio Giovara2015-09-30
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* configure: address a copy-paste typoVicente Olivert Riera2015-09-29
| | | | | | | The correct instruction for mips32r1 is addi. Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* configure: mips: Support mips r6, r2 and r1Luca Barbato2015-09-29
| | | | | | Detect the different MIPS architecture variants. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* configure: Set the initial ldflags to match the cflagsLuca Barbato2015-09-29
| | | | | | | Some gcc-based toolchain would fail to link if the abi set by the cpuflags does not match the default. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* DXV decoderVittorio Giovara2015-09-02
| | | | Support all DXDI and DXD3 normal quality videos.
* lavc: Add a lzf decompressorLuca Barbato2015-09-02
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* webm: Explicitly select libvpx, libopus and libvorbis encodersLuca Barbato2015-08-25
| | | | | | | | And update the preference for the newer codecs now that the libraries seem stable and widespread enough. Bug-Id: 695 Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* configure: arm: Assume softfp ABI on darwinMartin Storsjö2015-08-16
| | | | | | | | | | | | | | Don't try to detect the float ABI by checking at the toolchain name or by trying to assemble and link files with eabi_attributes. This fixes the float ABI detection when building using clang with -fembed-bitcode, where the current eabi_attributes check accidentally passes. This issue was pointed out by James Howe <james.howe@hp.com>. CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Silence error messages when probing compilerShiz2015-08-04
| | | | | | | | | | | On Xcode's clang on OS X, $cc --version will output a 'Configured with:' line to stderr, which clobbers the configure script output. As this line serves no further purpose, it should be silenced. The same applies to apple-gcc 4.2.1, which complains that it can not understand the kernel version it is running on. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* configure: Don't force _WIN32_WINNT to an older version if targeting ↵Martin Storsjö2015-07-28
| | | | | | | | | | | winphone/winrt This avoids having to manually set _WIN32_WINNT in --extra-cflags when targeting these API families, which only was necessary to work around configure setting _WIN32_WINNT to an older version by default. Signed-off-by: Martin Storsjö <martin@martin.st>
* dxva2/d3d11va: Set _WIN32_WINNT to 0x0602 instead of 0x0600Martin Storsjö2015-07-28
| | | | | | | | | | | | | | | If _WIN32_WINNT is unset, we force it to a new enough value to make sure the necessary definitions are visible. When targeting Windows Phone or Windows RT, _WIN32_WINNT should be at least 0x0602 - otherwise the windows headers themselves can cause errors (which technically are bugs in the headers). Raising this value here shouldn't hurt; the alternative would be to not touch it at all if WINAPI_FAMILY is set to phone/app, or to force setting it to 0x0602 in configure if unset (for phone/app). Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Check for _M_ARMT to detect thumb when using MSVCMartin Storsjö2015-07-27
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Check MSVC defines for identifying hardfloatMartin Storsjö2015-07-27
| | | | | | | | This macro identifies whether VFPv3 is available; MSVC defaults to hardfloat (except for older MSVC versions for CE, targeting ARMv4). Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Default to armasm for --toolchain=msvc when targeting armMartin Storsjö2015-07-27
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Simplify, remove an unnecessary intermediate variableMartin Storsjö2015-07-27
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>