Commit Graph

1109 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
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
Aurelien Jacobs
241227d8a8 remove some unneeded artificial dependencies from configure
Originally committed as revision 12334 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-05 14:50:42 +00:00
Måns Rullgård
22f8654776 Fix endian test with grep not handling non-text files
POSIX grep is not required to support non-text files.

Idea by Rich Felker.

Originally committed as revision 12304 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-03 22:01:15 +00:00
Måns Rullgård
932ccf398a remove unnecessary backslashes
Originally committed as revision 12302 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-03 21:48:24 +00:00
Vitor Sessak
81124ba0d1 Fix libavfilter compilation and make it more in line
with the other libav*.

Originally committed as revision 12301 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-03 20:53:15 +00:00
Ramiro Polla
6548ff57c0 Force DOS users to enable memalign hack when needed,
the same way it's done for MinGW.

Originally committed as revision 12299 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-03 17:06:48 +00:00