📄 configure
字号:
#define PACKAGE_NAME "$PACKAGE_NAME"_ACEOFcat >>confdefs.h <<_ACEOF#define PACKAGE_TARNAME "$PACKAGE_TARNAME"_ACEOFcat >>confdefs.h <<_ACEOF#define PACKAGE_VERSION "$PACKAGE_VERSION"_ACEOFcat >>confdefs.h <<_ACEOF#define PACKAGE_STRING "$PACKAGE_STRING"_ACEOFcat >>confdefs.h <<_ACEOF#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"_ACEOF# Let the site file select an alternate cache file if it wants to.# Prefer explicitly selected file to automatically selected ones.if test -n "$CONFIG_SITE"; then set x "$CONFIG_SITE"elif test "x$prefix" != xNONE; then set x "$prefix/share/config.site" "$prefix/etc/config.site"else set x "$ac_default_prefix/share/config.site" \ "$ac_default_prefix/etc/config.site"fishiftfor ac_site_filedo if test -r "$ac_site_file"; then { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" fidoneif test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special # files actually), so we avoid doing that. if test -f "$cache_file"; then { echo "$as_me:$LINENO: loading cache $cache_file" >&5echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fielse { echo "$as_me:$LINENO: creating cache $cache_file" >&5echo "$as_me: creating cache $cache_file" >&6;} >$cache_filefi# Check that the precious variables saved in the cache have kept the same# value.ac_cache_corrupted=falsefor ac_var in $ac_precious_vars; 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# VERSION=1.2.6# AC_MSG_RESULT([Configuring ROMIO Version $VERSION])CONFIGURE_ARGS="$*"if test -n "$CONFIGURE_ARGS" ; then echo "Configuring with args $CONFIGURE_ARGS"fiac_config_headers="$ac_config_headers adio/include/romioconf.h"# Open MPI: added AH_TOP# Open MPI: this configure script doesn't seem to define these# anywhere, so just do them manually here because "we know better"# (i.e., Open MPI can be hard-wired to these values).cat >>confdefs.h <<\_ACEOF#define HAVE_MPI_OFFSET 1_ACEOF# Open MPI: look for top Open MPI directory{ echo "$as_me:$LINENO: checking for Open MPI support files" >&5echo $ECHO_N "checking for Open MPI support files... $ECHO_C" >&6; }if test -f "$srcdir/../../../../../config/mca_configure.ac"; then # This is needed for VPATH builds, so that it will -I the # appropriate include directory (don't know why automake # doesn't do this # automatically). top_ompi_srcdir='$(top_srcdir)/../../../../..' top_ompi_builddir='$(top_builddir)/../../../../..' { echo "$as_me:$LINENO: result: in Open MPI source tree -- good" >&5echo "${ECHO_T}in Open MPI source tree -- good" >&6; }else { echo "$as_me:$LINENO: result: not found" >&5echo "${ECHO_T}not found" >&6; } { echo "$as_me:$LINENO: WARNING: *** Could not find Open MPI support files" >&5echo "$as_me: WARNING: *** Could not find Open MPI support files" >&2;} { echo "$as_me:$LINENO: WARNING: *** Can only build this version of ROMIO in an Open MPI source tree" >&5echo "$as_me: WARNING: *** Can only build this version of ROMIO in an Open MPI source tree" >&2;} { { echo "$as_me:$LINENO: error: *** Cannot continue" >&5echo "$as_me: error: *** Cannot continue" >&2;} { (exit 1); exit 1; }; }fi# Open MPI: disable the f77 and f90 tests, as we provide our own# MPI interface and use only the C parts of ROMIONOF77=1NOF90=1ARCH=""arch_IRIX=""MPI=""MPI_INCLUDE_DIR=""ROMIO_INCLUDE=""TEST_LIBNAME=""FILE_SYSTEM=""# Do not set variables to empty that may be communicated from the# outside environment (e.g., MPI_LIB, MPI_BIN_DIR, LIBNAME)DEBUG=noMIPS=0BITS=0FROM_MPICH=${FROM_MPICH:-no}FROM_MPICH2=${FROM_MPICH2:-no}if test "$FROM_MPICH" = yes -a "$FROM_MPICH2" = yes ; then { echo "$as_me:$LINENO: WARNING: Both FROM_MPICH and FROM_MPICH set to yes; at most one should be yes" >&5echo "$as_me: WARNING: Both FROM_MPICH and FROM_MPICH set to yes; at most one should be yes" >&2;}fiFROM_LAM=${FROM_LAM:-no}if test "$FROM_LAM" = 1 ; then FROM_LAM=yes ; fiCFLAGS=${CFLAGS:-""}LL="lld"AR_LOCAL=""DEFINE_HAVE_MPI_GREQUEST="#undef HAVE_MPI_GREQUEST"HAVE_MPI_INFO=""BUILD_MPI_INFO=""MPI_FINFO1=""MPI_FINFO2=""MPI_FINFO3=""MPI_FINFO4=""MPI_FARRAY1=""MPI_FARRAY2=""MPI_FARRAY3=""MPI_FARRAY4=""MPI_FARRAY5=""MPI_FARRAY6=""MPI_FARRAY7=""DEFS=""ROMIO_LFLAGS=""ROMIO_LIBLIST=""ROMIO_TCFLAGS=""ROMIO_TCPPFLAGS=""ROMIO_TFFLAGS=""NOPROFILE=0MPIRUN=""FORTRAN_TEST=""# Open MPI: This (setting make) is a Bad Thing to do in Automake-based build systems# MAKE=${MAKE:-"make"}# foll. needed for f77 test programsF77GETARG="call getarg(i,str)"F77IARGC="iargc()"F77MPIOINC=""FTESTDEFINE=""FORTRAN_MPI_OFFSET=""MPIOF_H_INCLUDED=0MPI_OFFSET_KIND1="!"MPI_OFFSET_KIND2="!"TEST_CC=""TEST_F77=""# Open MPI: don't want a profiling layer... - change weak from 1 to 0TRY_WEAK_SYMBOLS=0## Error handlers (not used with MPICH2, which provides its own routines)MPIO_EXTRA_OBJECTS="get_errh.o set_errh.o"MPIO_EXTRA_TMP_POBJECTS="get_errh.p set_errh.p"MPIO_EXTRA_REAL_POBJECTS="_get_errh.o _set_errh.o"## Completion routines for MPIO_Requests. MPI Implementations with# generalized requests do not need these# ioreq_c2f and ioreq_f2c are not MPIO_Requests; rather, theyMPIO_REQOBJECTS="iotest.o iotestall.o iotestany.o iotestsome.o iowait.o iowaitall.o iowaitany.o iowaitsome.o ioreq_c2f.o ioreq_f2c.o"MPIO_REQ_TMP_POBJECTS="iotest.p iowait.p iowaitall.p iowaitany.p iotestall.p iotestany.p iowaitsome.p iotestsome.p"MPIO_REQ_REAL_POBJECTS="_iotest.o _iowait.o _iowaitall.o _iowaitany.o _iotestall.o _iotestany.o _iowaitsome.o _iotestsome.o"#have_aio=no#known_filesystems="nfs ufs pfs pvfs pvfs2 testfs xfs panfs gridftp"# Open MPI: added "open_mpi_mpi"known_mpi_impls="mpich2_mpi mpich_mpi sgi_mpi hp_mpi cray_mpi lam_mpi open_mpi_mpi"## Defaults# Check whether --enable-aio was given.if test "${enable_aio+set}" = set; then enableval=$enable_aio; if test "x$enableval" = "xno" ; then disable_aio=yes else disable_aio=no fielse disable_aio=nofi# Check whether --enable-echo was given.if test "${enable_echo+set}" = set; then enableval=$enable_echo; set -xfi# Check whether --enable-f77 was given.if test "${enable_f77+set}" = set; then enableval=$enable_f77;else enable_f77=yesfi# Check whether --enable-f90 was given.if test "${enable_f90+set}" = set; then enableval=$enable_f90;else enable_f90=yesfi# Check whether --enable-weak-symbols was given.if test "${enable_weak_symbols+set}" = set; then enableval=$enable_weak_symbols;else enable_weak_symbols=yesfi# Check whether --enable-debug was given.if test "${enable_debug+set}" = set; then enableval=$enable_debug;fi# Check whether --with-file-system was given.if test "${with_file_system+set}" = set; then withval=$with_file_system;fi# Check whether --with-mpi was given.if test "${with_mpi+set}" = set; then withval=$with_mpi;fiif test "$enable_f77" != "yes" ; then NOF77=1fiif test "$enable_f90" != "yes" ; then NOF90=1fiif test "$enable_debug" = "yes" ; then DEBUG=yesfiif test "$enable_weak_symbols" = "no" ; then TRY_WEAK_SYMBOLS=0fiMPI=$with_mpiFILE_SYSTEM=$with_file_system#ac_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 elif test -f "$ac_dir/shtool"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/shtool install -c" break fidoneif test -z "$ac_aux_dir"; then { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in confdb \"$srcdir\"/confdb" >&5echo "$as_me: error: cannot find install-sh or install.sh in confdb \"$srcdir\"/confdb" >&2;} { (exit 1); exit 1; }; }fi# These three variables are undocumented and unsupported,# and are intended to be withdrawn in a future Autoconf release.# They can cause serious problems if a builder's source tree is in a directory# whose full name contains unusual characters.ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.# Open MPI: Init automakeam__api_version='1.10'# 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" >&6; }if 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 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$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 ;;esacdoneIFS=$as_save_IFSfi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a # value for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. INSTALL=$ac_install_sh fifi{ echo "$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'{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }# Just in casesleep 1echo timestamp > conftest.file# Do `set' in a subshell so we don't clobber the current shell's# arguments. Must try -L first in case configure is actually a# symlink; some systems play weird games with the mod time of symlinks# (eg FreeBSD returns the mod time of the symlink's containing# directory).if ( set X `ls -Lt $srcdir/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -