📄 reconfig
字号:
#!/bin/sh## Copyright (C) 1999-2001 Open Source Telecom Corporation.# # This file is free software; as a special exception the author gives# unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved.# # This program is distributed in the hope that it will be useful, but# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.WANT_AUTOCONF_2_5=1export WANT_AUTOCONF_2_5rm -rf auto* libtoolif test ! -d autoconf ; then mkdir autoconf ; filibtoolize="libtoolize"for lt in glibtoolize libtoolize15 libtoolize14 libtoolize13 ; do if test -x /usr/bin/$lt ; then libtoolize=$lt ; break fi if test -x /usr/local/bin/$lt ; then libtoolize=$lt ; break fidone$libtoolize --copy --forceif test -d m4 ; then ACLOCALDIRS="-I m4" ; fiif test ! -z "$ACLOCAL" ; then ACLOCALDIRS="$ACLOCALDIRS -I"${ACLOCAL}elif test ! -z "$ACLOCAL_FLAGS" ; then ACLOCALDIRS="$ACLOCALDIRS $ACLOCAL_FLAGS" ; fireconf=""if test -f ~/.configure ; then reconf=`grep ^reconfig: ~/.configure | sed -e s/^reconfig://`elif test -f /etc/configure.conf ; then reconf=`grep ^reconfig: /etc/configure.conf | sed -e s/^reconfig://` ; fiif test ! -z "$reconf" ; then ACLOCALDIRS="$ACLOCALDIRS $reconf" ; fiif [ -d ~/share/aclocal ] ; then ACLOCALDIRS="$ACLOCALDIRS -I ~/share/aclocal"elif [ -d /usr/local/share/aclocal ] ; then ACLOCALDIRS="$ACLOCALDIRS -I /usr/local/share/aclocal"fiif test ! -z "$1" -o ! -z "${AUTOCONF_SUFFIX}" ; then ver="$1"else for v in 2.53 2.57 ; do if test -f /usr/bin/autoconf-$v ; then ver=$v fi donefiif test "$ver" = "2.53" -a -z "$AUTOMAKE_SUFFIX" ; then if test -f /usr/bin/automake-1.5 ; then AUTOMAKE_SUFFIX="-1.5" fifiaclocal${AUTOMAKE_SUFFIX} $ACLOCALDIRSif test -f /usr/bin/autoheader-$ver ; then /usr/bin/autoheader-$verelse autoheader${AUTOCONF_SUFFIX}fiautomake${AUTOMAKE_SUFFIX} --add-missing --copyif test -f /usr/bin/autoconf-$ver ; then /usr/bin/autoconf-$verelse autoconf${AUTOCONF_SUFFIX}firm -f config.cache# fix for some broken...if test -f /usr/bin/automake-1.4 ; then if test -f ltmain.sh ; then cp ltmain.sh autoconf/ltmain.sh fifi
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -