📄 output.0
字号:
# Check whether --with-debug or --without-debug was given.if test "${with_debug+set}" = set; then withval="$with_debug" ac_cv_use_debug=$withvalelse ac_cv_use_debug=nofi; if test $ac_cv_use_debug != no ; then cat >>confdefs.h <<\_ACEOF@%:@define DEBUG 1_ACEOFfi# Check whether --with-protocol or --without-protocol was given.if test "${with_protocol+set}" = set; then withval="$with_protocol" ac_cv_use_protocol=$withvalelse ac_cv_use_protocol=nofi; if test "$ac_cv_use_protocol" = no ; then echo "******* You MUST choose a protocol." echo "******* Cannot compile without one!" exit 2else case $ac_cv_use_protocol in Vcausal) PROTOCOL="Vcausal" ;; Vdummy) PROTOCOL="Vdummy" ;; Vcl) PROTOCOL="Vcl" ;; VgangSched) PROTOCOL="VgangSched" ;; VLogOn) PROTOCOL="VLogOn" ;; *) echo "******* Protocol $ac_cv_use_protocol invalid!" echo "******* Protocol must be one of Vcausal Vcl Vdummy VLogOn VGangSched" exit 2 ;; esacfiVERSION="$PACKAGE_VERSION -- $PROTOCOL"cat >>confdefs.h <<_ACEOF@%:@define VERSION "$PACKAGE_VERSION -- $PROTOCOL"_ACEOF#protocol_need_option proto opt prints no and returns 0 if # protocol does not accept the option, prints maybe and returns 1 # if protocol accepts the option, prints yes and returns 2 if protocol # has no meaning without the optionfunction protocol_need_option (){ case "$1" in Vdummy) echo no return 0 ;; Vcausal) if test "$2" = "events" ; then echo yes return 2 fi if test "$2" = "checkpoint" ; then echo maybe return 1 fi ;; VLogOn) if test "$2" = "events" ; then echo yes return 2 fi if test "$2" = "checkpoint" ; then echo maybe return 1 fi ;; Vcl) if test "$2" = "events" ; then echo no return 0 fi if test "$2" = "checkpoint" ; then echo yes return 2 fi ;; VgangSched) if test "$2" = "events" ; then echo no return 0 fi if test "$2" = "checkpoint" ; then echo yes return 2 fi ;; esac}if test $PROTOCOL = "Vcausal" ; then # Check whether --with-causal-stats or --without-causal-stats was given.if test "${with_causal_stats+set}" = set; then withval="$with_causal_stats" ac_cv_causal_stat=$withvalelse ac_cv_causal_stat=nofi; if test "$ac_cv_causal_stat" = yes ; then cat >>confdefs.h <<\_ACEOF@%:@define CAUSALITY_STATISTICS 1_ACEOF DAEMON_LDFLAGS="$DAEMON_LDFLAGS -lm" fi # Check whether --with-causal-manetho or --without-causal-manetho was given.if test "${with_causal_manetho+set}" = set; then withval="$with_causal_manetho" ac_cv_causal_manetho=$withvalelse ac_cv_causal_manetho=nofi; if test "$ac_cv_causal_manetho" = yes ; then cat >>confdefs.h <<\_ACEOF@%:@define MANETHO 1_ACEOF fifiif test $PROTOCOL = "VLogOn" ; then # Check whether --with-causal-stats or --without-causal-stats was given.if test "${with_causal_stats+set}" = set; then withval="$with_causal_stats" ac_cv_causal_stat=$withvalelse ac_cv_causal_stat=nofi; if test "$ac_cv_causal_stat" = yes ; then cat >>confdefs.h <<\_ACEOF@%:@define CAUSALITY_STATISTICS 1_ACEOF DAEMON_LDFLAGS="$DAEMON_LDFLAGS -lm" fifi# Check whether --with-daemonprof or --without-daemonprof was given.if test "${with_daemonprof+set}" = set; then withval="$with_daemonprof" ac_cv_use_dprof=$withvalelse ac_cv_use_dprof=nofi; if test "$ac_cv_use_dprof" != no ; then DAEMON_CFLAGS=-pg DAEMON_LDFLAGS="$DAEMON_LDFLAGS -pg"fipa=`protocol_need_option $PROTOCOL "events"`if test "$pa" = "no" ; then cat >>confdefs.h <<\_ACEOF@%:@define NO_EVENTLOGGER 1_ACEOFfiCKPT_HELPER_LIB="no-ckpt"# Check whether --with-checkpoint or --without-checkpoint was given.if test "${with_checkpoint+set}" = set; then withval="$with_checkpoint" ac_cv_use_cp=$withvalelse ac_cv_use_cp=deffi; pa=`protocol_need_option $PROTOCOL "checkpoint"`eval pb=$`echo ac_cv_use_cp`case "$pa" in yes) if test "$pb" = no ; then echo "***" echo "*** $PROTOCOL has no meaning without checkpoint" echo "*** setting checkpoint to blcr" echo "***" cat >>confdefs.h <<\_ACEOF@%:@define NO_CHECKPOINT 1_ACEOF eval `echo ac_cv_use_cp=blcr` fi if test "$pb" = def ; then eval `echo ac_cv_use_cp=blcr` fi ;; maybe) if test "$pb" = no ; then cat >>confdefs.h <<\_ACEOF@%:@define NO_CHECKPOINT 1_ACEOF else if test "$pb" = def ; then eval `echo ac_cv_use_cp=blcr` fi fi ;; no) if test "$pb" = yes ; then echo "***" echo "*** --with-checkpoint has no effect on protocol $PROTOCOL" echo "***" else eval `echo ac_cv_use_cp`=no cat >>confdefs.h <<\_ACEOF@%:@define NO_CHECKPOINT 1_ACEOF fi ;;esacif test $ac_cv_use_cp != no ; then case $ac_cv_use_cp in condor) echo -n checking if gcc is version 2.96 if gcc --version | grep 2\.96 2>&1 >/dev/null ; then echo " "yes else echo no " ****** condor will probably not work" fi echo "Setting condor links and scripts" if test -d `pwd`/checkpoint/condor-libs ; then ln -sf `pwd`/checkpoint/condor-libs ../../lib/condor-libs else echo "*** You must install the condor-libs in `pwd`/checkpoint/condor-libs" echo "*** condor will not work..." exit 4 fi CKPT_HELPER_LIB=condor-libs ;; ckpt) CH_V_ENVIRONMENT='MPIRUN_HOME=$MPIRUN_HOME RESTART=$MPIRUN_HOME/restart LD_LIBRARY_PATH=$MPIRUN_HOME:$LD_LIBRARY_PATH' CKPT_HELPER_LIB=ckpt ac_config_files="$ac_config_files checkpoint/ckpt/Makefile" ;; blcr) # Check whether --with-blcr-libdir or --without-blcr-libdir was given.if test "${with_blcr_libdir+set}" = set; then withval="$with_blcr_libdir" BLCR_LIBDIR_SET="y" BLCR_LDFLAGS="-L$withval -Wl,-rpath,$withval"else BLCR_LIBDIR_SET="n"fi; # Check whether --with-blcr-incdir or --without-blcr-incdir was given.if test "${with_blcr_incdir+set}" = set; then withval="$with_blcr_incdir" BLCR_INCDIR_SET="y" BLCR_CPPFLAGS="-I$withval"else BLCR_INCDIR_SET="n"fi; # Check whether --with-blcr or --without-blcr was given.if test "${with_blcr+set}" = set; then withval="$with_blcr" if test "$BLCR_INCDIR_SET" == "n" ; then BLCR_CPPFLAGS="-I$withval/include" fi if test "$BLCR_LIBDIR_SET" == "n" ; then BLCR_LDFLAGS="-L$withval/lib" fifi; OLDCPPFLAGS=$CPPFLAGS CPPFLAGS="$BLCR_CPPFLAGS" ac_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=.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -