Diego Biurrun
6bd9590b33
build: Have old H.264/HEVC nvenc encoders select their new counterparts
This makes sense and takes care of missing build dependencies.
9 years ago
Wan-Teh Chang
f22da2cdf9
configure: add -fPIE instead of -pie to C flags for ThreadSanitizer
-pie was added to C flags for ThreadSanitizer in commit
19f251a288 . 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>
9 years ago
Diego Biurrun
404cb74793
configure: Pass CFLAGS_HEADERS through the right CFLAGS filter
The generic parameter names used for CFLAGS in configure must be filtered
for each compiler and replaced by the equivalent flag for that compiler.
9 years ago
Diego Biurrun
9265364bec
build: Separate avisynth and avxsynth support
This simplifies the code.
9 years ago
Diego Biurrun
3d6135eacf
configure: Simplify OMX check
9 years ago
Diego Biurrun
601f8dde13
configure: Move COMPONENT_LIST to the bottom of CONFIG_LIST
This ensures that dependencies are resolved correctly. COMPONENT_LIST
can contain parts that depend on previous entries of CONFIG_LIST.
9 years ago
Diego Biurrun
29d2e03ed9
configure: Simplify and fix avfoundation indev handling
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.
9 years ago
Diego Biurrun
2a09644076
configure: Separate package name and version requirements in helper functions
The unadorned package name is needed to derive package-related variable names.
9 years ago
Diego Biurrun
ffb9025f39
configure: Simplify MMAL check
9 years ago
Diego Biurrun
660470cd62
build: Add missing audio_frame_queue dependency for libwavpack encoder
9 years ago
Diego Biurrun
e1dc5358af
build: Create a component for MPEG audio header decoding
Fixes standalone compilation of the libmp3lame encoder.
9 years ago
Diego Biurrun
6ef3360a38
configure: Add misssing qpeldsp dependency to mss2 decoder
9 years ago
Diego Biurrun
14bba44fb2
build: Drop support for configuring library name suffixes
It is of doubtful utility, adds complexity and no known users exist.
12 years ago
Diego Biurrun
1ea77aae92
configure: Drop bogus xcb_event variables
9 years ago
Diego Biurrun
3794062ab1
Remove Plan 9 support
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.
9 years ago
Diego Biurrun
4a1ef54398
build: Drop support for old versions of libdc1394
The libdc1394 API transition was finished close to a decade ago.
9 years ago
Diego Biurrun
2575b1917b
build: Add separate flags for checkheaders targets
This allows filtering out some warning noise.
9 years ago
Diego Biurrun
984e50e74b
build: Add -Wpedantic and -Wextra to extra warning flags
Also drop -Winline from set of warning flags as it only produces noise.
10 years ago
Luca Barbato
518a22471e
configure: Be more helpful when requiring options set
Be explicit about which options should be set.
9 years ago
Diego Biurrun
c21d78a903
configure: Integrate X11 checks into vaapi/vdpau checks
9 years ago
Diego Biurrun
8b56dbe743
configure: Do not add newlines in filter()/filter_out() functions
9 years ago
Diego Biurrun
9254344e11
configure: Move hardware-accelerated codec deps out of hwaccel section
9 years ago
Diego Biurrun
d4f2a681cb
configure: MMAL-related decoders should depend on, not select, mmal
9 years ago
Diego Biurrun
e122b12c88
build: Drop gcrypt support
GnuTLS in combination with gcrypt has been deprecated since 2010.
9 years ago
Diego Biurrun
bf2f748fc7
configure: Use correct libm linker flag during math function checks
9 years ago
Diego Biurrun
ce6f780bc6
configure: Add missing asyncts filter, movie filter, and output example deps
Also add a missing avcodec.h #include in the movie filter.
9 years ago
Diego Biurrun
04698d528c
configure: Use correct variable name in libsnappy test
9 years ago
Diego Biurrun
30f0d1b997
configure: Remove old avisynth support leftover
9 years ago
Diego Biurrun
5bcc6f76f1
configure: Disable warning C4703 with MSVC
This disables warnings about potentially uninitialized local pointer
variables. Disabling the warning is in line with what we do for gcc.
9 years ago
Anton Khirnov
1dd2b6c91c
examples/qsvdec: switch to the hwcontext API
The code now does not depend on VA and will work on windows as well.
9 years ago
Diego Biurrun
ffe89e1edb
configure: Move mjpeg_vaapi_decoder dependency declarations to the right place
9 years ago
Mark Thompson
e0b164576f
qsv: Add VP8 decoder
9 years ago
Mark Thompson
b6582b2927
qsv: Add VC-1 decoder
It uses the same code as the MPEG-2 decoder, so the file is renamed
to contain all "other" (that is, not H.26[45]) codecs.
9 years ago
Diego Biurrun
12db2832e4
libxvid: Require availability of mkstemp()
The replacement code uses tempnam(), which is dangerous.
Such a fringe feature is not worth the trouble.
10 years ago
Diego Biurrun
2dd464868c
configure: Move license checks directly after command line parsing
This will allow to error out immediately if incompatible options are
passed on the command line instead of running time-consuming tests.
12 years ago
Diego Biurrun
c78495d1cd
configure: Log name and parameters of all helper functions where it makes sense
9 years ago
Diego Biurrun
8a6e7a67cb
configure: Use check_cpp in CPP flags tests
9 years ago
Diego Biurrun
831005b230
configure: Log correct test name and use correct filter when testing objective C flags
9 years ago
Diego Biurrun
fe7bc1f16a
configure: Do not unconditionally check for (and enable) xlib
This avoids unnecessarily linking against xlib.
9 years ago
Diego Biurrun
d1a91ebe49
configure: Print list of enabled programs
Also drop a related and now redundant informative output line.
9 years ago
Diego Biurrun
576c9003ae
configure: Improve output wording
Also drop a redundant output line.
9 years ago
Diego Biurrun
59d2b00d20
configure: Add --quiet command line parameter to suppress informative output
9 years ago
Martin Storsjö
d1ef1b9eaa
configure: Silence lld-link when getting the version number
In recent lld-link versions, this command prints the version to
stdout, but also prints an error to stderr:
$ lld-link -flavor gnu --version
LLD 4.0.0 (trunk 285641)
lld-link: error: no input files
lld-link: error: target emulation unknown: -m or at least one .o file required
Signed-off-by: Martin Storsjö <martin@martin.st>
9 years ago
Anton Khirnov
7b1f03477f
examples/avcodec: split the remaining two examples into separate files
9 years ago
Anton Khirnov
f5df897c4b
examples/avcodec: split audio decoding into a separate example
The four examples (audio/video encoding/decoding) are completely
independent so it makes little sense to have them all in one file.
9 years ago
Anton Khirnov
40aaa8dadf
examples/avcodec: split audio encoding into a separate example
The four examples (audio/video encoding/decoding) are completely
independent so it makes little sense to have them all in one file.
9 years ago
Luca Barbato
dad7514f9e
xcb: Add all the libraries to the link line explicitly
Avoid an underlink issue on recent distributions.
CC: libav-stable@libav.org
9 years ago
Matt Oliver
ee05079766
openssl: Support version 1.1.0.
Further simplifications by Martin Storsjö, to minimize the
diff.
Signed-off-by: Martin Storsjö <martin@martin.st>
9 years ago
Diego Biurrun
1f821e5ad3
configure: Print warnings after all other output
9 years ago
Diego Biurrun
20abcaa273
configure: #include stdint.h as part of libxavs test
Unfortunately the xavs.h API header is not self-sufficient and relies
on manual stdint.h inclusion by its users.
9 years ago