Commit Graph

1073 Commits

Author SHA1 Message Date
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
Benjamin Larsson 40bcf4c780 Support setting the debuglevel (-g level) with --enable-debug=#
Originally committed as revision 12298 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-03 16:59:53 +00:00
Ramiro Polla c6eed369d2 Use "disable" helper function
Originally committed as revision 12291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-02 20:13:47 +00:00
İsmail Dönmez 8541cc274c Do not add deprecated -no-cpp-precomp to CFLAGS on Darwin.
patch by İsmail Dönmez, ismail namtrac org

Originally committed as revision 12285 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-01 11:56:09 +00:00
Diego Biurrun 2c62e737f4 Add empty line in output to increase readability.
Originally committed as revision 12271 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-27 22:41:14 +00:00
Måns Rullgård 61d251dbc0 check for inline asm support
Originally committed as revision 12270 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-27 22:06:48 +00:00
Måns Rullgård 9342080973 fix version in libavfilter.pc
Originally committed as revision 12267 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-27 21:27:42 +00:00
Måns Rullgård f436a23e59 fix versions in .pc files
Originally committed as revision 12264 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-27 09:32:09 +00:00
Måns Rullgård a6601d69bb fix libavfilter version extraction
Originally committed as revision 12260 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-27 09:25:38 +00:00
Michael Niedermayer b2eb2ff098 Make gcc ignore the distinction between +0.0 and -0.0, this allows it to
change x+0.0 to x. Though it alone does not allow gcc to remove x*0.0,
that would also require -ffinite-math-only.

Originally committed as revision 12252 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 22:01:11 +00:00
Måns Rullgård f65c9da140 print enabled things in columns
Originally committed as revision 12251 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 21:50:06 +00:00
Vitor Sessak 3cde40aaa4 10l, alphabetic ordering
Originally committed as revision 12250 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 21:34:13 +00:00
Vitor Sessak f7679c54dd Build system changes for libavfilter addition. Add --enable-avfilter configure option.
Patch by myself, Bobby Bingham and Víctor Paesa.

Originally committed as revision 12249 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 21:32:56 +00:00
Måns Rullgård 147e769207 simplify version number extraction
Originally committed as revision 12247 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 21:18:55 +00:00
Måns Rullgård 800c289a66 less preprocessor magic in version number macros
Originally committed as revision 12246 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 20:37:59 +00:00
Michael Niedermayer 11fdbc4430 25% faster floating point AAN IDCT.
Other float code likely benefits as well ...

Originally committed as revision 12245 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 20:21:49 +00:00
Peter Ross 269820f141 Disable vhook on Interix, patch by Pete Ross, pross xvid org.
Originally committed as revision 12226 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 09:14:55 +00:00
Måns Rullgård 76a448ed4f Install headers in $prefix/include/$libname
Install each library's headers in $prefix/include/$libname.
The installed headers use #include "lib*/*.h"; applications
are expected to do the same.

Specify only $prefix/include in .pc files.

Originally committed as revision 12194 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 09:22:11 +00:00
Diego Biurrun 18ee626cec Add -lm to x264 check, it is needed on most systems.
taken from the DOS/DJGPP port by Michael Kostylev, mik niipt ru

Originally committed as revision 12178 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-22 17:15:24 +00:00
Måns Rullgård e97ac1e6f5 Clean up lib* version definitions
Updating version numbers now requires changing only one place.

Originally committed as revision 12154 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 22:50:28 +00:00
Måns Rullgård 719c8e00ef prettify lib* version number extraction
Originally committed as revision 12128 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-17 00:00:10 +00:00
Måns Rullgård 73ef89807e prettify encoder/decoder/muxer/... list extraction
Originally committed as revision 12127 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-17 00:00:06 +00:00
Mike Frysinger 63da080387 The Blackfin toolchains will automatically select FDPIC according to the
toolchain/tuple, so there is no need (and indeed this is unwanted)
to force -mfdpic into the compile/linker flags.
patch by Mike Frysinger, vapier.adi a gmail d com

Originally committed as revision 12122 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-16 14:21:53 +00:00
Måns Rullgård b147ec08c3 do not run ldconfig after installing shared libraries
Originally committed as revision 12121 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-16 14:13:23 +00:00
Luca Abeni f8cda19ee6 Include poll.h instead of sys/poll.h
Originally committed as revision 11924 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 12:51:14 +00:00
Diego Biurrun 6c6007d6a3 Do not use ranges with tr, the results are locale-dependent.
Suggested by Rich Felker.

Originally committed as revision 11914 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-11 23:17:06 +00:00
Michael Niedermayer 652a5bf69d Warn if a comparison is always true or always false due to the
limited range of the data type.
The only new warning this causes (if i didnt miss one) is:
udp.c:272: warning: comparison of unsigned expression < 0 is always false
which is a real bug

Originally committed as revision 11839 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-03 22:31:25 +00:00
Michael Niedermayer 9aceb3cfbc Make string constants const. Why is this not default?
Originally committed as revision 11835 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-03 21:33:26 +00:00
Diego Biurrun 1bc0a44d79 Remove -Werror= CFLAGS that do not have the desired effect.
Originally committed as revision 11811 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-02 15:46:52 +00:00
Michael Niedermayer aa819b9b7d Mixing declarations and statements is an error, so is any construct
depending on sizeof(void) (like void_ptr++)

Originally committed as revision 11798 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 18:45:26 +00:00
Michael Niedermayer f49299967b Warn about casts which remove const.
Feel free to flame me if you disagree that such code is wrong.

Originally committed as revision 11699 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 01:31:49 +00:00
Diego Biurrun d6773f563d Pass argc and argv to the main function of the SDL tests.
This appears to be required on Windows and does no harm on Linux.
closes issue 344, patch by jdm

Originally committed as revision 11662 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-29 09:33:30 +00:00
Diego Biurrun afc9aee2b4 Add -pthread to extralibs and not to ldflags so that the dependency gets
reflected in the pkg-config files.
noticed by j .at. v2v .dot. cc

Originally committed as revision 11618 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-26 13:31:50 +00:00
Diego Biurrun 3fe142e255 Add a --enable-nonfree command line parameter similar to --enable-gpl.
Required to enable nonfree libraries that make FFmpeg unredistributable.

Originally committed as revision 11617 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-26 13:24:32 +00:00
Diego Biurrun 64e13d6914 Do not group libamr_nb and libamr_wb together as libamr.
Also fixes --enable-libamr being recognized as configure parameter.

Originally committed as revision 11616 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-26 12:46:46 +00:00
Michael Kostylev 094c09bb4a Add system-specific network link flags to inet_aton test. This should fix
the check on platforms that require those flags.
patch by Michael Kostylev, mik niipt ru

Originally committed as revision 11553 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-18 01:47:34 +00:00
KO Myung-Hun 1ca5d97fc8 Use check_lib2 instead of check_lib in SDL test. This is helpful in
combination with different calling/naming conventions as used in the
OS/2 port of SDL.
patch by Myung-Hun, komh a chollian d net

Originally committed as revision 11545 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-16 23:00:18 +00:00
Igor Mozolevsky 800a5a1905 pentium4m is a valid CPU name, add it to the list.
patch by Igor Mozolevsky, igor hybrid-lab.co uk

Originally committed as revision 11538 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-16 09:09:40 +00:00
Diego Biurrun cf1392e9f3 Move "Creating config.mak and config.h..." message down to the point where
those two files are actually created.

Originally committed as revision 11537 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-16 09:08:19 +00:00
Måns Rullgård e5d8ccd727 refer users to ffmpeg-user list in case of errors
Originally committed as revision 11517 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-12 12:34:55 +00:00
Alessandro Sappia 0b4a18218e Adding support for libdc1394 v.2, patch by Alessandro Sappia a dot sappia at ngi dot it
Originally committed as revision 11501 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-11 01:59:05 +00:00
Roberto Togni ca5323af4b Move printing of the license status at the end of configure output, so
that users won't miss it

Originally committed as revision 11450 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-07 21:37:18 +00:00
Aurelien Jacobs 3abe5fbdc4 improve CRC API
- don't export any global var
 - provide either generated or hardcoded tables

Originally committed as revision 11409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-04 23:09:58 +00:00
Luca Abeni 8eb793c459 Split the RTP demuxing functions out of rtp.c, to simplify the RTP muxer's dependencies
Originally committed as revision 11406 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-04 19:33:50 +00:00
Luca Abeni 95c2184270 Rationalize some dependencies between rtsp and rtp
Originally committed as revision 11385 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-03 12:49:12 +00:00
Dave Yeo 72be9e73ae Add portable way to check for the existence of definitions and
apply it to socklen_t.
patch by Dave Yeo, daveryeo telus net

Originally committed as revision 11366 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-01 22:54:35 +00:00
Michael Kostylev a33cab3a9a Check for the presence of llrint(), lrint(), round() and roundf()
and provide simple replacements if they are unavailable.
patch by Michael Kostylev, mik niipt ru

Originally committed as revision 11326 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-27 01:53:02 +00:00
Michael Kostylev 81644c2ee0 Check for the presence of sys/select.h and conditionally #include it.
patch by Michael Kostylev, mik niipt ru

Originally committed as revision 11324 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-27 01:38:50 +00:00
Michael Kostylev 4f365f37b5 djgpp port, first part
patch by Michael Kostylev, mik niipt ru

Originally committed as revision 11313 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-24 12:49:27 +00:00
Diego Biurrun fe9bb34766 dv1394 depends on dv_demuxer, fixes linking with demuxers disabled.
patch by Aurel

Originally committed as revision 11258 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-17 19:30:04 +00:00
Diego Biurrun 08c015c075 Remove unnecessary system include path from pkg-config files.
Originally committed as revision 11247 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-17 09:16:40 +00:00
Måns Rullgård 569cb218f8 Revert r11202: do not create copy relocations when linking to shared libs
This caused more problems than it solved and is no longer required.

Originally committed as revision 11210 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-12 21:51:52 +00:00
Måns Rullgård e11910120a do not create copy relocations when linking to shared libs
Originally committed as revision 11202 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-11 20:02:09 +00:00
Diego Biurrun c552605cae Add --list-indevs and --list-outdevs command line options.
Originally committed as revision 11179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-06 17:53:46 +00:00
Diego Biurrun 10d46dd0c1 Add --disable-devices to --help output.
Originally committed as revision 11178 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-06 17:52:50 +00:00
Diego Biurrun 7dd2862b48 Add input and output devices to configure output.
Originally committed as revision 11177 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-06 17:51:59 +00:00
Diego Biurrun 8fb1cb5825 Remove unnecessary quotes.
Originally committed as revision 11176 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-06 17:34:31 +00:00
Dave Yeo d22e844250 OS/2 support restored in cleaner form.
patch by Dave Yeo, daveryeo telus net

Originally committed as revision 11172 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-05 23:15:24 +00:00
Måns Rullgård c2fd6530af use -Bsymbolic linker flag if supported
Originally committed as revision 11164 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-04 20:01:41 +00:00
Panagiotis Issaris 9aa8ed9d23 Add a --disable-devices flag which disables all muxers and demuxers of
libavdevice at once.

Originally committed as revision 11158 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-03 13:02:26 +00:00
Diego Biurrun 52a9cf3435 Fix out of tree builds after introduction of libavdevice.
Originally committed as revision 11084 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-23 12:02:41 +00:00
Diego Biurrun 7483e694f3 cosmetics: Consistently indent with 4 spaces, break some long lists into single
lines, align some columns.

Originally committed as revision 11081 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-23 11:09:28 +00:00
Luca Abeni c4035e5d3f Fix the creation of alldevices.c (create it without any rename).
This also requires some changes to configure

Originally committed as revision 11080 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-23 08:07:23 +00:00
Luca Abeni c721d803cb Introduce libavdevice
Originally committed as revision 11077 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-22 16:10:02 +00:00
Diego Biurrun e5af4a113b main() --> main(void)
Originally committed as revision 11069 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-20 11:18:52 +00:00
Diego Biurrun db817cf35a whitespace consistency cosmetics
Originally committed as revision 11068 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-20 11:18:24 +00:00
Baptiste Coudurier 8361b1bea8 remove now useless libogg support
Originally committed as revision 11004 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-12 10:26:33 +00:00
Aurelien Jacobs 543b3965f1 fix libogg muxer dependency checking
Originally committed as revision 10959 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-08 13:14:05 +00:00
Diego Biurrun 3837d107b7 Keep -lvorbis in libvorbis linker flags even when only used for encoding.
Some libvorbis versions on some platforms (macports) fail to compile otherwise.

Originally committed as revision 10932 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-06 00:26:32 +00:00
Diego Biurrun f9def9ccc6 Remove libvorbis Vorbis decoding support. Our native decoder is complete
and has no known bugs, any remaining issues will hopefully be uncovered now.

Originally committed as revision 10924 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-04 12:55:32 +00:00
Ramiro Polla 8138b9db26 List enabled code in configure output
Originally committed as revision 10921 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-04 02:20:12 +00:00
Ramiro Polla bf0c4afab2 Speed up show_list
Originally committed as revision 10920 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-04 02:15:53 +00:00
Diego Biurrun d2bbb2f743 Rename --disable-opts option to --disable-optimizations in order to be less
ambiguous, opts sounds more like options than optimizations.

Originally committed as revision 10855 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-24 19:19:02 +00:00
Diego Biurrun 8400d6b8ea Rename optimize variable to the slightly more meaningful optimizations.
Originally committed as revision 10854 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-24 19:17:15 +00:00
Ramiro Polla c3cf56140e Install MSVC import libraries without version numbering in the filename.
Originally committed as revision 10814 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-19 19:06:32 +00:00
Ramiro Polla c5f1446678 Append BUILDSUF directly to NAME instead of prepending it to (S)LIBSUF.
Makes non-posix systems shared library names more correct,
such as avcodec-buildsuf-51.dll instead of avcodec-51-buildsuf.dll

Originally committed as revision 10813 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-19 18:03:05 +00:00
Diego Biurrun abc4e5727e Simplify one variable setting.
Originally committed as revision 10776 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 10:03:16 +00:00
Diego Biurrun 24743a767f Rename LIB to LIBNAME for consistency.
Originally committed as revision 10774 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 09:34:49 +00:00
Diego Biurrun 9c05103fe3 Add multiple inclusion guards to config.h.
Originally committed as revision 10772 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-17 22:38:37 +00:00
Diego Biurrun 0e872a4805 Add SLIB_UNINSTALL_EXTRA_CMD for MinGW.
based on a patch by Dave Yeo, daveryeo telus net

Originally committed as revision 10768 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-17 13:52:46 +00:00
Dave Yeo 5b5d0491b5 Add SLIB_UNINSTALL_EXTRA_COMMAND to uninstall the things installed via
SLIB_INSTALL_EXTRA_COMMAND.
patch by Dave Yeo, daveryeo telus net

Originally committed as revision 10767 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-17 13:48:47 +00:00
Diego Biurrun 7f3c02fc21 comment grammar fix
Originally committed as revision 10759 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-16 23:15:50 +00:00
Ramiro Polla 85aec3bd48 Remove gcc import libraries from Win32 builds.
They weren't even installed, and [1] suggests linking directly to the dll.
[1] http://sourceware.org/binutils/docs-2.18/ld/WIN32.html

Originally committed as revision 10740 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-15 14:02:01 +00:00
Ramiro Polla 6ad423489e ffserver needs ffm_muxer specifically, and rtsp_demuxer for rtsp_parse_line()
Originally committed as revision 10718 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-12 16:42:59 +00:00
Diego Biurrun 35d6cebde8 Use single quotes to get rid of a bunch of backslash escapes.
Originally committed as revision 10717 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-12 13:12:35 +00:00
Diego Biurrun 5645c83802 Consistently use $(FOO) instead of ${FOO} in Makefile variables.
Originally committed as revision 10716 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-12 12:30:53 +00:00
Måns Rullgård 6b3246488d use pr -n -t instead of non-standard cat -n
Originally committed as revision 10677 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-06 17:09:30 +00:00
Måns Rullgård fdf885983c fix -lm check
Originally committed as revision 10620 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-29 20:25:06 +00:00
Måns Rullgård 6b19786b11 set -mcpu for ARM
Originally committed as revision 10595 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-26 19:57:56 +00:00
Ramiro Polla 53b7336500 Fix avisynth compilation after allformats.h was removed
Originally committed as revision 10594 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-26 18:37:20 +00:00
Ramiro Polla ea10ddde96 Let the dependency checker deal with winsock2's extralibs.
Originally committed as revision 10593 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-26 16:57:19 +00:00
Ramiro Polla a98bb16de2 Organize header files and system functions checks
Originally committed as revision 10566 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-24 15:52:06 +00:00
Måns Rullgård 940f335a3c create and use check_asm() function
Originally committed as revision 10558 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-23 21:52:09 +00:00
Diego Biurrun 78eb65317e cosmetics: Move LDCONFIG variable to a more sensible place in config.mak.
Originally committed as revision 10557 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-23 21:37:16 +00:00
Diego Biurrun 8b03def65f Move VIS CFLAGS settings into configure.
Originally committed as revision 10555 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-23 21:06:08 +00:00
Diego Biurrun bd9d34a0c9 Add a proper test for VIS instruction support.
some help by Jan Knutar, jknutar nic fi

Originally committed as revision 10553 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-23 21:01:00 +00:00
Ramiro Polla c2675d4a69 Proper check for --help and -h parameters
Originally committed as revision 10543 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-21 23:30:57 +00:00
Ramiro Polla 06eab4bae1 Let the dependency checker decide about x11_grab_device_demuxer
Originally committed as revision 10542 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-21 20:01:43 +00:00
Ramiro Polla 3ae3b72123 Replace one-lined if;elses to && ||
Originally committed as revision 10540 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-21 16:42:54 +00:00
Ramiro Polla 4ec45764a0 Add extralibs to the dependency checker
Originally committed as revision 10532 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-18 19:07:52 +00:00
Ramiro Polla 8a2b9418bc gpl for the X11 grabber has already been checked for
Originally committed as revision 10531 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-18 18:58:02 +00:00
Ramiro Polla 497237c700 Use enable and disable macros where appropriate
Originally committed as revision 10530 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-18 18:46:26 +00:00
Ramiro Polla 13ef78254d Properly check for -lm
Originally committed as revision 10528 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-18 18:01:07 +00:00
Diego Biurrun 13566c311f cosmetics: sort()
Originally committed as revision 10526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-18 10:35:16 +00:00
Ramiro Polla dbd255cda1 Remove forced -pthread for freebsd.
Configure properly detects which flags are needed on --enable-pthreads

Originally committed as revision 10524 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-17 19:35:42 +00:00
Ramiro Polla 1c915f8370 Indent
Originally committed as revision 10523 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-17 19:33:55 +00:00
Ramiro Polla 73483024d6 Remove --disable-bktr option from configure
--disable-demuxer=bktr should be used instead

Originally committed as revision 10522 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-17 19:30:55 +00:00
Diego Biurrun 670ab31277 Replace manual variable setting with the disable function.
Originally committed as revision 10516 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-17 10:08:27 +00:00
Matthias Schneider 1051cc4f89 Remove cross_prefix from ln command.
patch by Matthias Schneider, ma30002000 yahoo de

Originally committed as revision 10515 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-17 08:23:23 +00:00
Stefano Sabatini 4ca5ece51e Define mandir as $(PREFIX)/share/man rather than as $(PREFIX)/man
to better comply with the FHS.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 10508 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-16 17:44:49 +00:00
Dave Yeo 2036977325 ln is not available on all platforms, so introduce a variable for it
that can be set to a suitable platform-specific command.
patch by Dave Yeo, daveryeo telus net

Originally committed as revision 10503 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-15 11:09:30 +00:00
Ramiro Polla c7682de075 Remove --disable-audio-oss option from configure.
--disable-(de)muxer=oss should be used instead.

Originally committed as revision 10428 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-07 13:47:14 +00:00
Ramiro Polla a4db8c8921 Remove --disable-audio-beos option from configure.
--disable-(de)muxer=audio_beos should be used instead.

Originally committed as revision 10427 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-07 13:45:37 +00:00
Ramiro Polla 50383e8822 Separate audio_(de)muxer into oss_(de)muxer and audio_beos_(de)muxer
Originally committed as revision 10426 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-07 13:43:40 +00:00
Ramiro Polla 06e310114a Remove --disable-{v4l,v4l2} options from configure
--disable-demuxer={v4l,v4l2} should be used instead

Originally committed as revision 10413 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 18:52:14 +00:00
Ramiro Polla fd484da77a Remove video_grab_ prefix from video_grab_{bktr,v4l}
Originally committed as revision 10411 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 18:29:58 +00:00
Diego Biurrun 79fda09705 Alphabetically sort library dependencies list.
Originally committed as revision 10400 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 10:04:55 +00:00
Ramiro Polla f7b8bffe47 Treat dc1394 as a library
Originally committed as revision 10292 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-04 22:03:32 +00:00
Måns Rullgård e89d9fd89c do not use "strings" in endian check
Originally committed as revision 10252 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-27 14:19:04 +00:00
Diego Biurrun d56fb404bb Remove unused definition.
Originally committed as revision 10248 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-27 09:17:20 +00:00
Michael Niedermayer 971cc99020 print EBX/EBP availability
Originally committed as revision 10243 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-26 23:09:34 +00:00
Måns Rullgård 7e7f5c7bf6 use POSIX "strings -a" rather than "strings -"
Originally committed as revision 10233 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-26 09:11:22 +00:00
Måns Rullgård 0828e47642 fix endian detection on MacOS
Originally committed as revision 10232 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-26 09:08:21 +00:00
Ramiro Polla b48e359ff7 Remove --disable-dv1394 option
--disable-demuxer=dv1394 should be used instead

Originally committed as revision 10213 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-24 17:07:52 +00:00
Ramiro Polla 73b46a95d2 Group network checks together
Originally committed as revision 10209 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-24 15:10:04 +00:00
Diego Biurrun 9d16f87ffd Rename CONFIG_DARWIN to SYS_DARWIN, it is not configurable (in FFmpeg).
Originally committed as revision 10190 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-22 22:46:39 +00:00
Diego Biurrun e241ba148f Revert previous unneeded mipsel patch (obsoleted by endianness detection fix).
Originally committed as revision 10189 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-22 22:27:01 +00:00
Diego Biurrun ded66cdb67 Add mipsel architecture that differs from mips in endianness.
based on patch by Johansson Erik-EJO017, erik.johansson motorola com

Originally committed as revision 10188 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-22 22:16:48 +00:00
Måns Rullgård 9eebe68739 fix endian check when cross-compiling
Originally committed as revision 10187 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-22 20:42:25 +00:00
Aurelien Jacobs 7506d47aa3 create libavcodec/sh4 dir when building out-of-tree
Originally committed as revision 10171 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-21 15:53:41 +00:00
Aurelien Jacobs 862a70f16b cosmetics: some reordering
Originally committed as revision 10170 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-21 15:52:50 +00:00
Aurelien Jacobs 4a0d6686fd ensure configure only accept valid --list-* parameters
closes issue72

Originally committed as revision 10153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-20 21:35:51 +00:00
Diego Biurrun 7799eeec93 small simplification
Originally committed as revision 10141 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-18 08:57:38 +00:00
Ramiro Polla afd98005db Enable MinGW networking support
Originally committed as revision 10132 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-17 14:49:11 +00:00
Roman Shaposhnik 4e68cb8ac7 restoring the alphabetical order (this time with case ignored)
Originally committed as revision 10087 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-12 00:59:50 +00:00
Ramiro Polla 3b4e7bb3b6 Also check for closesocket in winsock2.h
Originally committed as revision 10086 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-12 00:27:18 +00:00
Ramiro Polla 70b4d49294 Enable swscale in MinGW vhooks only if swscale was configured.
Copied from Cygwin configure.

Originally committed as revision 10073 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 19:51:37 +00:00