📄 configure
字号:
if 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_gnuif 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.# Initialize xFLAGS with MPICH2_INTERNAL_xFLAGS. CFLAGS="$MPICH2_INTERNAL_CFLAGS" CXXFLAGS="$MPICH2_INTERNAL_CXXFLAGS" FFLAGS="$MPICH2_INTERNAL_FFLAGS" F90FLAGS="$MPICH2_INTERNAL_C90FLAGS" ac_config_headers="$ac_config_headers include/mpidi_ch3i_sock_conf.h"echo "RUNNING CONFIGURE FOR THE SOCK CHANNEL"rm -f conftest*date >conftest$$# If creating a file in the current directory does not show up in the srcdir# then we're doing a VPATH build (or something is very wrong)if test ! -s $srcdir/conftest$$ ; then pac_dirtyfiles="" pac_dirtydirs="" pac_header="" for file in config.status $pac_header ; do if test -f $srcdir/$file ; then pac_dirtyfiles="$pac_dirtyfiles $file" fi done if test -n "$pac_dirtyfiles" -o -n "$pac_dirtydirs" ; then # Create a nice message about what to remove rmmsg="" if test -n "$pac_dirtyfiles" ; then rmmsg="files $pac_dirtyfiles" fi if test -n "$pac_dirtydirs" ; then if test -n "$rmmsg" ; then rmmsg="$rmmsg and directories $pac_dirtydirs" else rmmsg="directories $pac_dirtydirs" fi fi if test -f $srcdir/Makefile ; 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 and make sure that the $rmmsg have been removed." >&5echo "$as_me: error: You cannot do a VPATH build if the source directory has been configured. Run \"make distclean\" in $srcdir first and make sure that the $rmmsg have been removed." >&2;} { (exit 1); exit 1; }; } else { { echo "$as_me:$LINENO: error: You cannot do a VPATH build if the source directory has been configured. Remove the $rmmsg in $srcdir." >&5echo "$as_me: error: You cannot do a VPATH build if the source directory has been configured. Remove the $rmmsg in $srcdir." >&2;} { (exit 1); exit 1; }; } fi fifirm -f conftest*if test -n "$CONF_BASE_CACHEFILE" -a -s "$CONF_BASE_CACHEFILE" ; then echo "Loading base cachefile $CONF_BASE_CACHEFILE" . $CONF_BASE_CACHEFILE export CONF_BASE_CACHEFILEfi# Find a good install program. We prefer a C program (faster),# so one script is as good as another. But avoid the broken or# incompatible versions:# SysV /etc/install, /usr/sbin/install# SunOS /usr/etc/install# IRIX /sbin/install# AIX /bin/install# AmigaOS /C/install, which installs bootblocks on floppy discs# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag# AFS /usr/afsws/bin/install, which mishandles nonexistent args# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"# OS/2's system install, which has a completely different semantic# ./install, which can be erroneously created by make from ./install.sh.echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6if test -z "$INSTALL"; thenif test "${ac_cv_path_install+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else as_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATHdo IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements.case $as_dir/ in ./ | .// | /cC/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi done done ;;esacdonefi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. We don't cache a # path for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the path is relative. INSTALL=$ac_install_sh fifiecho "$as_me:$LINENO: result: $INSTALL" >&5echo "${ECHO_T}$INSTALL" >&6# Use test -z because SunOS4 sh mishandles braces in ${var-val}.# It thinks the first close brace ends the variable substitution.test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'if test -z "$INSTALL" ; then echo "$as_me:$LINENO: result: No install program available" >&5echo "${ECHO_T}No install program available" >&6else # Check that this install really works rm -f conftest echo "Test file" > conftest if test ! -d .conftest ; then mkdir .conftest ; fi echo "$as_me:$LINENO: checking whether install works" >&5echo $ECHO_N "checking whether install works... $ECHO_C" >&6 if $INSTALL conftest .conftest >/dev/null 2>&1 ; then installOk=yes else installOk=no fi rm -rf .conftest conftest echo "$as_me:$LINENO: result: $installOk" >&5echo "${ECHO_T}$installOk" >&6 if test "$installOk" = no ; then if test -n "$ac_install_sh" ; then INSTALL=$ac_install_sh else { { echo "$as_me:$LINENO: error: Unable to find working install" >&5echo "$as_me: error: Unable to find working install" >&2;} { (exit 1); exit 1; }; } fi fifi## On Mac OS/X, install breaks libraries unless used with the -p switchif test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.set dummy ${ac_tool_prefix}ranlib; ac_word=$2echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_RANLIB+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # 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_RANLIB="${ac_tool_prefix}ranlib" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fidonedonefifiRANLIB=$ac_cv_prog_RANLIBif test -n "$RANLIB"; then echo "$as_me:$LINENO: result: $RANLIB" >&5echo "${ECHO_T}$RANLIB" >&6else echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6fifiif test -z "$ac_cv_prog_RANLIB"; then ac_ct_RANLIB=$RANLIB # Extract the first word of "ranlib", so it can be a program name with args.set dummy ranlib; ac_word=$2echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test -n "$ac_ct_RANLIB"; then ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # 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_ac_ct_RANLIB="ranlib" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fidonedone test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"fifiac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIBif test -n "$ac_ct_RANLIB"; then echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5echo "${ECHO_T}$ac_ct_RANLIB" >&6else echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6fi RANLIB=$ac_ct_RANLIBelse RANLIB="$ac_cv_prog_RANLIB"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_gnuif test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.set dummy ${ac_tool_prefix}gcc; 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_tool_prefix}gcc" 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" >&6
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -