History | View | Annotate | Download (81.1 KB)
configure: fix check for x264
libx264 recently started mangling the name of x264_encoder_open() toprevent version mismatches, breaking our test. Checking for anotherfunction instead makes it work again.
Originally committed as revision 19754 to svn://svn.ffmpeg.org/ffmpeg/trunk
configure: fix filter() function when matching multiple patterns
This makes comma-separated patters to --disable-decoder and friendswork correctly with POSIX-compliant shells.
Originally committed as revision 19688 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add PIC flags early so tests they affect give correct results
This is mainly the checks for ebx on x86, but possibly others too.
Originally committed as revision 19687 to svn://svn.ffmpeg.org/ffmpeg/trunk
configure: simplify directory creation for out of tree builds
Originally committed as revision 19684 to svn://svn.ffmpeg.org/ffmpeg/trunk
configure: add --enable-pic flag
Using this flag enables position-independent code even when not strictlyrequired. It is impossible to use --disable-pic to forcibly disable PICwhen other properties mandate it.
Originally committed as revision 19672 to svn://svn.ffmpeg.org/ffmpeg/trunk
configure: add AVR32 names for --cpu flag
Recognise AVR32 processor names as well as the generic "ap" and "uc" family names as values for --cpu. Also define two subtypes, avr32_apand avr32_uc.
Originally committed as revision 19663 to svn://svn.ffmpeg.org/ffmpeg/trunk
Use pkg-config to generate the linker flags for libdirac.We do the same for libschroedinger and already use pkg-config to generatethe CFLAGS for libdirac anyway, so there is no new dependency.Thanks to Kovensky for reporting breakage on IRC.
Originally committed as revision 19654 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix dependency generation with ccache/gcc
When running behind ccache, the output from -MMD is corrupted unlesswe also use the -MF and -MT flags.
Since ccache is difficult to detect and gcc 2.x doesn't support the-MF and -MT flags, we always use the old dependency generation method...
configure: fix gcc detection for v2.95
Originally committed as revision 19619 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix the EBX available configure check on Darwin/i386.
-mdynamic-no-pic is required for it, but it was onlyadded to CFLAGS and the check only used ASFLAGS.
Originally committed as revision 19614 to svn://svn.ffmpeg.org/ffmpeg/trunk
Generate dependencies while compiling if supported by compiler
Originally committed as revision 19609 to svn://svn.ffmpeg.org/ffmpeg/trunk
Generate dependencies when object files are built
Originally committed as revision 19608 to svn://svn.ffmpeg.org/ffmpeg/trunk
configure: allow comma-separated list in --enable/disable-thing=name
The argument to these options is now a comma-separated list of shellpatterns, e.g. --disable-decoder='indeo*,rv*'
Originally committed as revision 19604 to svn://svn.ffmpeg.org/ffmpeg/trunk
configure: allow wildcards in --enable/disable-thing=name
The name can now be a standard shell pattern. For example,--disable-encoder=* disables all encoders.
Originally committed as revision 19603 to svn://svn.ffmpeg.org/ffmpeg/trunk
configure: support --cpu=host to tune for the host system
This requires a gcc version with -march=native or -mcpu=native support,which is somewhat random for non-x86.
Originally committed as revision 19602 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make WMV2 encoder depend on H.263 encoder in configure.
Originally committed as revision 19601 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make MPEG-4 encoder depend on H.263 encoder in configure.
Originally committed as revision 19600 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make WMV1 encoder depend on H.263 encoder in configure.
Originally committed as revision 19599 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make FLV encoder depend on H.263 encoder in configure.
Originally committed as revision 19597 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make H.263+ (H263P) encoder depend on H.263 encoder in configure.
Originally committed as revision 19595 to svn://svn.ffmpeg.org/ffmpeg/trunk
Declare the dependencies of the MSMPEG4v1/MSMPEG4v2/MSMPEG4v3 encoders on theH.263 encoder in configure.
Originally committed as revision 19594 to svn://svn.ffmpeg.org/ffmpeg/trunk
Declare the dependency of RV10/RV20 encoder on the H.263 encoder in configure.
Originally committed as revision 19592 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make XVMC mpegvideo decoder depend on mpegvideo decoder.It makes no sense to enable the former without the latter.
Originally committed as revision 19565 to svn://svn.ffmpeg.org/ffmpeg/trunk
RTMP needs tcp_protocol
Originally committed as revision 19557 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make av_always_inline a no-op when --disable-optimizations is supplied toconfigure
Originally committed as revision 19555 to svn://svn.ffmpeg.org/ffmpeg/trunk
Revert addition of '#undef av_always_inline' to config.h in the small case.Instead, #include config.h at the top of common.h so that av_always_inlinedoes not get doubly defined.
Originally committed as revision 19553 to svn://svn.ffmpeg.org/ffmpeg/trunk
Undefine av_always_inline before setting it to an empty value.This avoids a ton of redefinition warnings.patch by Jeff Downs, heydowns borg com
Originally committed as revision 19548 to svn://svn.ffmpeg.org/ffmpeg/trunk
Replace BUILD_{SHARED,STATIC} with CONFIG_ counterparts
Originally committed as revision 19527 to svn://svn.ffmpeg.org/ffmpeg/trunk
Enable PIC unconditionally on OpenBSD
Originally committed as revision 19526 to svn://svn.ffmpeg.org/ffmpeg/trunk
configure: always write PIC flags to config.mak
Originally committed as revision 19525 to svn://svn.ffmpeg.org/ffmpeg/trunk
configure: enable PIC in per-arch section instead of separately
Originally committed as revision 19524 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix typo in MinGWCE support in configure.Patch by Martin Storsjö and Måns.
Originally committed as revision 19523 to svn://svn.ffmpeg.org/ffmpeg/trunk
MinGWCE support in configure; networking is disabled for now.patch by Martin Storsjö, martin martin st and Ismail Dönmez, ismail namtrac org
Originally committed as revision 19521 to svn://svn.ffmpeg.org/ffmpeg/trunk
Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN
Originally committed as revision 19508 to svn://svn.ffmpeg.org/ffmpeg/trunk
fix various compilation dependencies
Originally committed as revision 19507 to svn://svn.ffmpeg.org/ffmpeg/trunk
Check for the isatty function.Patch by Martin Storsjö <martin at martin dot st>
Originally committed as revision 19504 to svn://svn.ffmpeg.org/ffmpeg/trunk
configure: some small simplifications
Originally committed as revision 19503 to svn://svn.ffmpeg.org/ffmpeg/trunk
configure: add some blank lines to improve readability
Originally committed as revision 19502 to svn://svn.ffmpeg.org/ffmpeg/trunk
Move output redirection of deps generation from make rule to DEPEND_CMD
Originally committed as revision 19493 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make Theora decoder depend on the VP3 decoder.Practically all the code is shared.
Originally committed as revision 19491 to svn://svn.ffmpeg.org/ffmpeg/trunk
configure: group tests for compiler characteristics together
Originally committed as revision 19490 to svn://svn.ffmpeg.org/ffmpeg/trunk
configure: set -mdynamic-no-pic flag in main darwin section
Originally committed as revision 19489 to svn://svn.ffmpeg.org/ffmpeg/trunk
configure: remove special flags for XLC on Darwin
Rationale:- Current versions of XLC accept gcc flags- XLC can't compile FFmpeg
Originally committed as revision 19488 to svn://svn.ffmpeg.org/ffmpeg/trunk
configure: remove some darwin-related cruft
Originally committed as revision 19487 to svn://svn.ffmpeg.org/ffmpeg/trunk
configure: group all cpu-specific tests together
Originally committed as revision 19485 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make E-AC-3 decoder depend on the AC-3 decoder.It is impossible to build E-AC-3 without AC-3.
Originally committed as revision 19477 to svn://svn.ffmpeg.org/ffmpeg/trunk
ARM: check for VFP register arguments
Originally committed as revision 19474 to svn://svn.ffmpeg.org/ffmpeg/trunk
configure: make --extra-cflags cumulative again
Originally committed as revision 19471 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make VP6A/VP6F decoders depend on the VP6 decoder.They share so much code that enabling one without the other is pointless.
Originally committed as revision 19468 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make WMV3 decoders depend on their VC-1 counterparts.They share so much code that enabling one without the other is pointless.
Originally committed as revision 19466 to svn://svn.ffmpeg.org/ffmpeg/trunk
Support building with TI TMS470 compiler
Originally committed as revision 19465 to svn://svn.ffmpeg.org/ffmpeg/trunk
If any input/output devices are enabled then indevs/outdevs shouldget enabled, not demuxers/muxers.
Originally committed as revision 19463 to svn://svn.ffmpeg.org/ffmpeg/trunk
Replace two occurrences of 'vfwcap_demuxer' with 'vfwcap_indev', Imissed them in r19293. Re-enable version check on w32api.h if thevfwcap input device has been selected.
Originally committed as revision 19461 to svn://svn.ffmpeg.org/ffmpeg/trunk
Allow enabling alsa and jack devices.
Originally committed as revision 19460 to svn://svn.ffmpeg.org/ffmpeg/trunk
configure: improve detection of out-of-tree builds
Originally committed as revision 19456 to svn://svn.ffmpeg.org/ffmpeg/trunk
configure: remove some useless comments
Originally committed as revision 19455 to svn://svn.ffmpeg.org/ffmpeg/trunk
Check for attribute((packed)) support
Not all compilers claiming to be gcc support this attribute.
Originally committed as revision 19453 to svn://svn.ffmpeg.org/ffmpeg/trunk
configure: handle --cpu before running compiler
It is possible that the compiler requires flags set by the --cpuoption, so we should not attempt to run it before those flags havebeen added.
Originally committed as revision 19452 to svn://svn.ffmpeg.org/ffmpeg/trunk
configure: simplify --cpu handling slightly
Originally committed as revision 19451 to svn://svn.ffmpeg.org/ffmpeg/trunk
configure: do not warn about mismatching altivec/cpu selection
We do not issue similar warnings for other architectures, and wegenerally assume users know what they want.
Originally committed as revision 19445 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix check_func_headers. The reference to the function under test was beingoptimized out by gcc when the headers lied about the function existing,rendering the test useless in that situation.This new test throws a warning in mingw-w64, but that should not be a problem....
Disable gcc auto-vectorisation
The auto-vectoriser in gcc is enabled by default at -O3 since version4.3. However, it provides no speed benefit, but does produce incorrectcode on many targets. Disabling it for gcc should give more reliablebuilds.
If the adventurous want it back, they can edit the makefile themselves....
Require aligned memory for everything that needs it
Altivec, NEON, and SSE require more alignment than standard malloc()guarantees, whereas MMX does not. Update checks to reflect this.
Originally committed as revision 19438 to svn://svn.ffmpeg.org/ffmpeg/trunk
Skip the check for SSE aligned memory allocators when SSE is disabled.Fixes issue 1269.
Originally committed as revision 19437 to svn://svn.ffmpeg.org/ffmpeg/trunk
Use normal check_func test for math functions
Originally committed as revision 19434 to svn://svn.ffmpeg.org/ffmpeg/trunk
Improve linker check for Winsock library name.On Windows CE, the Winsock library name is ws2, not ws2_32.patch by Martin Storsjö, martin martin st
Originally committed as revision 19431 to svn://svn.ffmpeg.org/ffmpeg/trunk
Set default flag filters before compiler detection
This allows use of the add_*flags functions in the compiler detectionsection.
Originally committed as revision 19428 to svn://svn.ffmpeg.org/ffmpeg/trunk
Install the mingw import libraries, too.Patch by Martin Storsjö <martin at martin dot st>
Originally committed as revision 19427 to svn://svn.ffmpeg.org/ffmpeg/trunk
Enable creation of microsoft-style import libraries on arm.Patch by Martin Storsjö <martin at martin dot st>
Originally committed as revision 19426 to svn://svn.ffmpeg.org/ffmpeg/trunk
Use add_*flags only after compiler-specific configuration
Originally committed as revision 19422 to svn://svn.ffmpeg.org/ffmpeg/trunk
Allow filtering of flags passed to compiler and assembler
This can be used to map gcc-type flags to equivalents with othercompilers.
Originally committed as revision 19421 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make (de)muxers for format variants select the main format (de)muxer.It makes little sense to enable the variant without the main format.
Originally committed as revision 19420 to svn://svn.ffmpeg.org/ffmpeg/trunk
Place flags for dependency generation in DEPFLAGS
This avoids duplicating the full DEPEND_CMD line only to change someflags.
Originally committed as revision 19419 to svn://svn.ffmpeg.org/ffmpeg/trunk
Set CPPFLAGS in config.mak using normal assignment
Setting this value using ?= caused some trouble if it was alreadydefined in the environment.
Originally committed as revision 19418 to svn://svn.ffmpeg.org/ffmpeg/trunk
Protect config.mak against multiple inclusion
Some of the values set here are modified by the main makefilesand should not be reset when config.mak is included again.
Originally committed as revision 19417 to svn://svn.ffmpeg.org/ffmpeg/trunk
Use CFLAGS in default DEPEND_CMD
Originally committed as revision 19415 to svn://svn.ffmpeg.org/ffmpeg/trunk
Use CFLAGS in check_cpp
Originally committed as revision 19414 to svn://svn.ffmpeg.org/ffmpeg/trunk
Set as_default after compiler detection, allowing compiler-specific defaults
Originally committed as revision 19413 to svn://svn.ffmpeg.org/ffmpeg/trunk
Pass ASFLAGS to assembler instead of CFLAGS
Originally committed as revision 19412 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add flags from --extra-cflags after compiler detection
Originally committed as revision 19411 to svn://svn.ffmpeg.org/ffmpeg/trunk
Set CPU selection flags in $cpuflags, add to cflags outside case block
Originally committed as revision 19410 to svn://svn.ffmpeg.org/ffmpeg/trunk
Allow unusual ways of specifying compiler output file
Some compilers do not use the typical -c -o foo.o style.This allows compiler-specific equivalents to be set by theconfigure script.
Originally committed as revision 19409 to svn://svn.ffmpeg.org/ffmpeg/trunk
Use DEPCC to find dependencies, default to same as CC
Originally committed as revision 19408 to svn://svn.ffmpeg.org/ffmpeg/trunk
Use LD for linking, default to same as CC
Originally committed as revision 19407 to svn://svn.ffmpeg.org/ffmpeg/trunk
Set CFLAGS directly in config.mak instead of using OPTFLAGS
Originally committed as revision 19406 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add --sysroot flag to CPPFLAGS, not CFLAGS
Originally committed as revision 19405 to svn://svn.ffmpeg.org/ffmpeg/trunk
Separate C preprocessor flags into CPPFLAGS variable
Originally committed as revision 19404 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make VAAPI/VDPAU variant of decoder foo depend on decoder foo.The VAAPI/VDPAU variants of foo require almost all of the code of foo.Thus it makes little sense to enable just the accelerated variant.This allows refactoring some object dependencies in the Makefiles....
configure: allow bulk-disabled things to be re-enabled by dependents
Originally committed as revision 19401 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add a log2 replacement for systems that haven't quite caught up with the C99standard library.
Originally committed as revision 19395 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove support for nonfree libamr library for AMR-NB/WB decoding/encoding.libopencore can now be used as a replacement except for AMR-WB encoding.
Originally committed as revision 19365 to svn://svn.ffmpeg.org/ffmpeg/trunk
ARM: enable fast_unaligned when --cpu=armv67 is specified
Originally committed as revision 19308 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix build on Net/OpenBSD
The renaming in r19293 missed a few things.
Originally committed as revision 19298 to svn://svn.ffmpeg.org/ffmpeg/trunk
Cosmetics: group together indev/outdev dependencies.
Originally committed as revision 19297 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make the configure script select the input/output devices using--enable-indev, --enable-outdev rather than --enable-demuxer,--enable-muxer as before, same for disabling them.
Originally committed as revision 19293 to svn://svn.ffmpeg.org/ffmpeg/trunk
Only link against alsa if enabled.
Originally committed as revision 19278 to svn://svn.ffmpeg.org/ffmpeg/trunk
Only checks for jack if it is enabled and hence only links to jack ifit is not disabled.
Patch by Adrian Stutz $firsname@sttz ch.
Originally committed as revision 19277 to svn://svn.ffmpeg.org/ffmpeg/trunk
Disable network support if required headers cannot be found.patch by Michael Kostylev, michael.kostylev gmail com
Originally committed as revision 19227 to svn://svn.ffmpeg.org/ffmpeg/trunk
configure: properly quote configure options stored in config.*
Originally committed as revision 19201 to svn://svn.ffmpeg.org/ffmpeg/trunk
Merge FreeBSD and DragonFlyBSD OS detection sections.Apparently DragonFlyBSD does not need memalign either.
Originally committed as revision 19191 to svn://svn.ffmpeg.org/ffmpeg/trunk