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

📄 configure

📁 刚才是说明 现在是安装程序在 LINUX环境下进行编程的MPICH安装文件
💻
📖 第 1 页 / 共 5 页
字号:
# 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# 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"# ./install, which can be erroneously created by make from ./install.sh.echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6echo "configure:903: checking for a BSD compatible install" >&5if test -z "$INSTALL"; thenif eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else    IFS="${IFS= 	}"; ac_save_IFS="$IFS"; IFS=":"  for ac_dir in $PATH; do    # Account for people who put trailing slashes in PATH elements.    case "$ac_dir/" in    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/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        if test -f $ac_dir/$ac_prog; then	  if test $ac_prog = install &&            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then	    # AIX install.  It has an incompatible calling convention.	    :	  else	    ac_cv_path_install="$ac_dir/$ac_prog -c"	    break 2	  fi	fi      done      ;;    esac  done  IFS="$ac_save_IFS"fi  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 "$ac_t""$INSTALL" 1>&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_PROGRAM}'test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'trueif test "X$MAKE" = "X" ; then   for ac_prog in make gnumake nmake pmake smakedo# Extract the first word of "$ac_prog", so it can be a program name with args.set dummy $ac_prog; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:963: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_prog_MAKE'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  if test -n "$MAKE"; then  ac_cv_prog_MAKE="$MAKE" # 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_MAKE="$ac_prog"      break    fi  done  IFS="$ac_save_ifs"fifiMAKE="$ac_cv_prog_MAKE"if test -n "$MAKE"; then  echo "$ac_t""$MAKE" 1>&6else  echo "$ac_t""no" 1>&6fitest -n "$MAKE" && breakdonefiecho $ac_n "checking whether clock skew breaks make""... $ac_c" 1>&6echo "configure:996: checking whether clock skew breaks make" >&5if eval "test \"`echo '$''{'pac_cv_prog_make_found_clock_skew'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  rm -f conftest*cat > conftest <<EOFALL:	@-echo "success"EOF$MAKE -f conftest > conftest.out 2>&1if grep -i skew conftest >/dev/null 2>&1 ; then    pac_cv_prog_make_found_clock_skew=yeselse    pac_cv_prog_make_found_clock_skew=nofirm -f conftest*fiecho "$ac_t""$pac_cv_prog_make_found_clock_skew" 1>&6if test "$pac_cv_prog_make_found_clock_skew" = "yes" ; then    echo "configure: warning: Clock skew found by make.  The configure and build may fail.Consider building in a local instead of NFS filesystem." 1>&2fiecho $ac_n "checking whether make echos directory changes""... $ac_c" 1>&6echo "configure:1025: checking whether make echos directory changes" >&5if eval "test \"`echo '$''{'pac_cv_prog_make_echos_dir'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  /bin/rm -f conftestcat > conftest <<.SHELL=/bin/shALL:	@(dir="`pwd`" ; cd .. ; \$(MAKE) -f "\$\$dir/conftest" SUB)SUB:	@echo "success".str="`$MAKE -f conftest 2>&1`"if test "$str" != "success" ; then    str="`$MAKE --no-print-directory -f conftest 2>&1`"    if test "$str" = "success" ; then	pac_cv_prog_make_echos_dir="yes using --no-print-directory"    else	pac_cv_prog_make_echos_dir="no"	echo "Unexpected output from make with program" >>config.log	cat conftest >>config.log	echo "str" >> config.log    fielse    pac_cv_prog_make_echos_dir="no"fi/bin/rm -f confteststr=""fiecho "$ac_t""$pac_cv_prog_make_echos_dir" 1>&6if test "$pac_cv_prog_make_echos_dir" = "yes using --no-print-directory" ; then    MAKE="$MAKE --no-print-directory"fiecho $ac_n "checking whether make supports include""... $ac_c" 1>&6echo "configure:1065: checking whether make supports include" >&5if eval "test \"`echo '$''{'pac_cv_prog_make_include'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  /bin/rm -f conftestcat > conftest <<.ALL:	@echo "success".cat > conftest1 <<.include conftest.pac_str=`$MAKE -f conftest1 2>&1`/bin/rm -f conftest conftest1if test "$pac_str" != "success" ; then    pac_cv_prog_make_include="no"else    pac_cv_prog_make_include="yes"fifiecho "$ac_t""$pac_cv_prog_make_include" 1>&6if test "$pac_cv_prog_make_include" = "no" ; then    :else    :fiecho $ac_n "checking whether make allows comments in actions""... $ac_c" 1>&6echo "configure:1098: checking whether make allows comments in actions" >&5if eval "test \"`echo '$''{'pac_cv_prog_make_allows_comments'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  /bin/rm -f conftestcat > conftest <<.SHELL=/bin/shALL:	@# This is a valid comment!	@echo "success".pac_str=`$MAKE -f conftest 2>&1`/bin/rm -f conftest if test "$pac_str" != "success" ; then    pac_cv_prog_make_allows_comments="no"else    pac_cv_prog_make_allows_comments="yes"fifiecho "$ac_t""$pac_cv_prog_make_allows_comments" 1>&6if test "$pac_cv_prog_make_allows_comments" = "no" ; then    echo "configure: warning: Your make does not allow comments in target code.Using this make may cause problems when building programs.You should consider using gnumake instead." 1>&2    fiecho $ac_n "checking for virtual path format""... $ac_c" 1>&6echo "configure:1132: checking for virtual path format" >&5if eval "test \"`echo '$''{'pac_cv_prog_make_vpath'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  rm -rf conftest*mkdir conftestdircat >conftestdir/a.c <<EOFA sample fileEOFcat > conftest <<EOFall: a.oVPATH=.:conftestdir.c.o:	@echo \$<EOFac_out=`$MAKE -f conftest 2>&1 | grep 'conftestdir/a.c'`if test -n "$ac_out" ; then     pac_cv_prog_make_vpath="VPATH"else    rm -f conftest    cat > conftest <<EOFall: a.o.PATH: . conftestdir.c.o:	@echo \$<EOF    ac_out=`$MAKE -f conftest 2>&1 | grep 'conftestdir/a.c'`    if test -n "$ac_out" ; then         pac_cv_prog_make_vpath=".PATH"    else	pac_cv_prog_make_vpath="neither VPATH nor .PATH works"    fifirm -rf conftest*fiecho "$ac_t""$pac_cv_prog_make_vpath" 1>&6if test "$pac_cv_prog_make_vpath" = "VPATH" ; then    VPATH='VPATH=.:${srcdir}'elif test "$pac_cv_prog_make_vpath" = ".PATH" ; then    VPATH='.PATH: . ${srcdir}'fiecho $ac_n "checking whether make sets CFLAGS""... $ac_c" 1>&6echo "configure:1181: checking whether make sets CFLAGS" >&5if eval "test \"`echo '$''{'pac_cv_prog_make_set_cflags'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  /bin/rm -f conftestcat > conftest <<EOFSHELL=/bin/shALL:	@echo X\${CFLAGS}XEOFpac_str=`$MAKE -f conftest 2>&1`/bin/rm -f conftest if test "$pac_str" = "XX" ; then    pac_cv_prog_make_set_cflags="no"else    pac_cv_prog_make_set_cflags="yes"fifiecho "$ac_t""$pac_cv_prog_make_set_cflags" 1>&6if test "$pac_cv_prog_make_set_cflags" = "no" ; then    :else    SET_CFLAGS='CFLAGS='fiif test "$pac_cv_prog_make_echos_dir" = "no" ; then    echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6echo "configure:1212: checking whether ${MAKE-make} sets \${MAKE}" >&5set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftestmake <<\EOFall:	@echo 'ac_maketemp="${MAKE}"'EOF# GNU make sometimes prints "make[1]: Entering...", which would confuse us.eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`if test -n "$ac_maketemp"; then  eval ac_cv_prog_make_${ac_make}_set=yeselse  eval ac_cv_prog_make_${ac_make}_set=nofirm -f conftestmakefiif eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then  echo "$ac_t""yes" 1>&6  SET_MAKE=else  echo "$ac_t""no" 1>&6  SET_MAKE="MAKE=${MAKE-make}"fielse    SET_MAKE="MAKE=${MAKE-make}"fiecho $ac_n "checking for working const""... $ac_c" 1>&6echo "configure:1243: checking for working const" >&5if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1248 "configure"#include "confdefs.h"int main() {/* Ultrix mips cc rejects this.  */typedef int charset[2]; const charset x;/* SunOS 4.1.1 cc rejects this.  */char const *const *ccp;char **p;/* NEC SVR4.0.2 mips cc rejects this.  */struct point {int x, y;};static struct point const zero = {0,0};/* AIX XL C 1.02.0.0 rejects this.   It does not let you subtract one const X* pointer from another in an arm   of an if-expression whose if-part is not a constant expression */const char *g = "string";ccp = &g + (g ? g-g : 0);/* HPUX 7.0 cc rejects these. */++ccp;p = (char**) ccp;ccp = (char const *const *) p;{ /* SCO 3.2v4 cc rejects this.  */  char *t;  char const *s = 0 ? (char *) 0 : (char const *) 0;  *t++ = 0;}{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */  int x[] = {25, 17};  const int *foo = &x[0];  ++foo;}{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */  typedef const int *iptr;  iptr p = 0;  ++p;}{ /* AIX XL C 1.02.0.0 rejects this saying     "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */  struct s { int j; const int *ap[3]; };  struct s *b; b->j = 5;}{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */  const int foo = 10;}; return 0; }EOFif { (eval echo configure:1297: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -rf conftest*  ac_cv_c_const=yeselse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  ac_cv_c_const=nofirm -f conftest*fiecho "$ac_t""$ac_cv_c_const" 1>&6if test $ac_cv_c_const = no; then  cat >> confdefs.h <<\EOF#define const EOFfiecho $ac_n "checking for volatile""... $ac_c" 1>&6echo "configure:1319: checking for volatile" >&5if eval "test \"`echo '$''{'pac_cv_c_volatile'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1325 "configure"#include "confdefs.h"int main() {volatile int a;; return 0; }EOFif { (eval echo configure:1332: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -rf conftest*

⌨️ 快捷键说明

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