⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 configure

📁 F:图像处理资料264264书籍ffmpeg-0.4.9-pre1VideoStream.rar 一个视频解压缩源代码
💻
📖 第 1 页 / 共 3 页
字号:
#!/bin/sh## ffmpeg configure script (c) 2000, 2001, 2002 Fabrice Bellard#if test x"$1" = x"-h" -o x"$1" = x"--help" ; thencat << EOFUsage: configure [options]Options: [defaults in brackets after descriptions]EOFecho "Standard options:"echo "  --help                   print this message"echo "  --prefix=PREFIX          install in PREFIX [$prefix]"echo "  --mandir=DIR             man documentation in DIR [PREFIX/man]"echo "  --enable-mp3lame         enable mp3 encoding via libmp3lame [default=no]"echo "  --enable-vorbis          enable vorbis support via libvorbisenc [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-faac            enable faac support via libfaac [default=no]"echo "  --enable-mingw32         enable mingw32 native/cross windows compile"echo "  --enable-a52             enable GPL'ed A52 support [default=no]"echo "  --enable-a52bin          open liba52.so.0 at runtime [default=no]"echo "  --enable-pp              enable GPL'ed post processing support [default=no]"echo "  --enable-shared-pp       use libpostproc.so [default=no]"echo "  --enable-shared          build shared libraries [default=no]"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_wb          enable amr_wb float audio codec"echo "  --enable-sunmlib         use Sun medialib [default=no]"echo "  --enable-pthreads        use pthreads [default=no]"echo "  --enable-gpl             allow use of gpl code, the resulting libav* and ffmpeg will be under gpl [default=no]"echo ""echo "Advanced options (experts only):"echo "  --source-path=PATH       path of source code [$source_path]"echo "  --cross-prefix=PREFIX    use PREFIX for compile tools [$cross_prefix]"echo "  --cc=CC                  use C compiler CC [$cc]"echo "  --make=MAKE              use specified make [$make]"echo "  --extra-cflags=ECFLAGS   add ECFLAGS to CFLAGS [$CFLAGS]"echo "  --extra-ldflags=ELDFLAGS add ELDFLAGS to LDFLAGS [$LDFLAGS]"echo "  --extra-libs=ELIBS       add ELIBS [$ELIBS]"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 "  --powerpc-perf-enable    enable performance report on PPC (requires enabling PMC)"echo "  --disable-mmx            disable mmx usage"echo "  --disable-altivec        disable AltiVec usage"echo "  --disable-audio-oss      disable OSS audio support [default=no]"echo "  --disable-audio-beos     disable BeOS audio support [default=no]"echo "  --disable-v4l            disable video4linux grabbing [default=no]"echo "  --disable-dv1394         disable DV1394 grabbing [default=no]"echo "  --disable-network        disable network support [default=no]"echo "  --disable-zlib           disable zlib [default=no]"echo "  --disable-simple_idct    disable simple IDCT routines [default=no]"echo "  --disable-vhook          disable video hooking support"echo "  --enable-gprof           enable profiling with gprof [$gprof]"echo "  --disable-debug          disable debugging symbols"echo "  --disable-opts           disable compiler optimizations"echo "  --disable-mpegaudio-hp   faster (but less accurate)"echo "                           mpegaudio decoding [default=no]"echo "  --disable-ffserver       disable ffserver build"echo "  --disable-ffplay         disable ffplay build"echo "  --disable-risky          disables patent encumbered codecs"echo "  --enable-small           optimize for size instead of speed"echo "  --enable-memalign-hack   emulate memalign, interferes with memory debuggers"echo ""echo "NOTE: The object files are build at the place where configure is launched"exit 1fi# set temporary file nameif test ! -z "$TMPDIR" ; then    TMPDIR1="${TMPDIR}"elif test ! -z "$TEMPDIR" ; then    TMPDIR1="${TEMPDIR}"else    TMPDIR1="/tmp"fiTMPC="${TMPDIR1}/ffmpeg-conf-${RANDOM}-$$-${RANDOM}.c"TMPO="${TMPDIR1}/ffmpeg-conf-${RANDOM}-$$-${RANDOM}.o"TMPE="${TMPDIR1}/ffmpeg-conf-${RANDOM}-$$-${RANDOM}"TMPS="${TMPDIR1}/ffmpeg-conf-${RANDOM}-$$-${RANDOM}.S"TMPH="${TMPDIR1}/ffmpeg-conf-${RANDOM}-$$-${RANDOM}.h"# default parametersprefix="/usr/local"mandir=""bindir=""cross_prefix=""cc="gcc"ar="ar"ranlib="ranlib"make="make"strip="strip"cpu=`uname -m`tune="generic"powerpc_perf="no"mmx="default"altivec="default"mmi="default"case "$cpu" in  i386|i486|i586|i686|i86pc|BePC)    cpu="x86"  ;;  # armv4l is a subset of armv5tel  armv4l|armv5tel)    cpu="armv4l"  ;;  alpha)    cpu="alpha"  ;;  "Power Macintosh"|ppc)    cpu="powerpc"  ;;  mips)    cpu="mips"  ;;  sun4u|sparc64)    cpu="sparc64"  ;;  sparc)    cpu="sparc"  ;;  sh4)    cpu="sh4"  ;;  *)    cpu="unknown"  ;;esacgprof="no"v4l="yes"audio_oss="yes"audio_beos="no"dv1394="yes"network="yes"zlib="yes"mp3lame="no"vorbis="no"faad="no"faadbin="no"faac="no"a52="no"a52bin="no"pp="no"shared_pp="no"mingw32="no"cygwin="no"os2="no"lshared="no"optimize="yes"debug="yes"extralibs="-lm"simpleidct="yes"bigendian="no"inttypes="yes"emu_fast_int="no"vhook="default"dlfcn="no"dlopen="no"mpegaudio_hp="yes"SHFLAGS=-sharednetserver="no"need_inet_aton="no"ffserver="yes"ffplay="yes"LDFLAGS=-Wl,--warn-commonFFSLDFLAGS=-Wl,-ELIBPREF="lib"LIBSUF=".a"SLIBPREF="lib"SLIBSUF=".so"EXESUF=""risky="yes"amr_nb="no"amr_wb="no"amr_nb_fixed="no"sunmlib="no"pthreads="no"gpl="no"memalignhack="no"# OS specifictargetos=`uname -s`case $targetos inBeOS)prefix="/boot/home/config"# helps building libavcodecCFLAGS="-DPIC -fomit-frame-pointer"# 3 gcc releases known for BeOS, each with ugly bugsgcc_version="`$cc -v 2>&1 | grep version | cut -d ' ' -f3-`"case "$gcc_version" in2.9-beos-991026*|2.9-beos-000224*) echo "R5/GG gcc"mmx="no";;*20010315*) echo "BeBits gcc"CFLAGS="$CFLAGS -fno-expensive-optimizations";;esacSHFLAGS=-nostart# disable linux thingsaudio_oss="no"v4l="no"dv1394="no"# enable beos thingsaudio_beos="yes"# no need for libm, but the inet stuff# Check for BONEif (echo $BEINCLUDES|grep 'headers/be/bone' >/dev/null); thenextralibs="-lbind -lsocket"elsenetserver="yes"need_inet_aton="yes"extralibs="-lnet"fi ;;SunOS)v4l="no"audio_oss="no"dv1394="no"make="gmake"LDFLAGS=""FFSLDFLAGS=""need_inet_aton="yes"extralibs="$extralibs -lsocket -lnsl";;FreeBSD)v4l="no"audio_oss="yes"dv1394="no"make="gmake"CFLAGS="-pthread"LDFLAGS="$LDFLAGS -export-dynamic -pthread";;BSD/OS)v4l="no"audio_oss="yes"dv1394="no"extralibs="-lpoll -lgnugetopt -lm"make="gmake";;Darwin)cc="cc"v4l="no"audio_oss="no"dv1394="no"ffserver="no"SHFLAGS="-dynamiclib"extralibs=""darwin="yes"strip="strip -x"LDFLAGS="-Wl,-d"FFSLDFLAGS=-Wl,-bind_at_load;;MINGW32*)# Note: the rest of the mingw32 config is done afterwards as mingw32# can be forced on command line for linux cross compilationmingw32="yes";;CYGWIN*)v4l="no"audio_oss="yes"dv1394="no"extralibs=""cygwin="yes"test -f /usr/include/inttypes.h || \test -f /usr/local/include/inttypes.h || \echo "Missing inttypes.h, please copy cygwin_inttypes.h to" \     "/usr/include/inttypes.h !!!";;Linux)LDFLAGS="$LDFLAGS -rdynamic";;IRIX*)ranlib="echo ignoring ranlib"v4l="no"audio_oss="no"make="gmake";;OS/2)TMPE=$TMPE".exe"ar="emxomfar -p64"ranlib="echo ignoring ranlib"strip="echo ignoring strip"CFLAGS="-Zomf"LDFLAGS="-Zomf -Zstack 16384 -s"SHFLAGS=""FFSLDFLAGS=""LIBPREF=""LIBSUF=".lib"SLIBPREF=""SLIBSUF=".dll"EXESUF=".exe"extralibs=""v4l="no"audio_oss="no"dv1394="no"network="no"ffserver="no"os2="yes";;*) ;;esac# From mplayer configure. We need TARGET_OS available# to the Makefile, so it can distinguish between flavors# of AltiVec on PowerPCTARGET_OS=`( uname -s ) 2>&1`  case "$TARGET_OS" in  Linux|FreeBSD|NetBSD|BSD/OS|OpenBSD|SunOS|QNX|Darwin|GNU)    ;;  IRIX*)    TARGET_OS=IRIX    ;;  HP-UX*)    TARGET_OS=HP-UX    ;;  [cC][yY][gG][wW][iI][nN]*)    TARGET_OS=CYGWIN    ;;  *)    TARGET_OS="$TARGET_OS-UNKNOWN"    ;;  esac# find source path# XXX: we assume an absolute path is given when launching configure, # except in './configure' case.source_path="`echo $0 | sed -e 's#/configure##'`"source_path_used="yes"if test -z "$source_path" -o "$source_path" = "." ; then    source_path=`pwd`    source_path_used="no"fifor opt do  case "$opt" in  --prefix=*) prefix=`echo $opt | cut -d '=' -f 2`  ;;  --mandir=*) mandir=`echo $opt | cut -d '=' -f 2`  ;;  --source-path=*) source_path=`echo $opt | cut -d '=' -f 2`  ;;  --cross-prefix=*) cross_prefix=`echo $opt | cut -d '=' -f 2`  ;;  --cc=*) cc=`echo $opt | cut -d '=' -f 2`  ;;  --make=*) make=`echo $opt | cut -d '=' -f 2`  ;;  --extra-cflags=*) CFLAGS="${opt#--extra-cflags=}"  ;;  --extra-ldflags=*) LDFLAGS=${opt#--extra-ldflags=}  ;;  --extra-libs=*) extralibs=${opt#--extra-libs=}  ;;  --cpu=*) cpu=`echo $opt | cut -d '=' -f 2`  ;;  --tune=*) tune=`echo $opt | cut -d '=' -f 2`  ;;  --powerpc-perf-enable) powerpc_perf="yes"  ;;  --disable-mmx) mmx="no"  ;;  --disable-altivec) altivec="no"  ;;  --enable-gprof) gprof="yes"  ;;  --disable-v4l) v4l="no"  ;;  --disable-audio-oss) audio_oss="no"  ;;  --disable-audio-beos) audio_beos="no"  ;;  --disable-dv1394) dv1394="no"  ;;  --disable-network) network="no"; ffserver="no"  ;;  --disable-zlib) zlib="no"  ;;  --enable-a52) a52="yes"  ;;  --enable-a52bin) a52bin="yes" ; extralibs="$ldl $extralibs"  ;;  --enable-pp) pp="yes"  ;;  --enable-shared-pp) shared_pp="yes"  ;;  --enable-mp3lame) mp3lame="yes"  ;;  --enable-vorbis) vorbis="yes"  ;;  --enable-faad) faad="yes"  ;;  --enable-faadbin) faadbin="yes"  ;;  --enable-faac) faac="yes"  ;;  --disable-vhook) vhook="no"  ;;  --disable-simple_idct) simpleidct="no"  ;;  --enable-mingw32) mingw32="yes"  ;;  --enable-shared) lshared="yes"  ;;  --disable-debug) debug="no"  ;;  --disable-opts) optimize="no"  ;;  --disable-mpegaudio-hp) mpegaudio_hp="no"  ;;  --disable-ffserver) ffserver="no"  ;;  --disable-ffplay) ffplay="no"  ;;  --disable-risky) risky="no"  ;;  --enable-small) optimize="small"  ;;  --enable-amr_nb) amr_nb="yes"  ;;  --enable-amr_nb-fixed) amr_nb_fixed="yes"  ;;  --enable-amr_wb) amr_wb="yes"  ;;   --enable-sunmlib) sunmlib="yes"  ;;  --enable-pthreads) pthreads="yes"  ;;  --enable-gpl) gpl="yes"  ;;  --enable-memalign-hack) memalignhack="yes"  ;;  esacdoneif test "$gpl" != "yes"; then    if test "$pp" != "no" -o "$shared_pp" != "no"; then        echo "The Postprocessing code is under GPL and --enable-gpl is not specified"        fail="yes"    fi    if test "$a52" != "no" -o "$a52bin" != "no"; then        echo "liba52 is under GPL and --enable-gpl is not specified"        fail="yes"    fi        if test "$faad" != "no" -o "$faadbin" != "no"; then        cat > $TMPC << EOF            #include <faad.h>            int main( void ) { return 0; }EOF            if $cc $CFLAGS -o $TMPE $TMPC 2> /dev/null ; then            cat > $TMPC << EOF                #include <faad.h>                #ifndef FAAD2_VERSION                ok faad1                #endif                int main( void ) { return 0; }EOF            if $cc $CFLAGS -o $TMPE $TMPC 2> /dev/null ; then                echo "faad2 is under GPL and --enable-gpl is not specified"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -