?? bootstrap
字號:
#! /bin/shset -xset -e# Check for automakeamvers="no"for v in "-1.9" "19" "-1.8" "18" "-1.7" "17" "-1.6" "16" "-1.5" "15"; do if automake${v} --version >/dev/null 2>&1; then amvers="${v}" break fidoneif test "${amvers}" = "no" && automake --version > /dev/null 2>&1; then amvers="`automake --version | sed -e '1s/[^0-9]*//' -e q`" if expr "$amvers" "<" "1.5" > /dev/null 2>&1; then amvers="no" else amvers="" fifiif test "$amvers" = "no"; then set +x echo "$0: you need automake version 1.5 or later" exit 1fi# Check for autoconfacvers="no"for v in "" "259" "253"; do if autoconf${v} --version >/dev/null 2>&1; then acvers="${v}" break fidoneif test "$acvers" = "no"; then set +x echo "$0: you need autoconf" exit 1fi# Check for libtoollibtoolize="no"if glibtoolize --version >/dev/null 2>&1; then libtoolize="glibtoolize"else for v in "16" "15" "" "14"; do if libtoolize${v} --version >/dev/null 2>&1; then libtoolize="libtoolize${v}" break fi donefiif test "$libtoolize" = "no"; then set +x echo "$0: you need libtool" exit 1fi# Remove old cruftset +x; for x in aclocal.m4 configure config.guess config.log config.sub config.cache config.h.in config.h compile libtool.m4 ltoptions.m4 ltsugar.m4 ltversion.m4 ltmain.sh libtool ltconfig missing mkinstalldirs depcomp install-sh; do rm -f $x autotools/$x; done; rm -Rf autom4te.cache; set -xif test ! -d autotools; then mkdir autotools; fi# Bootstrap package${libtoolize} --copy --forceif test -f "ltmain.sh"; then echo "$0: working around a minor libtool issue" mv ltmain.sh autotools/fiaclocal${amvers} -I autotoolsautoconf${acvers}autoheader${acvers}#add --include-deps if you want to bootstrap with any other compiler than gcc#automake${amvers} --add-missing --copy --include-depsautomake${amvers} --add-missing --copy
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -