📄 configure
字号:
# Let the site file select an alternate cache file if it wants to.# 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 "$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" fidone# Check that the precious variables saved in the cache have kept the same# value.ac_cache_corrupted=falsefor ac_var in `(set) 2>&1 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; 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_gnuif test -f $CONFIG_AUX_DIR/install-sh ; then ac_aux_dir=$CONFIG_AUX_DIRelseac_aux_dir=# We force the test to use the absolute path to ensure that the install# program can be used if we cd to a different directory before using# install.for ac_dir in .. $srcdir/..; do if test -f $ac_dir/install-sh; then ac_aux_dir=$ac_dir abs_ac_aux_dir=`(cd $ac_aux_dir && pwd)` ac_install_sh="$abs_ac_aux_dir/install-sh -c" break elif test -f $ac_dir/install.sh; then ac_aux_dir=$ac_dir abs_ac_aux_dir=`(cd $ac_aux_dir && pwd)` ac_install_sh="$abs_ac_aux_dir/install.sh -c" break fidonefiif test -z "$ac_aux_dir"; then { { echo "$as_me:$LINENO: error: can not find install-sh or install.sh in .. $srcdir/.." >&5echo "$as_me: error: can not find install-sh or install.sh in .. $srcdir/.." >&2;} { (exit 1); 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. ac_config_headers="$ac_config_headers cross_conf.h"#echo "Configuring MPE Cross-Compilation Spec with $ac_configure_args"if test "X$srcdir" != "X." -a -s $srcdir/cross_cc.c ; then top_srcdir_abs=$srcdirelseecho "$as_me:$LINENO: checking for current directory name" >&5echo $ECHO_N "checking for current directory name... $ECHO_C" >&6top_srcdir_abs=$PWDif test "${top_srcdir_abs}" != "" -a -d "${top_srcdir_abs}" ; then if test -r ${top_srcdir_abs}/.foo$$ ; then rm -f ${top_srcdir_abs}/.foo$$ rm -f .foo$$ fi if test -r ${top_srcdir_abs}/.foo$$ -o -r .foo$$ ; then top_srcdir_abs= else echo "test" > ${top_srcdir_abs}/.foo$$ if test ! -r .foo$$ ; then rm -f ${top_srcdir_abs}/.foo$$ top_srcdir_abs= else rm -f ${top_srcdir_abs}/.foo$$ fi fifiif test "${top_srcdir_abs}" = "" ; then top_srcdir_abs=`pwd | sed -e 's%/tmp_mnt/%/%g'`fiif test ! -r ${top_srcdir_abs}/cross_cc.c ; then top_srcdir_abs=`pwd` if test ! -r ${top_srcdir_abs}/cross_cc.c ; then { { echo "$as_me:$LINENO: error: Cannot determine the root directory!" >&5echo "$as_me: error: Cannot determine the root directory!" >&2;} { (exit 1); exit 1; }; } fi top_srcdir_abs=`pwd | sed -e 's%/tmp_mnt/%/%g'` if test ! -d ${top_srcdir_abs} ; then { echo "$as_me:$LINENO: WARNING: Warning: your default path uses the automounter; this maycause some problems if you use other NFS-connected systems." >&5echo "$as_me: WARNING: Warning: your default path uses the automounter; this maycause some problems if you use other NFS-connected systems." >&2;} top_srcdir_abs=`pwd` fifiif test -z "${top_srcdir_abs}" ; then top_srcdir_abs=`pwd | sed -e 's%/tmp_mnt/%/%g'` if test ! -d ${top_srcdir_abs} ; then { echo "$as_me:$LINENO: WARNING: Warning: your default path uses the automounter; this maycause some problems if you use other NFS-connected systems." >&5echo "$as_me: WARNING: Warning: your default path uses the automounter; this maycause some problems if you use other NFS-connected systems." >&2;} top_srcdir_abs=`pwd` fifiecho "$as_me:$LINENO: result: ${top_srcdir_abs}" >&5echo "${ECHO_T}${top_srcdir_abs}" >&6fi# Determine this package's name based on its directory nametmpname="`echo $top_srcdir_abs | sed -e 's%\(.*\)/\([^/]*\)%\2%'`"pkgname="`echo $tmpname | sed -e 'y%abcdefghijklmnopqrstuvwxyz/%ABCDEFGHIJKLMNOPQRSTUVWXYZ_%'`"if test "x$pkgname" = "x" ; then pkgname="MPE-2 Cross-Compilation Spec"fi# Check whether --enable-echo or --disable-echo was given.if test "${enable_echo+set}" = set; then enableval="$enable_echo" set -xfi;VERSION=""CC=${CC:-cc}F77=${F77:-f77}CFLAGS=${CFLAGS}FFLAGS=${FFLAGS}MAKE=${MAKE:-make}echo "$as_me:$LINENO: checking gnumake" >&5echo $ECHO_N "checking gnumake... $ECHO_C" >&6rm -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 MAKE="$MAKE --no-print-directory" echo "$as_me:$LINENO: result: yes using --no-print-directory" >&5echo "${ECHO_T}yes using --no-print-directory" >&6 else echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6 fielse echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6firm -f confteststr=""echo "$as_me:$LINENO: checking BSD 4.4 make" >&5echo $ECHO_N "checking BSD 4.4 make... $ECHO_C" >&6rm -f conftestcat > conftest <<.ALL: @echo "success".cat > conftest1 <<.include conftest.str=`$MAKE -f conftest1 2>&1`rm -f conftest conftest1if test "$str" != "success" ; then echo "$as_me:$LINENO: result: Found BSD 4.4 so-called make" >&5echo "${ECHO_T}Found BSD 4.4 so-called make" >&6 echo "The BSD 4.4 make is INCOMPATIBLE with all other makes." echo "Using this so-called make may cause problems when building programs." echo "You should consider using gnumake instead."else echo "$as_me:$LINENO: result: no - whew" >&5echo "${ECHO_T}no - whew" >&6fistr=""echo "$as_me:$LINENO: checking OSF V3 make" >&5echo $ECHO_N "checking OSF V3 make... $ECHO_C" >&6rm -f conftestcat > conftest <<.SHELL=/bin/shALL: @# This is a valid comment! @echo "success".str=`$MAKE -f conftest 2>&1`rm -f conftestif test "$str" != "success" ; then echo "$as_me:$LINENO: result: Found OSF V3 make" >&5echo "${ECHO_T}Found OSF V3 make" >&6 echo "The OSF V3 make does not allow comments in target code." echo "Using this make may cause problems when building programs." echo "You should consider using gnumake instead."else echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6fistr=""echo "$as_me:$LINENO: checking for virtual path format" >&5echo $ECHO_N "checking for virtual path format... $ECHO_C" >&6rm -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 echo "$as_me:$LINENO: result: VPATH" >&5echo "${ECHO_T}VPATH" >&6 VPATH='VPATH=.:$(srcdir)'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 echo "$as_me:$LINENO: result: .PATH" >&5echo "${ECHO_T}.PATH" >&6 VPATH='.PATH: . $(srcdir)' else echo "$as_me:$LINENO: result: neither VPATH nor .PATH works" >&5echo "${ECHO_T}neither VPATH nor .PATH works" >&6 fifirm -rf conftest*if test ! -s cross_cc.c -a -z "$VPATH" ; then { { echo "$as_me:$LINENO: error: No virtual MAKE path command found. You may need to set your make command The GNU make (sometimes available as gnumake) can be used. " >&5echo "$as_me: error: No virtual MAKE path command found. You may need to set your make command The GNU make (sometimes available as gnumake) can be used. " >&2;} { (exit 1); exit 1; }; }fiRM=rmMV=mvCPRP=cp# Check whether --with-spec or --without-spec was given.if test "${with_spec+set}" = set; then withval="$with_spec" CROSS_SPEC_FILE=$withvalelse CROSS_SPEC_FILE="cross_spec.txt"fi;cat >>confdefs.h <<_ACEOF#define CROSS_SPEC_FILE "$CROSS_SPEC_FILE"_ACEOF# Check whether --enable-f77 or --disable-f77 was given.if test "${enable_f77+set}" = set; then enableval="$enable_f77"else enable_f77=yesfi;if test "$enable_f77" = "yes" ; then MPE_BUILD_FORTRAN2C=yeselse MPE_BUILD_FORTRAN2C=nofi# Check whether --with-mpicc or --without-mpicc was given.if test "${with_mpicc+set}" = set; then withval="$with_mpicc" MPI_CC="$withval"fi;# Check whether --with-mpif77 or --without-mpif77 was given.if test "${with_mpif77+set}" = set; then withval="$with_mpif77" MPI_F77="$withval"fi;# Check whether --with-mpiinc or --without-mpiinc was given.if test "${with_mpiinc+set}" = set; then withval="$with_mpiinc" MPI_INC="$withval"fi;# Check whether --with-mpilibs or --without-mpilibs was given.if test "${with_mpilibs+set}" = set; then withval="$with_mpilibs" MPI_LIBS="$withval"fi;# Preppend MPI_INC to MPI_CFLAGS/MPI_FFLAGSif test "x$MPI_INC" != "x" ; then MPI_CFLAGS="$MPI_INC $MPI_CFLAGS" MPI_FFLAGS="$MPI_INC $MPI_FFLAGS"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'
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -