📄 bootstrap
字号:
#!/bin/sh## Bootstrap development of mpeg4ip with GNU autoconf, automake, and libtool# Assumes tools are available on the system## Check that we can find libtool# Frequently it hasn't been installedif glibtool --version > /dev/null 2> /dev/nullthen libtool=glibtool if libtoolize --version > /dev/null then echo "Found link for libtoolize" else echo "Need a link for libtoolize to glibtoolize" echo "Please see readme for how to make on OS X" exit 1 fielif libtool --version >/dev/nullthen libtool=libtoolelse echo "libtool does not appear to be installed." echo "Please install it and then rerun this script." exit 1fiif (test ! -f ./configure) || (test ! -f ./lib/SDL/configure)then echo "Please run cvs_bootstrap instead." echo "Please note that you will need autoconf, automake and libtool" echo "of the correct version as specified in the README" exit 1fi## Test for lame#have_lame=noif lame --version >/dev/null 2>/dev/nullthen lamever=`lame --version | tr '.' ' '` lameresult=`util/testlame.sh $lamever` if test $lameresult = "yes"; then have_lame=yes fifiallargs="$@"if test $have_lame = "no"; then disabled_mp4live=no while test $# -gt 0; do if test $1 = "--disable-server"; then disabled_mp4live=yes else if test $1 = "--disable-mp4live"; then disabled_mp4live=yes fi fi shift done if test $disabled_mp4live = no; then echo "Error - we cannot detect a valid version of lame and you are trying" echo "to build mpeg4ip with mp4live." echo "To remedy this, either reexecute this program with either the" echo "--disable-mp4live or --disable-server options -OR-" echo "install lame at version 3.92 or greater from http://www.mp3dev.org" exit 1 fifiset -x# if src tree is created via cvs export to tar.gz# then empty directories in the repository are pruned# this code recreates the empty directories# if src tree is checked out directly via cvs, this is a no-opmkdir -p ./config || exit 1pwd=`pwd`for dir \in $pwd/lib/SDL $pwddo cd $dir ./configure $allargs || exit 1doneset +x# Now ready to run makeecho "ready to make"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -