Commit Graph

1009 Commits

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