Commit Graph

920 Commits

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