summaryrefslogtreecommitdiff
path: root/configure
Commit message (Collapse)AuthorAge
* Merge commit 'ee480790c7eeb03c9cebd8971c46e0cb7db65277'Clément Bœsch2017-04-26
|\ | | | | | | | | | | | | * commit 'ee480790c7eeb03c9cebd8971c46e0cb7db65277': build: Add name parameter to check_lib() helper function Merged-by: Clément Bœsch <u@pkh.me>
| * build: Add name parameter to check_lib() helper functionDiego Biurrun2016-12-16
| | | | | | | | | | This allows enabling or disabling the library-related variables from within the function instead of doing it manually outside of it.
* | Merge commit '1faffe7e8fab21186a233011bc8a62f47962e2cd'Clément Bœsch2017-04-26
|\| | | | | | | | | | | | | * commit '1faffe7e8fab21186a233011bc8a62f47962e2cd': configure: Disentangle vfw32 and user32 lib handling Merged-by: Clément Bœsch <u@pkh.me>
| * configure: Disentangle vfw32 and user32 lib handlingDiego Biurrun2016-12-16
| | | | | | | | | | Check for and link against user32 instead, which also fixes the missing dependency of dxva2 on user32 with MSVC.
* | Merge commit 'f7174d7ed045445d00a6d557236737d09ad32343'Clément Bœsch2017-04-26
|\| | | | | | | | | | | | | * commit 'f7174d7ed045445d00a6d557236737d09ad32343': configure: fix linking with MSVC when using --disable-optimizations Merged-by: Clément Bœsch <u@pkh.me>
| * configure: fix linking with MSVC when using --disable-optimizationsSteve Lhomme2016-12-16
| | | | | | | | | | | | | | | | | | Without any optimization flags, MSVC does no dead code elimination (DCE) at all, even for the most trivial cases. DCE is a prerequisite for building libav correctly, otherwise there are undefined references to functions for other architectures and disabled components. -O1 is the minimal optimization flag for MSVC that does include DCE.
* | Merge commit 'ef9a711be718ed3802a263d1d9ed340a4aaef224'Clément Bœsch2017-04-26
|\| | | | | | | | | | | | | * commit 'ef9a711be718ed3802a263d1d9ed340a4aaef224': configure: put d3d11 check in alphabetical order Merged-by: Clément Bœsch <u@pkh.me>
| * configure: put d3d11 check in alphabetical orderSteve Lhomme2016-12-16
| |
| * vp9: split superframes in the filtering stage before actual decodingAnton Khirnov2016-12-14
| | | | | | | | | | Significantly increases the efficiency of frame threading, since individual frames in a superframe can now be decoded in parallel.
* | Make tools/target_dec_*_fuzzer buildable with configure and makeMichael Niedermayer2017-04-24
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '972c71e9cb63e24f57ee481e413199c7d88a8813'James Almer2017-04-22
|\| | | | | | | | | | | | | * commit '972c71e9cb63e24f57ee481e413199c7d88a8813': lavc: add support for filtering packets before decoding Merged-by: James Almer <jamrial@gmail.com>
| * lavc: add support for filtering packets before decodingAnton Khirnov2016-12-14
| |
* | avcodec: add Screen Recorder Gold Codec decoderPaul B Mahol2017-04-18
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec: add Mandsoft Screen Capture Codec decoderPaul B Mahol2017-04-18
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Merge commit 'fc368497f2fff54ddf5316224c573c9d1939fb25'Clément Bœsch2017-04-17
|\| | | | | | | | | | | | | * commit 'fc368497f2fff54ddf5316224c573c9d1939fb25': configure: Add missing dxva2 dependency for dxva2_lib Merged-by: Clément Bœsch <u@pkh.me>
| * configure: Add missing dxva2 dependency for dxva2_libDiego Biurrun2016-12-12
| |
* | Merge commit 'f1248fae90b45501af4e8743d373e79191470331'Clément Bœsch2017-04-17
|\| | | | | | | | | | | | | * commit 'f1248fae90b45501af4e8743d373e79191470331': configure: Handle dxva2 optional components in the standard way Merged-by: Clément Bœsch <u@pkh.me>
| * configure: Handle dxva2 optional components in the standard wayDiego Biurrun2016-12-11
| |
| * lavfi: Add VAAPI deinterlacerMark Thompson2016-12-10
| |
* | Merge commit 'f8a1ead0ae4402df0503c83f213f57b785a5f20f'Clément Bœsch2017-04-17
|\| | | | | | | | | | | | | * commit 'f8a1ead0ae4402df0503c83f213f57b785a5f20f': build: Add -D_XOPEN_SOURCE=600 to CPPFLAGS on Cygwin Merged-by: Clément Bœsch <u@pkh.me>
| * build: Add -D_XOPEN_SOURCE=600 to CPPFLAGS on CygwinDiego Biurrun2016-12-10
| | | | | | | | This is required to make certain math defines visible on modern Cygwin.
| * configure: Fix _libs vs. _extralibs oversightDiego Biurrun2016-12-10
| |
* | Merge commit 'be2d555c980220e65d0ca5c3d78e6cc1e24451a5'Clément Bœsch2017-04-17
|\| | | | | | | | | | | | | * commit 'be2d555c980220e65d0ca5c3d78e6cc1e24451a5': build: Use _extralibs variable names instead of _libs everywhere Merged-by: Clément Bœsch <u@pkh.me>
| * build: Use _extralibs variable names instead of _libs everywhereDiego Biurrun2016-12-09
| | | | | | | | This makes naming more consistent and simplifies extralibs-related changes.
* | build: remove special freetype checkClément Bœsch2017-04-17
| | | | | | | | Since 52ccc4a0e was merged, it's pointless to keep our special version.
* | Merge commit '0507cd5b9f3c3769645bc6e9177eaf760f490d1c'Clément Bœsch2017-04-17
|\| | | | | | | | | | | | | * commit '0507cd5b9f3c3769645bc6e9177eaf760f490d1c': build: Rename host_libs/HOSTLIBS variables to host_extralibs/HOSTEXTRALIBS Merged-by: Clément Bœsch <u@pkh.me>
| * build: Rename host_libs/HOSTLIBS variables to host_extralibs/HOSTEXTRALIBSDiego Biurrun2016-12-09
| | | | | | | | This is more in line with the other related variable names.
| * configure: Simplify some library checks via check_lib()Diego Biurrun2016-12-09
| |
* | Merge commit '1818a640cfdccd52e97edf13564f45bc3d0d93eb'Clément Bœsch2017-04-17
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '1818a640cfdccd52e97edf13564f45bc3d0d93eb': build: Fix dependencies for alsa/jack/sndio support Added explicit enable (which will be automatically added later on in ee480790c) to actually fix this commit. Without the explicit enables, alsa, jack and sndio gets disabled. Also added jack, alsa and sndio to the have list so the HAVE_* are populated to make (this fixes the SKIPHEADERS chunks). Merged-by: Clément Bœsch <u@pkh.me>
| * build: Fix dependencies for alsa/jack/sndio supportDiego Biurrun2016-12-09
| | | | | | | | | | These components should depend on the availability of the respective libraries, not just on the availability of the respective headers.
* | Merge commit 'af451ac0de6776e97d6a3ff95eac257b7964002e'Clément Bœsch2017-04-15
|\| | | | | | | | | | | | | * commit 'af451ac0de6776e97d6a3ff95eac257b7964002e': configure: Drop redundant and partly bogus vaapi/vdpau header checks Merged-by: Clément Bœsch <u@pkh.me>
| * configure: Drop redundant and partly bogus vaapi/vdpau header checksDiego Biurrun2016-12-09
| | | | | | | | These are taken care of more correctly by the library checks.
| * configure: Fail if cuda was enabled and is not availableDiego Biurrun2016-12-08
| | | | | | | | This is the standard behavior for external libraries.
* | avdevice/decklink: remove pthread dependencyAaron Levinson2017-04-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Purpose: avdevice/decklink: Removed pthread dependency by replacing semaphore used in code appropriately. Doing so makes it easier to build ffmpeg using Visual C++ on Windows. This is a contination of Kyle Schwarz's "avdevice/decklink: Remove pthread dependency" patch that is available at https://patchwork.ffmpeg.org/patch/2654/ . This patch wasn't accepted, and as far as I can tell, there was no follow-up after it was rejected. Notes: Used Visual Studio 2015 (with update 3) for this. Comments: -- configure: Eliminated pthreads dependency for decklink_indev_deps and decklink_outdev_deps and replaced with threads dependency -- libavdevice/decklink_common.cpp / .h: a) Eliminated semaphore and replaced with a combination of a mutex, condition variable, and a counter (frames_buffer_available_spots). b) Removed include of pthread.h and semaphore.h and now using libavutil/thread.h instead. -- libavdevice/decklink_dec.cpp: Eliminated include of pthread.h and semaphore.h. -- libavdevice/decklink_enc.cpp: a) Eliminated include of pthread.h and semaphore.h. b) Replaced use of semaphore with the equivalent using a combination of a mutex, condition variable, and a counter (frames_buffer_available_spots). In theory, libavutil/thread.h and the associated code could have been modified instead to add cross-platform implementations of the sem_ functions, but an inspection of the ffmpeg source base indicates that there are only two cases in which semaphores are used (including this one that was replaced), so it was deemed to not be worth the effort. Signed-off-by: Marton Balint <cus@passwd.hu>
* | Support building C++ files with MSVCAaron Levinson2017-04-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Made appropriate changes to be able to successfully build C++ files using a Visual C++ build on Windows. Based on an earlier patch by Kyle Schwarz. Comments: -- compat/w32pthreads.h: Made appropriate changes to w32pthreads.h to get it to build when it is being included in a C++ file and built with Visual C++. This is mostly a copy of Kyle Schwarz's patch as described above. -- configure: a) Now calling set_ccvars CXX to cause the various CXX_ variables to be setup properly. For example, with MSVC (Microsoft Visual C++), this causes CXX_O to be set to -Fo$@ instead of using the default value. The default value does not work with Visual C++. This change will also have the impact of correcting CXX_O (and possibly CXX_C) for other compilers, although this is really only relevant for the Intel compiler, in addition to MSVC. b) Now using cl for the C++ compiler for the MSVC toolchain. This is currently only relevant for building the Blackmagic/Decklink-related files under avdevice. Signed-off-by: Hendrik Leppkes <h.leppkes@gmail.com>
* | configure: add missing golomb dependency to hevcparseJames Almer2017-04-13
| | | | | | | | Based on a dependency addition from fbec58daa2351cbe9fc758d8735c23ff03313db4
* | Merge commit 'f55c0a64ae40dc8e0a131a590e123cd14d0c0f7a'James Almer2017-04-13
|\| | | | | | | | | | | | | * commit 'f55c0a64ae40dc8e0a131a590e123cd14d0c0f7a': build: Drop stray golomb dependencies Merged-by: James Almer <jamrial@gmail.com>
| * build: Drop stray golomb dependenciesDiego Biurrun2016-12-08
| |
| * build: Add an internal component for hevc_ps codeDiego Biurrun2016-12-08
| | | | | | | | This allows expressing dependencies in a more correct way.
* | Merge commit '6bd9590b33742f1cceecc0c0d81b3caf3d8a4e1a'James Almer2017-04-13
|\| | | | | | | | | | | | | * commit '6bd9590b33742f1cceecc0c0d81b3caf3d8a4e1a': build: Have old H.264/HEVC nvenc encoders select their new counterparts Merged-by: James Almer <jamrial@gmail.com>
| * build: Have old H.264/HEVC nvenc encoders select their new counterpartsDiego Biurrun2016-12-07
| | | | | | | | This makes sense and takes care of missing build dependencies.
| * configure: add -fPIE instead of -pie to C flags for ThreadSanitizerWan-Teh Chang2016-12-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -pie was added to C flags for ThreadSanitizer in commit 19f251a2882a8d0779b432e63bf282e4d9c443bb. Under clang 3.8.0, the -pie flag causes a compiler warning and a linker error when running configure --toolchain=clang-tsan. Here is an excerpt from config.log: clang ... -fsanitize=thread -pie -std=c11 -fomit-frame-pointer -pthread -c -o /tmp/ffconf.A8SsaoCF.o /tmp/ffconf.JdpujQlD.c clang: warning: argument unused during compilation: '-pie' clang -fsanitize=thread -pie -Wl,--as-needed -o /tmp/ffconf.2iYA4bsw /tmp/ffconf.A8SsaoCF.o -lm -lm -lbz2 -lz -pthread /usr/bin/ld: /tmp/ffconf.A8SsaoCF.o: relocation R_X86_64_PC32 against undefined symbol `atan2f@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: Bad value clang: error: linker command failed with exit code 1 (use -v to see invocation) To be conservative, I changed -pie to -fPIE. But the documentation seems to imply just -fsanitize=thread is enough: http://clang.llvm.org/docs/ThreadSanitizer.html https://github.com/google/sanitizers/wiki/ThreadSanitizerCppManual Signed-off-by: Wan-Teh Chang <wtc@google.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Merge commit '404cb74793284aa03e2e1a7e911c980c4cba0e9e'James Almer2017-04-13
|\| | | | | | | | | | | | | * commit '404cb74793284aa03e2e1a7e911c980c4cba0e9e': configure: Pass CFLAGS_HEADERS through the right CFLAGS filter Merged-by: James Almer <jamrial@gmail.com>
| * configure: Pass CFLAGS_HEADERS through the right CFLAGS filterDiego Biurrun2016-12-06
| | | | | | | | | | The generic parameter names used for CFLAGS in configure must be filtered for each compiler and replaced by the equivalent flag for that compiler.
| * build: Separate avisynth and avxsynth supportDiego Biurrun2016-12-06
| | | | | | | | This simplifies the code.
* | configure: Fix decklink license dependency.Carl Eugen Hoyos2017-04-12
| |
* | Merge commit '3d6135eacf3b6a82c3024620c6a28169960464a7'James Almer2017-04-09
|\| | | | | | | | | | | | | * commit '3d6135eacf3b6a82c3024620c6a28169960464a7': configure: Simplify OMX check Merged-by: James Almer <jamrial@gmail.com>
| * configure: Simplify OMX checkDiego Biurrun2016-12-06
| |
* | Merge commit '601f8dde13ccd0e1993b7840a0304fa2cfe53432'James Almer2017-04-09
|\| | | | | | | | | | | | | * commit '601f8dde13ccd0e1993b7840a0304fa2cfe53432': configure: Move COMPONENT_LIST to the bottom of CONFIG_LIST Merged-by: James Almer <jamrial@gmail.com>
| * configure: Move COMPONENT_LIST to the bottom of CONFIG_LISTDiego Biurrun2016-12-06
| | | | | | | | | | This ensures that dependencies are resolved correctly. COMPONENT_LIST can contain parts that depend on previous entries of CONFIG_LIST.