?? buildcheck.sh
字號:
#! /bin/shecho "buildconf: checking installation..."# autoconf 2.13 or newerac_version=`autoconf --version 2>/dev/null|head -1|sed -e 's/^[^0-9]*//' -e 's/[a-z]* *$//'`if test -z "$ac_version"; thenecho "buildconf: autoconf not found."echo " You need autoconf version 2.13 or newer installed"echo " to build Apache from CVS."exit 1fiIFS=.; set $ac_version; IFS=' 'if test "$1" = "2" -a "$2" -lt "13" || test "$1" -lt "2"; thenecho "buildconf: autoconf version $ac_version found."echo " You need autoconf version 2.13 or newer installed"echo " to build Apache from CVS."exit 1elseecho "buildconf: autoconf version $ac_version (ok)"fi# libtool 1.3.3 or newerlt_pversion=`libtool --version 2>/dev/null|sed -e 's/^[^0-9]*//' -e 's/[- ].*//'`if test "$lt_pversion" = ""; thenecho "buildconf: libtool not found."echo " You need libtool version 1.3 or newer installed"echo " to build Apache from CVS."exit 1filt_version=`echo $lt_pversion|sed -e 's/\([a-z]*\)$/.\1/'`IFS=.; set $lt_version; IFS=' 'if test "$1" -gt "1" || test "$2" -gt "3" || test "$2" = "3" -a "$3" -ge "3"thenecho "buildconf: libtool version $lt_pversion (ok)"elseecho "buildconf: libtool version $lt_pversion found."echo " You need libtool version 1.3.3 or newer installed"echo " to build Apache from CVS."exit 1fiexit 0
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -