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