📄 configure
字号:
fiif test "${top_srcdir_abs}" = "" ; then top_srcdir_abs=`pwd | sed -e 's%/tmp_mnt/%/%g'`fiif test ! -r ${top_srcdir_abs}/include/mpe_callstack.h.in ; then top_srcdir_abs=`pwd` if test ! -r ${top_srcdir_abs}/include/mpe_callstack.h.in ; 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# Check whether --enable-echo or --disable-echo was given.if test "${enable_echo+set}" = set; then enableval="$enable_echo" set -xfi;# Check whether --enable-softerror or --disable-softerror was given.if test "${enable_softerror+set}" = set; then enableval="$enable_softerror"else enable_softerror=${mpe_enable_softerror:-no}fi;MAKE=${MAKE:-make}MPI_IMPL=${MPI_IMPL:-UserSupplied}MPE_BUILD_FORTRAN2C=${MPE_BUILD_FORTRAN2C:-no}CC=${CC:-cc}CLINKER=${CLINKER:-$CC}CFLAGS=${MPE_CFLAGS}MPI_CC=${MPI_CC:-${CC}}MPI_CFLAGS=${MPI_CFLAGS}MPI_LIBS=${MPI_LIBS}MPE_LIBNAME=${MPE_LIBNAME:-mpe}PROF_LIBNAME="$MPE_LIBNAME"PROF_LIBS="-l$PROF_LIBNAME"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 include/mpe_log.h -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; }; }fiMKDIR=mkdirCPRP=cpRM=rmMV=mvrootbuild_dir=`pwd`for dir in include lib bin etc ; do dirname=${dir}build_dir mpe_dirname=mpe_${dirname} eval dirvalue=\$"$dirname" eval $dirname=\$\{${mpe_dirname}\}donefor dir in include lib bin etc ; do dirname=${dir}build_dir eval dirvalue=\$"$dirname" if test -n "$dirvalue" ; then if test ! -d $dirvalue ; then if mkdir -p $dirvalue ; then : elseif test "$enable_softerror" = "yes" ; then { echo "$as_me:$LINENO: WARNING: Could not create directory $dirvalue " >&5echo "$as_me: WARNING: Could not create directory $dirvalue " >&2;} exit 0else { { echo "$as_me:$LINENO: error: Could not create directory $dirvalue " >&5echo "$as_me: error: Could not create directory $dirvalue " >&2;} { (exit 1); exit 1; }; }fi fi fi fidoneac_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 -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.set dummy ${ac_tool_prefix}gcc; ac_word=$2echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test.elseas_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATHdo IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fidonedonefifiCC=$ac_cv_prog_CCif test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5echo "${ECHO_T}$CC" >&6else echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6fifiif test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args.set dummy gcc; ac_word=$2echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.elseas_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATHdo IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fidonedonefifiac_ct_CC=$ac_cv_prog_ac_ct_CCif test -n "$ac_ct_CC"; then echo "$as_me:$LINENO: result: $ac_ct_CC" >&5echo "${ECHO_T}$ac_ct_CC" >&6else echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6fi CC=$ac_ct_CCelse CC="$ac_cv_prog_CC"fiif test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.set dummy ${ac_tool_prefix}cc; ac_word=$2echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test.elseas_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATHdo IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fidonedonefifiCC=$ac_cv_prog_CCif test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5echo "${ECHO_T}$CC" >&6else echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6fifiif test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "cc", so it can be a program name with args.set dummy cc; ac_word=$2echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.elseas_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATHdo IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fidonedonefifiac_ct_CC=$ac_cv_prog_ac_ct_CCif test -n "$ac_ct_CC"; then echo "$as_me:$LINENO: result: $ac_ct_CC" >&5echo "${ECHO_T}$ac_ct_CC" >&6else echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6fi CC=$ac_ct_CCelse CC="$ac_cv_prog_CC"fifiif test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args.set dummy cc; ac_word=$2echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test.else ac_prog_rejected=noas_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATHdo IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fidone
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -