Mans Rullgard
e98b02de5f
configure: check for mprotect
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
b5198a2637
configure: tms470: add mapping for -mfpu=vfpv3-d16 flag
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 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>
13 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>
13 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>
13 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>
13 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>
13 years ago
Diego Biurrun
ca411fc1d3
avcodec: Remove broken MMI optimizations
The code fails to compile and is broken beyond repair.
13 years ago
Mans Rullgard
fdd666094d
build: add support for Tru64 (OSF/1)
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Martin Storsjö
1093383d6c
random_seed: Support using CryptGenRandom on windows
Signed-off-by: Martin Storsjö <martin@martin.st>
13 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).
13 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
13 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.
13 years ago
Paul B Mahol
238e904df3
DTS-HD demuxer
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Michael Niedermayer
e73bac484f
configure: add support to nicely enable ftrapv
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mans Rullgard
643933f51d
build: add LTO support for PGI compiler
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 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>
13 years ago
Paul B Mahol
d7a4739265
TAK demuxer, decoder and parser
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Michael Niedermayer
293e5423c6
configure: enable -Werror=vla
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 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>
13 years ago
Carl Eugen Hoyos
d9dfe9a5ae
Fix libcdio detection.
13 years ago
Carl Eugen Hoyos
4c5a9fd65a
Fix showspectrum dependencies: Add rdft.
13 years ago
Paul B Mahol
0a7d4ea31b
configure: dts demuxer needs dca_parser
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 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.
13 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>
13 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.
13 years ago
Diego Biurrun
fd712a5584
configure: Refactor HAVE_ options available on the command line
13 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>
13 years ago
Clément Bœsch
d771b1d137
lavfi: EBU R.128 scanner.
13 years ago
Nathan Caldwell
6cb8c85409
Opus encoder using libopus
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
jamal
062cd9acc1
fate: Fix --disable-zlib
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
jamal
b75c3d2b8b
swresample: Create version.h header
Reviewed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
jamal
ec87389183
postproc: Create version.h header
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Nicolas George
44617d6ec9
Opus decoder using libopus
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 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>
13 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>
13 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>
13 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>
13 years ago
Sebastien Zwickert
f25d53d95f
configure: disable VDA on ppc, fix build
Fixes Ticket1760
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Clément Bœsch
7bc70930dd
lavf/movenc: add F4V flavor.
13 years ago
Clément Bœsch
2f39d7ff3f
lavfi/select: make lavc dependency optional.
13 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>
13 years ago
jamal
33f92a3ea2
configure: fix git domain check with out of tree build
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 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>
13 years ago
Mans Rullgard
ac3a9b51f7
configure: msvc: default to 'lib' as 'ar' tool
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
3dbc777c7f
build: support some non-standard ar variants
This adds support for the TI and Microsoft (lib.exe) variants of
the ar utility.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
aeeb782c2a
configure: add --toolchain option
This allows creating canned shorthands for common combinations
of cc, ld etc.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Carl Eugen Hoyos
9e208ce6dd
Silence warning C4554 when compiling with msvc.
warning C4554: '>>' : check operator precedence for possible error; use parentheses to clarify precedence
Reviewed-by: Derek Buitenhuis
13 years ago
Martin Storsjö
e772f9faec
configure: Make the smoothstreaming muxer enable the ismv muxer
This doesn't fix any build failure, but the smoothstreaming muxer
opens a chained ismv muxer.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Mans Rullgard
2a8a860ae6
configure: include flags in nm variable
This simplifies ensuring proper flags are used when the default
is overridden by the system or on the command line.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago