📄 configure
字号:
echo "--------------------------------------------------------" fi fi . $cache_file else echo "Configure in `pwd` creating cache $cache_file" > $cache_file rm -f $cache_system fielse cache_file="/dev/null"fi# Remember our location and the name of the cachefilepac_cv_my_conf_dir=`pwd`## Update the cache_system file if necessaryif test "$cache_system_ok" != yes ; then if test -n "$cache_system" ; then rm -f $cache_system echo $cache_system_text > $cache_system fifiif test "$clearMinusX" = yes ; then set +xfi# Check that the precious variables saved in the cache have kept the same# value.ac_cache_corrupted=falsefor ac_var in `(set) 2>&1 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val="\$ac_cv_env_${ac_var}_value" eval ac_new_val="\$ac_env_${ac_var}_value" case $ac_old_set,$ac_new_set in set,) { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} { echo "$as_me:$LINENO: former value: $ac_old_val" >&5echo "$as_me: former value: $ac_old_val" >&2;} { echo "$as_me:$LINENO: current value: $ac_new_val" >&5echo "$as_me: current value: $ac_new_val" >&2;} ac_cache_corrupted=: fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; esac fidoneif $ac_cache_corrupted; then { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5echo "$as_me: error: changes in the environment can compromise the build" >&2;} { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} { (exit 1); exit 1; }; }fiac_ext=cac_cpp='$CPP $CPPFLAGS'ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'ac_compiler_gnu=$ac_cv_c_compiler_gnu# Initialize xFLAGS with MPICH2_INTERNAL_xFLAGS. CFLAGS="$MPICH2_INTERNAL_CFLAGS" CXXFLAGS="$MPICH2_INTERNAL_CXXFLAGS" FFLAGS="$MPICH2_INTERNAL_FFLAGS" F90FLAGS="$MPICH2_INTERNAL_C90FLAGS"if test -f $CONFIG_AUX_DIR/install-sh ; then ac_aux_dir=$CONFIG_AUX_DIRelseac_aux_dir=# We force the test to use the absolute path to ensure that the install# program can be used if we cd to a different directory before using# install.for ac_dir in ../../../confdb $srcdir/../../../confdb; do if test -f $ac_dir/install-sh; then ac_aux_dir=$ac_dir abs_ac_aux_dir=`(cd $ac_aux_dir && pwd)` ac_install_sh="$abs_ac_aux_dir/install-sh -c" break elif test -f $ac_dir/install.sh; then ac_aux_dir=$ac_dir abs_ac_aux_dir=`(cd $ac_aux_dir && pwd)` ac_install_sh="$abs_ac_aux_dir/install.sh -c" break fidonefiif test -z "$ac_aux_dir"; then { { echo "$as_me:$LINENO: error: can not find install-sh or install.sh in ../../../confdb $srcdir/../../../confdb" >&5echo "$as_me: error: can not find install-sh or install.sh in ../../../confdb $srcdir/../../../confdb" >&2;} { (exit 1); exit 1; }; }fiac_config_guess=$ac_aux_dir/config.guessac_config_sub=$ac_aux_dir/config.subac_configure=$ac_aux_dir/configure # This should be Cygnus configure.# Check whether --enable-cache or --disable-cache was given.if test "${enable_cache+set}" = set; then enableval="$enable_cache" enable_cache="$enableval"else enable_cache="notgiven"fi;# Check whether --enable-echo or --disable-echo was given.if test "${enable_echo+set}" = set; then enableval="$enable_echo" set -xfi;# Check whether --with-cross or --without-cross was given.if test "${with_cross+set}" = set; then withval="$with_cross"else with_cross=nofi;# Check whether --with-mpichconfig or --without-mpichconfig was given.if test "${with_mpichconfig+set}" = set; then withval="$with_mpichconfig" if test -z "$withval" -o "X$withval" = "Xyes" ; then mpichconfig_file=../../util/mpichlib.confelse mpichconfig_file=$withvalfielse mpichconfig_file=""fi;if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status ; then { { echo "$as_me:$LINENO: error: You cannot do a VPATH build if the source directory has been configured. Run \"make distclean\" in $srcdir first." >&5echo "$as_me: error: You cannot do a VPATH build if the source directory has been configured. Run \"make distclean\" in $srcdir first." >&2;} { (exit 1); exit 1; }; }fiif test -z "$top_srcdir" ; then use_top_srcdir=$srcdirelse use_top_srcdir=$top_srcdirfiif test -z "$master_top_srcdir" ; then master_top_srcdir=$use_top_srcdirfiexport master_top_srcdir## Get the master builddir (which may be imported from above)if test -z "$master_top_builddir" ; then master_top_builddir=`pwd`fiexport master_top_builddir# Get the C compiler (needed for type_create_f90_xxx functions)for ac_prog in cc xlC xlc pgcc icc gccdo # Extract the first word of "$ac_prog", so it can be a program name with args.set dummy $ac_prog; ac_word=$2echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test.elseas_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATHdo IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fidonedonefifiCC=$ac_cv_prog_CCif test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5echo "${ECHO_T}$CC" >&6else echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6fi test -n "$CC" && breakdonetest -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} { (exit 1); exit 1; }; }echo "$as_me:$LINENO: checking whether the C compiler sets its return status correctly" >&5echo $ECHO_N "checking whether the C compiler sets its return status correctly... $ECHO_C" >&6ac_ext=cac_cpp='$CPP $CPPFLAGS'ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'ac_compiler_gnu=$ac_cv_c_compiler_gnucat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */intmain (){int a = bzzzt; ; return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then notbroken=noelse echo "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5notbroken=yesfirm -f conftest.err conftest.$ac_objext conftest.$ac_extecho "$as_me:$LINENO: result: $notbroken" >&5echo "${ECHO_T}$notbroken" >&6if test "$notbroken" = "no" ; then { { echo "$as_me:$LINENO: error: installation or configuration problem: C compiler does notcorrectly set error code when a fatal error occurs" >&5echo "$as_me: error: installation or configuration problem: C compiler does notcorrectly set error code when a fatal error occurs" >&2;} { (exit 1); exit 1; }; }fiif test "$ac_cv_c_compiler_gnu" = yes; then GCC=yeselse GCC=fiexport enable_strict_doneif test "$enable_strict_done" != "yes" ; then # We must know the compiler type if test -z "$GCC_OPTFLAG" ; then GCC_OPTFLAG="-O2" ; fi if test -z "CC" ; then for ac_prog in gccdo # Extract the first word of "$ac_prog", so it can be a program name with args.set dummy $ac_prog; ac_word=$2echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test.elseas_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATHdo IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fidonedonefifiCC=$ac_cv_prog_CCif test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5echo "${ECHO_T}$CC" >&6else echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6fi test -n "$CC" && breakdone fi pac_cc_strict_flags="" case "$enable_strict" in yes) enable_strict_done="yes" if test "$ac_cv_c_compiler_gnu" = "yes" ; then pac_cc_strict_flags="-Wall $GCC_OPTFLAG -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wpointer-arith -Wbad-function-cast -ansi -DGCC_WALL" CFLAGS="$CFLAGS $pac_cc_strict_flags" echo "$as_me:$LINENO: result: Adding strict check arguments to CFLAGS" >&5echo "${ECHO_T}Adding strict check arguments to CFLAGS" >&6 echo "$as_me:$LINENO: checking whether we can add -std=c89" >&5echo $ECHO_N "checking whether we can add -std=c89... $ECHO_C" >&6 # See if we can add -std=c89 savCFLAGS=$CFLAGS CFLAGS="$CFLAGS -std=c89" cat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */intmain (){int a; ; return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$?
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -