⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 updatefiles

📁 fortran并行计算包
💻
字号:
#! /bin/shAUTOHEADER=${AUTOHEADER:-autoheader}AUTOCONF=${AUTOCONF:-autoconf}MPE_AUTOHEADER=${MPE_AUTOHEADER:-$AUTOHEADER}MPE_AUTOCONF=${MPE_AUTOCONF:-$AUTOCONF}# Check that we have a workable autoconfacWorks=noif test -d .tmp ; then rm -rf .tmp ; fiif test -s .tmp ; then rm -f .tmp ; fiif test ! -d .tmp ; then    mkdir .tmp 2>&1 >/dev/nullfirm -f .tmp/configure.in .tmp/configurecat >.tmp/configure.in <<EOFAC_PREREQ(2.52)EOFif (cd .tmp && $MPE_AUTOCONF >/dev/null 2>&1 ) ; then    acWorks=yesfiif [ "$acWorks" != yes ] ; then    echo "Selected version of autoconf cannot handle version 2.52"    echo "Trying to find an autoconf-2.xx..."    for ver in 56 55 54 53 52 ; do        autoconf="autoconf-2.$ver"        if (cd .tmp && $autoconf >/dev/null 2>&1 ) ; then	    MPE_AUTOCONF=$autoconf	    MPE_AUTOHEADER="autoheader-2.$ver"	    echo "Found $autoconf"	    acWorks=yes	    break        fi    done    if [ "$acWorks" != yes ] ; then        echo "Unable to find workable autoconf"        exit 1    fifirm -rf .tmp# The directory of this script is located# PWD is not guaranteed to be set to the current directory in all cases# (e.g., in /bin/sh, (cd src/mpe2 && maint/updatefiles won't set# PWD to .../src/mpe2)# The parent directory of where this script is locatedsaved_wd=`pwd`cd `dirname $0`/.. && master_dir=`pwd`cd $saved_wd# Locate all the configure.in under master_dircfgins=`find $master_dir -name 'configure.in' -print`for cfgin in $cfgins ; do    dir="`dirname $cfgin`"    echo "Creating configure in $dir/ ..."    cd $dir    if [ -n "`grep AC_CONFIG_HEADER $cfgin`" ] ; then        $MPE_AUTOHEADER    fi    $MPE_AUTOCONF && rm -rf autom4te*.cachedone

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -