Derek Buitenhuis
c75848cd4c
configure: Add support for Tilera processors
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
12 years ago
Mans Rullgard
84e65c763d
build: simplify enabling of compat objects
...
Add a configure function to pull in a compat object and set up
redirects in one operation. This avoids duplicating conditions
across configure and makefiles.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
66a1ccd746
configure: simplify argument handling in check_ld
...
Use the existing filter functions instead of open-coding the
separation of general flags and libraries.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
4c995fafd8
configure: simplify get_version() function
...
awk alone can do this, no need for grep.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Luca Barbato
0fbb62a8e6
build: support asan and tsan toolchain shortcuts
12 years ago
Mans Rullgard
e98b02de5f
configure: check for mprotect
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
b5198a2637
configure: tms470: add mapping for -mfpu=vfpv3-d16 flag
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
b6f8d635f2
build: tms470: work around glibc math.h problems
...
The glibc definitions of INFINITY and NAN do not work with the
tms470 compiler, nor do our usual fallbacks.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
5ab432fa35
configure: improve tms470 compiler usage with glibc
...
Apply flags to work around glibc quirks only if glibc is detected,
and add a few more such flags.
Do not mess with as/ld settings in probe_cc. This is not the
proper place.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
741a8b724e
configure: recognise Minix as OS
...
No special setup is required for Minix.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
ac17ccf73a
configure: work around bug in ash shell
...
The ash 'test' builtin misbehaves if the first operand of a binary
operator looks like a unary operator.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
a77f01c725
configure: use utilities from /usr/xpg4/bin if it exists
...
Solaris defaults to non-standard utilities (grep, sed, ...) with
proper ones being in /usr/xpg4/bin. Prefixing PATH with this
directory when it exists ensures we get correct variants.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Diego Biurrun
ca411fc1d3
avcodec: Remove broken MMI optimizations
...
The code fails to compile and is broken beyond repair.
12 years ago
Mans Rullgard
fdd666094d
build: add support for Tru64 (OSF/1)
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Martin Storsjö
1093383d6c
random_seed: Support using CryptGenRandom on windows
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Stefano Sabatini
c4aaff8c02
Revert "configure: link flite against libasound"
...
This reverts commit 396648cc6a
.
The commit made impossible to build against libflite if libasound is not
available (e.g. on Windows). Thus remove the -lasound flag. In case of
libflite static linking the workaround is to enable
--extra-ldflags=-lasound (or disable the ALSA output device in libflite).
12 years ago
Stefano Sabatini
396648cc6a
configure: link flite against libasound
...
libflite depends on libasound. Fix a linking failure when linking against
a static version of libflite.
Reported-by: Vladimir Kraljevic
12 years ago
Diego Biurrun
a75b9a1804
mingw/cygwin: Stop adding -fno-common to gcc CFLAGS
...
This was done to work around toolchain bugs that have long been fixed.
12 years ago
Paul B Mahol
238e904df3
DTS-HD demuxer
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Michael Niedermayer
e73bac484f
configure: add support to nicely enable ftrapv
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Mans Rullgard
643933f51d
build: add LTO support for PGI compiler
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
8f23907f3e
build: add -Mdse to PGI optimisation flags
...
Enable dead store elimination. The last few releases work no worse
with this flag than without. Older versions failed to build some
source files when using this flag.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Paul B Mahol
d7a4739265
TAK demuxer, decoder and parser
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Michael Niedermayer
293e5423c6
configure: enable -Werror=vla
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Mans Rullgard
c07d56a684
build: error on variable-length arrays
...
With all the VLAs gone, make sure they never come back.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Carl Eugen Hoyos
d9dfe9a5ae
Fix libcdio detection.
12 years ago
Carl Eugen Hoyos
4c5a9fd65a
Fix showspectrum dependencies: Add rdft.
12 years ago
Paul B Mahol
0a7d4ea31b
configure: dts demuxer needs dca_parser
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Diego Biurrun
f6fbce761e
x86: Drop CPU detection intrinsics
...
Now that there is CPU detection in YASM, there will always be one of
inline or external assembly enabled, which obviates the need to fall
back on CPU detection through compiler intrinsics.
12 years ago
Mans Rullgard
65d1290043
configure: add --enable-lto option
...
This works with gcc. Other compilers might need to have a flag
mapping added.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Diego Biurrun
1e164c0bcc
build: Factor out mpegaudio dependencies to CONFIG_MPEGAUDIO
...
A new hidden config variable is added for the codecs that depend on the
mpegaudio parts.
12 years ago
Diego Biurrun
fd712a5584
configure: Refactor HAVE_ options available on the command line
12 years ago
Derek Buitenhuis
bd680c7b49
msvc: Fix detection of VFW & Avisynth required libs
...
It should be vfw32.lib with MSVC.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
12 years ago
Clément Bœsch
d771b1d137
lavfi: EBU R.128 scanner.
12 years ago
Nathan Caldwell
6cb8c85409
Opus encoder using libopus
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years ago
jamal
062cd9acc1
fate: Fix --disable-zlib
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
jamal
b75c3d2b8b
swresample: Create version.h header
...
Reviewed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
jamal
ec87389183
postproc: Create version.h header
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Nicolas George
44617d6ec9
Opus decoder using libopus
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years ago
Michael Niedermayer
4fefe91a33
configure: add missing dependancies for gpl tests
...
fixes fate without --enable-gpl
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Derek Buitenhuis
7133d25425
configure: Fix 10l in 5ae9fa13f5
...
Wrong version of the patch was pushed. MinGW32 supports vsnprint properly.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
12 years ago
Derek Buitenhuis
5ae9fa13f5
MinGW: Use our snprintf/vsnprintf when MinGW's is broken
...
All versions of MinGW-w64 prior to version 3, as well as
all versions of MinGW32 have broken implementations of
vsnprintf.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
12 years ago
Michael Niedermayer
c75b611a38
configure: enable runtime cpu detect by default.
...
with the exception of libpostproc runtime_cpudetect = no is not
supported thus having no as default really is quite odd, it results in
a libpostproc where HAVE_MMX* have very different meaning from the
rest of ffmpeg and it breaks any x86 cpu that doesnt support mmx2
because mmx2 is hardcoded as a result
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Sebastien Zwickert
f25d53d95f
configure: disable VDA on ppc, fix build
...
Fixes Ticket1760
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Clément Bœsch
7bc70930dd
lavf/movenc: add F4V flavor.
12 years ago
Clément Bœsch
2f39d7ff3f
lavfi/select: make lavc dependency optional.
12 years ago
Mans Rullgard
0122118ec3
configure: update tms470 detection for latest version
...
v5.0 of the TI ARM compiler changes the version string.
This updates the detection to check for both the old and
the new strings.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
jamal
33f92a3ea2
configure: fix git domain check with out of tree build
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
161c6d1682
configure: Detect old git domain and inform the user about it.
...
Based on code by: Clément Bœsch <ubitux@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Mans Rullgard
ac3a9b51f7
configure: msvc: default to 'lib' as 'ar' tool
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago