summaryrefslogtreecommitdiff
path: root/configure
Commit message (Collapse)AuthorAge
...
* Disable 'attribute "foo" ignored' warnings from iccMans Rullgard2011-03-23
| | | | | | | | ICC lies about the version of gcc it emulates, which results in unsupported attributes sometimes being used. The warning is an annoyance and should be disabled. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: get libavcodec version from new version.h headerMans Rullgard2011-03-23
| | | | | | This fixes shared library versioning after 3dd851c. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: Set the correct lib target for arm/wince dlltoolMartin Storsjö2011-03-23
| | | | | | The correct machine name for dlltool is arm-wince. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* Make sure kbhit() is in conio.hDave Yeo2011-03-22
| | | | | | | | Conio.h is a non-standard header and may not have kbhit() prototyped. This fixes compile on OS/2 where the EMX version (we're using a fork) of conio.h only has getch() and getche(). Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: Add the -D parameter to the dlltool commandMartin Storsjö2011-03-21
| | | | | | | This is required for the generated .lib file to actually be usable by MSVC. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* Set the correct target for mingw64 dlltoolLuca Barbato2011-03-21
| | | | That fixes .lib creation for the win64 target.
* Do no modify terminal parameters using termios.hPanagiotis H.M. Issaris2011-03-20
| | | | | | | | | | | | | | Remove usage of tcgetattr and tcsetattr to modify terminal parameters, and rely on ctrl-c to stop instead of pressing 'q'. On systems with conio.h, keep the old behavior. Changing the terminal settings causes problems if multiple instances are running asynchronously on the same terminal, such as during a parallel FATE run, or if the process crashes before restoring the terminal. In both cases, the terminal state is messed up requiring a manual reset. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Move sine windows to a separate fileMans Rullgard2011-03-20
| | | | | | | These windows do not really belong in fft/mdct files and were easily confused with the similarly named tables used by rdft. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: use dlltools instead of lib.exeLuca Barbato2011-03-19
| | | | This way building ffmpeg on mingw won't require windows specific tools
* configure: check for SDL_Linked_Version instead of SDL_InitLuca Barbato2011-03-19
| | | | | This avoids the main/SDL_main declaration clash caused by SDL on Windows and other platforms.
* Remove Sonic experimental audio codecMans Rullgard2011-03-19
| | | | | | | | Since initially committed in 2004, this codec has only been touched for maintenanance. Functionally, it contains no novel ideas and its intended audience is better served by existing mature codecs. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: use -r option for pr when listing enabled config options.Konstantin Pavlov2011-03-18
| | | | | | | | | | This fixes ugliness when configure outputs its (empty) results on HPUX (maybe some other UNIXes too): Enabled indevs: pr: -- empty file Signed-off-by: Mans Rullgard <mans@mansr.com>
* darwin: use -read_only_relocs flag only on 32-bit x86Sean McGovern2011-03-16
| | | | | | | Avoids the linker warning: ld: warning: -read_only_relocs cannot be used with x86_64 Signed-off-by: Mans Rullgard <mans@mansr.com>
* use LIBAV_LICENSE and LIBAV_VERSION instead of FFMPEG_*Janne Grunau2011-03-16
|
* replace FFMPEG with LIBAV in FFMPEG_CONFIGURATIONJanne Grunau2011-03-16
| | | | also update the multiple inclusion guards in config.h|mak
* partially rename FFmpeg to LibavJanne Grunau2011-03-16
| | | | update mailing list references and irc channels in configure
* Add CONFIG_AC3DSP symbol to simplify makefilesMans Rullgard2011-03-12
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: use pkg-config helpersMans Rullgard2011-03-11
| | | | | | | | This makes existing pkg-config uses as well as the libsdl checks use the new pkg-config helper functions, which should be more robust against broken systems. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: improve pkg-config supportMans Rullgard2011-03-11
| | | | | | | | | | | | This adds helper functions for checking packages with pkg-config and managing the associated flags. Note that pkg-config use is still discouraged due to widespread poor practices resulting in broken flags in many situations. A few badly designed packages require flags only obtainable using pkg-config, and these functions are intended for those cases. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: allow checking multiple functions in check_func_headers()Mans Rullgard2011-03-11
| | | | | | | | | | This makes it possible to pass a space-separated list of functions to check_func_headers and check_lib2. If any function is missing, none are enabled as available, so this should only be used for all-or-nothing sets, i.e. groups in which none will be used if any one is missing. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Use --sysroot flag for clangMans Rullgard2011-02-28
| | | | | | | | Although not documented, clang does support the --sysroot flag, and it does the right thing. Use this flag intead of -isysroot which only applies to header file searches, not the linker. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: document FATE_SAMPLES env var in --help textReimar Döffinger2011-02-26
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* fate: get samples location from env var if not explicitly setMans Rullgard2011-02-26
| | | | | | | | Use the FATE_SAMPLES environment variable if samples location is not set with the --samples configure option or on the make command line. Signed-off-by: Mans Rullgard <mans@mansr.com>
* OS/2: lxlite should use stdoutDave Yeo2011-02-25
| | | | | | | | This causes lxlite to use stdout instead of vioXXX functions. This improves fate and build logs readability. Affects OS/2 only. Signed-off-by: Mans Rullgard <mans@mansr.com>
* x86: check for AVX supportMans Rullgard2011-02-20
| | | | | | This adds configure and runtime checks for AVX support on x86 CPUs. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Merge libavcore into libavutilReinhard Tartler2011-02-15
| | | | | | | | | | | | It is pretty hopeless that other considerable projects will adopt libavutil alone in other projects. Projects that need small footprint are better off with more specialized libraries such as gnulib or rather just copy the necessary parts that they need. With this in mind, nobody is helped by having libavutil and libavcore split. In order to ease maintenance inside and around FFmpeg and to reduce confusion where to put common code, avcore's functionality is merged (back) to avutil. Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* configure: fix non-standard regex used with exprMans Rullgard2011-02-13
| | | | | | | | The colon operator of expr always anchors the pattern at the start of the string. An explicit ^ in the pattern has unspecified behaviour, so remove it. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: report full gcc version stringMans Rullgard2011-02-13
| | | | | | | This makes the cc_ident value, which is used in FATE reports, include all interesting parts of the gcc version string. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: add cleanws() functionMans Rullgard2011-02-13
| | | | | | | This function removes leading and trailing spaces and collapses multiple spaces into one. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: remove early check_deps $ARCH_EXT_LISTMans Rullgard2011-02-11
| | | | | | | | The early disabling of irrelevant arch extensions is no longer required, and removing it makes dependencies involving these work as expected. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Fix HOSTLIBS on HaikuFrançois Revol2011-02-08
| | | | | | | Haiku does not have a separate libm, so do not try to link to it. Signed-off-by: François Revol <revol@free.fr> Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: check yasm/nasm for working pextrd opcodeAnssi Hannula2011-02-06
| | | | | | | | | | NASM versions older than 2.08 fail to build ffmpeg with several "error: operation size not specified" errors but this is not caught in configure. Fix that by checking if "pextrd [eax], xmm0, 1" works in configure. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Enable native build on QNX/x86Mans Rullgard2011-01-30
|
* armcc: filter out non-gcc options from ASFLAGSMans Rullgard2011-01-25
| | | | | | | This allows passing armcc-specific flags with --extra-cflags without choking the assembler. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: add filter_out() functionMans Rullgard2011-01-25
| | | | | | | This adds a function to filter out words matching a pattern from a list. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: move network tests before results are neededDaniel Verkamp2011-01-25
| | | | | | | This moves network_extralibs setup before use so that the link tests for network functions work correctly. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Add CFLAGS needed by PathScale compilerMans Rullgard2011-01-24
| | | | | | | The PathScale compiler miscompiles wrapping arithmetic without these flags. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Disable symbol versioning on some BSDsMans Rullgard2011-01-23
| | | | | | | | Dragonfly, NetBSD, and OpenBSD do not support symbol versioning although our link test passes. Disable it explicitly for these systems. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Fix libavformat version extraction in configureMans Rullgard2011-01-21
| | | | | | | This fixes shared library builds broken by 50196a982bf7c8be9b41053fa0975473c217e709 Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: better test for mktempMans Rullgard2011-01-21
| | | | | | | | | | Some variants of mktemp require a template, so provide one when checking for the command. We already supply a template in the subsequent uses of mktemp. Thanks to Michael Kostylev. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: simplify exit trapsMans Rullgard2011-01-21
| | | | | | | | | This does the same thing and also fixes the trapping in some (possibly broken) shells. Suggested by Michael Kostylev. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Make demuxers auto-select parsers they needMans Rullgard2011-01-21
| | | | | | | This makes configure --disable-everything --enable-demuxer=foo work as expected. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Make PNG test depend on PNG codecMans Rullgard2011-01-20
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: fix mktemp test and fallback functionMans Rullgard2011-01-18
|
* ARM: improve VFP ABI checkMans Rullgard2011-01-18
| | | | | | | | Recent gcc versions define __ARM_PCS or __ARM_PCS_VFP to indicate the VFP ABI in use, and ARM RVCT defines __SOFTFP__ when using this ABI. If none of these are defined, check $cross_prefix and $cc for the substring "hardfloat", and finally fall back to a linker test. This gives the correct result in most configurations.
* armcc: suppress warning about hardfp compatibilityMans Rullgard2011-01-18
|
* armcc: suppress 'assignment in condition' warningMans Rullgard2011-01-18
|
* Replace ASMALIGN() with .p2alignMans Rullgard2011-01-18
| | | | | This macro has unconditionally used .p2align for a long time and serves no useful purpose.
* configure: make $TMPE executableMans Rullgard2011-01-18
| | | | | This is required on systems where the linker does not change the permissions of an existing output file.
* Use -Bsymbolic for shared libs only, not executablesMans Rullgard2011-01-18
| | | | | | Some linkers fail if this flag is used when creating an executable file. Since the flag is meaningful only for shared libraries, dropping it from the main link flags is correct.