📄 bootstrap
字号:
#! /bin/sh## generic bootstrap file for libraries -- Sam Hocevar <sam@zoy.org>## $Id: bootstrap 90 2004-07-05 09:22:27Z sam $set -xset -e# Get a sane environment, just in caseLANG=Cexport LANGCYGWIN=binmodeexport CYGWIN# Check for automakeamvers="no"if automake-1.8 --version >/dev/null 2>&1; then amvers="-1.8"elif automake-1.7 --version >/dev/null 2>&1; then amvers="-1.7"elif automake-1.6 --version >/dev/null 2>&1; then amvers="-1.6"elif automake-1.5 --version >/dev/null 2>&1; then amvers="-1.5"elif 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 libtoollibtoolize="no"if glibtoolize --version >/dev/null 2>&1; then libtoolize="glibtoolize"elif libtoolize --version >/dev/null 2>&1; then libtoolize="libtoolize"fiif test "$libtoolize" = "no"; then set +x echo "$0: you need libtool" exit 1fi# Remove old cruftrm -f aclocal.m4 configure config.guess config.log config.sub config.cache config.h.in config.h compile ltmain.sh libtool ltconfig missing mkinstalldirs depcomp install-shrm -Rf autom4te.cache(cd autotools && rm -f config.guess config.sub missing mkinstalldirs compile ltmain.sh depcomp install-sh)${libtoolize} --copy --forceif test -f "ltmain.sh"; then echo "$0: working around a minor libtool issue" mv ltmain.sh autotools/fiaclocal${amvers}autoconfautoheaderautomake${amvers} --add-missing --copy
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -