Mans Rullgard
b2704a65d5
configure: respect CC_O setting in check_cc
...
Use compiler-specific replacements for the -o flag in check_cc.
This makes tests work properly with compilers using non-standard
flags.
The tms470 flags are updated to work with this scheme.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Diego Biurrun
388ff813e7
configure: cosmetics: Group test dependencies together
13 years ago
Mans Rullgard
ad93dccb64
configure: add more passthrough flags in tms470 filter
...
This is in preparation for following changes.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
d0c6d424f4
configure: move flag filtering functions out of if/else blocks
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Samuel Pitoiset
bdbb21b186
configure: Remove redundant RTMPT/RTMPTS dependencies
...
The incompatibility with librtmp is already expressed in the ffrtmphttp
protocol dependency declaration, which both RTMPT and RTMPTS depend on.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Mans Rullgard
6c3fa06a85
configure: add filtering of host cflags/ldflags
...
This is in preparation for supporting host compilers with
non-standard flags.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
68485d1f32
configure: initialise all flag filters at the same place
...
This is more consistent, and doing it earlier is harmless.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
64933b6c94
configure: add filtering of linker flags
...
This allows filtering of linker flags the same was as already
supported for CFLAGS. The filter must be initialised to 'echo'
early since it is invoked by --extra-ldflags.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
01d31e16f1
configure: name some variables more consistently
...
Name variables pertaining to various types of flags with 'cflags' etc
as prefix instead of suffix.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
cd52ec95bb
configure: remove filter_cppflags
...
This is not used and the current design would not work properly
if mixing tools needing different filters.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
07e3f9af9f
configure: set icc_version where it is needed
...
This variable is only used once, so setting it there is clearer.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Paul B Mahol
296c1b6bd1
libcaca output device
13 years ago
Nicolas George
a6cf296bd9
lavc: Opus decoder using libopus.
13 years ago
Mans Rullgard
45870f8b6e
Print full compiler identification, not only version number
...
This provides a more precise identification of the compiler used.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Stefano Sabatini
6a314d59d5
configure: simplify dependencies for x11_grab_device
...
XShmCreateImage dependency is implied by x11grab.
13 years ago
Stefano Sabatini
0cc9077a87
configure: fix help message for --disable-avfilter
...
Increase consistency with the other similar messages.
13 years ago
Mans Rullgard
ab9f987661
build: add CONFIG_VP3DSP, reduce repetition in OBJS lists
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Diego Biurrun
c547e5ff98
configure: clarify external library section of help output
13 years ago
Diego Biurrun
87246953d8
configure: mark libfdk-aac as nonfree
13 years ago
Diego Biurrun
47876d661a
configure: cosmetics: drop some unnecessary backslashes
13 years ago
Michael Bradshaw
453c02f971
libopenjpeg: introduce encoding support
...
Based on FFmpeg version from
commit 713a7854e0
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Samuel Pitoiset
86991ce2dd
RTMPTS protocol support
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Samuel Pitoiset
6aedabc9b6
RTMPS protocol support
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Samuel Pitoiset
775c4d3625
rtmp: Rename rtmphttp to ffrtmphttp
...
The prefix makes it easier to distinguish the proper end-user
protocols from the internal ones.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Michael Niedermayer
8486c8cc9a
configure: print if the docs building tools have been found
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Martin Storsjö
f06dee7794
configure: Move the getaddrinfo function check into the network block
...
This makes the two checks (general vs winsock) fit in better.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
03d1b18e96
configure: Remove an unused 'have' item
...
This is only used for checking for a certain library, but the code
doesn't need to know whether the function was found.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Ronald S. Bultje
b4675d0fbf
configure: Check for CommandLineToArgvW
...
The actual result of the check isn't used anywhere (since we
use this function unconditionally within #ifdef _WIN32), but it
makes sure we explicitly link to shell32 (which is linked in
implictly on mingw).
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Ronald S. Bultje
39d18f21a5
configure: Check for getaddrinfo in ws2tcpip.h, too
...
This function is only available in the headers if unconditionally
targeting a version >= XP. It is not strictly necessary, since we
try loading these functions dynamically at runtime on windows in
the fallback, but this makes things a bit faster and more
straightforward.
On mingw32, this function isn't visible by default, while it is
on mingw64 (on both 32 and 64 bit).
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
jamal
2090e40410
configure: Check that texi2html supports --init-file
...
Fixes ticket #1515
13 years ago
jamal
3e03f8d8b2
build: Fix documentation dependencies and rules
13 years ago
Michael Niedermayer
81fe2e8b36
build_system: mark libfdk as non GPL compatible until the situation is clarified by someone qualified.
...
The license fee text may be interpreted as a additional restriction in the GPL sense.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Nicolas George
26d7232722
configure: produce useful uninstalled pc files.
...
The old files were scattered in several directories,
with an unusual name, but dependencies to the usual name,
and relative paths.
The new files are regrouped in a singled directory
(doc/examples/pc-uninstalled) with their usual name
and more absolute paths.
With this change, it becomes possible to compile the examples
with the ffmpeg build tree by setting the environment variable:
PKG_CONFIG_PATH=pc-uninstalled
13 years ago
Diego Biurrun
7d605d5115
configure: Drop redundant mxf_d10 test dependency declaration
...
The mxf_d10 test depends on avconv, which depends on avfilter, so there
is no need to declare an avfilter dependency for the mxf_d10 test.
13 years ago
Martin Storsjö
37eeb5e273
Support AAC encoding via the external library fdk-aac
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Paul B Mahol
74f3c53b57
exr: zip decompression
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Ronald S. Bultje
667fb97a65
dct/fft-test: use a replacement getopt() if the system has none present.
...
This allows compiling and running these tests on systems lacking a built-
in version of getopt(), such as MSVC.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Ronald S. Bultje
183b1c2268
configure: Check for the math function rint
...
Add a fallback implementation if it doesn't exist.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Diego Biurrun
96890c001f
configure: Change the rdtsc check to a linker check
...
A compile-only test could succeed with an implicit function declaration.
Also move the check to the x86 section; rdtsc is x86-only.
13 years ago
Ronald S. Bultje
358d854df8
x86/cpu: implement get/set_eflags using intrinsics
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Ronald S. Bultje
c0ee695bd7
x86/cpu: implement support for cpuid through intrinsics
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Ronald S. Bultje
3f150ffba3
x86/cpu: implement support for xgetbv through intrinsics
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Ronald S. Bultje
f80ddd5bf7
lavu: use intrinsics for emms on systems lacking inline asm support
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Diego Biurrun
8e85ba8d13
configure: Change the rdtsc check to a linker check
...
A compile-only test could succeed with an implicit function declaration.
Also move the check to the x86 section; rdtsc is x86-only.
13 years ago
Ronald S. Bultje
07b287020c
x86/timer: implement an intrinsic-based version for rdtsc (AV_READ_TIME).
13 years ago
Mans Rullgard
5adc829eb0
configure: add functions for testing code fragments
...
This simplifies testing arbitrary code fragments within a function
body.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Michael Niedermayer
e0d6b9094c
configure: cleanup libiec61883 code, allow enabling via command line
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
13 years ago
Michael Niedermayer
0348102835
configure: dont blindly enable iec61883
...
This should fix a configure failure
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Georg Lippitsch
325fb246f2
FireWire DV/HDV input device using libiec61883
...
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
13 years ago
Diego Biurrun
112971af26
configure: simplify get_version()
...
All libs have version headers now, which allows hardcoding the path.
13 years ago