Commit Graph

1031 Commits

Author SHA1 Message Date
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