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

📄 configure

📁 MPICH是MPI的重要研究,提供了一系列的接口函数,为并行计算的实现提供了编程环境.
💻
📖 第 1 页 / 共 5 页
字号:
fiCFLAGSSAV="$CFLAGS"CFLAGS="-Aa $CFLAGS"rm -f conftest.outecho 'int main(){return 0;}' > conftest.cif ${CC-cc} $CFLAGS -o conftest conftest.c >conftest.out 2>&1 ; then  if test -s conftest.out ; then      cat conftest.out >> config.log      if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t""no"elseecho "$ac_t""no" 1>&1fi      AaOPT=0  else      if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t""yes"elseecho "$ac_t""yes" 1>&1fi      AaOPT=1  fielse  if test -s conftest.out ; then cat conftest.out >> config.log ; fi  if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t""no"elseecho "$ac_t""no" 1>&1fi  AaOPT=0firm -f conftest*CFLAGS="$CFLAGSSAV"	    if test "$AaOPT" = 1 ; then	       USER_CFLAGS="$USER_CFLAGS -Aa"	    fi	    # Alternate...	    # -Ae is extended -Aa (only on some PA RISC systems)	    #CFLAGS="$CFLAGS -Ae +Olibcalls"	    #CLINKER="cc -Ae"	    # fort77 is the POSIX-compliant version of f77; fort77 can use 	    # -Ldirectory	    #F77=fort77	    #FLINKER=fort77	    #FFLAGS="$FFLAGS +ppu"	    # Try and see that this works	    if test -z "$ac_echo_n" ; thenac_echo_n=yesif (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then    ac_n= ac_c='' ac_t='	'  else    ac_n=-n ac_c= ac_t=  fielse  ac_n= ac_c='\c' ac_t=fiac_echo_test=`echo foo 1>&1`if test -z "$ac_echo_test" ; then     print_error "Your sh shell does not handle the output redirection"     print_error "1>&1 correctly.  Configure will work around this problem,"     print_error "but you should report the problem to your vendor."fifiif test -z "$ac_echo_test" -a 1 = 1 ; thenecho $ac_n "checking for Checking that HP compiler has ANSI option...""... $ac_c"elseecho $ac_n "checking for Checking that HP compiler has ANSI option...""... $ac_c" 1>&1fiif test ! -f confdefs.h ; then    if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t"""!! SHELL ERROR !!""elseecho "$ac_t"""!! SHELL ERROR !!"" 1>&1fi    echo "The file confdefs.h created by configure has been removed"    echo "This may be a problem with your shell; some versions of LINUX"    echo "have this problem.  See the Installation guide for more"    echo "information."    exit 1ficat > conftest.c <<EOF#include "confdefs.h"int main() { exit(0); }int t() {  }EOFif eval $compile; then  if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t""yes"elseecho "$ac_t""yes" 1>&1fi  rm -rf conftest*  hpux_ansi=1else  rm -rf conftest*  hpux_ansi=0    if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t""no"elseecho "$ac_t""no" 1>&1fifirm -f conftest*	    if test $hpux_ansi = 0 ; then	       print_error "HPUX C compiler does not support ANSI mode!"	       print_error "This mode is required because severe bugs in HPUX CPP"	       print_error "cause problems.  Configuration continuing BUT	"	       print_error "if you have trouble, consider using the GNU C"	       print_error "compiler gcc instead."	    else              print_error "HPUX C compiler is being forced into ANSI mode so that"              print_error "severe bugs in HPUX CPP do not cause problems"	    fi         fi 	 ;;    alpha)   ;;    convex_spp)  CC="/usr/convex/bin/cc" ;;    ibmpoe)                           	                   	 CCval=         # Extract the first word of "xlC", so it can be a program name with args.set dummy xlC; ac_word=$2if test -z "$ac_echo_n" ; thenac_echo_n=yesif (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then    ac_n= ac_c='' ac_t='	'  else    ac_n=-n ac_c= ac_t=  fielse  ac_n= ac_c='\c' ac_t=fiac_echo_test=`echo foo 1>&1`if test -z "$ac_echo_test" ; then     print_error "Your sh shell does not handle the output redirection"     print_error "1>&1 correctly.  Configure will work around this problem,"     print_error "but you should report the problem to your vendor."fifiif test -z "$ac_echo_test" -a 1 = 1 ; thenecho $ac_n "checking for $ac_word""... $ac_c"elseecho $ac_n "checking for $ac_word""... $ac_c" 1>&1fiac_prog_where=""if test -n "$CCval"; then  ac_pg_CCval="$CCval" # Let the user override the test.else  ac_first_char=`expr "xlC" : "\(.\)"`  if test "$ac_first_char" = "/" -a -x "xlC" ; then       ac_pg_CCval="xlC"       ac_prog_where=xlC  else      IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"      for ac_dir in $PATH; do        test -z "$ac_dir" && ac_dir=.        if test -f $ac_dir/$ac_word; then          ac_pg_CCval="xlC"          ac_prog_where=$ac_dir/$ac_word          break        fi      done      IFS="$ac_save_ifs"  fifi;CCval="$ac_pg_CCval"if test -n "$ac_prog_where" ; then  if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t""found $ac_prog_where ($CCval)"elseecho "$ac_t""found $ac_prog_where ($CCval)" 1>&1fi  else  if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t""no"elseecho "$ac_t""no" 1>&1fifi         if test -n "$CCval" ; then             TESTCC="$CCval"	     CCval=""             # Extract the first word of "mpCC", so it can be a program name with args.set dummy mpCC; ac_word=$2if test -z "$ac_echo_n" ; thenac_echo_n=yesif (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then    ac_n= ac_c='' ac_t='	'  else    ac_n=-n ac_c= ac_t=  fielse  ac_n= ac_c='\c' ac_t=fiac_echo_test=`echo foo 1>&1`if test -z "$ac_echo_test" ; then     print_error "Your sh shell does not handle the output redirection"     print_error "1>&1 correctly.  Configure will work around this problem,"     print_error "but you should report the problem to your vendor."fifiif test -z "$ac_echo_test" -a 1 = 1 ; thenecho $ac_n "checking for $ac_word""... $ac_c"elseecho $ac_n "checking for $ac_word""... $ac_c" 1>&1fiac_prog_where=""if test -n "$CCval"; then  ac_pg_CCval="$CCval" # Let the user override the test.else  ac_first_char=`expr "mpCC" : "\(.\)"`  if test "$ac_first_char" = "/" -a -x "mpCC" ; then       ac_pg_CCval="mpCC"       ac_prog_where=mpCC  else      IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"      for ac_dir in $PATH; do        test -z "$ac_dir" && ac_dir=.        if test -f $ac_dir/$ac_word; then          ac_pg_CCval="mpCC"          ac_prog_where=$ac_dir/$ac_word          break        fi      done      IFS="$ac_save_ifs"  fifi;CCval="$ac_pg_CCval"if test -n "$ac_prog_where" ; then  if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t""found $ac_prog_where ($CCval)"elseecho "$ac_t""found $ac_prog_where ($CCval)" 1>&1fi  else  if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t""no"elseecho "$ac_t""no" 1>&1fifi         else	     # Extract the first word of "xlc", so it can be a program name with args.set dummy xlc; ac_word=$2if test -z "$ac_echo_n" ; thenac_echo_n=yesif (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then    ac_n= ac_c='' ac_t='	'  else    ac_n=-n ac_c= ac_t=  fielse  ac_n= ac_c='\c' ac_t=fiac_echo_test=`echo foo 1>&1`if test -z "$ac_echo_test" ; then     print_error "Your sh shell does not handle the output redirection"     print_error "1>&1 correctly.  Configure will work around this problem,"     print_error "but you should report the problem to your vendor."fifiif test -z "$ac_echo_test" -a 1 = 1 ; thenecho $ac_n "checking for $ac_word""... $ac_c"elseecho $ac_n "checking for $ac_word""... $ac_c" 1>&1fiac_prog_where=""if test -n "$CCval"; then  ac_pg_CCval="$CCval" # Let the user override the test.else  ac_first_char=`expr "xlc" : "\(.\)"`  if test "$ac_first_char" = "/" -a -x "xlc" ; then       ac_pg_CCval="xlc"       ac_prog_where=xlc  else      IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"      for ac_dir in $PATH; do        test -z "$ac_dir" && ac_dir=.        if test -f $ac_dir/$ac_word; then          ac_pg_CCval="xlc"          ac_prog_where=$ac_dir/$ac_word          break        fi      done      IFS="$ac_save_ifs"  fifi;CCval="$ac_pg_CCval"if test -n "$ac_prog_where" ; then  if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t""found $ac_prog_where ($CCval)"elseecho "$ac_t""found $ac_prog_where ($CCval)" 1>&1fi  else  if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t""no"elseecho "$ac_t""no" 1>&1fifi             if test -n "$CCval" ; then                 TESTCC="$CCval"	         CCval=""                 # Extract the first word of "mpcc", so it can be a program name with args.set dummy mpcc; ac_word=$2if test -z "$ac_echo_n" ; thenac_echo_n=yesif (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then    ac_n= ac_c='' ac_t='	'  else    ac_n=-n ac_c= ac_t=  fielse  ac_n= ac_c='\c' ac_t=fiac_echo_test=`echo foo 1>&1`if test -z "$ac_echo_test" ; then     print_error "Your sh shell does not handle the output redirection"     print_error "1>&1 correctly.  Configure will work around this problem,"     print_error "but you should report the problem to your vendor."fifiif test -z "$ac_echo_test" -a 1 = 1 ; thenecho $ac_n "checking for $ac_word""... $ac_c"elseecho $ac_n "checking for $ac_word""... $ac_c" 1>&1fiac_prog_where=""if test -n "$CCval"; then  ac_pg_CCval="$CCval" # Let the user override the test.else  ac_first_char=`expr "mpcc" : "\(.\)"`  if test "$ac_first_char" = "/" -a -x "mpcc" ; then       ac_pg_CCval="mpcc"       ac_prog_where=mpcc  else      IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"      for ac_dir in $PATH; do        test -z "$ac_dir" && ac_dir=.        if test -f $ac_dir/$ac_word; then          ac_pg_CCval="mpcc"          ac_prog_where=$ac_dir/$ac_word          break        fi      done      IFS="$ac_save_ifs"  fifi;CCval="$ac_pg_CCval"if test -n "$ac_prog_where" ; then  if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t""found $ac_prog_where ($CCval)"elseecho "$ac_t""found $ac_prog_where ($CCval)" 1>&1fi  else  if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t""no"elseecho "$ac_t""no" 1>&1fifi             fi         fi         if test -z "$CCval" ; then            print_error "Could not find mpCC or mpcc!"            print_error "Make sure that you path is set correctly."	    exit 1         fi         CC="$CCval"    ;;    meiko)                   CCval=''      for p in cc apcc pgcc gccdo# Extract the first word of "$p", so it can be a program name with args.set dummy $p; ac_word=$2if test -z "$ac_echo_n" ; thenac_echo_n=yesif (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then    ac_n= ac_c='' ac_t='	'  else    ac_n=-n ac_c= ac_t=  fielse  ac_n= ac_c='\c' ac_t=fiac_echo_test=`echo foo 1>&1`if test -z "$ac_echo_test" ; then     print_error "Your sh shell does not handle the output redirection"     print_error "1>&1 correctly.  Configure will work around this problem,"     print_error "but you should report the problem to your vendor."fifiif test -z "$ac_echo_test" -a 1 = 1 ; thenecho $ac_n "checking for $ac_word""... $ac_c"elseecho $ac_n "checking for $ac_word""... $ac_c" 1>&1fiac_prog_where=""if test -n "$CCval"; then  ac_pg_CCval="$CCval" # Let the user override the test.else  ac_first_char=`expr "$p" : "\(.\)"`  if test "$ac_first_char" = "/" -a -x "$p" ; then       ac_pg_CCval="$p"       ac_prog_where=$p  else      IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"      for ac_dir in $PATH; do        test -z "$ac_dir" && ac_dir=.        if test -f $ac_dir/$ac_word; then          ac_pg_CCval="$p"          ac_prog_where=$ac_dir/$ac_word          break        fi      done      IFS="$ac_save_ifs"  fifi;CCval="$ac_pg_CCval"if test -n "$ac_prog_where" ; then  if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t""found $ac_prog_where ($CCval)"elseecho "$ac_t""found $ac_prog_where ($CCval)" 1>&1fi  else  if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t""no"elseecho "$ac_t""no" 1>&1fifitest -n "$CCval" && break

⌨️ 快捷键说明

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