Revision c0b1bc8d configure
configure | ||
---|---|---|
1 | 1 |
#!/bin/sh |
2 | 2 |
# |
3 |
# Libav configure script
|
|
3 |
# FFmpeg configure script
|
|
4 | 4 |
# |
5 | 5 |
# Copyright (c) 2000-2002 Fabrice Bellard |
6 | 6 |
# Copyright (c) 2005-2008 Diego Biurrun |
... | ... | |
44 | 44 |
echo "No compatible shell script interpreter found." |
45 | 45 |
echo "This configure script requires a POSIX-compatible shell" |
46 | 46 |
echo "such as bash or ksh." |
47 |
echo "THIS IS NOT A BUG IN LIBAV, DO NOT REPORT IT AS SUCH."
|
|
47 |
echo "THIS IS NOT A BUG IN FFMPEG, DO NOT REPORT IT AS SUCH."
|
|
48 | 48 |
echo "Instead, install a working POSIX-compatible shell." |
49 |
echo "Disabling this configure test will create a broken Libav."
|
|
49 |
echo "Disabling this configure test will create a broken FFmpeg."
|
|
50 | 50 |
if test "$BASH_VERSION" = '2.04.0(1)-release'; then |
51 | 51 |
echo "This bash version ($BASH_VERSION) is broken on your platform." |
52 | 52 |
echo "Upgrade to a later version if available." |
... | ... | |
238 | 238 |
--enable-sram allow use of on-chip SRAM |
239 | 239 |
--disable-symver disable symbol versioning |
240 | 240 |
|
241 |
Developer options (useful when working on Libav itself):
|
|
241 |
Developer options (useful when working on FFmpeg itself):
|
|
242 | 242 |
--disable-debug disable debugging symbols |
243 | 243 |
--enable-debug=LEVEL set the debug level [$debuglevel] |
244 | 244 |
--disable-optimizations disable compiler optimizations |
... | ... | |
280 | 280 |
|
281 | 281 |
If you think configure made a mistake, make sure you are using the latest |
282 | 282 |
version from Git. If the latest version fails, report the problem to the |
283 |
libav-user@libav.org mailing list or IRC #libav on irc.freenode.net.
|
|
283 |
ffmpeg-user@mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net.
|
|
284 | 284 |
EOF |
285 | 285 |
if disabled logging; then |
286 | 286 |
cat <<EOF |
... | ... | |
2344 | 2344 |
openbsd) |
2345 | 2345 |
enable malloc_aligned |
2346 | 2346 |
# On OpenBSD 4.5. the compiler does not use PIC unless |
2347 |
# explicitly using -fPIC. Libav builds fine without PIC,
|
|
2347 |
# explicitly using -fPIC. FFmpeg builds fine without PIC,
|
|
2348 | 2348 |
# however the generated executable will not do anything |
2349 | 2349 |
# (simply quits with exit-code 1, no crash, no output). |
2350 | 2350 |
# Thus explicitly enable PIC here. |
... | ... | |
3412 | 3412 |
EOF |
3413 | 3413 |
} |
3414 | 3414 |
|
3415 |
pkgconfig_generate libavutil "Libav utility library" "$LIBAVUTIL_VERSION" |
|
3416 |
pkgconfig_generate libavcodec "Libav codec library" "$LIBAVCODEC_VERSION" "$extralibs" |
|
3417 |
pkgconfig_generate libavformat "Libav container format library" "$LIBAVFORMAT_VERSION" "$extralibs" "libavcodec = $LIBAVCODEC_VERSION" |
|
3418 |
pkgconfig_generate libavdevice "Libav device handling library" "$LIBAVDEVICE_VERSION" "$extralibs" "libavformat = $LIBAVFORMAT_VERSION" |
|
3419 |
pkgconfig_generate libavfilter "Libav video filtering library" "$LIBAVFILTER_VERSION" "$extralibs" |
|
3420 |
pkgconfig_generate libpostproc "Libav post processing library" "$LIBPOSTPROC_VERSION" |
|
3421 |
pkgconfig_generate libswscale "Libav image rescaling library" "$LIBSWSCALE_VERSION" "" "libavutil = $LIBAVUTIL_VERSION" |
|
3415 |
pkgconfig_generate libavutil "FFmpeg utility library" "$LIBAVUTIL_VERSION" |
|
3416 |
pkgconfig_generate libavcodec "FFmpeg codec library" "$LIBAVCODEC_VERSION" "$extralibs" |
|
3417 |
pkgconfig_generate libavformat "FFmpeg container format library" "$LIBAVFORMAT_VERSION" "$extralibs" "libavcodec = $LIBAVCODEC_VERSION" |
|
3418 |
pkgconfig_generate libavdevice "FFmpeg device handling library" "$LIBAVDEVICE_VERSION" "$extralibs" "libavformat = $LIBAVFORMAT_VERSION" |
|
3419 |
pkgconfig_generate libavfilter "FFmpeg video filtering library" "$LIBAVFILTER_VERSION" "$extralibs" |
|
3420 |
pkgconfig_generate libpostproc "FFmpeg post processing library" "$LIBPOSTPROC_VERSION" |
|
3421 |
pkgconfig_generate libswscale "FFmpeg image rescaling library" "$LIBSWSCALE_VERSION" "" "libavutil = $LIBAVUTIL_VERSION" |
Also available in: Unified diff