📄 bootstrap
字号:
#! /bin/sh## $Id: bootstrap,v 1.4 2004/01/19 18:48:11 troth Exp $## bootstrap script to build all the *.in files and configure script.## NOTE: You should use automake-1.7.x and autoconf-2.57.export AUTOMAKE AUTOCONF ACLOCAL AUTOHEADERstatus="fail"for AUTOMAKE in automake automake17 automake-1.7 automake1.7do AUTOMAKE_VER=`(${AUTOMAKE} --version | head -n 1 | cut -d ' ' -f 4 | cut -c -3) 2>/dev/null` if [ $? != 0 ] then continue fi if [ "$AUTOMAKE_VER" = "1.7" ] then status="" ACLOCAL=aclocal`expr "$AUTOMAKE" : 'automake\(.*\)'` break fidoneif [ -n "$status" ]then echo "You need to use automake version 1.7.x (preferrably 1.7.6)." echo "You are using `automake --version | head -n 1`." echo exit 1fistatus="fail"for AUTOCONF in autoconf autoconf257 autoconf-2.57 autoconf2.57do AUTOCONF_VER=`(${AUTOCONF} --version 2>/dev/null | head -n 1 | cut -d ' ' -f 4) 2>/dev/null` if [ $? != 0 ] then continue fi if [ "$AUTOCONF_VER" = "2.57" ] then status="" AUTOHEADER=autoheader`expr "$AUTOCONF" : 'autoconf\(.*\)'` break fidoneif [ -n "$status" ]then echo "You need to use autoconf version 2.57." echo "You are using `autoconf --version | head -n 1`." echo exit 1fi# to see what is executedset -xrm -rf autom4te.cache${ACLOCAL}${AUTOHEADER}${AUTOCONF}${AUTOMAKE} --foreign --add-missing --copy
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -