Commit Graph

1373 Commits

Author SHA1 Message Date
Diego Biurrun
c173693698 Add functions to return library license and library configuration.
Originally committed as revision 20547 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-18 17:15:17 +00:00
Michael Kostylev
03279bbea0 Add cflags filter for suncc
Patch by Michael Kostylev <gmail>.

Originally committed as revision 20532 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-13 20:24:42 +00:00
NVIDIA Corporation
70e0c871eb Add VDPAU hardware accelerated decoding for MPEG-4 ASP which can be used
by video players.

Original patch by NVIDIA corporation.

Originally committed as revision 20502 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-10 18:52:39 +00:00
Reimar Döffinger
7fc58b1eeb Remove code checking for __PIC__ or __pic__ and setting PIC from libavutil/internal.h,
configure is supposed to take care of that already.

Originally committed as revision 20498 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-10 12:59:56 +00:00
Reimar Döffinger
5755bc88e5 Check if PIC is somehow already enabled (e.g. a compiler that enables it by default).
This in particular ensures that -DPIC is set appropriately for YASM, which avoids
linking failures on x86_64 for compilers that have PIE enabled by default
(e.g. hardened Gentoo).
It also makes the macho64 special-case hack adding -DPIC to YASMFLAGS obsolete.

Originally committed as revision 20497 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-10 12:57:28 +00:00
Måns Rullgård
7c4a001a33 configure: whitespace cosmetics
Originally committed as revision 20494 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-10 00:23:42 +00:00
Reimar Döffinger
a7b9c8aefd Attempt to document the "enable pic" hackery for OpenBSD.
Originally committed as revision 20491 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-09 22:52:46 +00:00
Reimar Döffinger
f6e8140941 Remove some BeOS/haiku hacks: -fomit-frame-pointer is used anyway,
and -DPIC makes little sense without -fPIC or similar - if -fPIC is
enabled by default, libavutil/internal.h defines PICi anyway.

Originally committed as revision 20486 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-09 17:05:38 +00:00
Reimar Döffinger
5f36d94d9d Set -DPREFIX for yasm simply whenever extern_prefix is set instead
of hardcoding it based on the object format.

Originally committed as revision 20478 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-08 22:39:10 +00:00
Reimar Döffinger
a34ebe60e9 Always add -DPIC to YASM flags when pic is enabled.
This covers the previous case of x86_64 and shared, but also
works with --enable-pic.
For 32 bit x86 it currently makes no difference since x86inc.asm
ignores -DPIC for non-x86_64.

Originally committed as revision 20476 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-08 14:50:47 +00:00
Måns Rullgård
64de20d18b PPC: make inline asm xform address test work with Apple tools
Originally committed as revision 20466 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-05 21:48:09 +00:00
Måns Rullgård
ffa3bd54da IA64: do not automatically enable hardcoded tables if explicitly disabled
Originally committed as revision 20465 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-05 21:48:05 +00:00
Måns Rullgård
58b3536dd5 configure: fix 64-bit test with clang
Originally committed as revision 20431 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-01 20:14:56 +00:00
Michael Kostylev
faa374b72c configure: remove extra backslashes from suncc DEPEND_CMD
Patch by Michael Kostylev <michael kostylev gmail>

Originally committed as revision 20428 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-31 16:33:38 +00:00
Måns Rullgård
0645487701 configure: use here-doc for --help output
Originally committed as revision 20427 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-31 15:59:08 +00:00
Måns Rullgård
173c983b52 configure: use here-docs instead of echo for writing config.{h,mak}
Originally committed as revision 20426 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-31 15:59:03 +00:00
Måns Rullgård
b4f9356433 configure: simplify setting of SDL flags in config.mak
Originally committed as revision 20425 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-31 15:58:57 +00:00
Måns Rullgård
c73f65d979 Allow disabling doc generation with --disable-doc
Originally committed as revision 20424 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-31 15:58:49 +00:00
Måns Rullgård
ad212cc6ba configure: simplify STRIP setting in config.mak
Originally committed as revision 20423 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-31 15:58:44 +00:00
Reimar Döffinger
0956bc9b83 Enable hardcoded tables for ia64 shared builds.
At least for cross-compilation with Gentoo gcc 4.4.2 it fixes the build errors
due to GPREL 22 being insufficient for the .bss size of > 4 MB without it.
Why these errors do not appear with static builds is unclear, it is not due
to PIC (shared builds with PIC disabled show the same issue).

Originally committed as revision 20409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-28 20:44:21 +00:00
Måns Rullgård
f0125de9d1 configure: add C99 flags to HOSTCFLAGS
Originally committed as revision 20408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-28 20:19:15 +00:00
Michael Kostylev
2a472e9c5d Detect Sun Studio compiler and set appropriate variables.
Add dependency generation commands compatible with Sun Studio.
patch by Michael Kostylev, michael.kostylev gmail com

Originally committed as revision 20397 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-28 14:24:04 +00:00
Michael Kostylev
0600d30ae4 Avoid "-z text" diversion on SunOS x86, needed to make FATE happy.
patch by Michael Kostylev, michael.kostylev gmail com

Originally committed as revision 20373 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-26 10:18:35 +00:00
Reimar Döffinger
d3ee771514 Support amdfam10 for --cpu, also avoids a warning about unknown cpu if
--cpu=host is used on AMD Phenom and newer at least.

Originally committed as revision 20367 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-24 17:24:25 +00:00
Diego Biurrun
76e6e9c330 Remove ancient redir demuxer.
HTTP supports redirection just fine without it.

Originally committed as revision 20361 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-24 12:44:27 +00:00
David Conrad
06da694372 Add clang to detected compilers
Originally committed as revision 20350 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-22 21:19:13 +00:00
Jason Garrett-Glaser
1953898162 Update libx264.c for x264 API change
Change behavior of b-pyramid option.

Originally committed as revision 20308 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-19 09:35:19 +00:00
Justin Ruggles
f4d608e344 add CONFIG_LPC to the build system for lpc dsputil functions. fixes build
problems when lpc.c is not compiled.

Originally committed as revision 20285 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-18 19:51:18 +00:00
Måns Rullgård
e276d9e82d ARM: force PIC for shared libs only with ARMv6T2 and later
Originally committed as revision 20207 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-11 14:32:18 +00:00
Måns Rullgård
1fce58c2fc ARM: enable PIC for shared libs
Recent versions of gcc generate movw/movt pairs, and the linkers fail
to handle the associated relocations properly.  Those responsible at
Codesourcery have refused to consider fixing this.  Blame them for
making shared libraries slower than they need to be.

Originally committed as revision 20203 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-11 10:15:45 +00:00
Måns Rullgård
c7f7978ae3 configure: define extern symbol prefix without quotes for for asm files
Originally committed as revision 20146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-02 08:41:57 +00:00
Måns Rullgård
8dfa86f78a Do not use -mdynamic-no-pic if PIC is enabled
Originally committed as revision 20145 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-02 08:41:54 +00:00
Måns Rullgård
50fa82e6d2 ARM: add -marm flag since we do not support Thumb
Originally committed as revision 20144 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-02 08:41:52 +00:00
David Conrad
de27f4d957 Check whether 32-bit x86 is really 64-bit
Fixes configure on OS X 10.6

Originally committed as revision 20134 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-01 21:38:25 +00:00
Måns Rullgård
7cee5421d6 configure: break a long line
Originally committed as revision 20108 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-30 22:08:16 +00:00
Reimar Döffinger
e04a3c9613 Re-add check for compilation failure with ebx clobber, and only set
ebx_available if both "b" constraint and exb clobber code compile.
This is to fix compilation with Mac OSX 10.5.8's gcc 4.0.1 in 64
bit mode (-m64) which only fails for ebx/rbx clobbers but not
"b" constraints - this is probably a compiler bug.

Originally committed as revision 20107 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-30 21:57:13 +00:00
Måns Rullgård
49214f61a5 configure: return result of test from check_asm
This makes it possible to use check_asm in conditionals.

Originally committed as revision 20105 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-30 21:38:11 +00:00
Reimar Döffinger
5baaf9adaf Use a "b" constraint instead of ebx clobber to detect if EBX is available.
The test using clobber incorrectly indicates ebx to be available with the
default compilers on OpenBSD 4.5 and Haiku.

Originally committed as revision 20101 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-30 16:55:32 +00:00
Reimar Döffinger
f494213c6d Fix typo in comment.
Originally committed as revision 20097 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-30 12:39:18 +00:00
Måns Rullgård
a27090208e configure: fix tms470 flag mapping for soft-float
Originally committed as revision 19998 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-23 13:52:50 +00:00
Måns Rullgård
6a0d5493b3 ARM: improve armcc detection
Apparently some versions of armcc do not identify as RVCT.  This
changes the test to a string used by all versions.

Originally committed as revision 19985 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-23 10:48:58 +00:00
Jason Garrett-Glaser
2d3beedee2 Add support for new x264 API.
Originally committed as revision 19977 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-23 09:03:26 +00:00
Måns Rullgård
6e3fa35d29 Set compiler version string for supported non-gcc compilers
Originally committed as revision 19972 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-22 20:38:03 +00:00
Diego Biurrun
a3d7c19728 Improve compiler information code to print to the console on program startup.
Remove gcc-specific hacks and allow filling relevant information for non-gcc
compilers in configure.

Originally committed as revision 19963 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-22 12:23:14 +00:00
Diego Biurrun
6bdaa5f46d The W64 demuxer depends on the WAV demuxer.
Originally committed as revision 19960 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-22 11:17:29 +00:00
Diego Biurrun
523ef55119 Deinterleave the generation of config.h and config.mak.
As a sideeffect this moves more interesting variables to the top of config.mak.

Originally committed as revision 19950 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-21 12:51:45 +00:00
Måns Rullgård
b767b9cd4b configure: remove some unnecessary backslashes
Originally committed as revision 19937 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-21 01:40:14 +00:00
Stefano Sabatini
8cd6b388f4 Make pkgconfig_generate() fill Libs with the required linking flags
if the "shared" var has not been explicitely enabled, rather than if
it has been explicitly disabled.

This way is not necessary to explicitly disable shared libraries in
order to have a pc file usable with only static libraries.

Originally committed as revision 19868 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-15 23:54:31 +00:00
Måns Rullgård
95e561ec3e configure: add -g to ASFLAGS when debug is enabled
Originally committed as revision 19804 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-10 02:42:19 +00:00
Reimar Döffinger
f7ba16a7f4 Fix typo in configure error message.
Originally committed as revision 19803 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-09 23:07:00 +00:00