summaryrefslogtreecommitdiff
path: root/configure
Commit message (Collapse)AuthorAge
* 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.
* | Merge commit '29d2e03ed96d9f7b8cb2cc87dca0a63c2a6eff70'James Almer2017-04-09
|\| | | | | | | | | | | | | * commit '29d2e03ed96d9f7b8cb2cc87dca0a63c2a6eff70': configure: Simplify and fix avfoundation indev handling Merged-by: James Almer <jamrial@gmail.com>
| * configure: Simplify and fix avfoundation indev handlingDiego Biurrun2016-12-05
| | | | | | | | | | | | Handle extralibs in the standard way, add missing pthreads dependency. Also globally check for -fobj-arc with Objective-C compilers since that option is useful for other Objective-C code as well.
* | avcodec/hevc_parse: split build dependenciesJames Almer2017-04-09
| | | | | | | | | | Reviewed-by: nevcairiel Signed-off-by: James Almer <jamrial@gmail.com>
* | Merge commit '2a096440768b1086bb437939f827b8b7a5716bf7'James Almer2017-04-09
|\| | | | | | | | | | | | | * commit '2a096440768b1086bb437939f827b8b7a5716bf7': configure: Separate package name and version requirements in helper functions Merged-by: James Almer <jamrial@gmail.com>
| * configure: Separate package name and version requirements in helper functionsDiego Biurrun2016-12-05
| | | | | | | | The unadorned package name is needed to derive package-related variable names.
* | Merge commit 'ffb9025f39b274abfc4ad2b264205a44cc0238a4'James Almer2017-04-09
|\| | | | | | | | | | | | | * commit 'ffb9025f39b274abfc4ad2b264205a44cc0238a4': configure: Simplify MMAL check Merged-by: James Almer <jamrial@gmail.com>
| * configure: Simplify MMAL checkDiego Biurrun2016-12-05
| |
* | Merge commit '660470cd62c59f25cc52c731af6230e7bc1aba62'James Almer2017-04-09
|\| | | | | | | | | | | | | * commit '660470cd62c59f25cc52c731af6230e7bc1aba62': build: Add missing audio_frame_queue dependency for libwavpack encoder Merged-by: James Almer <jamrial@gmail.com>
| * build: Add missing audio_frame_queue dependency for libwavpack encoderDiego Biurrun2016-12-05
| |
* | Merge commit 'e1dc5358af0dadef548114ec9cabba766b7c6260'James Almer2017-04-09
|\| | | | | | | | | | | | | * commit 'e1dc5358af0dadef548114ec9cabba766b7c6260': build: Create a component for MPEG audio header decoding Merged-by: James Almer <jamrial@gmail.com>
| * build: Create a component for MPEG audio header decodingDiego Biurrun2016-12-05
| | | | | | | | Fixes standalone compilation of the libmp3lame encoder.
* | Merge commit '6ef3360a38efe027cb6ebf9785870048ca7eb38b'Clément Bœsch2017-04-09
|\| | | | | | | | | | | | | * commit '6ef3360a38efe027cb6ebf9785870048ca7eb38b': configure: Add misssing qpeldsp dependency to mss2 decoder Merged-by: Clément Bœsch <u@pkh.me>
| * configure: Add misssing qpeldsp dependency to mss2 decoderDiego Biurrun2016-12-03
| |
| * build: Drop support for configuring library name suffixesDiego Biurrun2016-12-03
| | | | | | | | It is of doubtful utility, adds complexity and no known users exist.
| * configure: Drop bogus xcb_event variablesDiego Biurrun2016-12-03
| |
* | Merge commit '3794062ab1a13442b06f6d76c54dce51ffa54697'Clément Bœsch2017-04-09
|\| | | | | | | | | | | | | * commit '3794062ab1a13442b06f6d76c54dce51ffa54697': Remove Plan 9 support Merged-by: Clément Bœsch <u@pkh.me>
| * Remove Plan 9 supportDiego Biurrun2016-12-03
| | | | | | | | | | | | Supporting the system was a nice joke for the 9 release, but it has run its course. Nowadays Plan 9 receives no testing and has no practical usefulness.
* | Merge commit '4a1ef543983b7480e2822f6ac281ba361d1f893d'Clément Bœsch2017-04-09
|\| | | | | | | | | | | | | * commit '4a1ef543983b7480e2822f6ac281ba361d1f893d': build: Drop support for old versions of libdc1394 Merged-by: Clément Bœsch <u@pkh.me>
| * build: Drop support for old versions of libdc1394Diego Biurrun2016-12-03
| | | | | | | | The libdc1394 API transition was finished close to a decade ago.
* | Merge commit '2575b1917b2703fae41a4b4901ad85c888374dfd'Clément Bœsch2017-04-08
|\| | | | | | | | | | | | | * commit '2575b1917b2703fae41a4b4901ad85c888374dfd': build: Add separate flags for checkheaders targets Merged-by: Clément Bœsch <u@pkh.me>
| * build: Add separate flags for checkheaders targetsDiego Biurrun2016-12-03
| | | | | | | | This allows filtering out some warning noise.
* | Merge commit '984e50e74ba71301720652e56232161a994bd0b5'Clément Bœsch2017-04-08
|\| | | | | | | | | | | | | * commit '984e50e74ba71301720652e56232161a994bd0b5': build: Add -Wpedantic and -Wextra to extra warning flags Merged-by: Clément Bœsch <u@pkh.me>
| * build: Add -Wpedantic and -Wextra to extra warning flagsDiego Biurrun2016-12-03
| | | | | | | | Also drop -Winline from set of warning flags as it only produces noise.
* | Merge commit '518a22471e40604a158180a0660aabeeec65e07f'Clément Bœsch2017-04-08
|\| | | | | | | | | | | | | * commit '518a22471e40604a158180a0660aabeeec65e07f': configure: Be more helpful when requiring options set Merged-by: Clément Bœsch <u@pkh.me>
| * configure: Be more helpful when requiring options setLuca Barbato2016-12-02
| | | | | | | | Be explicit about which options should be set.
* | Merge commit 'c21d78a903da378af48c9e5f971fe989592ddb65'Clément Bœsch2017-04-08
|\| | | | | | | | | | | | | * commit 'c21d78a903da378af48c9e5f971fe989592ddb65': configure: Integrate X11 checks into vaapi/vdpau checks Merged-by: Clément Bœsch <u@pkh.me>
| * configure: Integrate X11 checks into vaapi/vdpau checksDiego Biurrun2016-11-29
| |
* | Merge commit '8b56dbe7435d8cfe3964f447fc45fe98db5d9042'Clément Bœsch2017-04-08
|\| | | | | | | | | | | | | * commit '8b56dbe7435d8cfe3964f447fc45fe98db5d9042': configure: Do not add newlines in filter()/filter_out() functions Merged-by: Clément Bœsch <u@pkh.me>
| * configure: Do not add newlines in filter()/filter_out() functionsDiego Biurrun2016-11-29
| |
* | Merge commit '9254344e11f9b016088ec6250724f74377f5d7a0'Clément Bœsch2017-04-08
|\| | | | | | | | | | | | | * commit '9254344e11f9b016088ec6250724f74377f5d7a0': configure: Move hardware-accelerated codec deps out of hwaccel section Merged-by: Clément Bœsch <u@pkh.me>
| * configure: Move hardware-accelerated codec deps out of hwaccel sectionDiego Biurrun2016-11-29
| |
* | Merge commit 'd4f2a681cb6d4e913f1c879ad376313255d6cf4c'Clément Bœsch2017-04-08
|\| | | | | | | | | | | | | * commit 'd4f2a681cb6d4e913f1c879ad376313255d6cf4c': configure: MMAL-related decoders should depend on, not select, mmal Merged-by: Clément Bœsch <u@pkh.me>
| * configure: MMAL-related decoders should depend on, not select, mmalDiego Biurrun2016-11-29
| |
| * build: Drop gcrypt supportDiego Biurrun2016-11-25
| | | | | | | | GnuTLS in combination with gcrypt has been deprecated since 2010.