Commit 29799f8b authored by Diego Biurrun's avatar Diego Biurrun

spelling fixes

Originally committed as revision 4613 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent b34c63f7
...@@ -14,35 +14,38 @@ echo "Standard options:" ...@@ -14,35 +14,38 @@ echo "Standard options:"
echo " --help print this message" echo " --help print this message"
echo " --prefix=PREFIX install in PREFIX [$prefix]" echo " --prefix=PREFIX install in PREFIX [$prefix]"
echo " --libdir=DIR install libs in DIR [PREFIX/lib]" echo " --libdir=DIR install libs in DIR [PREFIX/lib]"
echo " --mandir=DIR man documentation in DIR [PREFIX/man]" echo " --mandir=DIR install man page in DIR [PREFIX/man]"
echo " --enable-mp3lame enable mp3 encoding via libmp3lame [default=no]" echo " --enable-mp3lame enable MP3 encoding via libmp3lame [default=no]"
echo " --enable-libogg enable ogg support via libogg [default=no]" echo " --enable-libogg enable Ogg support via libogg [default=no]"
echo " --enable-vorbis enable vorbis support via libvorbis [default=no]" echo " --enable-vorbis enable Vorbis support via libvorbis [default=no]"
echo " --enable-theora enable theora support via libtheora [default=no]" echo " --enable-theora enable Theora support via libtheora [default=no]"
echo " --enable-faad enable faad support via libfaad [default=no]" echo " --enable-faad enable FAAD support via libfaad [default=no]"
echo " --enable-faadbin build faad support with runtime linking [default=no]" echo " --enable-faadbin build FAAD support with runtime linking [default=no]"
echo " --enable-faac enable faac support via libfaac [default=no]" echo " --enable-faac enable FAAC support via libfaac [default=no]"
echo " --enable-libgsm enable gsm support via libgsm [default=no]" echo " --enable-libgsm enable GSM support via libgsm [default=no]"
echo " --enable-xvid enable xvid support via xvidcore [default=no]" echo " --enable-xvid enable XviD support via xvidcore [default=no]"
echo " --enable-x264 enable H.264 encoding via x264 [default=no]" echo " --enable-x264 enable H.264 encoding via x264 [default=no]"
echo " --enable-mingw32 enable mingw32 native/cross windows compile" echo " --enable-mingw32 enable MinGW native/cross Windows compile"
echo " --enable-a52 enable GPL'ed A52 support [default=no]" echo " --enable-a52 enable GPLed A52 support [default=no]"
echo " --enable-a52bin open liba52.so.0 at runtime [default=no]" echo " --enable-a52bin open liba52.so.0 at runtime [default=no]"
echo " --enable-dts enable GPL'ed DTS support [default=no]" echo " --enable-dts enable GPLed DTS support [default=no]"
echo " --enable-pp enable GPL'ed post processing support [default=no]" echo " --enable-pp enable GPLed postprocessing support [default=no]"
echo " --enable-shared-pp use libpostproc.so [default=no]" echo " --enable-shared-pp use libpostproc.so [default=no]"
echo " --enable-shared build shared libraries [default=no]" echo " --enable-shared build shared libraries [default=no]"
echo " --enable-amr_nb enable amr_nb float audio codec" echo " --enable-amr_nb enable amr_nb float audio codec"
echo " --enable-amr_nb-fixed use fixed point for amr-nb codec" echo " --enable-amr_nb-fixed use fixed point for amr-nb codec"
echo " --enable-amr_wb enable amr_wb float audio codec" echo " --enable-amr_wb enable amr_wb float audio codec"
echo " --enable-amr_if2 enable amr_wb IF2 audio codec"
echo " --enable-sunmlib use Sun medialib [default=no]" echo " --enable-sunmlib use Sun medialib [default=no]"
echo " --enable-pthreads use pthreads [default=no]" echo " --enable-pthreads use pthreads [default=no]"
echo " --enable-dc1394 enable IIDC-1394 grabbing using libdc1394 and libraw1394 [default=no]" echo " --enable-dc1394 enable IIDC-1394 grabbing using libdc1394"
echo " --enable-gpl allow use of gpl code, the resulting libav* and ffmpeg will be under gpl [default=no]" echo " and libraw1394 [default=no]"
echo " --enable-gpl allow use of GPL code, the resulting libav*"
echo " and ffmpeg will be under GPL [default=no]"
echo "" echo ""
echo "Advanced options (experts only):" echo "Advanced options (experts only):"
echo " --source-path=PATH path of source code [$source_path]" echo " --source-path=PATH path to source code [$source_path]"
echo " --cross-prefix=PREFIX use PREFIX for compile tools [$cross_prefix]" echo " --cross-prefix=PREFIX use PREFIX for compilation tools [$cross_prefix]"
echo " --cc=CC use C compiler CC [$cc]" echo " --cc=CC use C compiler CC [$cc]"
echo " --make=MAKE use specified make [$make]" echo " --make=MAKE use specified make [$make]"
echo " --extra-cflags=ECFLAGS add ECFLAGS to CFLAGS [$CFLAGS]" echo " --extra-cflags=ECFLAGS add ECFLAGS to CFLAGS [$CFLAGS]"
...@@ -50,9 +53,11 @@ echo " --extra-ldflags=ELDFLAGS add ELDFLAGS to LDFLAGS [$LDFLAGS]" ...@@ -50,9 +53,11 @@ echo " --extra-ldflags=ELDFLAGS add ELDFLAGS to LDFLAGS [$LDFLAGS]"
echo " --extra-libs=ELIBS add ELIBS [$ELIBS]" echo " --extra-libs=ELIBS add ELIBS [$ELIBS]"
echo " --build-suffix=SUFFIX suffix for application specific build []" echo " --build-suffix=SUFFIX suffix for application specific build []"
echo " --cpu=CPU force cpu to CPU [$cpu]" echo " --cpu=CPU force cpu to CPU [$cpu]"
echo " --tune=PROCESSOR tune code for a particular CPU (may fails or misperforms on other CPUs)" echo " --tune=CPU tune code for a particular CPU"
echo " --powerpc-perf-enable enable performance report on PPC (requires enabling PMC)" echo " (may fail or perform badly on other CPUs)"
echo " --disable-mmx disable mmx usage" echo " --powerpc-perf-enable enable performance report on PPC"
echo " (requires enabling PMC)"
echo " --disable-mmx disable MMX usage"
echo " --disable-iwmmxt disable iwmmxt usage" echo " --disable-iwmmxt disable iwmmxt usage"
echo " --disable-altivec disable AltiVec usage" echo " --disable-altivec disable AltiVec usage"
echo " --disable-audio-oss disable OSS audio support [default=no]" echo " --disable-audio-oss disable OSS audio support [default=no]"
...@@ -68,20 +73,20 @@ echo " --enable-gprof enable profiling with gprof [$gprof]" ...@@ -68,20 +73,20 @@ echo " --enable-gprof enable profiling with gprof [$gprof]"
echo " --disable-debug disable debugging symbols" echo " --disable-debug disable debugging symbols"
echo " --disable-opts disable compiler optimizations" echo " --disable-opts disable compiler optimizations"
echo " --disable-mpegaudio-hp faster (but less accurate)" echo " --disable-mpegaudio-hp faster (but less accurate)"
echo " mpegaudio decoding [default=no]" echo " MPEG audio decoding [default=no]"
echo " --disable-ffserver disable ffserver build" echo " --disable-ffserver disable ffserver build"
echo " --disable-ffplay disable ffplay build" echo " --disable-ffplay disable ffplay build"
echo " --enable-small optimize for size instead of speed" echo " --enable-small optimize for size instead of speed"
echo " --enable-memalign-hack emulate memalign, interferes with memory debuggers" echo " --enable-memalign-hack emulate memalign, interferes with memory debuggers"
echo " --disable-strip disable stripping of executables and shared libraries" echo " --disable-strip disable stripping of executables and shared libraries"
echo " --enable-codec=codec enables codec" echo " --enable-codec=CODEC enables CODEC"
echo " --disable-codec=codec disables codec" echo " --disable-codec=CODEC disables CODEC"
echo " --disable-encoders disables all encoders" echo " --disable-encoders disables all encoders"
echo " --disable-decoders disables all decoders" echo " --disable-decoders disables all decoders"
echo " --disable-muxers disables all muxers" echo " --disable-muxers disables all muxers"
echo " --disable-demuxers disables all demuxers" echo " --disable-demuxers disables all demuxers"
echo "" echo ""
echo "NOTE: The object files are build at the place where configure is launched" echo "NOTE: Object files are built at the place where configure is launched."
exit 1 exit 1
fi fi
...@@ -241,11 +246,11 @@ CFLAGS="$CFLAGS -fno-expensive-optimizations" ...@@ -241,11 +246,11 @@ CFLAGS="$CFLAGS -fno-expensive-optimizations"
;; ;;
esac esac
SHFLAGS=-nostart SHFLAGS=-nostart
# disable linux things # disable Linux things
audio_oss="no" audio_oss="no"
v4l="no" v4l="no"
dv1394="no" dv1394="no"
# enable beos things # enable BeOS things
audio_beos="yes" audio_beos="yes"
# no need for libm, but the inet stuff # no need for libm, but the inet stuff
# Check for BONE # Check for BONE
...@@ -321,7 +326,7 @@ FFSLDFLAGS=-Wl,-bind_at_load ...@@ -321,7 +326,7 @@ FFSLDFLAGS=-Wl,-bind_at_load
;; ;;
MINGW32*) MINGW32*)
# Note: the rest of the mingw32 config is done afterwards as mingw32 # Note: the rest of the mingw32 config is done afterwards as mingw32
# can be forced on command line for linux cross compilation # can be forced on the command line for Linux cross compilation.
mingw32="yes" mingw32="yes"
;; ;;
CYGWIN*) CYGWIN*)
...@@ -369,9 +374,9 @@ os2="yes" ...@@ -369,9 +374,9 @@ os2="yes"
*) ;; *) ;;
esac esac
# From mplayer configure. We need TARGET_OS available # From MPlayer configure. We need TARGET_OS available
# to the Makefile, so it can distinguish between flavors # to the Makefile, so it can distinguish between flavors
# of AltiVec on PowerPC # of AltiVec on PowerPC.
TARGET_OS=`( uname -s ) 2>&1` TARGET_OS=`( uname -s ) 2>&1`
case "$TARGET_OS" in case "$TARGET_OS" in
Linux|FreeBSD|NetBSD|BSD/OS|OpenBSD|SunOS|QNX|Darwin|GNU|BeOS) Linux|FreeBSD|NetBSD|BSD/OS|OpenBSD|SunOS|QNX|Darwin|GNU|BeOS)
...@@ -551,7 +556,7 @@ done ...@@ -551,7 +556,7 @@ done
if test "$theora" = "yes" ; then if test "$theora" = "yes" ; then
if test "$libogg" = "no"; then if test "$libogg" = "no"; then
echo "libogg must be enabled to enable Theora" echo "libogg must be enabled to enable Theora."
fail="yes" fail="yes"
theora="no" theora="no"
fi fi
...@@ -559,7 +564,7 @@ fi ...@@ -559,7 +564,7 @@ fi
if test "$vorbis" = "yes" ; then if test "$vorbis" = "yes" ; then
if test "$libogg" = "no"; then if test "$libogg" = "no"; then
echo "libogg must be enabled to enable Vorbis" echo "libogg must be enabled to enable Vorbis."
fail="yes" fail="yes"
vorbis="no" vorbis="no"
fi fi
...@@ -567,27 +572,27 @@ fi ...@@ -567,27 +572,27 @@ fi
if test "$gpl" != "yes"; then if test "$gpl" != "yes"; then
if test "$pp" != "no" -o "$shared_pp" != "no"; then if test "$pp" != "no" -o "$shared_pp" != "no"; then
echo "The Postprocessing code is under GPL and --enable-gpl is not specified" echo "The Postprocessing code is under GPL and --enable-gpl is not specified."
fail="yes" fail="yes"
fi fi
if test "$a52" != "no" -o "$a52bin" != "no"; then if test "$a52" != "no" -o "$a52bin" != "no"; then
echo "liba52 is under GPL and --enable-gpl is not specified" echo "liba52 is under GPL and --enable-gpl is not specified."
fail="yes" fail="yes"
fi fi
if test "$xvid" != "no"; then if test "$xvid" != "no"; then
echo "libxvidcore is under GPL and --enable-gpl is not specified" echo "libxvidcore is under GPL and --enable-gpl is not specified."
fail="yes" fail="yes"
fi fi
if test "$x264" != "no"; then if test "$x264" != "no"; then
echo "x264 is under GPL and --enable-gpl is not specified" echo "x264 is under GPL and --enable-gpl is not specified."
fail="yes" fail="yes"
fi fi
if test "$dts" != "no"; then if test "$dts" != "no"; then
echo "libdts is under GPL and --enable-gpl is not specified" echo "libdts is under GPL and --enable-gpl is not specified."
fail="yes" fail="yes"
fi fi
...@@ -606,13 +611,13 @@ EOF ...@@ -606,13 +611,13 @@ EOF
int main( void ) { return 0; } int main( void ) { return 0; }
EOF EOF
if $cc $CFLAGS -o $TMPE $TMPC 2> /dev/null ; then if $cc $CFLAGS -o $TMPE $TMPC 2> /dev/null ; then
echo "faad2 is under GPL and --enable-gpl is not specified" echo "FAAD2 is under GPL and --enable-gpl is not specified."
fail="yes" fail="yes"
fi fi
else else
faad="no" faad="no"
faadbin="no" faadbin="no"
echo "faad test failed" echo "FAAD test failed."
fi fi
fi fi
...@@ -622,7 +627,7 @@ EOF ...@@ -622,7 +627,7 @@ EOF
fi fi
fi fi
# compute mmx state # compute MMX state
if test $mmx = "default"; then if test $mmx = "default"; then
if test $cpu = "x86" -o $cpu = "x86_64"; then if test $cpu = "x86" -o $cpu = "x86_64"; then
mmx="yes" mmx="yes"
...@@ -689,49 +694,49 @@ if test $tune != "generic"; then ...@@ -689,49 +694,49 @@ if test $tune != "generic"; then
601|ppc601|PowerPC601) 601|ppc601|PowerPC601)
CFLAGS="$CFLAGS -mcpu=601" CFLAGS="$CFLAGS -mcpu=601"
if test $altivec = "yes"; then if test $altivec = "yes"; then
echo "WARNING: tuning for PPC601 but altivec enabled !"; echo "WARNING: Tuning for PPC601 but AltiVec enabled!";
fi fi
TUNECPU=ppc601 TUNECPU=ppc601
;; ;;
603*|ppc603*|PowerPC603*) 603*|ppc603*|PowerPC603*)
CFLAGS="$CFLAGS -mcpu=603" CFLAGS="$CFLAGS -mcpu=603"
if test $altivec = "yes"; then if test $altivec = "yes"; then
echo "WARNING: tuning for PPC603 but altivec enabled !"; echo "WARNING: Tuning for PPC603 but AltiVec enabled!";
fi fi
TUNECPU=ppc603 TUNECPU=ppc603
;; ;;
604*|ppc604*|PowerPC604*) 604*|ppc604*|PowerPC604*)
CFLAGS="$CFLAGS -mcpu=604" CFLAGS="$CFLAGS -mcpu=604"
if test $altivec = "yes"; then if test $altivec = "yes"; then
echo "WARNING: tuning for PPC604 but altivec enabled !"; echo "WARNING: Tuning for PPC604 but AltiVec enabled!";
fi fi
TUNECPU=ppc604 TUNECPU=ppc604
;; ;;
G3|g3|75*|ppc75*|PowerPC75*) G3|g3|75*|ppc75*|PowerPC75*)
CFLAGS="$CFLAGS -mcpu=750 -mtune=750 -mpowerpc-gfxopt" CFLAGS="$CFLAGS -mcpu=750 -mtune=750 -mpowerpc-gfxopt"
if test $altivec = "yes"; then if test $altivec = "yes"; then
echo "WARNING: tuning for PPC75x but altivec enabled !"; echo "WARNING: Tuning for PPC75x but AltiVec enabled!";
fi fi
TUNECPU=ppc750 TUNECPU=ppc750
;; ;;
G4|g4|745*|ppc745*|PowerPC745*) G4|g4|745*|ppc745*|PowerPC745*)
CFLAGS="$CFLAGS -mcpu=7450 -mtune=7450 -mpowerpc-gfxopt" CFLAGS="$CFLAGS -mcpu=7450 -mtune=7450 -mpowerpc-gfxopt"
if test $altivec = "no"; then if test $altivec = "no"; then
echo "WARNING: tuning for PPC745x but altivec disabled !"; echo "WARNING: Tuning for PPC745x but AltiVec disabled!";
fi fi
TUNECPU=ppc7450 TUNECPU=ppc7450
;; ;;
74*|ppc74*|PowerPC74*) 74*|ppc74*|PowerPC74*)
CFLAGS="$CFLAGS -mcpu=7400 -mtune=7400 -mpowerpc-gfxopt" CFLAGS="$CFLAGS -mcpu=7400 -mtune=7400 -mpowerpc-gfxopt"
if test $altivec = "no"; then if test $altivec = "no"; then
echo "WARNING: tuning for PPC74xx but altivec disabled !"; echo "WARNING: Tuning for PPC74xx but AltiVec disabled!";
fi fi
TUNECPU=ppc7400 TUNECPU=ppc7400
;; ;;
G5|g5|970|ppc970|PowerPC970|power4*|Power4*) G5|g5|970|ppc970|PowerPC970|power4*|Power4*)
CFLAGS="$CFLAGS -mcpu=970 -mtune=970 -mpowerpc-gfxopt -mpowerpc64" CFLAGS="$CFLAGS -mcpu=970 -mtune=970 -mpowerpc-gfxopt -mpowerpc64"
if test $altivec = "no"; then if test $altivec = "no"; then
echo "WARNING: tuning for PPC970 but altivec disabled !"; echo "WARNING: Tuning for PPC970 but AltiVec disabled!";
fi fi
TUNECPU=ppc970 TUNECPU=ppc970
POWERPCMODE="64bits" POWERPCMODE="64bits"
...@@ -740,7 +745,7 @@ if test $tune != "generic"; then ...@@ -740,7 +745,7 @@ if test $tune != "generic"; then
CFLAGS="$CFLAGS -march=$tune" CFLAGS="$CFLAGS -march=$tune"
;; ;;
*) *)
echo "WARNING: unknown CPU \"$tune\", ignored" echo "WARNING: Unknown CPU \"$tune\", ignored."
;; ;;
esac esac
fi fi
...@@ -756,7 +761,7 @@ if test $cpu = "powerpc"; then ...@@ -756,7 +761,7 @@ if test $cpu = "powerpc"; then
fi fi
fi fi
# See if we have <altivec.h> # check if we have <altivec.h>
cat > $TMPC << EOF cat > $TMPC << EOF
#include <altivec.h> #include <altivec.h>
int main( void ) { return 0; } int main( void ) { return 0; }
...@@ -767,7 +772,7 @@ if $cc $CFLAGS -o $TMPE $TMPC 2> /dev/null ; then ...@@ -767,7 +772,7 @@ if $cc $CFLAGS -o $TMPE $TMPC 2> /dev/null ; then
_altivec_h="yes" _altivec_h="yes"
fi fi
# See does our compiler support Motorola AltiVec C API # check if our compiler supports Motorola AltiVec C API
if test $altivec = "yes"; then if test $altivec = "yes"; then
if test $_altivec_h = "yes"; then if test $_altivec_h = "yes"; then
cat > $TMPC << EOF cat > $TMPC << EOF
...@@ -790,7 +795,7 @@ fi ...@@ -790,7 +795,7 @@ fi
$cc $CFLAGS -o $TMPE $TMPC 2> /dev/null || altivec="no" $cc $CFLAGS -o $TMPE $TMPC 2> /dev/null || altivec="no"
fi fi
# Can only do mmi on mips # mmi only available on mips
if test $mmi = "default"; then if test $mmi = "default"; then
if test $cpu = "mips"; then if test $cpu = "mips"; then
mmi="yes" mmi="yes"
...@@ -799,7 +804,7 @@ if test $mmi = "default"; then ...@@ -799,7 +804,7 @@ if test $mmi = "default"; then
fi fi
fi fi
# See does our compiler support mmi # check if our compiler supports mmi
if test $mmi = "yes"; then if test $mmi = "yes"; then
cat > $TMPC << EOF cat > $TMPC << EOF
int main(void) { int main(void) {
...@@ -833,7 +838,7 @@ strip="${cross_prefix}${strip}" ...@@ -833,7 +838,7 @@ strip="${cross_prefix}${strip}"
if test -z "$cross_prefix" ; then if test -z "$cross_prefix" ; then
# --- # ---
# big/little endian test # big/little-endian test
cat > $TMPC << EOF cat > $TMPC << EOF
#include <inttypes.h> #include <inttypes.h>
int main(int argc, char ** argv){ int main(int argc, char ** argv){
...@@ -850,7 +855,7 @@ fi ...@@ -850,7 +855,7 @@ fi
else else
# if cross compiling, cannot launch a program, so make a static guess # programs cannot be launched if cross compiling, so make a static guess
if test "$cpu" = "powerpc" -o "$cpu" = "mips" ; then if test "$cpu" = "powerpc" -o "$cpu" = "mips" ; then
bigendian="yes" bigendian="yes"
fi fi
...@@ -907,7 +912,7 @@ $cc -o $TMPE $TMPC 2> /dev/null || _memalign=no ...@@ -907,7 +912,7 @@ $cc -o $TMPE $TMPC 2> /dev/null || _memalign=no
fi fi
if test "$_memalign" = "no" -a "$mmx" = "yes" -a "$memalignhack" != "yes"; then if test "$_memalign" = "no" -a "$mmx" = "yes" -a "$memalignhack" != "yes"; then
echo "error, no memalign() but sse enabled, either disable it or use --enable-memalign-hack" echo "Error, no memalign() but SSE enabled, disable it or use --enable-memalign-hack."
exit 1 exit 1
fi fi
...@@ -1027,7 +1032,7 @@ fi ...@@ -1027,7 +1032,7 @@ fi
########################################## ##########################################
# imlib probe # imlib check
cat > $TMPC << EOF cat > $TMPC << EOF
#include <X11/Xlib.h> #include <X11/Xlib.h>
...@@ -1041,7 +1046,7 @@ imlib2=yes ...@@ -1041,7 +1046,7 @@ imlib2=yes
fi fi
########################################## ##########################################
# freetype probe # FreeType check
cat > $TMPC << EOF cat > $TMPC << EOF
#include <ft2build.h> #include <ft2build.h>
...@@ -1058,7 +1063,7 @@ if test "x$targetos" != "xBeOS" && test "$os2" != "yes"; then ...@@ -1058,7 +1063,7 @@ if test "x$targetos" != "xBeOS" && test "$os2" != "yes"; then
fi fi
########################################## ##########################################
# SDL probe # SDL check
cat > $TMPC << EOF cat > $TMPC << EOF
#include <SDL.h> #include <SDL.h>
...@@ -1080,7 +1085,7 @@ fi ...@@ -1080,7 +1085,7 @@ fi
fi fi
########################################## ##########################################
# texi2html probe # texi2html check
texi2html=no texi2html=no
if (texi2html -version) >/dev/null 2>&1; then if (texi2html -version) >/dev/null 2>&1; then
...@@ -1089,7 +1094,7 @@ fi ...@@ -1089,7 +1094,7 @@ fi
if test "$network" = "yes" ; then if test "$network" = "yes" ; then
########################################## ##########################################
# IPv6 probe # IPv6 check
cat > $TMPC << EOF cat > $TMPC << EOF
#include <sys/types.h> #include <sys/types.h>
...@@ -1163,15 +1168,15 @@ if test x"$mandir" = x""; then ...@@ -1163,15 +1168,15 @@ if test x"$mandir" = x""; then
mandir="${prefix}/man" mandir="${prefix}/man"
fi fi
echo "Install prefix $prefix" echo "install prefix $prefix"
echo "Source path $source_path" echo "source path $source_path"
echo "C compiler $cc" echo "C compiler $cc"
echo "make $make" echo "make $make"
echo "CPU $cpu ($tune)" echo "CPU $cpu ($tune)"
if test "$BUILDSUF" != ""; then if test "$BUILDSUF" != ""; then
echo "Build suffix $BUILDSUF" echo "build suffix $BUILDSUF"
fi fi
echo "Big Endian $bigendian" echo "big-endian $bigendian"
echo "inttypes.h $inttypes" echo "inttypes.h $inttypes"
echo "broken inttypes.h $emu_fast_int" echo "broken inttypes.h $emu_fast_int"
if test $cpu = "x86" -o $cpu = "x86_64"; then if test $cpu = "x86" -o $cpu = "x86_64"; then
...@@ -1192,30 +1197,30 @@ echo "zlib enabled $zlib" ...@@ -1192,30 +1197,30 @@ echo "zlib enabled $zlib"
echo "libgsm enabled $libgsm" echo "libgsm enabled $libgsm"
echo "mp3lame enabled $mp3lame" echo "mp3lame enabled $mp3lame"
echo "libogg enabled $libogg" echo "libogg enabled $libogg"
echo "vorbis enabled $vorbis" echo "Vorbis enabled $vorbis"
echo "theora enabled $theora" echo "Theora enabled $theora"
echo "faad enabled $faad" echo "FAAD enabled $faad"
echo "faadbin enabled $faadbin" echo "faadbin enabled $faadbin"
echo "faac enabled $faac" echo "FAAC enabled $faac"
echo "xvid enabled $xvid" echo "XviD enabled $xvid"
echo "x264 enabled $x264" echo "x264 enabled $x264"
echo "a52 support $a52" echo "a52 support $a52"
echo "a52 dlopened $a52bin" echo "a52 dlopened $a52bin"
echo "dts support $dts" echo "DTS support $dts"
echo "pp support $pp" echo "pp support $pp"
echo "debug symbols $debug" echo "debug symbols $debug"
echo "strip symbols $dostrip" echo "strip symbols $dostrip"
echo "optimize $optimize" echo "optimize $optimize"
echo "shared pp $shared_pp" echo "shared pp $shared_pp"
echo "Video hooking $vhook" echo "video hooking $vhook"
echo "SDL support $sdl" echo "SDL support $sdl"
if test $sdl_too_old = "yes"; then if test $sdl_too_old = "yes"; then
echo "-> Your SDL version is too old - please upgrade to have FFplay/SDL support" echo "-> Your SDL version is too old - please upgrade to have FFplay/SDL support."
fi fi
if test "$vhook" = "yes" ; then if test "$vhook" = "yes" ; then
echo "Imlib2 support $imlib2" echo "Imlib2 support $imlib2"
echo "freetype support $freetype2" echo "FreeType support $freetype2"
fi fi
echo "Sun medialib support" $sunmlib echo "Sun medialib support" $sunmlib
echo "pthreads support" $pthreads echo "pthreads support" $pthreads
...@@ -1233,12 +1238,12 @@ else ...@@ -1233,12 +1238,12 @@ else
echo "License: GPL" echo "License: GPL"
fi fi
echo "Creating config.mak and config.h" echo "Creating config.mak and config.h..."
date >> config.log date >> config.log
echo " $0 $FFMPEG_CONFIGURATION" >> config.log echo " $0 $FFMPEG_CONFIGURATION" >> config.log
echo "# Automatically generated by configure - do not modify" > config.mak echo "# Automatically generated by configure - do not modify!" > config.mak
echo "/* Automatically generated by configure - do not modify */" > $TMPH echo "/* Automatically generated by configure - do not modify! */" > $TMPH
echo "#define FFMPEG_CONFIGURATION "'"'"$FFMPEG_CONFIGURATION"'"' >> $TMPH echo "#define FFMPEG_CONFIGURATION "'"'"$FFMPEG_CONFIGURATION"'"' >> $TMPH
echo "prefix=$prefix" >> config.mak echo "prefix=$prefix" >> config.mak
...@@ -1257,7 +1262,7 @@ echo "STRIP=echo ignoring strip" >> config.mak ...@@ -1257,7 +1262,7 @@ echo "STRIP=echo ignoring strip" >> config.mak
echo "INSTALLSTRIP=" >> config.mak echo "INSTALLSTRIP=" >> config.mak
fi fi
# SHCFLAGS is a copy of CFLAGS without -mdynamic-no-pic. Used when building # SHCFLAGS is a copy of CFLAGS without -mdynamic-no-pic, used when building
# shared modules on OS/X (vhook/Makefile). # shared modules on OS/X (vhook/Makefile).
SHCFLAGS=$CFLAGS SHCFLAGS=$CFLAGS
if test "$needmdynamicnopic" = yes; then if test "$needmdynamicnopic" = yes; then
...@@ -1404,11 +1409,11 @@ echo "EXTRALIBS=$extralibs" >> config.mak ...@@ -1404,11 +1409,11 @@ echo "EXTRALIBS=$extralibs" >> config.mak
version=`grep '#define FFMPEG_VERSION ' "$source_path/libavcodec/avcodec.h" | version=`grep '#define FFMPEG_VERSION ' "$source_path/libavcodec/avcodec.h" |
cut -d '"' -f 2` cut -d '"' -f 2`
echo "VERSION=$version" >>config.mak echo "VERSION=$version" >>config.mak
# if you do not want to use encoders, disable that. # If you do not want to use encoders, disable them.
echo "#define CONFIG_ENCODERS 1" >> $TMPH echo "#define CONFIG_ENCODERS 1" >> $TMPH
echo "CONFIG_ENCODERS=yes" >> config.mak echo "CONFIG_ENCODERS=yes" >> config.mak
# if you do not want to use decoders, disable that. # If you do not want to use decoders, disable them.
echo "#define CONFIG_DECODERS 1" >> $TMPH echo "#define CONFIG_DECODERS 1" >> $TMPH
echo "CONFIG_DECODERS=yes" >> config.mak echo "CONFIG_DECODERS=yes" >> config.mak
...@@ -1452,7 +1457,7 @@ if test "$pp" = "yes" ; then ...@@ -1452,7 +1457,7 @@ if test "$pp" = "yes" ; then
fi fi
fi fi
# mpeg audio high precision mode # MPEG audio high precision mode
if test "$mpegaudio_hp" = "yes" ; then if test "$mpegaudio_hp" = "yes" ; then
echo "#define CONFIG_MPEGAUDIO_HP 1" >> $TMPH echo "#define CONFIG_MPEGAUDIO_HP 1" >> $TMPH
fi fi
...@@ -1735,7 +1740,7 @@ fi ...@@ -1735,7 +1740,7 @@ fi
rm -f $TMPO $TMPC $TMPE $TMPS $TMPH rm -f $TMPO $TMPC $TMPE $TMPS $TMPH
# build pkg-config files libavcodec.pc, libavformat.pc and libpostproc.pc # build pkg-config files libav*.pc and libpostproc.pc
lavc_version=`grep '#define LIBAVCODEC_VERSION ' "$source_path/libavcodec/avcodec.h" | sed 's/[^0-9\.]//g'` lavc_version=`grep '#define LIBAVCODEC_VERSION ' "$source_path/libavcodec/avcodec.h" | sed 's/[^0-9\.]//g'`
lavf_version=`grep '#define LIBAVFORMAT_VERSION ' "$source_path/libavformat/avformat.h" | sed 's/[^0-9\.]//g'` lavf_version=`grep '#define LIBAVFORMAT_VERSION ' "$source_path/libavformat/avformat.h" | sed 's/[^0-9\.]//g'`
lavu_version=`grep '#define LIBAVUTIL_VERSION ' "$source_path/libavutil/avutil.h" | sed 's/[^0-9\.]//g'` lavu_version=`grep '#define LIBAVUTIL_VERSION ' "$source_path/libavutil/avutil.h" | sed 's/[^0-9\.]//g'`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment