1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-18 03:19:31 +02:00
Commit Graph

1814 Commits

Author SHA1 Message Date
Reimar Döffinger
a34ebe60e9 Always add -DPIC to YASM flags when pic is enabled.
This covers the previous case of x86_64 and shared, but also
works with --enable-pic.
For 32 bit x86 it currently makes no difference since x86inc.asm
ignores -DPIC for non-x86_64.

Originally committed as revision 20476 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-08 14:50:47 +00:00
Måns Rullgård
64de20d18b PPC: make inline asm xform address test work with Apple tools
Originally committed as revision 20466 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-05 21:48:09 +00:00
Måns Rullgård
ffa3bd54da IA64: do not automatically enable hardcoded tables if explicitly disabled
Originally committed as revision 20465 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-05 21:48:05 +00:00
Måns Rullgård
58b3536dd5 configure: fix 64-bit test with clang
Originally committed as revision 20431 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-01 20:14:56 +00:00
Michael Kostylev
faa374b72c configure: remove extra backslashes from suncc DEPEND_CMD
Patch by Michael Kostylev <michael kostylev gmail>

Originally committed as revision 20428 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-31 16:33:38 +00:00
Måns Rullgård
0645487701 configure: use here-doc for --help output
Originally committed as revision 20427 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-31 15:59:08 +00:00
Måns Rullgård
173c983b52 configure: use here-docs instead of echo for writing config.{h,mak}
Originally committed as revision 20426 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-31 15:59:03 +00:00
Måns Rullgård
b4f9356433 configure: simplify setting of SDL flags in config.mak
Originally committed as revision 20425 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-31 15:58:57 +00:00
Måns Rullgård
c73f65d979 Allow disabling doc generation with --disable-doc
Originally committed as revision 20424 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-31 15:58:49 +00:00
Måns Rullgård
ad212cc6ba configure: simplify STRIP setting in config.mak
Originally committed as revision 20423 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-31 15:58:44 +00:00
Reimar Döffinger
0956bc9b83 Enable hardcoded tables for ia64 shared builds.
At least for cross-compilation with Gentoo gcc 4.4.2 it fixes the build errors
due to GPREL 22 being insufficient for the .bss size of > 4 MB without it.
Why these errors do not appear with static builds is unclear, it is not due
to PIC (shared builds with PIC disabled show the same issue).

Originally committed as revision 20409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-28 20:44:21 +00:00
Måns Rullgård
f0125de9d1 configure: add C99 flags to HOSTCFLAGS
Originally committed as revision 20408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-28 20:19:15 +00:00
Michael Kostylev
2a472e9c5d Detect Sun Studio compiler and set appropriate variables.
Add dependency generation commands compatible with Sun Studio.
patch by Michael Kostylev, michael.kostylev gmail com

Originally committed as revision 20397 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-28 14:24:04 +00:00
Michael Kostylev
0600d30ae4 Avoid "-z text" diversion on SunOS x86, needed to make FATE happy.
patch by Michael Kostylev, michael.kostylev gmail com

Originally committed as revision 20373 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-26 10:18:35 +00:00
Reimar Döffinger
d3ee771514 Support amdfam10 for --cpu, also avoids a warning about unknown cpu if
--cpu=host is used on AMD Phenom and newer at least.

Originally committed as revision 20367 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-24 17:24:25 +00:00
Diego Biurrun
76e6e9c330 Remove ancient redir demuxer.
HTTP supports redirection just fine without it.

Originally committed as revision 20361 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-24 12:44:27 +00:00
David Conrad
06da694372 Add clang to detected compilers
Originally committed as revision 20350 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-22 21:19:13 +00:00
Jason Garrett-Glaser
1953898162 Update libx264.c for x264 API change
Change behavior of b-pyramid option.

Originally committed as revision 20308 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-19 09:35:19 +00:00
Justin Ruggles
f4d608e344 add CONFIG_LPC to the build system for lpc dsputil functions. fixes build
problems when lpc.c is not compiled.

Originally committed as revision 20285 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-18 19:51:18 +00:00
Måns Rullgård
e276d9e82d ARM: force PIC for shared libs only with ARMv6T2 and later
Originally committed as revision 20207 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-11 14:32:18 +00:00
Måns Rullgård
1fce58c2fc ARM: enable PIC for shared libs
Recent versions of gcc generate movw/movt pairs, and the linkers fail
to handle the associated relocations properly.  Those responsible at
Codesourcery have refused to consider fixing this.  Blame them for
making shared libraries slower than they need to be.

Originally committed as revision 20203 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-11 10:15:45 +00:00
Måns Rullgård
c7f7978ae3 configure: define extern symbol prefix without quotes for for asm files
Originally committed as revision 20146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-02 08:41:57 +00:00
Måns Rullgård
8dfa86f78a Do not use -mdynamic-no-pic if PIC is enabled
Originally committed as revision 20145 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-02 08:41:54 +00:00
Måns Rullgård
50fa82e6d2 ARM: add -marm flag since we do not support Thumb
Originally committed as revision 20144 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-02 08:41:52 +00:00
David Conrad
de27f4d957 Check whether 32-bit x86 is really 64-bit
Fixes configure on OS X 10.6

Originally committed as revision 20134 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-01 21:38:25 +00:00
Måns Rullgård
7cee5421d6 configure: break a long line
Originally committed as revision 20108 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-30 22:08:16 +00:00
Reimar Döffinger
e04a3c9613 Re-add check for compilation failure with ebx clobber, and only set
ebx_available if both "b" constraint and exb clobber code compile.
This is to fix compilation with Mac OSX 10.5.8's gcc 4.0.1 in 64
bit mode (-m64) which only fails for ebx/rbx clobbers but not
"b" constraints - this is probably a compiler bug.

Originally committed as revision 20107 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-30 21:57:13 +00:00
Måns Rullgård
49214f61a5 configure: return result of test from check_asm
This makes it possible to use check_asm in conditionals.

Originally committed as revision 20105 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-30 21:38:11 +00:00
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
Måns Rullgård
e45391bb32 configure: add some blank lines to improve readability
Originally committed as revision 19502 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-23 23:30:50 +00:00
Måns Rullgård
adcb219081 Move output redirection of deps generation from make rule to DEPEND_CMD
Originally committed as revision 19493 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-22 22:30:20 +00:00
Diego Biurrun
4eef77c1a3 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
2009-07-22 21:36:50 +00:00
Måns Rullgård
df5e397839 configure: group tests for compiler characteristics together
Originally committed as revision 19490 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-22 20:41:41 +00:00
Måns Rullgård
a036c1b537 configure: set -mdynamic-no-pic flag in main darwin section
Originally committed as revision 19489 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-22 20:41:39 +00:00
Måns Rullgård
d90330dc20 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
2009-07-22 20:41:35 +00:00
Måns Rullgård
55b290c690 configure: remove some darwin-related cruft
Originally committed as revision 19487 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-22 20:41:31 +00:00
Måns Rullgård
fa0912fe50 configure: group all cpu-specific tests together
Originally committed as revision 19485 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-22 16:05:24 +00:00
Diego Biurrun
baf91bb9a3 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
2009-07-21 09:03:45 +00:00
Måns Rullgård
ce742de22c ARM: check for VFP register arguments
Originally committed as revision 19474 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-20 22:30:24 +00:00
Måns Rullgård
89f2932baf configure: make --extra-cflags cumulative again
Originally committed as revision 19471 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-20 19:00:59 +00:00
Diego Biurrun
e82dc4c91e 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
2009-07-20 09:24:59 +00:00
Diego Biurrun
015f8ee009 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
2009-07-19 11:07:10 +00:00
Måns Rullgård
6fec122af7 Support building with TI TMS470 compiler
Originally committed as revision 19465 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-19 10:52:35 +00:00
Diego Biurrun
63d72fdaf2 If any input/output devices are enabled then indevs/outdevs should
get enabled, not demuxers/muxers.

Originally committed as revision 19463 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-19 10:40:28 +00:00
Stefano Sabatini
8beb41783a Replace two occurrences of 'vfwcap_demuxer' with 'vfwcap_indev', I
missed them in r19293. Re-enable version check on w32api.h if the
vfwcap input device has been selected.

Originally committed as revision 19461 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-18 10:38:53 +00:00
Carl Eugen Hoyos
0e57fe17eb Allow enabling alsa and jack devices.
Originally committed as revision 19460 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-18 09:32:26 +00:00
Måns Rullgård
24524f36a1 configure: improve detection of out-of-tree builds
Originally committed as revision 19456 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-17 13:10:26 +00:00
Måns Rullgård
980a75c5a5 configure: remove some useless comments
Originally committed as revision 19455 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-17 13:10:23 +00:00
Måns Rullgård
e7ea5e3d8d 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
2009-07-17 08:21:43 +00:00
Måns Rullgård
df5cdc24b9 configure: handle --cpu before running compiler
It is possible that the compiler requires flags set by the --cpu
option, so we should not attempt to run it before those flags have
been added.

Originally committed as revision 19452 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-17 08:21:41 +00:00
Måns Rullgård
a915980acd configure: simplify --cpu handling slightly
Originally committed as revision 19451 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-17 08:21:37 +00:00
Måns Rullgård
88ec6ac9e4 configure: do not warn about mismatching altivec/cpu selection
We do not issue similar warnings for other architectures, and we
generally assume users know what they want.

Originally committed as revision 19445 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-16 22:29:15 +00:00
Martin Storsjö
2b2c2a8179 Fix check_func_headers. The reference to the function under test was being
optimized 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.
Patch by Martin Storsjö <martin at martin dot st>

Originally committed as revision 19440 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-16 16:02:50 +00:00
Måns Rullgård
973859f523 Disable gcc auto-vectorisation
The auto-vectoriser in gcc is enabled by default at -O3 since version
4.3.  However, it provides no speed benefit, but does produce incorrect
code on many targets.  Disabling it for gcc should give more reliable
builds.

If the adventurous want it back, they can edit the makefile themselves.

Originally committed as revision 19439 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-15 19:02:07 +00:00
Måns Rullgård
89e053f83d 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
2009-07-15 18:33:12 +00:00
Diego Biurrun
bd20afc401 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
2009-07-15 12:23:38 +00:00
Måns Rullgård
ad420e25e2 Use normal check_func test for math functions
Originally committed as revision 19434 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-15 08:22:06 +00:00
Martin Storsjö
f4c1387249 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
2009-07-14 14:02:09 +00:00
Måns Rullgård
19b4c62883 Set default flag filters before compiler detection
This allows use of the add_*flags functions in the compiler detection
section.

Originally committed as revision 19428 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-13 22:46:10 +00:00
Martin Storsjö
b9349ff4ca 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
2009-07-13 21:59:26 +00:00
Martin Storsjö
336cc1b0ee 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
2009-07-13 19:08:27 +00:00
Måns Rullgård
38a9c529e2 Use add_*flags only after compiler-specific configuration
Originally committed as revision 19422 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 23:03:08 +00:00
Måns Rullgård
caf458dda4 Allow filtering of flags passed to compiler and assembler
This can be used to map gcc-type flags to equivalents with other
compilers.

Originally committed as revision 19421 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 22:44:05 +00:00
Diego Biurrun
647c2356a6 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
2009-07-12 22:31:05 +00:00
Måns Rullgård
d8059267bc Place flags for dependency generation in DEPFLAGS
This avoids duplicating the full DEPEND_CMD line only to change some
flags.

Originally committed as revision 19419 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 22:28:24 +00:00
Måns Rullgård
ce40e3470c Set CPPFLAGS in config.mak using normal assignment
Setting this value using ?= caused some trouble if it was already
defined in the environment.

Originally committed as revision 19418 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 21:14:00 +00:00
Måns Rullgård
8c6d2da5be Protect config.mak against multiple inclusion
Some of the values set here are modified by the main makefiles
and should not be reset when config.mak is included again.

Originally committed as revision 19417 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 21:13:57 +00:00
Måns Rullgård
0115927eae Use CFLAGS in default DEPEND_CMD
Originally committed as revision 19415 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 14:13:34 +00:00
Måns Rullgård
9e7f32775c Use CFLAGS in check_cpp
Originally committed as revision 19414 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 14:13:32 +00:00
Måns Rullgård
75bafbac7b Set as_default after compiler detection, allowing compiler-specific defaults
Originally committed as revision 19413 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 13:29:55 +00:00
Måns Rullgård
2f2e6c7ce1 Pass ASFLAGS to assembler instead of CFLAGS
Originally committed as revision 19412 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 13:29:53 +00:00
Måns Rullgård
7f32f40c89 Add flags from --extra-cflags after compiler detection
Originally committed as revision 19411 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 13:29:51 +00:00
Måns Rullgård
997f3ba4ef Set CPU selection flags in $cpuflags, add to cflags outside case block
Originally committed as revision 19410 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 13:29:48 +00:00
Måns Rullgård
7e6c86e65d 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 the
configure script.

Originally committed as revision 19409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 13:29:46 +00:00
Måns Rullgård
50567afa5a Use DEPCC to find dependencies, default to same as CC
Originally committed as revision 19408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 13:29:43 +00:00
Måns Rullgård
684b28e09c Use LD for linking, default to same as CC
Originally committed as revision 19407 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 13:29:40 +00:00
Måns Rullgård
3198f6187a Set CFLAGS directly in config.mak instead of using OPTFLAGS
Originally committed as revision 19406 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 13:29:38 +00:00
Måns Rullgård
467256f248 Add --sysroot flag to CPPFLAGS, not CFLAGS
Originally committed as revision 19405 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 13:29:35 +00:00
Måns Rullgård
50a334e426 Separate C preprocessor flags into CPPFLAGS variable
Originally committed as revision 19404 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 13:29:32 +00:00
Diego Biurrun
95a61cfc24 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.

Originally committed as revision 19403 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 13:22:01 +00:00
Måns Rullgård
fed5d54b56 configure: allow bulk-disabled things to be re-enabled by dependents
Originally committed as revision 19401 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 00:17:42 +00:00
Alex Converse
291fd18a6e Add a log2 replacement for systems that haven't quite caught up with the C99
standard library.

Originally committed as revision 19395 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-10 19:20:06 +00:00
Diego Biurrun
fc1206a4d9 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
2009-07-07 00:28:16 +00:00
Måns Rullgård
d6ced96317 ARM: enable fast_unaligned when --cpu=armv[67] is specified
Originally committed as revision 19308 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-30 12:46:09 +00:00
Måns Rullgård
07a8eef699 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
2009-06-29 20:45:49 +00:00
Stefano Sabatini
4e622deaab Cosmetics: group together indev/outdev dependencies.
Originally committed as revision 19297 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-29 20:00:58 +00:00
Stefano Sabatini
38e54a75ab 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
2009-06-29 18:49:15 +00:00
Stefano Sabatini
c2b3565e4a Only link against alsa if enabled.
Originally committed as revision 19278 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-25 23:21:40 +00:00
Adrian Stutz
30b1fff69c Only checks for jack if it is enabled and hence only links to jack if
it is not disabled.

Patch by Adrian Stutz $firsname@sttz ch.

Originally committed as revision 19277 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-25 22:48:49 +00:00
Michael Kostylev
28c9f06959 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
2009-06-19 17:21:13 +00:00
Måns Rullgård
b04251c5d0 configure: properly quote configure options stored in config.*
Originally committed as revision 19201 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-15 22:12:21 +00:00
Diego Biurrun
90b4f09177 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
2009-06-14 14:49:46 +00:00
Adam Hoka
d6dcfc7f5b Add DragonFlyBSD to the list of supported OSes.
patch by Adam Hoka, ahoka NetBSD org

Originally committed as revision 19190 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-14 13:18:10 +00:00
Diego Biurrun
17492d5e40 Add code to enable and disable all VAAPI and VDPAU parts.
As a positive sideeffect, VAAPI/VDPAU objects need no longer be listed
for all VAAPI/VDPAU-related decoders.

Originally committed as revision 19145 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-10 20:50:53 +00:00
Diego Biurrun
28b80940ff Express the H.264 parser dependency on the golomb code in configure instead of
in the Makefile as it is done for all other parts that depend on golomb.

Originally committed as revision 19139 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-09 20:29:52 +00:00
Diego Biurrun
0b175caac8 Add support for external OpenCORE libraries for AMR-NB/WB support.
Originally committed as revision 19117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-05 12:32:40 +00:00
Diego Biurrun
9cad0e4ed8 Add configure option to upgrade (L)GPL to version 3.
Originally committed as revision 19116 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-05 11:04:03 +00:00
Måns Rullgård
85dd97adff configure: detect Loongson MIPS extensions
Originally committed as revision 18978 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-28 23:19:29 +00:00
Reimar Döffinger
34d11b875f Change HAVE_PPC64 to ARCH_PPC64.
As a side-effect this also gives it the correct value on e.g. PPC970FX-based
PPC64 systems, thus fixing "make test" (mp2/mp3 decoding).

Originally committed as revision 18953 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-26 05:00:51 +00:00
Diego Biurrun
57f8df050f dv1394 is disabled by default, do not redundantly disable it on Hurd.
Originally committed as revision 18946 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-25 20:18:33 +00:00
Andres Mejia
34e82167f3 Add Hurd to OS list and disable dv1394 in the Hurd case.
patch by Andres Mejia, mcitadel gmail com

Originally committed as revision 18938 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-25 05:39:58 +00:00
Diego Biurrun
ba7a703947 Print out more verbose licensing information.
Originally committed as revision 18893 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-22 10:10:02 +00:00
Diego Biurrun
1754fe4d30 The AC-3 decoder is now LGPL. Exchange the license header and change references
in the build system and documentation that mark it as GPL.

Originally committed as revision 18876 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-19 22:58:09 +00:00
Måns Rullgård
bae3abb02c Define ARCH_MIPS64 when building for MIPS64
Originally committed as revision 18874 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-19 19:40:24 +00:00
Måns Rullgård
08a85a59d6 Define HAVE_BIGENDIAN as 0 or 1 according to CPU type
This should replace the inconsistently named and defined
WORDS_BIGENDIAN.

Originally committed as revision 18873 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-19 19:40:22 +00:00
Måns Rullgård
5b34250da0 configure: add some MIPS CPUs
Originally committed as revision 18872 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-19 19:38:44 +00:00
Andres Mejia
83993c1c76 Add gnu/kfreebsd to list of recognized operating systems.
patch by Andres Mejia, mcitadel gmail com

Originally committed as revision 18822 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-14 11:45:41 +00:00
Måns Rullgård
4c27207c12 configure: fix licence check function
Originally committed as revision 18717 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-29 16:14:33 +00:00
Diego Biurrun
2f7ae63ba1 Require --enable-nonfree for turning on libfaac support.
libfaac lies about being LGPL, when it really is not.

Originally committed as revision 18715 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-29 15:40:25 +00:00
Diego Biurrun
2184c6f7af Factorize GPL and nonfree license checks into a common function.
Originally committed as revision 18714 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-29 15:32:40 +00:00
Måns Rullgård
e4ddc8edfa configure: support Blackfin CPU names with --cpu
Originally committed as revision 18660 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-22 09:27:36 +00:00
Måns Rullgård
cc078b5d8f PPC: check for x-form asm constraint support
Originally committed as revision 18606 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-18 13:57:30 +00:00
Måns Rullgård
9f5ff83f2a PPC asm for AV_RL*()
PPC is normally big endian but has special little endian load/store
instructions.  Using these avoids a separate byteswap.  This makes the
vorbis decoder about 5% faster.  Not much else uses little-endian
read/write extensively.

GCC generates horrible PPC code for the default AV_[RW]B64 (which uses
a packed struct), so we override it with a plain pointer cast.

Originally committed as revision 18602 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-18 00:00:31 +00:00
Diego Biurrun
8bb3d6a612 Do not add -fno-common to CFLAGS on DOS, it is unneeded.
Originally committed as revision 18536 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-16 10:34:14 +00:00
Martin Storsjö
29382bc1eb Check for Decoder_Interface_init() instead of Speech_Decode_Frame_init() when
trying to enable libamrnb support. The latter function is actually used.
patch by Martin Storsjö, martin martin st

Originally committed as revision 18526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-15 17:29:20 +00:00
Ramiro Polla
1894e741f5 win32, dos: Work around a bug in the GNU toolchain.
The bug[1] is exposed when gcc decides to put some data in a common
section (i.e. data that will be used by more than one object). It will
suggest the data to be aligned, but binutils >= 2.19 will fail to
properly align it. Thus if the data requires any alignment greater
than 4, the application will crash.
The workaround prevents gcc from putting data in a common section,
instead putting it in a properly aligned section.

[1] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37216

Originally committed as revision 18501 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-13 22:54:21 +00:00
Diego Biurrun
e467369278 Add a configure check for lzo1x_999_compress() and compile the lzo test program
in libavutil when this function is available.

Originally committed as revision 18386 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-09 14:55:05 +00:00
Ramiro Polla
e90f5b5ab1 configure: Add --enable-runtime-cpudetect
Originally committed as revision 18380 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-08 20:26:18 +00:00
Olivier Guilyardi
80ff8a16f5 Implement JACK input device.
Patch by Olivier Guilyardi list samalyse com.
See the thread: "[FFmpeg-devel] [PATCH] libavdevice: JACK demuxer".

Originally committed as revision 18322 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-02 23:53:47 +00:00
Gwenole Beauchesne
ff41873562 Add VA API deps.
Originally committed as revision 18312 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-02 08:49:33 +00:00
Gwenole Beauchesne
5666fd731e Add hwaccel configury. This generates CONFIG_<CODEC>_<HWACCEL>_HWACCEL
from registered HW accelerated codecs with REGISTER_HWACCEL().

Originally committed as revision 18311 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-02 08:48:06 +00:00
Diego Biurrun
d326cf7f8f Add an empty line in front of configure debug instructions.
This makes the actual error message that configure prints be more noticeable.

Originally committed as revision 18308 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-02 08:02:32 +00:00
Måns Rullgård
13cbe2c026 Quote stored configure arguments containing spaces
Originally committed as revision 18252 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-30 21:12:44 +00:00
Ramiro Polla
4b51fb1ce0 mingw32: Restore creation of import libraries. They are still not being
installed, but they're good for creating -dev packages.

Originally committed as revision 18214 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-29 03:42:32 +00:00
Ramiro Polla
b2cfd7e360 Create swscale subdirs for out-of-tree builds.
Originally committed as revision 18191 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-26 01:29:20 +00:00
Diego Biurrun
0a7ee3ef59 cosmetics: Group all path variables together in config.mak.
Originally committed as revision 18187 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-25 17:46:25 +00:00
Cédric Schieli
a9ddb5b1a4 Add a CONFIG_SWSCALE_ALPHA option for alpha channel scaling (enabled by default)
Originally committed as revision 18075 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-20 14:12:47 +00:00
Ramiro Polla
7c5bfe7add Check for VirtualAlloc() so it may be used to allocate executable memory in
Windows.

Originally committed as revision 18050 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-19 21:52:01 +00:00
Ramiro Polla
06abe7f5b4 mingw32: call lib.exe instead of lib to facilitate running it through wine.
Originally committed as revision 17995 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-15 23:15:57 +00:00
Matthieu Castet
337cee680b Disallow out-of-tree builds with config.h in the source tree.
A config.h present in the source tree takes precedence over a config.h
in the build tree, which can possibly result in an incorrect build.
patch by matthieu castet, castet.matthieu free fr

Originally committed as revision 17994 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-15 21:32:36 +00:00
Carl Eugen Hoyos
be2cf98a75 Force ebp_available for icc.
See discussion:
http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/86209

Originally committed as revision 17985 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-15 13:22:41 +00:00
Diego Biurrun
5e622c401f Replace all `` by $(), the latter can be nested more easily.
Originally committed as revision 17923 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 23:59:31 +00:00
Diego Biurrun
5fd89ca03f Fix MMX2 check, 'movss' is not an MMX2 instruction, use 'pmaxub' instead.
Originally committed as revision 17922 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 23:33:27 +00:00
Måns Rullgård
75800dce2b Set AS to $CC by default, override with gcc only when CC is armcc
Originally committed as revision 17920 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 22:39:49 +00:00
Måns Rullgård
aa033b1ed7 Enable CONFIG_FASTDIV by default
Originally committed as revision 17900 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 09:19:11 +00:00
Måns Rullgård
82bb33290e Allow different executable suffix for host and target
Originally committed as revision 17885 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-08 22:11:24 +00:00
Diego Biurrun
5add54b4f9 cosmetics: fix indentation
Originally committed as revision 17864 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-07 19:56:21 +00:00
Diego Biurrun
711dae776f Get rid of redundant vdpau option, decoders can still be disabled individually.
Originally committed as revision 17855 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-06 10:18:39 +00:00
Måns Rullgård
03e3776293 ARM: detect armcc compiler and enable gcc mode
Originally committed as revision 17829 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-05 21:20:08 +00:00
Måns Rullgård
f65883c812 configure: check asm support using $as
Originally committed as revision 17828 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-05 21:20:04 +00:00
Måns Rullgård
313c46a610 Compile .S files with $(AS), set it in configure
Assembler files using the GNU syntax need to be processed by gcc,
whichever compiler is used for C files.

Originally committed as revision 17827 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-05 21:20:01 +00:00
Reimar Döffinger
15ef402663 Remove the swscale dummy option, most (all?) FATE configs should be updated
to work without it.

Originally committed as revision 17809 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 18:41:47 +00:00
Måns Rullgård
03754fcd6f Alpha: use -g3 with ccc to allow optimisation with debugging symbols
Originally committed as revision 17793 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 23:53:29 +00:00
Måns Rullgård
511b3667d6 Allow --enable-swscale until FATE is updated
Originally committed as revision 17788 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 23:07:12 +00:00
Michael Niedermayer
6d4f53cbac Remove old scaler.
Originally committed as revision 17786 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 22:51:30 +00:00
Diego Biurrun
fdf119062e Remove deprecated vhook subsystem.
Originally committed as revision 17769 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 14:09:10 +00:00
Diego Biurrun
9d821fc2d2 Do not add -D_FILE_OFFSET_BITS=64 and -D_LARGEFILE_SOURCE unconditionally to
CFLAGS.  Apparently there are some systems that do not like these definitions.

Originally committed as revision 17755 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 12:52:12 +00:00
Diego Biurrun
892438a3d1 Remove mpeg4aac dependency declaration, the decoder was removed.
Originally committed as revision 17753 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 12:45:48 +00:00
Måns Rullgård
54460a8347 configure: improve temp file creation and cleanup
Originally committed as revision 17752 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 08:53:55 +00:00
Måns Rullgård
b77df6377b configure: fix return value from check_header
Originally committed as revision 17695 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-01 17:57:14 +00:00
Måns Rullgård
cd0d9a9de6 configure: check_func_headers should mark headers as found
Originally committed as revision 17668 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-28 19:56:21 +00:00
Måns Rullgård
7270270541 configure: {enable,disable}_safe functions that sanitise arguments
Originally committed as revision 17667 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-28 19:56:19 +00:00
Måns Rullgård
92971e91ec configure: remove redundant alsa/asoundlib.h check
Originally committed as revision 17650 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-27 21:15:12 +00:00
Diego Biurrun
760227633d 100l: Revert removal of GPL check for libswscale.
libswscale still compiles GPL parts by default.

Originally committed as revision 17557 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-24 15:33:39 +00:00
Diego Biurrun
f83a40985c The software scaler is no longer GPLed.
Originally committed as revision 17556 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-24 15:11:45 +00:00
Diego Biurrun
75ecf14900 Check if -lrt is required for nanosleep, as is the case on Solaris.
inspired by a patch from Fabian Groffen, grobian gentoo org

Originally committed as revision 17537 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-23 01:56:08 +00:00
Diego Biurrun
3a636b6fd7 Fix gcc detection: Not all gcc versions have "(GCC)" in the version string.
Originally committed as revision 17522 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-22 11:04:22 +00:00
Måns Rullgård
df442a8d48 configure: detect ccc compiler (Alpha) and set required flags
Originally committed as revision 17507 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-22 00:13:19 +00:00
Måns Rullgård
b1598b5805 configure: indent
Originally committed as revision 17503 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-21 22:12:47 +00:00
Måns Rullgård
154d432cc4 Pass sysroot argument to gcc
Originally committed as revision 17500 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-21 21:07:37 +00:00
Måns Rullgård
c5200f1753 Add --sysroot and --sysinclude configure options
Some cross-compilers need these parameters, and we can't
figure out the correct values.

Originally committed as revision 17499 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-21 21:07:34 +00:00
Måns Rullgård
629687f62f configure: move detection of compiler type to single location
Originally committed as revision 17498 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-21 21:07:32 +00:00
Måns Rullgård
333d5374d0 Remove special treatment of version.h in DEPEND_CMD
Originally committed as revision 17484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-21 18:19:29 +00:00
Måns Rullgård
f4870943ea configure: add (empty) avr32 arch case
Originally committed as revision 17479 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-21 16:03:27 +00:00
Måns Rullgård
cfdb6148d6 configure: sort cases in arch section
Originally committed as revision 17478 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-21 16:03:25 +00:00
Aurelien Jacobs
d52b39c79c fix missing dependencies
Originally committed as revision 17445 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-19 00:27:57 +00:00
Diego Biurrun
ca14e2a8b7 Handle conditional compilation of CPU-specific FFT code in the Makefile.
Also replace one coarse MMX condition with more fine-grained
3DNow!/3DNowExt!/SSE conditions.

Originally committed as revision 17409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-18 00:11:49 +00:00
Diego Biurrun
a1ef9f08ec Add support for enabling/disabling AMD 3DNow! extended optimizations.
Originally committed as revision 17408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-18 00:03:09 +00:00
Andreas Öman
3fff63826b Gopher protocol should depend on networking being enabled.
Ok'd by Måns and DonDiego on IRC.

Originally committed as revision 17399 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-17 22:25:40 +00:00
Diego Biurrun
8f6f050aae 100l: Remove stray character that slipped into header name.
Originally committed as revision 17231 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 15:54:24 +00:00
Diego Biurrun
fc2dd7e3de Remove redundant CONFIG_XVMC option, CONFIG_MPEG_XVMC_DECODER suffices.
Originally committed as revision 17229 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 15:37:40 +00:00
Diego Biurrun
d3a4b4e09c Add check whether the compiler/assembler supports 10 or more operands.
thanks to Loren for some help with the asm statements

Originally committed as revision 17151 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 11:16:00 +00:00
Mathieu Malaterre
3d6fac8cee Use default system include path for an installed OpenJPEG library.
patch by Mathieu Malaterre, mathieu.malaterre gmail com

Originally committed as revision 17129 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 11:29:31 +00:00
Jai Menon
9a77d59a89 Use libopenjpeg for jpeg2k decoding.
Patch by Jaikrishnan Menon

Originally committed as revision 17017 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-06 11:49:31 +00:00
Måns Rullgård
7595a5e491 configure: add command flag to disable yasm use
Originally committed as revision 16998 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-05 02:47:26 +00:00
Måns Rullgård
c0f5b7f107 configure: set EXESUF before it is used
Originally committed as revision 16997 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-05 00:03:54 +00:00
Måns Rullgård
993f2d0fd7 configure: move basic sanity tests before other tests
Originally committed as revision 16995 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-04 21:28:54 +00:00
Diego Biurrun
242e22708c fastdiv is disabled by default, so put --enable-fastdiv into the help output.
Originally committed as revision 16991 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-04 20:34:08 +00:00
Alex Converse
63cae55d62 Use the new RDFT code in the QDM2 decoder.
Originally committed as revision 16865 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-30 20:33:29 +00:00
Alex Converse
6860254044 Add the rdft family of transforms (fft/ifft of an all real sequence) to dsputil.
Originally committed as revision 16864 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-30 20:15:48 +00:00
Ramiro Polla
f7ad5aa2e8 indentation
Originally committed as revision 16828 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-27 20:06:13 +00:00
Ramiro Polla
b1549d6113 mingw: don't check for minimum mingw runtime and w32api versions for mingw-w64
there is no vfw in mingw-64, and it has different (not yet stable) version
defines

Originally committed as revision 16827 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-27 20:03:22 +00:00
Måns Rullgård
4f924f9aa0 configure: exit with error if OS is unknown
Originally committed as revision 16807 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-26 14:32:01 +00:00
Nicolas George
35fd81224a Add ALSA support in libavdevice.
Patch by Nicolas George: name surname normalesup org
Original thread: [FFmpeg-devel] [PATCH] ALSA for libavdevice
Date: 12/09/2008 07:17 PM

Originally committed as revision 16800 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-26 09:16:09 +00:00
Måns Rullgård
14a8acf108 configure: add datadir variable and write to config.{h,mak}
Originally committed as revision 16791 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-25 22:23:03 +00:00
Diego Biurrun
3bf96eec17 Add AMD 3DNow! instruction enabling/disabling support in the build system.
Originally committed as revision 16785 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-25 19:48:26 +00:00
Diego Biurrun
75aa95a6d9 Drop redundant architecture extension dependencies.
Originally committed as revision 16784 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-25 19:43:48 +00:00
Diego Biurrun
30e98e62b1 Add missing architecture-specific options to summary output.
Originally committed as revision 16779 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-25 18:15:41 +00:00
Diego Biurrun
7996d1536e SSE depends on x86.
Originally committed as revision 16777 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-25 17:52:52 +00:00
Diego Biurrun
62560865ff Add configuration options section to help output.
Originally committed as revision 16760 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-24 18:18:24 +00:00
Diego Biurrun
732c9a3462 help output cosmetics
Originally committed as revision 16759 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-24 18:14:46 +00:00
Diego Biurrun
d233d8efdd Remove --enable-static and --disable-shared from help output.
Only one of --enable or --disable should be in the help output.

Originally committed as revision 16758 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-24 17:56:39 +00:00
Diego Biurrun
15396d5cd0 Use cc_default variable in help output for --cc option.
The cc variable is not yet initialized when the help output is printed.

Originally committed as revision 16757 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-24 17:49:01 +00:00
Diego Biurrun
799fde37cc Add a check for ppc4xx instructions; rename preprocessor directive accordingly.
Originally committed as revision 16756 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-24 17:44:46 +00:00
Måns Rullgård
a0d8a50bca configure: add help for fastdiv
Originally committed as revision 16754 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-24 17:08:49 +00:00
NVIDIA Corporation
c5b42f4a80 Add VDPAU hardware accelerated decoding for WMV3 and VC1 which can
be used by video players.

Original patch by NVIDIA corporation.

Originally committed as revision 16699 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-20 09:28:36 +00:00
Måns Rullgård
c0a02a3e47 Alpha: add -mieee to CFLAGS
Originally committed as revision 16676 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-18 18:31:54 +00:00
Måns Rullgård
27a9466b21 configure: add fastdiv to CONFIG_LIST
Originally committed as revision 16674 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-18 18:29:57 +00:00
Carl Eugen Hoyos
2b3242253d Add mpeg1_vdpau decoder.
Originally committed as revision 16640 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-16 16:50:32 +00:00
NVIDIA Corporation
d37edddc09 Add VDPAU hardware accelerated decoding for MPEG1 and MPEG2 which can
be used by video players.

Original patch by NVIDIA corporation.

Originally committed as revision 16628 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-16 02:14:07 +00:00
Aurelien Jacobs
764551c672 add -Wundef compiler flag, to catch typo in #if or similar situations
Originally committed as revision 16621 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-16 00:37:38 +00:00
Aurelien Jacobs
49fb20cb8a replace all occurrence of ENABLE_ by the corresponding CONFIG_, HAVE_ or ARCH_
and remove all ENABLE_ definitions.

Originally committed as revision 16600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-14 17:19:17 +00:00
Aurelien Jacobs
b250f9c66d Change semantic of CONFIG_*, HAVE_* and ARCH_*.
They are now always defined to either 0 or 1.

Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-13 23:44:16 +00:00
Måns Rullgård
1cd11856b0 configure: add Alpha CPU types
Originally committed as revision 16573 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-13 02:02:50 +00:00
Måns Rullgård
a8e2869820 configure: fix PIC activation for x86_64 shared libs
Originally committed as revision 16563 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 23:49:06 +00:00
Ramiro Polla
d52481b9ce Pass subarch instead of arch to YASMFLAGS
Originally committed as revision 16560 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 23:15:13 +00:00
Diego Biurrun
7b5e8a274a Extend 'checkheaders' target to architecture-specific subdirectories.
Originally committed as revision 16559 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 22:48:07 +00:00
Diego Biurrun
62045d4860 Split arch variable into arch and subarch.
Originally committed as revision 16558 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 22:45:19 +00:00
Diego Biurrun
1fc9fb8a77 Use 'enabled' function to simplify x86_64 check in the mingw32 section.
Originally committed as revision 16557 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 22:32:45 +00:00
Michael Kostylev
7b04b8a057 Add truncf() replacement function.
Patch by Michael Kostylev <mik at it-1 dot ru>

Originally committed as revision 16555 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 22:10:04 +00:00
Ramiro Polla
b507ebd179 Use setmode() if it exists in <io.h>, and not based on O_BINARY.
Originally committed as revision 16553 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 22:05:43 +00:00
Diego Biurrun
5b6c2cbdc8 Use 'enabled' function instead of raw 'test' calls in arch checks.
Originally committed as revision 16552 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 21:55:14 +00:00
Diego Biurrun
0f010b2f5b cosmetics: Remove useless quotes.
Originally committed as revision 16544 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 19:54:57 +00:00
Diego Biurrun
3bbcba320f 1l: better alphabetical order
Originally committed as revision 16543 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 19:53:12 +00:00
Diego Biurrun
26c7aa17fb Add missing --disable-armv6t2 to help output.
Originally committed as revision 16542 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 19:52:01 +00:00
Michael Kostylev
ff1c015d41 Use coff as objformat for dos.
Patch by Michael Kostylev <mik at it-1 dot ru>

Originally committed as revision 16525 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 02:19:33 +00:00
Ramiro Polla
1bb04d5a44 configure: allow to disable sse code.
Based on patch by Michael Kostylev <mik at it-1 dot ru>

Originally committed as revision 16490 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-07 23:38:54 +00:00
Ramiro Polla
1f91cdce0b Use posix_memalign() if available.
Originally committed as revision 16488 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-07 23:36:34 +00:00
Michael Kostylev
b6e736a131 Don't prefix yasm with cross prefix.
Patch by Michael Kostylev <mik at it-1 dot ru>

Originally committed as revision 16463 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-07 04:21:26 +00:00
Diego Biurrun
11e6d03a9d alphabetical ordering cosmetics
Originally committed as revision 16461 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-07 01:42:00 +00:00
Carl Eugen Hoyos
272081b0f8 Export VDPAU support by installing vdpau.h.
Originally committed as revision 16445 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-05 23:25:58 +00:00
Palle Lyckegaard
e193c74e6e Add -D__EXTENSIONS__ to CFLAGS on Solaris to make ip_mreq visible.
Fixes compilation of libavformat/udp.c.
patch by Palle Lyckegaard, palle lyckegaard dk

Originally committed as revision 16440 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-05 21:52:55 +00:00
NVIDIA Corporation
369122dd77 Add VDPAU hardware accelerated decoding for H264 which can be used by
video players.

Original patch by NVIDIA corporation.

Originally committed as revision 16431 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-04 23:55:27 +00:00
Carl Eugen Hoyos
27cb5cbc16 Fix small errors in configure --help's output.
Originally committed as revision 16429 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-04 23:17:22 +00:00
Måns Rullgård
2e35e68434 Make shared/static full CONFIG options
Originally committed as revision 16394 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-30 03:13:48 +00:00
Måns Rullgård
ab5cb08492 configure: check for ARMv6T2 support
Originally committed as revision 16393 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-30 03:13:44 +00:00
Måns Rullgård
c51fafa13f configure: accept $TMP as location for temporary files
Originally committed as revision 16386 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-29 12:55:28 +00:00
Måns Rullgård
a49d42c24e configure: simplify TMPDIR setting
Originally committed as revision 16385 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-29 12:55:24 +00:00
Diego Biurrun
79cb09b2f7 consistency cosmetics: Rename POWERPC identifiers to PPC.
Originally committed as revision 16359 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-27 11:33:26 +00:00
Diego Biurrun
a6493a8fbd Rename libavcodec/i386/ --> libavcodec/x86/.
It contains optimizations that are not specific to i386 and
libavutil uses this naming scheme already.

Originally committed as revision 16270 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 09:12:42 +00:00
Marc Mason
124c21d79f Check function prototype in check_asm function to avoid compiler warnings.
patch by Marc Mason, mpeg.blue free fr

Originally committed as revision 16188 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 15:44:40 +00:00
Måns Rullgård
a2fc0f6a6d ARM: replace "armv4l" with "arm"
Originally committed as revision 16179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 00:54:54 +00:00
Diego Biurrun
68178ca9e1 Add xvmc configure support.
Originally committed as revision 16154 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 22:24:12 +00:00
Reinhard Tartler
4698330921 Fix the use of Requires.private and Libs.private in generated .pc files.
Patch by Reinhard Tartler \ siretart ! tauware + de /.

Originally committed as revision 16125 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 15:42:14 +00:00
Måns Rullgård
20e0ed95af configure: fix $nm
Originally committed as revision 16104 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 15:45:03 +00:00
Reimar Döffinger
89641463a1 Allow setting a different nm binary from the configure line.
Originally committed as revision 16102 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 15:13:24 +00:00
Diego Biurrun
de3a124064 Make mips64 a separate arch with fast_64bit.
Originally committed as revision 16101 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 14:29:53 +00:00
Diego Biurrun
6ede266e36 Add mips64 to the architecture list.
Taken from the OpenBSD ports tree.

Originally committed as revision 16095 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 11:35:59 +00:00
Diego Biurrun
61597a981f Add alternative names for sh4 and parisc architectures.
Taken from the OpenBSD ports tree.

Originally committed as revision 16094 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 11:35:08 +00:00
Reimar Döffinger
d88f7df899 Remove OpenBSD SLIBNAME magic, it seems unnecessary and breaks compilation.
Originally committed as revision 16087 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 08:53:31 +00:00
Reimar Döffinger
960004329b Also include sys/types.h when testing for socklen_t, since unfortunately
OpenBSD 4.4 defines it there (and sys/socket.h does not compile without
it).

Originally committed as revision 16084 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-12 22:43:25 +00:00
Måns Rullgård
9377b6ce19 configure: clean up .align detection
Originally committed as revision 16083 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-12 17:17:41 +00:00
Ramiro Polla
bc4b722143 mingw: update w32api to 3.13
Originally committed as revision 16029 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-07 05:17:57 +00:00
Ramiro Polla
a4fa192c81 configure: vertical alignment cosmetics.
Originally committed as revision 15958 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-30 00:20:19 +00:00
Ramiro Polla
632948bd5a configure: Use check_lib2 for bzlib.
Functions are exported as WINAPI in win32, so it is not picked up by check_lib.

Originally committed as revision 15957 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-30 00:19:16 +00:00
Diego Biurrun
e8ed9b7a73 Automatically check the dependencies for the AAN DCT tables.
This also makes the AAN DCT tables individually selectable.

Originally committed as revision 15940 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-26 15:07:03 +00:00
Måns Rullgård
a7ada2bade configure: set TARGET_EXEC and TARGET_PATH
TARGET_EXEC specifies a command to execute cross-compiled binaries,
e.g. through a remote shell or an emulator.

TARGET_PATH specifies the path to the build directory on the target,
e.g. mounted over NFS.

Originally committed as revision 15913 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-23 12:36:38 +00:00
Måns Rullgård
9da6609f2d configure: set HOSTCC to native compiler
The HOSTCC value defaults to the value of CC if not cross-compiling.
If cross-compiling, HOSTCC defaults to "gcc".

HOSTCFLAGS, HOSTLDFLAGS, and HOSTLIBS are also given sensible default
values.

Originally committed as revision 15912 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-23 12:36:34 +00:00
Måns Rullgård
88268e944a configure: simplify set_default function
Originally committed as revision 15911 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-23 12:36:31 +00:00
Diego Biurrun
40b509b36b Add a Makefile variable for the old scaler that gets enabled when the new
scaler is disabled to get rid of a Makefile ifdef.

Originally committed as revision 15867 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-17 22:51:59 +00:00
Diego Biurrun
4927630728 Add missing options to the help output.
Originally committed as revision 15862 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-17 16:33:24 +00:00
Diego Biurrun
4f50c3d59a cosmetics: Move some options to more sensible places within the help output.
Originally committed as revision 15861 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-17 16:31:50 +00:00
Diego Biurrun
1f26f59fe1 Move zlib/bzlib options to the external library section of the help output and
mention the enable variant of the option since they are disabled by default.

Originally committed as revision 15860 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-17 16:30:31 +00:00
Diego Biurrun
0a23c0bbdb spelling and wording cosmetics for the help output
Originally committed as revision 15859 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-17 16:22:49 +00:00
Charles Yates
b0dfd108fc Take build_suffix into account in pkg-config files.
patch by Charles Yates, charles.yates gmail com

Originally committed as revision 15858 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-17 16:12:30 +00:00
Diego Biurrun
e6b9d588c1 Print just [no] or [yes] in the help output instead of [default=no/yes].
Originally committed as revision 15857 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-17 15:45:55 +00:00
Stefano Sabatini
2bfecf733b Make the library names for the require checks more explicit.
Originally committed as revision 15845 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-16 12:03:00 +00:00
Stefano Sabatini
a85de417db Add checks on the _mingw.h and w32api.h versions.
Based on a patch by Ramiro.

Originally committed as revision 15793 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-08 11:04:56 +00:00
Dominik Mierzejewski
34b37f86ec Enable CMOV usage on x86_64 arch. All x86_64 CPUs have it.
Originally committed as revision 15763 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-01 17:57:43 +00:00
Baptiste Coudurier
bee2eac594 svq3 decoder may need zlib
Originally committed as revision 15722 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-27 00:12:09 +00:00
Aurelien Jacobs
2eef7c6259 enable zlib and bzlib only when useful
Originally committed as revision 15710 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-25 18:36:36 +00:00
Måns Rullgård
4f03499329 Add CONFIG_GOLOMB and auto-select when needed
Originally committed as revision 15706 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-25 13:51:47 +00:00
Måns Rullgård
47a158cb8b Auto-enable CONFIG_MDCT when needed
Originally committed as revision 15705 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-25 13:51:43 +00:00
Måns Rullgård
1091c959b1 AC3 encoder doesn't need FFT
Originally committed as revision 15704 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-25 13:51:39 +00:00
Diego Biurrun
a79d1aed48 Move declaration of mlp decoder dependency on mlp parser to the Makefile
where all other such dependencies are declared.

Originally committed as revision 15696 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-25 01:21:43 +00:00
Måns Rullgård
b6bb00b07d Build MMX/SSE FFT only if CONFIG_FFT is set
Originally committed as revision 15692 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-24 23:18:21 +00:00
Måns Rullgård
3c69e5d3de DCA decoder needs FFT
Originally committed as revision 15691 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-24 23:18:16 +00:00
Måns Rullgård
c510c7b5d9 configure: add foo_suggest facility
This is like foo_select, except the selected options being disabled
does not disable foo.

Originally committed as revision 15690 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-24 23:18:12 +00:00
Måns Rullgård
72a436687c configure: add enable_weak and disable_weak
These functions enable/disable their options if these are unset,
leaving their old values otherwise.

Originally committed as revision 15689 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-24 23:18:08 +00:00
Måns Rullgård
f9d328da8f configure: allow recursive foo_select options
Originally committed as revision 15688 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-24 23:18:04 +00:00
Måns Rullgård
1848f7d9f9 Auto-enable CONFIG_FFT for codecs that need it
Originally committed as revision 15686 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-24 21:44:54 +00:00
Måns Rullgård
6a702d4c7d configure: cosmetics
Originally committed as revision 15685 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-24 21:44:49 +00:00
Måns Rullgård
7ef3425f0a configure: add foo_select facility
If an option 'foo' is enabled, all options listed in foo_select
are automatically enabled, unless explicitly disabled.  In the
latter case, foo is also disabled.

Originally committed as revision 15684 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-24 21:44:45 +00:00
Måns Rullgård
f7b230a761 configure: fix disabled_any to return false for empty list
Originally committed as revision 15683 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-24 21:44:39 +00:00
David Conrad
ae14f311f8 Speex decoding via libspeex
Originally committed as revision 15676 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-24 06:29:05 +00:00
Diego Biurrun
e3cc7d6fef cosmetics: Leave out quotes from libdirac pkg-config call for consistency.
Originally committed as revision 15664 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-22 05:28:18 +00:00
Måns Rullgård
0223bd6f52 ARM: allow --cpu=armvN in configure
Originally committed as revision 15659 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-21 01:01:55 +00:00
Måns Rullgård
ec0bd3b93a Allow target name on every line in dependency postprocessing
Some compilers output a new rule for each dependency.  We must prefix
each one with the directory name.

Originally committed as revision 15658 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-21 00:57:23 +00:00
Måns Rullgård
13c7df3dc0 Do not add $cross_prefix to compiler name given with --cc option
Originally committed as revision 15657 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-21 00:57:20 +00:00
Måns Rullgård
884a36a78b configure: fix handling of option arguments containing = sign
Originally committed as revision 15656 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-21 00:57:17 +00:00
Måns Rullgård
57f0ec6eee fix configure with libx264 disabled
Originally committed as revision 15647 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-19 11:44:44 +00:00
Stefano Sabatini
7c19b88f30 Remove the ugly and unnecessary require_cpp_condition() function.
Originally committed as revision 15646 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-19 11:07:45 +00:00
Stefano Sabatini
cc181b41d2 Make more clear the error message for the libx264 version check.
Originally committed as revision 15645 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-19 11:05:03 +00:00
Diego Biurrun
36718e51e9 cosmetics: Save some backslashes.
Originally committed as revision 15638 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-18 20:01:48 +00:00
Diego Biurrun
75083a884f Remove -fasm CFLAGS check, it is no longer needed.
Originally committed as revision 15629 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-16 15:24:34 +00:00
Diego Biurrun
0d7dca3669 Update DEPEND_CMD comment to better explain why we postprocess gcc output.
Originally committed as revision 15628 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-16 15:23:55 +00:00
Diego Pettenò
be449fca79 Convert asm keyword into __asm__.
Neither the asm() nor the __asm__() keyword is part of the C99
standard, but while GCC accepts the former in C89 syntax, it is not
accepted in C99 unless GNU extensions are turned on (with -fasm). The
latter form is accepted in any syntax as an extension (without
requiring further command-line options).

Sun Studio C99 compiler also does not accept asm() while accepting
__asm__(), albeit reporting warnings that it's not valid C99 syntax.

Originally committed as revision 15627 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-16 13:34:09 +00:00
Måns Rullgård
f2e49553de Enable FAST_UNALIGNED on ARM variants that support it
Originally committed as revision 15609 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-12 23:10:48 +00:00
Måns Rullgård
aa8bc0f10f Enable FAST_UNALIGNED on PPC
Originally committed as revision 15608 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-12 23:10:45 +00:00
Måns Rullgård
53bd9d923a Revert "Replace sed trickery in the gcc dependency generation command"
This made dependencies entirely non-functional, and also the syntax is
not supported by gcc 2.95.

Originally committed as revision 15607 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-12 22:52:42 +00:00
Måns Rullgård
5eb39de901 configure: simplify PPC dcbzl check
Originally committed as revision 15606 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-12 21:15:59 +00:00
Carl Eugen Hoyos
89493e10ef Don't include byteswap.h anymore.
Originally committed as revision 15603 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-12 19:50:24 +00:00
Diego Biurrun
3a2bcaed7c Replace sed trickery in the gcc dependency generation command by use of
the -MT option as suggested by Ramiro.

Originally committed as revision 15601 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-12 17:31:25 +00:00
Stefano Sabatini
ca9acf9767 Fix inconsistent indent.
Originally committed as revision 15600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-12 16:35:58 +00:00
Diego Biurrun
79ab96bafd Revert the merger of LC_ALL declaration and export.
This part of the configure script might be run by non-POSIX shells.

Originally committed as revision 15599 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-12 15:56:22 +00:00
Stefano Sabatini
15fe16f4a4 Check requirement for libx264 version in configure using
require_cpp_condition().

Originally committed as revision 15598 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-12 09:19:33 +00:00
Stefano Sabatini
a5344cf7ec Implement CPP condition check support in configure.
Originally committed as revision 15597 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-12 09:07:14 +00:00
Ramiro Polla
bc574408dc Only special-case absolute DOS paths on systems that support them.
Originally committed as revision 15594 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-10 16:59:37 +00:00
Stefano Sabatini
60e8bc13a9 Make configure --help return 0.
Originally committed as revision 15593 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-09 20:10:22 +00:00
Stefano Sabatini
1865259fea Document libavfilter filters options in configure -h.
Originally committed as revision 15592 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-09 19:16:58 +00:00
Diego Biurrun
d8d12c1594 Remove obsolete liba52 wrapper code.
Originally committed as revision 15571 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-06 05:17:57 +00:00
Diego Biurrun
460a4fb99d Merge variable declaration and export.
Originally committed as revision 15554 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-04 17:11:54 +00:00
Diego Pettenò
0c45cd0720 Stop Sun Studio from issuing a warning during configure when passed
the --version option.
patch by Diego 'Flameeyes' Pettenò, flameeyes gmail com

Originally committed as revision 15532 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-03 00:19:05 +00:00
Diego Biurrun
949906ea6d Update copyright years.
Originally committed as revision 15512 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-02 15:44:59 +00:00
Diego Biurrun
31e647f8a2 Globally set LC_ALL=C to prevent locale issues from breaking tests.
Originally committed as revision 15511 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-02 15:44:24 +00:00
Diego Pettenò
1d44d365ac fix -uninstalled.pc includedir for out-of-tree builds
patch by Diego 'Flameeyes' Pettenò  flameeyes _at_ gmail

Originally committed as revision 15458 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-28 23:29:23 +00:00
Diego Biurrun
ac63af34b5 Add support for passing a version string to configure that is appended to
FFmpeg's version string output. This can be used by distributions to mark
their packages as being modified versions without hacking the sources.

Originally committed as revision 15433 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-26 21:37:50 +00:00
Diego Biurrun
295b8c7025 whitespace cosmetics
Originally committed as revision 15429 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-26 19:35:17 +00:00
Diego Biurrun
b6bd726843 Add MIPS to list of architectures requiring PIC flags.
Prior to gcc version 4.3 PIC was the default, now it needs to be enabled
explicitly. Passing the flag to older gcc versions does not hurt.

Originally committed as revision 15392 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-23 11:10:38 +00:00
Brad
1b6e8b734c V4L2 support for OpenBSD, patch by Brad, brad comstyle com
Originally committed as revision 15376 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-21 22:47:52 +00:00
Diego Biurrun
2446d3d684 Rename check_func2 to check_func_headers.
Originally committed as revision 15372 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-20 16:17:27 +00:00
Justin Ruggles
406ab5cc97 add a separate line in Makefile for E-AC-3 decoder and only compile it when
GPL is enabled. fixes building without GPL or with liba52.

Originally committed as revision 15151 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-02 04:04:26 +00:00
David Conrad
1b0f6fb830 Use correct asm object type and necessary -DPIC for yasm on 64-bit Darwin
Thread: [FFmpeg-devel] fft_mmx.asm yasm 64bit build broken
Patch by 'D' (lessen42 gmail com)

Originally committed as revision 14791 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-16 17:18:23 +00:00
Michael Niedermayer
e9b9a2f86f Add -fasm and -std=c99 when supported.
Originally committed as revision 14769 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-14 23:38:09 +00:00
Diego Biurrun
bf6ce82d81 Check for sys/select.h and poll.h unconditionally, not just if ffserver
is enabled. The headers are used throughout the code.

Originally committed as revision 14755 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-14 14:03:32 +00:00
Michael Niedermayer
11a9d3e853 Add -D_POSIX_C_SOURCE=200112 to cflags.
Originally committed as revision 14754 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-14 11:40:14 +00:00
Michael Niedermayer
aca36b287d Remove unneeded whitespace and quotes from -D_ISOC99_SOURCE.
Originally committed as revision 14745 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-14 00:07:00 +00:00
Michael Niedermayer
da0def34ec Change _ISOC9X_SOURCE to _ISOC99_SOURCE.
Originally committed as revision 14739 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-13 23:01:48 +00:00
Michael Niedermayer
ad1d871021 Move -D_ISOC9X_SOURCE to configure so its available to all tests.
Originally committed as revision 14729 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-13 18:17:26 +00:00
Carl Eugen Hoyos
af44e8e488 Show result of yasm test.
Originally committed as revision 14726 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-13 15:03:57 +00:00
Loren Merritt
304d586de6 yasm buildsystem
Originally committed as revision 14696 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-11 23:53:31 +00:00
Diego Biurrun
dcd6128670 Explain the difference between HAVE_LIST and CONFIG_LIST in a short comment.
Originally committed as revision 14499 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-01 20:30:21 +00:00
Diego Biurrun
668b65bd83 Only check for socklen_t if network support is enabled.
Originally committed as revision 14498 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-01 18:27:59 +00:00
Diego Biurrun
80a61f08d2 Remove AltiVec vector declaration compiler compatibility macros.
The original problem was that FSF and Apple gcc used a different syntax
for vector declarations, i.e. {} vs. (). Nowadays Apple gcc versions support
the standard {} syntax and versions that support {} are available on all
relevant Mac OS X versions. Thus the greater compatibility is no longer
worth cluttering the code with macros.

Originally committed as revision 14366 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-24 10:53:32 +00:00
Stefano Sabatini
b7d49373d2 Make configure --help document the --enable-debug option.
Originally committed as revision 14330 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-21 21:32:46 +00:00
Diego Biurrun
9c56a1f9f4 Move --disable-debug to a better place within configure help output.
Originally committed as revision 14327 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-21 20:40:25 +00:00
Diego Biurrun
8351d2ba75 Replace LDLATEFLAGS hackery by proper LDFLAGS tests.
The original reasons for LDLATEFLAGS are lost in the mists of time.

Originally committed as revision 14263 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-17 16:28:48 +00:00
Måns Rullgård
de0e19cc38 ARM: disable use of system byteswap.h
Our bswap functions are better than those in glibc, which has
no ARM-optimised versions.

Originally committed as revision 14241 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-15 19:06:09 +00:00
Diego Biurrun
e70f1a2067 Add parisc* to the list of architectures requiring PIC flags for shared libs.
Originally committed as revision 14200 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-13 12:40:11 +00:00
Måns Rullgård
1b71f04586 configure: simplify negative dependencies
Originally committed as revision 14195 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-12 20:55:07 +00:00
Måns Rullgård
3250003c79 configure: allow !foo as argument to enabled/disabled and *_deps lists
Originally committed as revision 14194 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-12 20:55:04 +00:00
Måns Rullgård
18c640054c regenerate dependencies when building object files
Originally committed as revision 14143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-09 19:09:50 +00:00
Diego Biurrun
d921f03fcc Add FFMPEG_CONFIGURATION to config.mak as well, it sometimes helps debugging.
Originally committed as revision 14130 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-08 17:33:16 +00:00
Aurelien Jacobs
46d1ff8382 correct path in *-uninstalled.pc
Originally committed as revision 14105 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-07 23:28:32 +00:00
Ramiro Polla
b517af05b9 MLP/TrueHD decoder.
Originally committed as revision 14067 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-04 15:44:13 +00:00
Ben Taylor
40617a6d05 Check for support of -fomit-frame-pointer before adding it to CFLAGS.
patch by Ben Taylor, bentaylor.solx86 gmail com

Originally committed as revision 13966 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-25 15:41:36 +00:00
Diego Biurrun
f0418fec69 Each dependency file needs to be updated when one of the files the
corresponding object file depends on is changed.

Originally committed as revision 13965 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-25 15:36:46 +00:00
Måns Rullgård
edc724b8b8 fix dependency generation
Originally committed as revision 13820 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-19 18:40:04 +00:00
Måns Rullgård
9e6165b53e enable version.h to be created from subdirs
Originally committed as revision 13819 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-19 16:57:38 +00:00
Diego Biurrun
25cd5cb33c Generate pkg-config files in each library subdirectory so that they do
not clutter the root of the source tree.

Originally committed as revision 13780 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-16 18:01:55 +00:00
Diego Biurrun
fbd971a444 Fix typo in the names of variables assigned to OS-specific path variables.
Originally committed as revision 13717 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-08 21:34:19 +00:00
Diego Biurrun
9473993bf0 Add -Wl,-rpath-link flags for all libraries to LDLATEFLAGS.
inspired by a patch from Debian

Originally committed as revision 13671 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-06 15:19:09 +00:00
Måns Rullgård
6b18d2780e check for ARM NEON assembler support
Originally committed as revision 13667 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-05 19:51:15 +00:00
Måns Rullgård
265de66542 accept --cpu=cortex*
Originally committed as revision 13666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-05 19:51:13 +00:00
Måns Rullgård
c9d1924884 improve installation path selection
Originally committed as revision 13638 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 23:51:36 +00:00
Diego Biurrun
426be5dc83 cosmetics: Split all path variables into their own list.
Originally committed as revision 13637 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 23:47:33 +00:00
Diego Biurrun
3ed1a2ee88 cosmetics: Remove useless backslashes.
Originally committed as revision 13556 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 11:07:01 +00:00
Diego Biurrun
b006b26c83 Implement a proper configure test for AltiVec vector declaration syntax.
Originally committed as revision 13555 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 10:58:48 +00:00
Diego Biurrun
81a5cdde80 Simplify altivec.h test.
Originally committed as revision 13554 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 10:12:56 +00:00
Diego Biurrun
de3e16ee14 10l: Add useless backslashes in AltiVec CFLAGS test.
Originally committed as revision 13553 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 10:11:50 +00:00
Diego Biurrun
1489db821c Some (Solaris) gcc versions apparently output a comment as first line
when generating dependencies. Make sure to remove this in DEPEND_CMD.
extracted in a modified form from a gstreamer patch for FFmpeg

Originally committed as revision 13530 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-29 11:57:11 +00:00
Anssi Hannula
5dcfe9f898 When shared libraries are built, make the pkg-config requires Requires.private.
patch by Anssi Hannula, anssi.hannula gmail com

Originally committed as revision 13528 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-29 09:58:33 +00:00
Anssi Hannula
12701f6e31 Define private libraries as 'Libs:' when only static libraries are built,
so that they work correctly even without pkgconfig's --static option.
patch by Anssi Hannula, anssi.hannula gmail com

Originally committed as revision 13514 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 23:54:04 +00:00
Diego Biurrun
d156bede0b Add command line option to set the value of bindir.
Originally committed as revision 13490 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 09:37:01 +00:00
Diego Biurrun
aa7205bcf1 Remove unused variable 'prefix' from config.mak.
Originally committed as revision 13480 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-27 23:08:39 +00:00
Diego Biurrun
d6bd62db95 Call x264 and Xvid libx264 and libxvid in the configure output for consistency.
Originally committed as revision 13466 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-27 12:37:06 +00:00
Diego Biurrun
842eabc5f9 cosmetics: XviD is now called Xvid.
Originally committed as revision 13465 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-27 12:32:59 +00:00
Måns Rullgård
0147b92ea5 Revert "Add version information to DLLs."
Revert "Forgot to commit changes to subdir.mak in last revision."

Originally committed as revision 13426 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 06:34:57 +00:00
Jeremy Kolb
3f28da61de Add version information to DLLs.
Patch by Jeremy Kolb.

Originally committed as revision 13379 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 14:09:56 +00:00
Jeremy Kolb
ba321adb94 Store license value in a variable for later use.
patch by Jeremy Kolb, jkolb wsi com

Originally committed as revision 13183 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-16 16:12:55 +00:00
Måns Rullgård
bcea99bb44 set $logfile before use
Originally committed as revision 13178 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-15 23:34:43 +00:00
Aurelien Jacobs
e8214e0e48 cosmetics: alignment
Originally committed as revision 13176 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-15 23:11:11 +00:00
Aurelien Jacobs
f402916e4a Add a check for bzlib; used in the Matroska demuxer.
Originally committed as revision 13175 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-15 23:09:34 +00:00
Diego Biurrun
2270b4b2da cosmetics: Add whitespace around redirection operators.
Originally committed as revision 13158 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-15 11:37:29 +00:00
Måns Rullgård
e4e69e0b8b set temporary filenames before using them
Originally committed as revision 13148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-13 17:25:04 +00:00
Ramiro Polla
dcc01c0665 Add more support for Win64:
- Export .lib files for x64 instead of i386;
- Win64's malloc returns 16-byte aligned blocks.

Originally committed as revision 13147 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-13 16:37:32 +00:00
Ramiro Polla
b24dbcbdd6 Move arch check before OS check.
Originally committed as revision 13146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-13 16:32:51 +00:00
JonY
0eeb52f9e9 Use pkg-config for libschroedinger libs, not only for CFLAGS.
patch by JonY, 10walls gmail com

Originally committed as revision 13141 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-13 08:27:19 +00:00
Ramiro Polla
4c25d159b1 Also install .lib files with versioned filename.
Originally committed as revision 13138 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-12 16:39:05 +00:00
JonY
d59868d86a Create .lib files in the subdirs.
Patch by JonY <10walls at gmail dot com>

Originally committed as revision 13137 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-12 16:28:41 +00:00
Carl Eugen Hoyos
907eb3b526 Allow icc to compile with optimizations (pentium3, pentium4 or core2).
Originally committed as revision 13119 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-11 17:46:55 +00:00
Carl Eugen Hoyos
504a64b95d Silence useless icc warnings.
Originally committed as revision 13118 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-11 13:08:18 +00:00
Ramiro Polla
b091aa44b7 Check for sys/resource.h and include it conditionally.
Originally committed as revision 13075 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-08 00:44:42 +00:00
Anuradha Suraparaju
3f89d9c000 Disable libdirac decoder if the faster libschroedinger decoder is available.
patch by Anuradha Suraparaju, anuradha rd.bbc.co uk

Originally committed as revision 13074 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-08 00:20:00 +00:00
Matthieu Castet
2f05d9c1ee When compiling with -fmudflap configure fill EXTERN_PREFIX with garbage
(some mudflap symbol), so just pick out ff_extern symbols in this case.
patch by matthieu castet, castet.matthieu free fr

Originally committed as revision 13072 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-07 08:36:23 +00:00
Anssi Hannula
7a30f8ff55 In pkg-config files, libraries not exposed through the library, but just needed
during static linking should be listed under Libs.private, not Libs.
patch by Anssi Hannula, anssi.hannula gmail com

Originally committed as revision 13067 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-06 08:21:06 +00:00
Diego Biurrun
35a71f1d9f cosmetics: whitespace/order changes, if/then --> && in pkg-config section
Originally committed as revision 13065 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-05 23:31:42 +00:00
Diego Biurrun
a13a97376a Merge both pkg-config creation commands into one.
Originally committed as revision 13064 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-05 23:27:30 +00:00
Diego Biurrun
e426941d68 In the pkg-config file generation, derive the short name from the library
name instead of passing it as a parameter.

Originally committed as revision 13063 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-05 23:18:15 +00:00
Diego Biurrun
5aadcab597 Remove stray extra parameter from libavutil pkg-config command.
Originally committed as revision 13062 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-05 22:29:01 +00:00
Ramiro Polla
adb2b90890 Fix configure for cross-compilation and --arch=amd64.
Originally committed as revision 13058 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-04 17:15:11 +00:00
Anuradha Suraparaju
f7cd9eed5d Add Dirac support through libschroedinger.
patch by Anuradha Suraparaju, anuradha rd.bbc.co uk

Originally committed as revision 13046 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-03 13:59:45 +00:00
Anuradha Suraparaju
690bfceb20 Dirac decoding/encoding support via libdirac.
patch by Anuradha Suraparaju, anuradha rd.bbc.co uk

Originally committed as revision 13042 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-03 03:47:26 +00:00
Luca Barbato
17ac9f1c38 Import Dirac demuxer/muxer from SoC branch; written by Marco Gerards,
patch extracted by Anuradha Suraparaju anuradhaAtrdDoTbbcDoTcoDoTuk.

Originally committed as revision 13031 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-02 14:52:39 +00:00
Alexander Strange
f946a9a431 Use check_cflags for -mdynamic-no-pic so third-party compilers will work on Darwin.
Originally committed as revision 13007 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-27 16:12:24 +00:00
Måns Rullgård
7622778ed7 Revert "Adjust pkg-config files to include files residing in separate subdirectories."
Originally committed as revision 12947 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-25 07:56:15 +00:00
Diego Biurrun
5cd505e01f Adjust pkg-config files to include files residing in separate subdirectories.
Originally committed as revision 12939 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-24 14:32:14 +00:00
Gianluigi Tiesi
8d94f6065b Support shared pthreads-win32.
Patch by Gianluigi Tiesi <mplayer at netfarm.it>

Originally committed as revision 12933 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-24 02:03:07 +00:00
Måns Rullgård
f55b299ae6 check for ARM VFP support
Originally committed as revision 12911 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-20 16:14:06 +00:00
Diego Biurrun
de9c6ddd39 Set correct value for includedir in pkg-config files.
Originally committed as revision 12865 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-16 21:48:03 +00:00
Anssi Hannula
f2b7382cd3 Set correct value for libdir in pkg-config files.
patch by Anssi Hannula, anssi.hannula gmail com

Originally committed as revision 12864 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-16 21:46:34 +00:00
Måns Rullgård
49e37ca9bd remove unused MAKE variable
Originally committed as revision 12786 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-10 20:00:21 +00:00
Måns Rullgård
9987769a8b correct soname for vhooks
Originally committed as revision 12785 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-10 19:44:29 +00:00
Måns Rullgård
caec74dd65 generate separate dependency files per object file
Originally committed as revision 12775 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-09 20:48:17 +00:00
Måns Rullgård
71c61f62a3 non-recursive makefiles
Originally committed as revision 12760 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-07 21:16:31 +00:00
Måns Rullgård
9006f5d0b1 replace some $@ with $(SLIBNAME_WITH_MAJOR) in SHFLAGS
Originally committed as revision 12680 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-03 22:29:23 +00:00
Diego Biurrun
cea0ac526e cosmetics: alphabetical order for temporary filenames
Originally committed as revision 12651 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-31 14:07:25 +00:00
Diego Biurrun
edd08265fc Use a different filename that ends in .sh for temporary shell scripts.
Apparently some Windows command interpreters have trouble executing
shell scripts with an .exe suffix.
inspired by a patch from Axel Holzinger, aholzinger gmx de

Originally committed as revision 12650 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-31 14:05:58 +00:00
Diego Biurrun
c23a0ac8da cosmetics: Write some trivial C test programs in a more compact form.
Originally committed as revision 12641 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-30 22:23:52 +00:00
Diego Biurrun
fbef871dad Make MMX2 depend on MMX.
Originally committed as revision 12640 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-30 21:39:26 +00:00
İsmail Dönmez
38a05ab6ef Replace hackish CFLAGS 64 bit test by a proper compilation check.
patch by İsmail Dönmez, ismail namtrac org

Originally committed as revision 12620 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-28 11:53:37 +00:00
Diego Biurrun
e9c192562f Move CPU detection code after OS-specific settings and logging system
initialization so that we can use compilation checks inside it.

Originally committed as revision 12602 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-27 11:33:21 +00:00
Måns Rullgård
26759c4480 combine setting of various configure command line options
Originally committed as revision 12592 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-25 22:51:43 +00:00
Måns Rullgård
3e89171a86 Rename configure variable PREFIX to prefix
Originally committed as revision 12591 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-25 22:49:54 +00:00
Måns Rullgård
ce8871c22c Rename configure variable BUILDSUF to build_suffix
The make variable of the same name remains unchanged.

Originally committed as revision 12590 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-25 22:49:51 +00:00
Diego Biurrun
a815037409 Classify mlib as a configurable option, not as a hardware feature.
Originally committed as revision 12589 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-25 21:30:16 +00:00
Diego Biurrun
5ce265a1de Rename --enable-sunmlib option to --enable-mlib.
Allows handling the option in a more standard way.

Originally committed as revision 12588 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-25 15:24:41 +00:00
Diego Biurrun
4f854758f7 cosmetics: Rename targetos variable to target_os.
Originally committed as revision 12587 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-25 15:17:47 +00:00
Diego Biurrun
db6107b68f Rename --cross-compile option to --enable-cross-compile.
Allows handling the option in a more standard fashion.

Originally committed as revision 12586 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-25 15:16:02 +00:00
Diego Biurrun
e155a21ad7 Invert logging variable logic so that it works without setting a default.
Originally committed as revision 12585 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-25 15:10:26 +00:00
Diego Biurrun
f2310b793d --log=no is now --disable-logging.
Originally committed as revision 12584 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-25 15:08:14 +00:00
Diego Biurrun
530dc5387d cosmetics: alphabetical order
Originally committed as revision 12583 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-25 15:04:42 +00:00
Diego Biurrun
87a0fb627b Rename --disable-strip option to --disable-stripping. This allows
handling this option in a more standard way.

Originally committed as revision 12582 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-25 15:00:57 +00:00
Diego Biurrun
cb6b4c98d2 cosmetics: indentation
Originally committed as revision 12578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-25 09:54:38 +00:00
Diego Biurrun
8c6afa4dae Introduce --disable-logging option to control logging. --logfile now just
controls the name of the log file, not the decision whether or not to log.

Originally committed as revision 12577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-25 09:53:49 +00:00
Diego Biurrun
a77705e2b6 Rename --log option to --logfile.
Originally committed as revision 12576 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-25 09:51:59 +00:00
Diego Biurrun
d314ea4e40 Remove ineffectual --log option.
Originally committed as revision 12575 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-25 09:33:26 +00:00
Diego Biurrun
399d31cce8 Add OS-specific executable suffix to temporary executable name.
Originally committed as revision 12574 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-25 09:24:55 +00:00
Diego Biurrun
0f53b19228 Move declaration of temporary filenames after the OS-specific settings
so that things like executable suffix can be picked up.

Originally committed as revision 12573 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-25 09:22:03 +00:00
Matthieu Castet
b4e806b2b9 pld instruction are used in libavcodec/armv4l/dsputil_arm_s.S which can be used
on armv4 that doesn't support this instruction. Futhermore pld is a nop on some
armv5 processor like arm926. Detect if pld is supported and have the
preprocessor remove it when it's not supported.
Fixes issue 393.
patch by matthieu castet, castet.matthieu free fr

Originally committed as revision 12569 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-24 11:49:59 +00:00
Diego Biurrun
5341d85601 Include files are now installed in $PREFIX/include.
Originally committed as revision 12550 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-22 13:19:23 +00:00
Panagiotis Issaris
064df5a9f6 Show the "--disable-mmx2" and "--disable-ssse3" options when using "./configure
--help".

Originally committed as revision 12535 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-21 11:05:46 +00:00
Dave Yeo
287d3b1336 Create object files in a.out (aout-emx) format on OS/2. This works around
needed system tools like nm not understanding the OMF object format.
patch by Dave Yeo, daveryeo telus net

Originally committed as revision 12523 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-20 19:26:24 +00:00
Alexander Strange
b58412f106 Check for sys/mman.h and set appropriate definitions.
patch by Alexander Strange, astrange ithinksw com

Originally committed as revision 12503 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-19 10:11:16 +00:00
Alexander Strange
d7f0920bd7 Check for and set HAVE_MMX2, it is used in several places.
patch by Alexander Strange, astrange ithinksw com

Originally committed as revision 12487 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-18 12:32:55 +00:00
Michael Kostylev
503d5b585f fix extern prefix detection when cross compiling.
Patch by Michael Kostylev: mik niipt ru

Originally committed as revision 12486 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-18 12:08:37 +00:00
Måns Rullgård
2081f3c619 fix extern prefix detection on mingw
Originally committed as revision 12485 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-18 09:36:29 +00:00
Måns Rullgård
b4d96ba2a8 check for prefix on extern symbols in configure
Originally committed as revision 12484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-18 02:01:20 +00:00
Diego Biurrun
6fce759141 Fix previously broken x86_64 check, simplifying it in the process.
Originally committed as revision 12475 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-17 09:43:32 +00:00
Diego Biurrun
3dddba4b5d Fix previously broken xlc checks, simplifying them in the process.
Originally committed as revision 12474 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-17 09:40:42 +00:00
Diego Biurrun
78fe7631f8 Drop unnecessary subshell invocation from BEINCLUDES check.
Originally committed as revision 12473 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-17 09:36:44 +00:00
Diego Biurrun
7edd384f1d Add -q to grep invocation where appropriate.
Originally committed as revision 12469 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-17 09:20:42 +00:00
Diego Biurrun
abe39c0f31 Escape \1 and \2 in sed expressions written to config.mak to avoid mangling.
Originally committed as revision 12462 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-16 15:51:47 +00:00
Diego Biurrun
08c4e395d2 Return of the living typo II: VHOOKDEPEND_CMD --> VHOOK_DEPEND_CMD
Originally committed as revision 12461 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-16 15:27:18 +00:00
Diego Biurrun
6a5b97732e 10l: Fix stupid typo, VHOOKDEPEND_CMD --> VHOOK_DEPEND_CMD.
Originally committed as revision 12456 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-16 11:24:22 +00:00
Måns Rullgård
14f3ce3615 fix DEPEND_CMD for out of tree builds
Originally committed as revision 12454 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-15 19:24:08 +00:00
Diego Biurrun
4477b9f424 Properly check for AltiVec CFLAGS instead of guessing based on compiler vendor.
Originally committed as revision 12448 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-15 15:54:20 +00:00
Diego Biurrun
5dff04fc51 Only check for altivec.h when not using Apple gcc and not adding -faltivec to
CFLAGS. This avoids a couple of warnings of the type
'#warning: Ignoring <altivec.h> because "-faltivec" specified'.

Originally committed as revision 12445 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-15 09:47:49 +00:00
Diego Biurrun
0870c7674a cosmetics: Reformat Apple cc check.
Originally committed as revision 12444 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-15 09:45:06 +00:00
Måns Rullgård
d04d9e167e new attempt at portable endian test
Originally committed as revision 12437 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-13 23:28:57 +00:00
Måns Rullgård
ccae51d5b9 hopefully portable endian test
Originally committed as revision 12436 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-13 22:46:34 +00:00
Diego Biurrun
315c741d3d Move dependency generation commands into configure.
This will allow specifying gcc-independent commands in the future.

Originally committed as revision 12426 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-12 23:30:35 +00:00
Alexander Strange
8b83d56893 Fix configure to properly build without PIC by default on Darwin
Patch by Alexander Strange (astrange ithinksw com)

Originally committed as revision 12425 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-12 23:15:57 +00:00
Diego Biurrun
0138c54ec6 Use proper library versions instead of SPPVERSION in Darwin SHFLAGS.
Originally committed as revision 12423 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-12 19:27:24 +00:00
Diego Biurrun
b7860763ca Clarify comment.
Originally committed as revision 12419 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-10 22:59:05 +00:00
Diego Biurrun
13ca50f367 Rename --enable-swscaler --> enable-swscale to be consistent with the
directory name and other option names. Also rename variables accordingly.

Originally committed as revision 12408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-10 17:54:24 +00:00
Ramiro Polla
c234520736 VFW capture support
Originally committed as revision 12384 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-08 22:10:28 +00:00
Diego Biurrun
4a24ab64b1 Rename pp variable to postproc for consistency.
Originally committed as revision 12376 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-08 18:50:38 +00:00
Måns Rullgård
6bd859d67e check for x86 bswap instruction
Originally committed as revision 12375 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-08 18:33:07 +00:00
Måns Rullgård
0e32c8c65a simplify library version handling
Originally committed as revision 12362 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-07 19:27:17 +00:00
Måns Rullgård
e3773a55be simplify processing of some --disable-* options
Originally committed as revision 12342 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-05 19:56:54 +00:00