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

📄 configure

📁 刚才是说明 现在是安装程序在 LINUX环境下进行编程的MPICH安装文件
💻
📖 第 1 页 / 共 5 页
字号:
# confdefs.h avoids OS command line length limits that DEFS can exceed.rm -rf conftest* confdefs.h# AIX cpp loses on an empty file, so make sure it contains at least a newline.echo > confdefs.h# A filename unique to this package, relative to the directory that# configure is in, which we can look for to find out if srcdir is correct.ac_unique_file=configure.in# Find the source files, if location was not specified.if test -z "$srcdir"; then  ac_srcdir_defaulted=yes  # Try the directory containing this script, then its parent.  ac_prog=$0  ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.  srcdir=$ac_confdir  if test ! -r $srcdir/$ac_unique_file; then    srcdir=..  fielse  ac_srcdir_defaulted=nofiif test ! -r $srcdir/$ac_unique_file; then  if test "$ac_srcdir_defaulted" = yes; then    { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }  else    { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }  fifisrcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`# Prefer explicitly selected file to automatically selected ones.if test -z "$CONFIG_SITE"; then  if test "x$prefix" != xNONE; then    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"  else    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"  fififor ac_site_file in $CONFIG_SITE; do  if test -r "$ac_site_file"; then    echo "loading site script $ac_site_file"    . "$ac_site_file"  fidoneif test "X$cache_system" = "X" ; then    # A default file name, just in case    cache_system="config.system"    if test "$cache_file" != "/dev/null" ; then        # Get the directory for the cache file, if any	        cache_system=`echo $cache_file | sed -e 's%^\(.*/\)[^/]*%\1/config.system%'`	        test "x$cache_system" = "x$cache_file" && cache_system="config.system"#    else#        We must *not* set enable_cache to no because we need to know if#        enable_cache was not set.  #        enable_cache=no    fifiif test -z "$real_enable_cache" ; then    real_enable_cache=$enable_cache    if test -z "$real_enable_cache" ; then real_enable_cache="notgiven" ; fifiif test "X$real_enable_cache" = "Xnotgiven" ; then    # check for valid cache file    if test -z "$cache_system" ; then cache_system="config.system" ; fi    if uname -srm >/dev/null 2>&1 ; then		cleanargs=`echo "$CC $F77 $CXX $F90" | tr '"' ' '`        testval="`uname -srm` $cleanargs"        if test -f "$cache_system" -a -n "$testval" ; then	    if test "$testval" = "`cat $cache_system`" ; then	        real_enable_cache="yes"	    fi        elif test ! -f "$cache_system" -a -n "$testval" ; then	    echo "$testval" > $cache_system	    # remove the cache file because it may not correspond to our	    # system	    rm -f $cache_file	    real_enable_cache="yes"        fi    fifiif test "X$real_enable_cache" = "Xyes" -a "$cache_file" = "/dev/null" ; then    real_enable_cache=nofiif test "X$real_enable_cache" = "Xyes" ; then  if test -r "$cache_file" ; then    echo "loading cache $cache_file"    . $cache_file  else    echo "creating cache $cache_file"    > $cache_file    rm -f $cache_system    cleanargs=`echo "$CC $F77 $CXX" | tr '"' ' '`    testval="`uname -srm` $cleanargs"    echo "$testval" > $cache_system  fielse  cache_file="/dev/null"fiac_ext=c# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.ac_cpp='$CPP $CPPFLAGS'ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'cross_compiling=$ac_cv_prog_cc_crossac_exeext=ac_objext=oif (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=fiif test -f $CONFIG_AUX_DIR/install-sh ; then ac_aux_dir=$CONFIG_AUX_DIR elseac_aux_dir=for ac_dir in ../../../confdb $srcdir/../../../confdb; do  if test -f $ac_dir/install-sh; then    ac_aux_dir=$ac_dir    ac_install_sh="$ac_aux_dir/install-sh -c"    break  elif test -f $ac_dir/install.sh; then    ac_aux_dir=$ac_dir    ac_install_sh="$ac_aux_dir/install.sh -c"    break  fidonefiif test -z "$ac_aux_dir"; then  { echo "configure: error: can not find install-sh or install.sh in ../../../confdb $srcdir/../../../confdb" 1>&2; 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.echo "RUNNING CONFIGURE FOR THE MultiMethod DEVICE"# 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 --with-bsocket or --without-bsocket was given.if test "${with_bsocket+set}" = set; then  withval="$with_bsocket"  :else  with_bsocket=yesfi# Check whether --with-sock_type or --without-sock_type was given.if test "${with_sock_type+set}" = set; then  withval="$with_sock_type"  :else  with_sock_type=pollficase "$with_bsocket" in      no|none)     cat >> confdefs.h <<\EOF#define NO_BSOCKET EOF     ;;     yes)     ;;     *)     echo "configure: warning: Unknown value $with_bsocket for --with-bsocket" 1>&2     ;;esacif test "$with_device" = "mm" ; then with_device="mm:shm,tcp,sock" ; fimethod_subdirs=`echo $with_device | sed -e 's/mm://' | sed -e 's/,/ /g'`if test "$method_subdirs" = "" ; then method_subdirs="shm tcp sock" ; fiib_method_yes_no="no"for method in $method_subdirs ; do    if test "$method" = "sock" ; then        cat >> confdefs.h <<\EOF#define WITH_METHOD_SOCKET 1EOF       echo socket method enabled.    fi    if test "$method" = "tcp" ; then        cat >> confdefs.h <<\EOF#define WITH_METHOD_TCP 1EOF       echo tcp method enabled.    fi    if test "$method" = "shm" ; then        cat >> confdefs.h <<\EOF#define WITH_METHOD_SHM 1EOF        echo shm method enabled    fi    if test "$method" = "via" ; then        cat >> confdefs.h <<\EOF#define WITH_METHOD_VIA 1EOF       echo via method enabled     fi    if test "$method" = "via_rdma" ; then        cat >> confdefs.h <<\EOF#define WITH_METHOD_VIA_RDMA 1EOF       echo via rdma method enabled     fi    if test "$method" = "ib" ; then       ib_method_yes_no="yes"       cat >> confdefs.h <<\EOF#define WITH_METHOD_IB 1EOF       CPPFLAGS="$CPPFLAGS -I/usr/local/PSC1200/include -DLINUX -DNORCSID"       LDFLAGS="$LDFLAGS -L/usr/local/PSC1200/lib -Xlinker -t"       LIBS="$LIBS /usr/local/PSC1200/lib/libibos.so -ldl -lpthread"       echo infiniband method enabled    fidoneif test "$with_sock_type" = "poll" ; thencat >> confdefs.h <<\EOF#define WITH_SOCK_TYPE SOCK_POLLEOFecho socket type = pollfiif 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# Extract the first word of "gcc", so it can be a program name with args.set dummy gcc; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:718: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  if test -n "$CC"; then  ac_cv_prog_CC="$CC" # Let the user override the test.else  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"  ac_dummy="$PATH"  for ac_dir in $ac_dummy; do    test -z "$ac_dir" && ac_dir=.    if test -f $ac_dir/$ac_word; then      ac_cv_prog_CC="gcc"      break    fi  done  IFS="$ac_save_ifs"fifiCC="$ac_cv_prog_CC"if test -n "$CC"; then  echo "$ac_t""$CC" 1>&6else  echo "$ac_t""no" 1>&6fiif test -z "$CC"; then  # Extract the first word of "cc", so it can be a program name with args.set dummy cc; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:748: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  if test -n "$CC"; then  ac_cv_prog_CC="$CC" # Let the user override the test.else  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"  ac_prog_rejected=no  ac_dummy="$PATH"  for ac_dir in $ac_dummy; do    test -z "$ac_dir" && ac_dir=.    if test -f $ac_dir/$ac_word; then      if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then        ac_prog_rejected=yes	continue      fi      ac_cv_prog_CC="cc"      break    fi  done  IFS="$ac_save_ifs"if test $ac_prog_rejected = yes; then  # We found a bogon in the path, so make sure we never use it.  set dummy $ac_cv_prog_CC  shift  if test $# -gt 0; then    # We chose a different compiler from the bogus one.    # However, it has the same basename, so the bogon will be chosen    # first if we set CC to just the basename; use the full file name.    shift    set dummy "$ac_dir/$ac_word" "$@"    shift    ac_cv_prog_CC="$@"  fifififiCC="$ac_cv_prog_CC"if test -n "$CC"; then  echo "$ac_t""$CC" 1>&6else  echo "$ac_t""no" 1>&6fi  if test -z "$CC"; then    case "`uname -s`" in    *win32* | *WIN32*)      # Extract the first word of "cl", so it can be a program name with args.set dummy cl; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:799: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  if test -n "$CC"; then  ac_cv_prog_CC="$CC" # Let the user override the test.else  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"  ac_dummy="$PATH"  for ac_dir in $ac_dummy; do    test -z "$ac_dir" && ac_dir=.    if test -f $ac_dir/$ac_word; then      ac_cv_prog_CC="cl"      break    fi  done  IFS="$ac_save_ifs"fifiCC="$ac_cv_prog_CC"if test -n "$CC"; then  echo "$ac_t""$CC" 1>&6else  echo "$ac_t""no" 1>&6fi ;;    esac  fi  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }fiecho $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6echo "configure:831: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5ac_ext=c# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.ac_cpp='$CPP $CPPFLAGS'ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'cross_compiling=$ac_cv_prog_cc_crosscat > conftest.$ac_ext << EOF#line 842 "configure"#include "confdefs.h"main(){return(0);}EOFif { (eval echo configure:847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  ac_cv_prog_cc_works=yes  # If we can't run a trivial program, we are probably using a cross compiler.  if (./conftest; exit) 2>/dev/null; then    ac_cv_prog_cc_cross=no  else    ac_cv_prog_cc_cross=yes  fielse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  ac_cv_prog_cc_works=nofirm -fr conftest*ac_ext=c# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.ac_cpp='$CPP $CPPFLAGS'ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'cross_compiling=$ac_cv_prog_cc_crossecho "$ac_t""$ac_cv_prog_cc_works" 1>&6if test $ac_cv_prog_cc_works = no; then  { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }fiecho $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6echo "configure:873: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6cross_compiling=$ac_cv_prog_cc_crossecho $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6echo "configure:878: checking whether we are using GNU C" >&5if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.c <<EOF#ifdef __GNUC__  yes;#endifEOFif { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:887: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then  ac_cv_prog_gcc=yeselse  ac_cv_prog_gcc=nofifiecho "$ac_t""$ac_cv_prog_gcc" 1>&6if test $ac_cv_prog_gcc = yes; then  GCC=yeselse  GCC=fiac_test_CFLAGS="${CFLAGS+set}"ac_save_CFLAGS="$CFLAGS"

⌨️ 快捷键说明

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