Commit Graph

404 Commits

Author SHA1 Message Date
Måns Rullgård
997baf0141 allow spaces in source and build directory names
out of tree builds from a source dir with spaces is impossible
due to how make handles vpath

Originally committed as revision 6938 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-08 00:02:15 +00:00
Steve L'Homme
13638ea92a Properly quote paths on grep invocations for codec lists.
patch by Steve Lhomme, slhomme divxcorp com

Originally committed as revision 6895 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-04 19:06:15 +00:00
Diego Biurrun
786b30af26 Add option to disable ffmpeg build.
Patch taken from the Debian package by Sam Hocevar.

Originally committed as revision 6871 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-02 17:09:47 +00:00
Diego Biurrun
6dc7b6b377 Detect some more ARM CPU types.
Patch taken from the Debian package by Sam Hocevar.

Originally committed as revision 6870 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-02 16:42:14 +00:00
Diego Biurrun
28d8e661af Accept multiple --extra-ldflags and --extra-libs options.
Originally committed as revision 6869 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-02 12:12:52 +00:00
Diego Biurrun
a63e5f1cce typo
Originally committed as revision 6858 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-01 18:20:15 +00:00
Diego Biurrun
419b878494 Add ARCH_X86_32 as a new define for 32 bit x86 architectures and change
the semantics of ARCH_X86 to mean both 32 and 64 bits.

Originally committed as revision 6852 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-01 17:01:33 +00:00
Luca Barbato
e240ee678c Make sure --as-needed and the other flags got checked as the last thing, workarounds linking checks issues due broken system libraries
Originally committed as revision 6849 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-31 15:09:36 +00:00
Diego Biurrun
68300911a0 Many systems have TEMPDIR mounted noexec, warn about this.
Originally committed as revision 6833 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-29 13:04:30 +00:00
Måns Rullgård
4cbed916cf libdts and lame sometimes need -lm
Originally committed as revision 6791 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-24 21:58:50 +00:00
Luca Barbato
b92f5a6b31 use --as-needed just on linux, since *bsd way is broken... (patch from Diego Pettenò <flameeyes@gentoo.org>)
Originally committed as revision 6759 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-22 14:47:12 +00:00
Guillaume Poirier
94e4c3a333 Protect code that uses CMOV instructions with HAVE_CMOV,
Make configure set CMOV_IS_FAST on arches on which cmov has a low latency
(typically non-Netburst based processor)

Originally committed as revision 6749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-20 17:53:19 +00:00
Guillaume Poirier
4c8d81fa2d fix harmless typo / consistency fix
Originally committed as revision 6748 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-20 13:08:24 +00:00
Guillaume Poirier
e7768fc512 Add x86 conditionnal mov (CMOV) "detection" (based on the cpu passed by --cpu=xx)
Sets HAVE_CMOV define so we can protect relevant code with #ifdef HAVE_CMOV

Originally committed as revision 6742 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-20 07:27:12 +00:00
Guillaume Poirier
1c5d830c25 10l: Revert bogus use of GCC's -march=xx:
Almost all CPU targets use -mcpu=xx to set architecture type,
register usage, choice of mnemonics, and instruction
scheduling parameters, except x86, MIPS, HPPA which uses -march=xx

Originally committed as revision 6736 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-19 15:49:52 +00:00
Guillaume Poirier
38d0a8aad8 rename --tune to --cpu and make --cpu pass the apropriate -march=xx option to the compiler.
Note that previous implementation (--tune) wasn't consistent with regards to setting -march/-mcpu/-mtune whereas current --cpu now is
Original thread:
Date: Oct 17, 2006 3:20 PM (patch) || Date: Oct 13, 2006 12:03 PM (suggestion of configure clean-up)
Subject: Re: [Ffmpeg-devel] [PATH] test if cpu supports CMOV

Originally committed as revision 6729 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-18 12:33:42 +00:00
Guillaume Poirier
cc6a90dd49 rename --cpu (and related variables) to --arch as this option always
allowed to select an architecture, not a specific cpu

Originally committed as revision 6719 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-17 11:14:04 +00:00
Diego Biurrun
07a1b05e66 Consistently use $(BUILD_ROOT).
Originally committed as revision 6695 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-15 10:02:21 +00:00
Diego Biurrun
a88fc5c040 Remove intrinsics checks, they are no longer used.
partly based on a patch by Zuxy Meng, zuxy.meng gmail com

Originally committed as revision 6684 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-13 16:04:41 +00:00
Guillaume Poirier
c2095a8f5c Add pentium-m to the list of tuning targets
Originally committed as revision 6627 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 12:33:03 +00:00
Luca Barbato
b420448e38 removing ALTIVEC_USE_REFERENCE_C_CODE, since has no use anymore
Originally committed as revision 6606 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-09 18:29:46 +00:00
Michael Niedermayer
2a1a6b64a1 always add -fomit-frame-pointer if optimizations are enabled
Originally committed as revision 6601 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-09 14:11:28 +00:00
Luca Barbato
87ea51e0b5 fix the dcbz check and move it in configure
Originally committed as revision 6580 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-07 19:14:25 +00:00
Luca Barbato
c4e96ceef7 fix blackfin support, thaks to vapier for pointing out
Originally committed as revision 6535 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-03 14:59:18 +00:00
Måns Rullgård
0244f74378 f*cking windows confuses itself by adding .exe to filenames
Originally committed as revision 6394 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-30 13:27:29 +00:00
Måns Rullgård
be0d52ab78 make sure we can create and execute files in $TMPDIR
Originally committed as revision 6362 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-27 21:24:38 +00:00
Måns Rullgård
854fdb51e6 put ARM feature tests next to other CPU tests
Originally committed as revision 6360 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-27 20:49:29 +00:00
Måns Rullgård
c7ae634596 try to stop people blindly using --cross-compile
Originally committed as revision 6359 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-27 20:30:23 +00:00
Diego Biurrun
cab3ef828a Change VHOOKSHFLAGS (which defaults to SHFLAGS) from a shell to a Makefile
variable so that overriding SHFLAGS later in the configure script has the
desired effect.

Originally committed as revision 6281 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-16 22:07:20 +00:00
Víctor Paesa
fbb9d1043d Fix vhook build on Cygwin, shared builds only.
patch by Víctor Paesa, wzrlpy arsystel com

Originally committed as revision 6247 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-13 22:04:40 +00:00
Siarhei Siamashka
1839e854e5 Proper armv5te instructions support detection.
patch by Siarhei Siamashka, siarhei dot siamashka gmail com

Originally committed as revision 6246 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-13 21:39:41 +00:00
Diego Biurrun
12ccec0f15 Remove superfluous variable setting, the script will exit anyway.
Originally committed as revision 6146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-31 19:04:06 +00:00
Ramiro Polla
ebb810d9f7 The fail test needs to be outside of the GPL test, it's referenced elsewhere.
patch by Ramiro Polla, angustia (at) arrozcru (dot) no-ip (dot) org

Originally committed as revision 6145 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-31 19:02:10 +00:00
Diego Biurrun
fe84b3f091 Work around Solaris tr not understanding "tr a-z A-Z" as it should.
Originally committed as revision 6135 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-30 23:55:43 +00:00
Michael Niedermayer
c07bd6a937 print warnings if
gcc ignores inline directives
pointer arithmetic with void pointers
...

Originally committed as revision 6134 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-30 23:02:52 +00:00
Steve L'Homme
8ac17293d3 AVISynth support, patch by Steve Lhomme % slhomme A divxcorp P com %
Original Thread:
Date: Aug 16, 2006 11:45 PM
Subject: [Ffmpeg-devel] [PATCH] AVISynth support

Originally committed as revision 6122 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-29 07:34:58 +00:00
Ramiro Polla
b89c8f589a The FFLDFLAGS for MinGW are only meant for the shared libraries and not
all executables. So they should really be SHFLAGS.
patch by Ramiro Polla, angustia at arrozcru d.t no-ip d.t org

Originally committed as revision 6090 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-25 15:53:16 +00:00
Nigel Pearson
30a3e5d490 Use add_cflags/add_ldflags/add_extralibs instead of manually manipulating
those variables.
patch by Nigel Pearson, nigel .at. ind .dot. tansu .dot. com .dot. au

Originally committed as revision 6077 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-24 14:14:14 +00:00
Michael Benjamin
81a9b052df Blackfin processor support
patch by Michael Benjamin, neuroptik gmail com

Originally committed as revision 6056 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-23 21:19:39 +00:00
Reimar Döffinger
32255f6c2a cc -> $cc typo fix, caused amd64 to be misdetected as x86 when cc not available
Originally committed as revision 6044 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-21 19:02:50 +00:00
Luca Barbato
0c7bb0e5b6 add --disable-ipv6 option to configure
Originally committed as revision 6017 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-17 16:54:50 +00:00
Diego Biurrun
408382a434 Make vhook CFLAGS handling less confusing.
Originally committed as revision 6012 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-17 15:55:19 +00:00
Dennis Melentyev
a99073939f FreeBSD malloc aligns on 16 byte boundaries, so no need to use memalignhack.
patch by Dennis Melentyev, dennis ##dot## melentyev ##at ## gmail ##dot## com

Originally committed as revision 6005 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-16 11:34:46 +00:00
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