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

📄 configure

📁 The example for Boor USING MPI2
💻
📖 第 1 页 / 共 5 页
字号:
.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:1774: 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:1808: 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:1857: 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:1888: 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 library containing fabs""... $ac_c" 1>&6echo "configure:1921: checking for library containing fabs" >&5if eval "test \"`echo '$''{'ac_cv_search_fabs'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  ac_func_search_save_LIBS="$LIBS"ac_cv_search_fabs="no"cat > conftest.$ac_ext <<EOF#line 1928 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error.  *//* We use char because int might match the return type of a gcc2    builtin and then its argument prototype would still apply.  */char fabs();int main() {fabs(); return 0; }EOFif { (eval echo configure:1939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  ac_cv_search_fabs="none required"else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5firm -f conftest*test "$ac_cv_search_fabs" = "no" && for i in m; doLIBS="-l$i  $ac_func_search_save_LIBS"cat > conftest.$ac_ext <<EOF#line 1950 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error.  *//* We use char because int might match the return type of a gcc2    builtin and then its argument prototype would still apply.  */char fabs();int main() {fabs(); return 0; }EOFif { (eval echo configure:1961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  ac_cv_search_fabs="-l$i"breakelse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5firm -f conftest*doneLIBS="$ac_func_search_save_LIBS"fiecho "$ac_t""$ac_cv_search_fabs" 1>&6if test "$ac_cv_search_fabs" != "no"; then  test "$ac_cv_search_fabs" = "none required" || LIBS="$ac_cv_search_fabs $LIBS"  else :  fi# Check for mpi.hecho $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6echo "configure:1984: checking how to run the C preprocessor" >&5# On Suns, sometimes $CPP names a directory.if test -n "$CPP" && test -d "$CPP"; then  CPP=fiif test -z "$CPP"; thenif eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else    # This must be in double quotes, not single quotes, because CPP may get  # substituted into the Makefile and "${CC-cc}" will confuse make.  CPP="${CC-cc} -E"  # On the NeXT, cc -E runs the code through the compiler's parser,  # not just through cpp.  cat > conftest.$ac_ext <<EOF#line 1999 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:2005: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`if test -z "$ac_err"; then  :else  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  CPP="${CC-cc} -E -traditional-cpp"  cat > conftest.$ac_ext <<EOF#line 2016 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:2022: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`if test -z "$ac_err"; then  :else  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  CPP="${CC-cc} -nologo -E"  cat > conftest.$ac_ext <<EOF#line 2033 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:2039: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`if test -z "$ac_err"; then  :else  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  CPP=/lib/cppfirm -f conftest*firm -f conftest*firm -f conftest*  ac_cv_prog_CPP="$CPP"fi  CPP="$ac_cv_prog_CPP"else  ac_cv_prog_CPP="$CPP"fiecho "$ac_t""$CPP" 1>&6ac_safe=`echo "mpi.h" | sed 'y%./+-%__p_%'`echo $ac_n "checking for mpi.h""... $ac_c" 1>&6echo "configure:2065: checking for mpi.h" >&5if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 2070 "configure"#include "confdefs.h"#include <mpi.h>EOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:2075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`if test -z "$ac_err"; then  rm -rf conftest*  eval "ac_cv_header_$ac_safe=yes"else  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  eval "ac_cv_header_$ac_safe=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then  echo "$ac_t""yes" 1>&6  :else  echo "$ac_t""no" 1>&6{ echo "configure: error: mpi.h is required" 1>&2; exit 1; }fitrap '' 1 2 15cat > confcache <<\EOF# This file is a shell script that caches the results of configure# tests run on this system so they can be shared between configure# scripts and configure runs.  It is not useful on other systems.# If it contains results you don't want to keep, you may remove or edit it.## By default, configure uses ./config.cache as the cache file,# creating it if it does not exist already.  You can give configure# the --cache-file=FILE option to use a different cache file; that is# what configure does when it calls configure scripts in# subdirectories, so they share the cache.# Giving --cache-file=/dev/null disables caching, for debugging configure.# config.status only pays attention to the cache file if you give it the# --recheck option to rerun configure.#EOF# The following way of writing the cache mishandles newlines in values,# but we know of no workaround that is simple, portable, and efficient.# So, don't put newlines in cache variables' values.# Ultrix sh set writes to stderr and can't be redirected directly,# and sets the high bit in the cache file unless we assign to the vars.(set) 2>&1 |  case `(ac_space=' '; set | grep ac_space) 2>&1` in  *ac_space=\ *)    # `set' does not quote correctly, so add quotes (double-quote substitution    # turns \\\\ into \\, and sed turns \\ into \).    sed -n \      -e "s/'/'\\\\''/g" \      -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"    ;;  *)    # `set' quotes correctly as required by POSIX, so do not add quotes.    sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'    ;;  esac >> confcacheif cmp -s $cache_file confcache; then  :else  if test -w $cache_file; then    echo "updating cache $cache_file"    cat confcache > $cache_file  else    echo "not updating unwritable cache $cache_file"  fifirm -f confcachetrap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15test "x$prefix" = xNONE && prefix=$ac_default_prefix# Let make expand exec_prefix.test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'# Any assignment to VPATH causes Sun make to only execute# the first set of double-colon rules, so remove it if not needed.# If there is a colon in the path, we need to keep it.if test "x$srcdir" = x.; then  ac_vpsub='/^[ 	]*VPATH[ 	]*=[^:]*$/d'fitrap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15# Transform confdefs.h into DEFS.# Protect against shell expansion while executing Makefile rules.# Protect against Makefile macro expansion.cat > conftest.defs <<\EOFs%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%gs%[ 	`~#$^&*(){}\\|;'"<>?]%\\&%gs%\[%\\&%gs%\]%\\&%gs%\$%$$%gEOFDEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`rm -f conftest.defs# Without the "./", some shells look in PATH for config.status.: ${CONFIG_STATUS=./config.status}echo creating $CONFIG_STATUSrm -f $CONFIG_STATUScat > $CONFIG_STATUS <<EOF#! /bin/sh# Generated automatically by configure.# Run this file to recreate the current configuration.# This directory was configured as follows,# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:## $0 $ac_configure_args## Compiler output produced by configure, useful for debugging# configure, is

⌨️ 快捷键说明

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