Commit Graph

411 Commits

Author SHA1 Message Date
John Dalgliesh
8156056e05 It's not possible to portably echo a backslash, use printf instead.
patch by John Dalgliesh, johnd **at** defyne **dot** org

Originally committed as revision 6004 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-16 11:31:17 +00:00
Diego Biurrun
d4596ae3b0 Simplify expression by using single quotes and avoiding backslashes.
Originally committed as revision 6003 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-15 22:40:58 +00:00
Diego Biurrun
d7e27559b1 Mac OS X requires running ranlib on static libraries after installation.
Originally committed as revision 6001 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-15 19:30:38 +00:00
John Dalgliesh
4454dc1b6f Support for MacIntel, last part: balign directives
Determines whether .align's arg is power-of-two or not, then defines ASMALIGN appropriately in config.h. Changes all .baligns to ASMALIGNs.
Patch by John Dalgliesh % johnd AH defyne P org %
Original thread:
Date: Aug 11, 2006 8:00 AM
Subject: Re: [Ffmpeg-devel] Mac OS X Intel last part: balign directives

Originally committed as revision 5990 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-12 16:37:31 +00:00
Luca Abeni
790c9ca72a Enable swscale usage in ffmpeg
Originally committed as revision 5959 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-08 18:51:38 +00:00
Diego Biurrun
1066a99540 Shared libraries should go in $PREFIX on MinGW.
Originally committed as revision 5931 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-04 10:33:16 +00:00
Diego Biurrun
a1309f8f61 Shared libraries now go in $(shlibdir), not $(libdir).
Originally committed as revision 5927 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 22:50:54 +00:00
Måns Rullgård
5237ce67eb detect more broken shells
Originally committed as revision 5926 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 22:27:38 +00:00
Måns Rullgård
b3cb5d519f simplify command logging
Originally committed as revision 5925 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 22:27:19 +00:00
Diego Biurrun
dfeb80a5a9 Don't hardcode .dll in the MinGW section, use $SLIBSUF instead.
Originally committed as revision 5922 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 16:34:22 +00:00
Diego Biurrun
5cb854e1c6 Move MinGW special casing for shared lib creation to configure.
Originally committed as revision 5921 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 16:27:30 +00:00
Måns Rullgård
9b4f605ccf checking compiler output was a bad idea, revert to checking exit status
Originally committed as revision 5884 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-01 19:24:14 +00:00
Måns Rullgård
6c9ce82f74 remove libtheora wrapper
Originally committed as revision 5873 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-31 20:56:15 +00:00
Måns Rullgård
98a2582f49 ignore explicit #warnings in compiler tests
Originally committed as revision 5872 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-31 18:58:56 +00:00
Måns Rullgård
b0cfb663c3 can't trust the compiler exit status, check for messages instead
Originally committed as revision 5869 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-31 07:54:48 +00:00
Diego Biurrun
d6a07a130d Set custom SLIBNAME_WITH_MAJOR and SLIBNAME_WITH_VERSION for MinGW.
Originally committed as revision 5860 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-29 22:44:58 +00:00
Diego Biurrun
b2828252a9 Remove redundant TARGET_OS setting.
Originally committed as revision 5833 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-28 00:48:11 +00:00
Graham Booker
abafc9c3f6 Do not add -fomit-frame-pointer to CFLAGS when optimizations are disabled.
patch by Graham Booker, ffmpeglist atat cod3r dotdot com

Originally committed as revision 5832 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-27 22:10:11 +00:00
Diego Biurrun
a94e666cb5 Fix prefix vs PREFIX handling in pkgconfig files.
Originally committed as revision 5828 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-26 00:32:15 +00:00
Diego Biurrun
d4b0cca737 10l: wrong quoting
Originally committed as revision 5823 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-24 15:41:16 +00:00
Diego Biurrun
fc8833a1ad Remove unnecessary darwin variable.
Originally committed as revision 5822 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-24 09:48:09 +00:00
Diego Biurrun
8b3a43cf54 Skip the MMX/SSE and memalign() check when running on OS X/Darwin, *alloc
provides necessary alignment on this platform.
patch by Mino Taoyama and Nigel Pearson

Originally committed as revision 5821 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-24 09:45:13 +00:00
Diego Biurrun
88b6f0faf8 Fix --extra-ldflags when cross-compiling for MinGW.
Originally committed as revision 5818 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-24 00:58:20 +00:00
Diego Biurrun
c536cb09f9 Rename FFSLDFLAGS variable to FFSERVERLDFLAGS to lessen confusion.
Originally committed as revision 5817 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-24 00:52:42 +00:00
Michael Niedermayer
1997a98875 disable libtheora, this change leaves all the libtheora related code in svn for now but just disables it in configure
IMO libtheora support should be completely removed but at least under no circumstances must it disable or override our native decoder by default

Originally committed as revision 5812 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-22 08:10:11 +00:00
Diego Biurrun
6ce704bbed Remove unused variable.
Originally committed as revision 5757 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-15 23:05:44 +00:00
Víctor Paesa
4581fdffac Cygwin shared libraries support, patch by Víctor Paesa wzrlpy at arsystel com.
Originally committed as revision 5756 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-15 23:05:16 +00:00
Diego Biurrun
84c22efdfb Create infrastructure to install shared and static libs into different places.
based on patch by Víctor Paesa wzrlpy at arsystel com

Originally committed as revision 5755 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-15 23:01:52 +00:00
Diego Biurrun
2266e085c9 Fix DESTDIR handling. DESTDIR got prepended twice for $(DESTDIR)$libdir
and similar since $libdir contained $prefix, which contained $(DESTDIR)..

Originally committed as revision 5754 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-15 16:16:49 +00:00
Måns Rullgård
7d6ed4aaf2 set defaults before showing help
Originally committed as revision 5753 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-15 16:12:57 +00:00
Diego Biurrun
3409385da6 Properly handle vhook build flags for platforms that require special handling.
Removes one of the last FIXMEs from the build system.

Originally committed as revision 5745 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-14 16:18:59 +00:00
Diego Biurrun
d14ed1f21b 10l: the ${prefix} variable should not be expanded when setting path defaults.
Originally committed as revision 5742 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-14 11:21:37 +00:00
Diego Biurrun
43865cf092 Simplify the setting of some defaults.
Originally committed as revision 5730 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-13 21:17:20 +00:00
Guillaume Poirier
2645e80f6d Add/improve PPC64 support. On such machines, "uname -m" returns "ppc64,
so recognize them as such.

Originally committed as revision 5728 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-13 14:40:04 +00:00
Måns Rullgård
6636b7e8e3 rename AMR config variables to CONFIG_AMR*
Originally committed as revision 5725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-12 16:49:14 +00:00
Måns Rullgård
8515d1c846 static libvorbis needs -logg
Originally committed as revision 5724 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-12 16:43:07 +00:00
Måns Rullgård
0607887f0d split compile and link in check_ld
based on patch by Graham Booker <ffmpeglist at cod3r com>

Originally committed as revision 5722 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-12 00:33:22 +00:00
Diego Biurrun
2f30a81d19 CONFIG_WIN32 implies MinGW and Cygwin and possibly more, so use just
CONFIG_MINGW or __MINGW32__ instead.

Originally committed as revision 5718 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-11 21:45:45 +00:00
Måns Rullgård
3dc7174e9d simplify list processing
Originally committed as revision 5717 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-11 19:54:59 +00:00
Måns Rullgård
fce53524b9 tidy up option parsing
Originally committed as revision 5716 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-11 19:44:26 +00:00
Måns Rullgård
0cc4f26845 another round of cola, please
Originally committed as revision 5715 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-11 18:31:51 +00:00
Måns Rullgård
bd4700b1ca log stderr of test programs in check_exec()
Originally committed as revision 5714 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-11 18:09:57 +00:00
Måns Rullgård
fc4b254dd8 find all codecs, even the ones with numbers
Originally committed as revision 5713 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-11 18:07:53 +00:00
Måns Rullgård
32f090dbcf 10l to Diego for disabling all codecs
Originally committed as revision 5712 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-11 17:47:38 +00:00
Diego Biurrun
55006fc0e7 Split CODEC_LIST into ENCODER_LIST AND DECODER_LIST.
Originally committed as revision 5711 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-11 14:25:34 +00:00
Måns Rullgård
ff70e60176 allow individual selection of muxers and demuxers
Originally committed as revision 5707 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-10 21:14:37 +00:00
Diego Biurrun
4cac0d5589 Not every 64 bit SPARC is an UltraSPARC so optimize for v9 instead.
hint by Derek E. Lewis, dlewis_at_solnetworks net

Originally committed as revision 5706 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-10 14:57:04 +00:00
Diego Biurrun
1a5f0dbe2b 100l: Add missing quotes to FFLDFLAGS in the MinGW section.
Originally committed as revision 5704 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-10 01:32:10 +00:00
Diego Biurrun
4874eef483 MinGW should set FFLDFLAGS and not LDFLAGS so that the LDFLAGS env var works.
Originally committed as revision 5703 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-10 01:15:29 +00:00
Diego Biurrun
e67bcdd985 Move MinGW section before the combination of FFLDFLAGS and LDFLAGS.
Originally committed as revision 5702 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-10 01:12:17 +00:00
Diego Biurrun
1db54e20ff Move gprof compiler flag handling to configure.
Originally committed as revision 5701 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-10 00:49:16 +00:00
Diego Biurrun
7b0cd9ee2b Move MinGW LDFLAGS setting to configure.
Originally committed as revision 5699 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-10 00:19:38 +00:00
Diego Biurrun
d7b34d0831 Move UltraSparc CFLAG addition to configure.
Originally committed as revision 5698 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-10 00:12:38 +00:00
Måns Rullgård
af9e7d1810 --enable/disable parsers. Warning: some combinations are broken.
Originally committed as revision 5691 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-09 12:02:15 +00:00
Måns Rullgård
88e2539b7e 10l: make disabling all pcm/adpcm codecs work
Originally committed as revision 5683 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-09 01:08:13 +00:00
Måns Rullgård
327dcfd315 enable/disable pcm and adpcm codecs
Originally committed as revision 5678 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-08 21:15:50 +00:00
Michael Niedermayer
e5f28e8f4e set CONFIG_SMALL if user wants small ffmpeg
Originally committed as revision 5677 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-08 20:26:09 +00:00
Måns Rullgård
6eefb6fd5b set CONFIG_ENCODERS/CONFIG_DECODERS only if any encoders/decoders are enabled
Originally committed as revision 5629 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-05 19:31:48 +00:00
Ville Skyttä
67e21e071d Remove obsolete and non-functional support for external LZO.
patch by Ville Skyttä, scop at users dot sourceforge dot net

Originally committed as revision 5625 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-05 15:53:41 +00:00
Måns Rullgård
813457e515 set flags needed for shared libs on solaris
Originally committed as revision 5619 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-04 23:05:14 +00:00
Måns Rullgård
cde2d79afd Try to find a better shell if the one configure was started under is
broken.  Solaris /bin/sh is broken.

Originally committed as revision 5616 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-04 22:33:03 +00:00
Måns Rullgård
720c69da02 solaris sh doesn't allow functions and variables with the same name
Originally committed as revision 5614 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-04 18:24:37 +00:00
Måns Rullgård
1a268accb5 compiler sanity check
Originally committed as revision 5551 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-29 23:47:50 +00:00
Måns Rullgård
fac252f95b add --cross-compile option to assume cross-compilation without cross-prefix
Originally committed as revision 5550 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-29 23:32:13 +00:00
Måns Rullgård
ddab0670b9 send output of exec checks to log file
Originally committed as revision 5549 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-29 23:19:36 +00:00
Måns Rullgård
8d923001eb detect availability of -rdynamic and -export-dynamic
Originally committed as revision 5548 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-29 23:00:10 +00:00
Diego Biurrun
b028a8667d 'uname -m' returns IP<number> for MIPS CPUs on IRIX.
Originally committed as revision 5541 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-29 07:52:07 +00:00
Ramiro Polla
2122f9c030 Install into $PROGRAMFILES instead of a hardcoded path on MinGW.
patch by Ramiro Polla, ramiro86 %at% hotmail %dot% com

Originally committed as revision 5531 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-27 07:38:57 +00:00
Måns Rullgård
aedf11f8fe -logg needs to be after -lvorbis
Originally committed as revision 5520 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-24 21:19:50 +00:00
Måns Rullgård
7beb802b3f fix a silly typo (1l to myself)
Originally committed as revision 5519 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-24 20:57:34 +00:00
Måns Rullgård
2ba042a756 enable logging in configure by default, and print some advice on failure
Originally committed as revision 5509 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-22 18:57:40 +00:00
Måns Rullgård
87f1c97e7a allow recent libfaad versions with new function names
Originally committed as revision 5508 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-21 20:50:26 +00:00
Diego Biurrun
d2845d68c8 Remove unused VERSION definition from config.mak.
Originally committed as revision 5501 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-20 00:04:14 +00:00
Måns Rullgård
3b9bee8889 libfaac uses pascal calling convention on win32 so the generic tests
can't be used

Originally committed as revision 5496 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-17 22:01:10 +00:00
Måns Rullgård
c8e9f80176 improved logging tests
Originally committed as revision 5491 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-17 14:39:11 +00:00
Måns Rullgård
57bd82d4e7 test availability of various compiler flags, and verify that requested
libraries are really installed

Originally committed as revision 5486 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-16 19:26:31 +00:00
Måns Rullgård
29f3b38a91 check for SDL_VideoInfo.current_[wh] availability in configure, and
fall back on SDL_WM_ToggleFullScreen() if not available

Originally committed as revision 5477 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-14 21:02:55 +00:00
Måns Rullgård
1f6b1bcb81 10l to myself for being overzealous with $cross_prefix
Originally committed as revision 5465 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-10 23:37:38 +00:00
Diego Biurrun
38f0d3ce76 Add support for GNU/kFreeBSD systems.
patch from Petr Salinger submitted by Sam Hocevar

Originally committed as revision 5464 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-10 12:30:51 +00:00
Måns Rullgård
3ef17d626f don't use xlib in ffplay, and bump required sdl version
Originally committed as revision 5463 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-09 22:43:21 +00:00
Måns Rullgård
f25fc9b197 indentation
Originally committed as revision 5447 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-01 23:43:09 +00:00
Måns Rullgård
1ea46bed23 apply $cross_prefix before $cc is used
Originally committed as revision 5446 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-01 23:25:12 +00:00
Diego Biurrun
6d9a242106 libavcodec/libpostproc ---> libpostproc
Originally committed as revision 5440 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-01 21:37:48 +00:00
Måns Rullgård
dcd479c033 major cleanup of compiler/library tests
Originally committed as revision 5439 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-01 19:28:41 +00:00
Måns Rullgård
74c53c2da7 make configure --whatever --help work as expected
Originally committed as revision 5434 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-30 19:46:06 +00:00
Luca Abeni
f743a06236 Include the correct video4linux2 header
Originally committed as revision 5430 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-30 13:04:18 +00:00
Diego Biurrun
c51c4fa083 AMR URL fixes
Originally committed as revision 5413 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-27 12:56:46 +00:00
Diego Biurrun
b29bddab34 Simplify SLIBNAME_WITH_VERSION and SLIBNAME_WITH_MAJOR.
Originally committed as revision 5388 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-16 18:06:28 +00:00
Guillaume Poirier
c2f69579bb fix compilation of 3dnowext instinsincs, both on ia32 and AMD64.
3dnow intrinsincs are for now only compiled if 3dnowext support is available. (I should add smth that
checks for plain 3dnow later)

Originally committed as revision 5386 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-16 14:24:45 +00:00
Diego Biurrun
e89b8b0a93 Honor the LDFLAGS environment variable.
Originally committed as revision 5384 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-16 11:51:05 +00:00
Guillaume Poirier
41ae6ef923 Add an actual 3dnow intrinsinc so the configure script doesn't just check for the existence of the 3dnow header
Originally committed as revision 5383 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-15 19:53:55 +00:00
Guillaume Poirier
fce9551efc Add 3dnow intrinsic support for AMD64 machines: -march=athlon means IA32 for GCC, so use -m3dnow instead.
Note that there's no way to specificly activate 3dnow ext support

Originally committed as revision 5380 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-14 22:00:03 +00:00
Jan Knutar
08706ab9a2 Unconditionally use -lossaudio on NetBSD.
patch by Jan Knutar jknutar__@__nic__.__fi

Originally committed as revision 5364 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-11 22:20:57 +00:00
Måns Rullgård
baa3a93781 Create shared libraries using versioned filenames and add -rpath-link
to LDFLAGS so linker finds them when using --as-needed (which is default
in some installations).  Using --as-needed is generally a good thing, so
add that explicitly as well.

Originally committed as revision 5362 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-11 20:36:00 +00:00
Diego Biurrun
60827a1a80 Further simplify AMR build.
Originally committed as revision 5347 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-06 10:57:38 +00:00
Diego Biurrun
64eaac62ca amr_nb should disable amr_nb-fixed and vice versa.
Originally committed as revision 5322 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-27 02:38:41 +00:00
Diego Biurrun
6eb07e7349 Disentangle dependencies between amr_nb and amr_nb-fixed: amr_nb-fixed does
work even without amr_nb.

Originally committed as revision 5321 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-27 02:33:27 +00:00
Diego Biurrun
28fff4c81b cosmetics
Originally committed as revision 5320 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-27 02:27:00 +00:00
Diego Biurrun
04f40508b2 Allow passing CFLAGS through the environment on all platforms.
Originally committed as revision 5292 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-14 23:33:34 +00:00
Diego Biurrun
b9ca6d4704 output cosmetics
Originally committed as revision 5291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-14 21:31:12 +00:00