1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00
Commit Graph

1213 Commits

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