Commit Graph

1336 Commits

Author SHA1 Message Date
Reimar Döffinger
5baaf9adaf Use a "b" constraint instead of ebx clobber to detect if EBX is available.
The test using clobber incorrectly indicates ebx to be available with the
default compilers on OpenBSD 4.5 and Haiku.

Originally committed as revision 20101 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-30 16:55:32 +00:00
Reimar Döffinger
f494213c6d Fix typo in comment.
Originally committed as revision 20097 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-30 12:39:18 +00:00
Måns Rullgård
a27090208e configure: fix tms470 flag mapping for soft-float
Originally committed as revision 19998 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-23 13:52:50 +00:00
Måns Rullgård
6a0d5493b3 ARM: improve armcc detection
Apparently some versions of armcc do not identify as RVCT.  This
changes the test to a string used by all versions.

Originally committed as revision 19985 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-23 10:48:58 +00:00
Jason Garrett-Glaser
2d3beedee2 Add support for new x264 API.
Originally committed as revision 19977 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-23 09:03:26 +00:00
Måns Rullgård
6e3fa35d29 Set compiler version string for supported non-gcc compilers
Originally committed as revision 19972 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-22 20:38:03 +00:00
Diego Biurrun
a3d7c19728 Improve compiler information code to print to the console on program startup.
Remove gcc-specific hacks and allow filling relevant information for non-gcc
compilers in configure.

Originally committed as revision 19963 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-22 12:23:14 +00:00
Diego Biurrun
6bdaa5f46d The W64 demuxer depends on the WAV demuxer.
Originally committed as revision 19960 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-22 11:17:29 +00:00
Diego Biurrun
523ef55119 Deinterleave the generation of config.h and config.mak.
As a sideeffect this moves more interesting variables to the top of config.mak.

Originally committed as revision 19950 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-21 12:51:45 +00:00
Måns Rullgård
b767b9cd4b configure: remove some unnecessary backslashes
Originally committed as revision 19937 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-21 01:40:14 +00:00
Stefano Sabatini
8cd6b388f4 Make pkgconfig_generate() fill Libs with the required linking flags
if the "shared" var has not been explicitely enabled, rather than if
it has been explicitly disabled.

This way is not necessary to explicitly disable shared libraries in
order to have a pc file usable with only static libraries.

Originally committed as revision 19868 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-15 23:54:31 +00:00
Måns Rullgård
95e561ec3e configure: add -g to ASFLAGS when debug is enabled
Originally committed as revision 19804 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-10 02:42:19 +00:00
Reimar Döffinger
f7ba16a7f4 Fix typo in configure error message.
Originally committed as revision 19803 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-09 23:07:00 +00:00
Måns Rullgård
e69bb386a2 configure: fix check for x264
libx264 recently started mangling the name of x264_encoder_open() to
prevent version mismatches, breaking our test.  Checking for another
function instead makes it work again.

Originally committed as revision 19754 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-02 22:53:31 +00:00
Måns Rullgård
98ef60791d configure: fix filter() function when matching multiple patterns
This makes comma-separated patters to --disable-decoder and friends
work correctly with POSIX-compliant shells.

Originally committed as revision 19688 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-23 15:39:39 +00:00
Måns Rullgård
bce7b696a2 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
2009-08-23 13:46:07 +00:00
Måns Rullgård
566ae9fbc2 configure: simplify directory creation for out of tree builds
Originally committed as revision 19684 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-23 11:02:35 +00:00
Måns Rullgård
8a3c86277b configure: add --enable-pic flag
Using this flag enables position-independent code even when not strictly
required.  It is impossible to use --disable-pic to forcibly disable PIC
when other properties mandate it.

Originally committed as revision 19672 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-20 01:06:18 +00:00
Måns Rullgård
fdcd782dd9 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_ap
and avr32_uc.

Originally committed as revision 19663 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-17 00:15:48 +00:00
Diego Biurrun
2513b2b436 Use pkg-config to generate the linker flags for libdirac.
We do the same for libschroedinger and already use pkg-config to generate
the 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
2009-08-15 12:35:15 +00:00
Måns Rullgård
aef6bd1bdd Fix dependency generation with ccache/gcc
When running behind ccache, the output from -MMD is corrupted unless
we 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
when gcc 2.x is detected.

Originally committed as revision 19620 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-10 17:25:46 +00:00
Måns Rullgård
8f0c157aaa configure: fix gcc detection for v2.95
Originally committed as revision 19619 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-10 17:25:42 +00:00
Alexander Strange
2704bd1a09 Fix the EBX available configure check on Darwin/i386.
-mdynamic-no-pic is required for it, but it was only
added to CFLAGS and the check only used ASFLAGS.

Originally committed as revision 19614 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-10 08:18:05 +00:00
Måns Rullgård
07dec06e6a Generate dependencies while compiling if supported by compiler
Originally committed as revision 19609 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-08 18:27:27 +00:00
Måns Rullgård
c1c3933a98 Generate dependencies when object files are built
Originally committed as revision 19608 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-08 18:27:22 +00:00
Måns Rullgård
8b93ddc340 configure: allow comma-separated list in --enable/disable-thing=name
The argument to these options is now a comma-separated list of shell
patterns, e.g. --disable-decoder='indeo*,rv*'

Originally committed as revision 19604 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-06 15:45:25 +00:00
Måns Rullgård
be8f2501dd 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
2009-08-06 15:45:22 +00:00
Måns Rullgård
d22c13a8df 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
2009-08-06 15:45:19 +00:00
Diego Biurrun
1746e2a936 Make WMV2 encoder depend on H.263 encoder in configure.
Originally committed as revision 19601 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-06 15:04:59 +00:00
Diego Biurrun
c37de5e194 Make MPEG-4 encoder depend on H.263 encoder in configure.
Originally committed as revision 19600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-06 13:04:48 +00:00
Diego Biurrun
665507aac2 Make WMV1 encoder depend on H.263 encoder in configure.
Originally committed as revision 19599 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-06 12:56:25 +00:00
Diego Biurrun
4d4b4bd149 Make FLV encoder depend on H.263 encoder in configure.
Originally committed as revision 19597 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-05 15:26:54 +00:00
Diego Biurrun
fe629c2d2c Make H.263+ (H263P) encoder depend on H.263 encoder in configure.
Originally committed as revision 19595 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-05 15:21:36 +00:00
Diego Biurrun
4e169d89f3 Declare the dependencies of the MSMPEG4v1/MSMPEG4v2/MSMPEG4v3 encoders on the
H.263 encoder in configure.

Originally committed as revision 19594 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-05 13:02:04 +00:00
Diego Biurrun
b2bf38b446 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
2009-08-05 10:44:12 +00:00
Diego Biurrun
4d8eecf475 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
2009-08-02 14:47:26 +00:00
Måns Rullgård
cbf298899d RTMP needs tcp_protocol
Originally committed as revision 19557 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-31 07:40:35 +00:00
Jeff Downs
abbe30ad89 Make av_always_inline a no-op when --disable-optimizations is supplied to
configure

Originally committed as revision 19555 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-30 22:41:05 +00:00
Diego Biurrun
75af07495a 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_inline
does not get doubly defined.

Originally committed as revision 19553 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-30 21:58:43 +00:00
Jeff Downs
e12e2848a3 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
2009-07-30 20:28:07 +00:00
Måns Rullgård
bea81a52c9 Replace BUILD_{SHARED,STATIC} with CONFIG_ counterparts
Originally committed as revision 19527 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-28 08:58:48 +00:00
Måns Rullgård
cd78208bd6 Enable PIC unconditionally on OpenBSD
Originally committed as revision 19526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-28 08:58:42 +00:00
Måns Rullgård
ac0bed5491 configure: always write PIC flags to config.mak
Originally committed as revision 19525 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-28 08:58:36 +00:00
Måns Rullgård
a15b0af815 configure: enable PIC in per-arch section instead of separately
Originally committed as revision 19524 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-28 08:58:33 +00:00
Martin Storsjö
9d3f4f5070 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
2009-07-28 08:50:58 +00:00
Martin Storsjö
1aa71e258d 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
2009-07-27 16:14:57 +00:00
Måns Rullgård
63613fe615 Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN
Originally committed as revision 19508 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-26 12:20:04 +00:00
Aurelien Jacobs
84c04e2519 fix various compilation dependencies
Originally committed as revision 19507 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-24 21:28:44 +00:00
Martin Storsjö
abfc8d056e 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
2009-07-24 00:12:55 +00:00
Måns Rullgård
b6f3d925ca configure: some small simplifications
Originally committed as revision 19503 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-23 23:30:54 +00:00