📄 configure
字号:
MAKE="$package" export MAKE ;; -nof77 | --nof77 | -disable-f77 | --disable-f77 ) check_dep $arg "--disable-f77" echo "Don't build the Fortran interfaces" NOF77=1 NO_F90=1 HAS_FORTRAN=0 CFLAGS="-DMPID_NO_FORTRAN $CFLAGS" romio_config_args="$romio_config_args -nof77" enable_args="$enable_args --disable-f77" ;; -nof90 | --nof90 | -disable-f90 | --disable-f90 ) check_dep $arg "--disable-f90" enable_args="$enable_args --disable-f90" NO_F90=1 ;; -automountfix=* | --automountfix=*) print_useenv "$arg" AUTOMOUNTFIX AUTOMOUNTFIX="`echo $arg | sed 's/-*automountfix=//'`" ;; -nobanner) nobanner=1 ;; -echo | --enable-echo | -enable-echo ) check_dep $arg "--enable-echo" set -x configure_echo=1 enable_args="$enable_args --enable-echo" ;; -noromio | --noromio | --without-romio | --with-romio=no ) check_dep $arg "--without-romio" ROMIO=0 with_args="$with_args --without-romio --without-mpiio" ;; -with-romio* | --with-romio*) withval=`echo $arg | sed 's/-*with-romio[=]*//g'` ROMIO_ARGS="$ROMIO_ARGS $withval" ;; -with-intercommcoll | --with-intercommcoll) Use_Intercomm_coll="yes" ;; --with-coll* | -with-coll* ) # If there is a name, use it (no .c suffix on name) if test -n "$ac_optarg" ; then MPI_INTRA=$ac_optarg fi ;; -with-* | --with-* | --without-* | -without-* ) # Unrecognized with argument. Just remember it with_args="$with_args $arg" ;; -enable-* | --enable-*) # Unrecognized enable argument. Create the enable_feature=value # variable and remember the enable argument ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` # Reject names that are not valid shell variable names. if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } fi ac_feature=`echo $ac_feature| sed 's/-/_/g'` case "$ac_option" in *=*) ;; *) ac_optarg=yes ;; esac eval "enable_${ac_feature}='$ac_optarg'" enable_args="$enable_args $arg" ;; -disable-* | --disable-*) # Unrecognized disable argument. Create the enable_feature=no ac_feature=`echo $ac_option|sed -e 's/-*disable-//' -e 's/=.*//'` # Reject names that are not valid shell variable names. if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } fi ac_feature=`echo $ac_feature| sed 's/-/_/g'` eval "enable_${ac_feature}=no" enable_args="$enable_args $arg" ;; -file_system=* | --file_system=* ) print_dep $arg "--with-romio=-file_system=value" FILE_SYSTEM="`echo $arg|sed 's/-*file_system=//'`" ;; -u | -usage | --usage | --usag | --usa | --us | --u | -help | --help ) print_usage >& 2 # # This produced too many long wrapped lines; fixing the wrapping # broke the code to extract the usage without duplicating the # boilerplate configure usage. We should fix this by extracting the # messages as part of the "updateconfigure" process, rathter than # by having the configure do it on the fly (tradeoff between being # able to use better tools and portability). #echo ; echo "Options acceptable by '-mpe_opts=' :" ; echo #TSD=`echo $0 | sed 's%/[^/][^/]*$%%'` #if [ "$TSD" = "$0" -o "X$TSD" = "X." ] ; then # TSD=`pwd` #fi #$TSD/mpe/configure--help exit 1 ;; -v | -verbose | --verbose | --verbos | --verbo | --verb | --ver | --ve | --v) verbose=yes ;; *) print_error "Unrecognized configure option $arg" exit 1 ;; esac fidonerm -f config.logtrap 'rm -fr conftest* confdefs* core; exit 1' 1 3 15trap 'rm -f confdefs*' 0# NLS nuisances.# These must not be set unconditionally because not all systems understand# e.g. LANG=C (notably SCO).if test "${LC_ALL+set}" = 'set' ; then LC_ALL=C; export LC_ALL; fiif test "${LANG+set}" = 'set' ; then LANG=C; export LANG; firm -f conftest* confdefs.h# AIX cpp loses on an empty file, so make sure it contains at least a newline.echo > confdefs.hcompile='${CC-cc} $CFLAGS conftest.c -o conftest $LIBS >/dev/null 2>&1'# 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.unique_file=# Find the source files, if location was not specified.if test -z "$srcdir"; then srcdirdefaulted=yes # Try the directory containing this script, then `..'. prog=$0 confdir=`echo $prog|sed 's%/[^/][^/]*$%%'` test "X$confdir" = "X$prog" && confdir=. srcdir=$confdir if test ! -r $srcdir/$unique_file; then srcdir=.. fifiif test ! -r $srcdir/$unique_file; then if test x$srcdirdefaulted = xyes; then echo "configure: Can not find sources in \`${confdir}' or \`..'." 1>&2 else echo "configure: Can not find sources in \`${srcdir}'." 1>&2 fi exit 1fi# Preserve a srcdir of `.' to avoid automounter screwups with pwd.# But we can't avoid them for `..', to make subdirectories work.case $srcdir in .|/*|~*) ;; *) srcdir=`cd $srcdir; pwd` ;; # Make relative path absolute.esac# Save the original args to write them into config.status later.configure_args="$*"# We may need to delete this# Find the source files, if location was not specified.if test "$srcdirdefaulted" = "yes" ; then srcdir="" # Try the directory containing this script, then `..'. prog=$0 confdir=`echo $prog|sed 's%/[^/][^/]*$%%'` # Remove all trailing /'s confdir=`echo $confdir|sed 's%[/*]$%%'` test "X$confdir" = "X$prog" && confdir=. srcdir=$confdir if test ! -r $srcdir/$unique_file; then srcdir=.. fifiif test ! -r $srcdir/$unique_file; then if test x$srcdirdefaulted = xyes; then echo "configure: Cannot find sources in \`${confdir}' or \`..'." 1>&2 else echo "configure: Cannot find sources in \`${srcdir}'." 1>&2 fi exit 1fi# Preserve a srcdir of `.' to avoid automounter screwups with pwd.# (and preserve ./ and .//)# But we can't avoid them for `..', to make subdirectories work.case $srcdir in .|./|.//|/*|~*) ;; *) srcdir=`cd $srcdir; pwd` ;; # Make relative path absolute.esac# Check that file system understands different file name casesCASE_SENSITIVE=noif test -z "$ac_echo_n" ; thenac_echo_n=yesif (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=fiac_echo_test=`echo foo 1>&1`if test -z "$ac_echo_test" ; then print_error "Your sh shell does not handle the output redirection" print_error "1>&1 correctly. Configure will work around this problem," print_error "but you should report the problem to your vendor."fifiif test -z "$ac_echo_test" -a 1 = 1 ; thenecho $ac_n "checking whether filesystem respects case in file names""... $ac_c"elseecho $ac_n "checking whether filesystem respects case in file names""... $ac_c" 1>&1fiecho 1 > CONFTESTecho 2 > conftestif diff CONFTEST conftest 2>&1 >/dev/null ; then if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t""no"elseecho "$ac_t""no" 1>&1fi if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t""Warning: You may encounter problems with the commands mpicc and MPICC"elseecho "$ac_t""Warning: You may encounter problems with the commands mpicc and MPICC" 1>&1fi CASE_SENSITIVE=yeselse if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t""yes"elseecho "$ac_t""yes" 1>&1fifirm -f CONFTEST conftest### Load any cross-compiling definitionsif test -n "$cross_file" -a -s "$cross_file" ; then . $cross_filefi# There are definitions in aclocal.m4 that must be in the same directory# as this configure file for autoconf to properly build configure.## Set basic defintions based on flags set from commandline#if test "$ADI_COLLECTIVE" = 1 ; then {test -n "$verbose" && \echo " defining MPID_USE_ADI_COLLECTIVE"echo "#define" MPID_USE_ADI_COLLECTIVE 1 >> confdefs.hDEFS="$DEFS -DMPID_USE_ADI_COLLECTIVE=1"SEDDEFS="${SEDDEFS}\${SEDdA}MPID_USE_ADI_COLLECTIVE\${SEDdB}MPID_USE_ADI_COLLECTIVE\${SEDdC}1\${SEDdD}\${SEDuA}MPID_USE_ADI_COLLECTIVE\${SEDuB}MPID_USE_ADI_COLLECTIVE\${SEDuC}1\${SEDuD}\${SEDeA}MPID_USE_ADI_COLLECTIVE\${SEDeB}MPID_USE_ADI_COLLECTIVE\${SEDeC}1\${SEDeD}"}fiif test -n "$DLAST" ; then {test -n "$verbose" && \echo " defining USE_HOLD_LAST_DEBUG"echo "#define" USE_HOLD_LAST_DEBUG 1 >> confdefs.hDEFS="$DEFS -DUSE_HOLD_LAST_DEBUG=1"SEDDEFS="${SEDDEFS}\${SEDdA}USE_HOLD_LAST_DEBUG\${SEDdB}USE_HOLD_LAST_DEBUG\${SEDdC}1\${SEDdD}\${SEDuA}USE_HOLD_LAST_DEBUG\${SEDuB}USE_HOLD_LAST_DEBUG\${SEDuC}1\${SEDuD}\${SEDeA}USE_HOLD_LAST_DEBUG\${SEDeB}USE_HOLD_LAST_DEBUG\${SEDeC}1\${SEDeD}"} {test -n "$verbose" && \echo " defining USE_PRINT_LAST_ON_ERROR"echo "#define" USE_PRINT_LAST_ON_ERROR 1 >> confdefs.hDEFS="$DEFS -DUSE_PRINT_LAST_ON_ERROR=1"SEDDEFS="${SEDDEFS}\${SEDdA}USE_PRINT_LAST_ON_ERROR\${SEDdB}USE_PRINT_LAST_ON_ERROR\${SEDdC}1\${SEDdD}\${SEDuA}USE_PRINT_LAST_ON_ERROR\${SEDuB}USE_PRINT_LAST_ON_ERROR\${SEDuC}1\${SEDuD}\${SEDeA}USE_PRINT_LAST_ON_ERROR\${SEDeB}USE_PRINT_LAST_ON_ERROR\${SEDeC}1\${SEDeD}"}fi#if test -n "$DEVDEBUGCFLAGS" ; then DEVCFLAGS="$DEVCFLAGS $DEVDEBUGCFLAGS"fi## Definitions for special debugging features. if test $debug_version = 1 ; then # Make the code keep separate send queues. {test -n "$verbose" && \echo " defining MPI_KEEP_SEND_QUEUE"echo "#define" MPI_KEEP_SEND_QUEUE 1 >> confdefs.hDEFS="$DEFS -DMPI_KEEP_SEND_QUEUE=1"SEDDEFS="${SEDDEFS}\${SEDdA}MPI_KEEP_SEND_QUEUE\${SEDdB}MPI_KEEP_SEND_QUEUE\${SEDdC}1\${SEDdD}\${SEDuA}MPI_KEEP_SEND_QUEUE\${SEDuB}MPI_KEEP_SEND_QUEUE\${SEDuC}1\${SEDuD}\${SEDeA}MPI_KEEP_SEND_QUEUE\${SEDeB}MPI_KEEP_SEND_QUEUE\${SEDeC}1\${SEDeD}"}fi## Find the home directory if not specifiedif test "X$srcdir" != "X." -a -s $srcdir/src/pt2pt/Makefile.in ; then MPIR_TRIAL="$srcdir"else if test -z "$ac_echo_n" ; thenac_echo_n=yesif (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=fiac_echo_test=`echo foo 1>&1`if test -z "$ac_echo_test" ; then print_error "Your sh shell does not handle the output redirection" print_error "1>&1 correctly. Configure will work around this problem," print_error "but you should report the problem to your vendor."fifiif test -z "$ac_echo_test" -a 1 = 1 ; thenecho $ac_n "checking for current directory name""... $ac_c"elseecho $ac_n "checking for current directory name""... $ac_c" 1>&1fiMPIR_TRIAL=$PWDif test "${MPIR_TRIAL}" != "" -a -d "${MPIR_TRIAL}" ; then if test -r ${MPIR_TRIAL}/.foo$$ ; then /bin/rm -f ${MPIR_TRIAL}/.foo$$ /bin/rm -f .foo$$ fi if test -r ${MPIR_TRIAL}/.foo$$ -o -r .foo$$ ; then MPIR_TRIAL= else echo "test" > ${MPIR_TRIAL}/.foo$$ if test ! -r .foo$$ ; then /bin/rm -f ${MPIR_TRIAL}/.foo$$ MPIR_TRIAL= else /bin/rm -f ${MPIR_TRIAL}/.foo$$ fi fifiif test "${MPIR_TRIAL}" = "" ; then MPIR_TRIAL=`pwd | sed -e 's%/tmp_mnt/%/%g'`fiif test ! -r ${MPIR_TRIAL}/src/pt2pt/Makefile.in ; then MPIR_TRIAL=`pwd` if test ! -r ${MPIR_TRIAL}/src/pt2pt/Makefile.in ; then print_error "Cannot determine the root directory!" exit 1 fi MPIR_TRIAL=`pwd | sed -e 's%/tmp_mnt/%/%g'` if test ! -d ${MPIR_TRIAL} ; then print_error "Warning: your default path uses the automounter; this may" print_error "cause some problems if you use other NFS-connected systems."
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -