configure

来自「Unix下的MUD客户端程序」· 代码 · 共 2,263 行 · 第 1/5 页

TXT
2,263
字号
  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=no"firm -f conftest*LIBS="$ac_save_LIBS"fiif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  echo "$ac_t""yes" 1>&6  LIBEFENCE="-lefence"else  echo "$ac_t""no" 1>&6LIBEFENCE=fi	if test "x$LIBEFENCE" = "x"; then		echo "could not find electric fence"		echo "malloc debugging support disabled"	fi	;;esaccase "x$enable_perl" in	"xyes")	for ac_prog in perl5 perldo# Extract the first word of "$ac_prog", so it can be a program name with args.set dummy $ac_prog; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1392: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  case "$PERL" in  /*)  ac_cv_path_PERL="$PERL" # Let the user override the test with a path.  ;;  ?:/*)			   ac_cv_path_PERL="$PERL" # Let the user override the test with a dos path.  ;;  *)  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"  ac_dummy="$PATH"  for ac_dir in $ac_dummy; do     test -z "$ac_dir" && ac_dir=.    if test -f $ac_dir/$ac_word; then      ac_cv_path_PERL="$ac_dir/$ac_word"      break    fi  done  IFS="$ac_save_ifs"  ;;esacfiPERL="$ac_cv_path_PERL"if test -n "$PERL"; then  echo "$ac_t""$PERL" 1>&6else  echo "$ac_t""no" 1>&6fitest -n "$PERL" && breakdonetest -n "$PERL" || PERL="no"        ;;	"x")	for ac_prog in perl5 perldo# Extract the first word of "$ac_prog", so it can be a program name with args.set dummy $ac_prog; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1435: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  case "$PERL" in  /*)  ac_cv_path_PERL="$PERL" # Let the user override the test with a path.  ;;  ?:/*)			   ac_cv_path_PERL="$PERL" # Let the user override the test with a dos path.  ;;  *)  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"  ac_dummy="$PATH"  for ac_dir in $ac_dummy; do     test -z "$ac_dir" && ac_dir=.    if test -f $ac_dir/$ac_word; then      ac_cv_path_PERL="$ac_dir/$ac_word"      break    fi  done  IFS="$ac_save_ifs"  ;;esacfiPERL="$ac_cv_path_PERL"if test -n "$PERL"; then  echo "$ac_t""$PERL" 1>&6else  echo "$ac_t""no" 1>&6fitest -n "$PERL" && breakdonetest -n "$PERL" || PERL="no"        ;;        "xno")	echo "perl scripting support disabled in command line"	WITH_PERL=""        ;;        *)	echo "using $enable_perl as the perl binary"        ;;esacif test "x$enable_perl != xno"; then	echo $ac_n "checking for perl version""... $ac_c" 1>&6echo "configure:1483: checking for perl version" >&5	$PERL -e 'require 5.004' > /dev/null 2>&1	if test $? -ne 0 ; then		echo "perl 5.004 (or greater) is required"                echo "disabling perl scripting support"                PERL="no"		WITH_PERL=""	else		perl_version=`$PERL -e 'print $]'`		echo "$ac_t""$perl_version" 1>&6                PERL_CPPFLAGS=`$PERL -MExtUtils::Embed -e perl_inc`                PERL_LDFLAGS=`$PERL -MExtUtils::Embed -e ldopts | $PERL -pe 's/-l(gdbm|ndbm|posix|db)\b//g'`		WITH_PERL="perl"	fificase "x$enable_python" in	"xyes")	for ac_prog in python python1.5 python1.4 python1.3do# Extract the first word of "$ac_prog", so it can be a program name with args.set dummy $ac_prog; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1506: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_path_PYTHON'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  case "$PYTHON" in  /*)  ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.  ;;  ?:/*)			   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a dos path.  ;;  *)  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"  ac_dummy="$PATH"  for ac_dir in $ac_dummy; do     test -z "$ac_dir" && ac_dir=.    if test -f $ac_dir/$ac_word; then      ac_cv_path_PYTHON="$ac_dir/$ac_word"      break    fi  done  IFS="$ac_save_ifs"  ;;esacfiPYTHON="$ac_cv_path_PYTHON"if test -n "$PYTHON"; then  echo "$ac_t""$PYTHON" 1>&6else  echo "$ac_t""no" 1>&6fitest -n "$PYTHON" && breakdonetest -n "$PYTHON" || PYTHON="no"        ;;        "x")	for ac_prog in python python1.5 python1.4 python1.3do# Extract the first word of "$ac_prog", so it can be a program name with args.set dummy $ac_prog; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1549: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_path_PYTHON'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  case "$PYTHON" in  /*)  ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.  ;;  ?:/*)			   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a dos path.  ;;  *)  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"  ac_dummy="$PATH"  for ac_dir in $ac_dummy; do     test -z "$ac_dir" && ac_dir=.    if test -f $ac_dir/$ac_word; then      ac_cv_path_PYTHON="$ac_dir/$ac_word"      break    fi  done  IFS="$ac_save_ifs"  ;;esacfiPYTHON="$ac_cv_path_PYTHON"if test -n "$PYTHON"; then  echo "$ac_t""$PYTHON" 1>&6else  echo "$ac_t""no" 1>&6fitest -n "$PYTHON" && breakdonetest -n "$PYTHON" || PYTHON="no"        ;;        "xno")	echo "python scripting support disabled in command line"	WITH_PYTHON=""        ;;        *)	echo "using $enable_python as the python binary"        ;;esacif test "x$enable_python != xno"; then			PYTHON_CPPFLAGS=`$PYTHON -c 'import sysprint "-I%s/include/python%s" % (sys.prefix, sys.version[:3])'`	PYTHON_LDFLAGS=`$PYTHON -c 'import sysprint "-L%s/lib/python%s/config -lpython%s" % (sys.prefix, sys.version[:3], sys.version[:3])'`		WITH_PYTHON="python"else	WITH_PYTHON=""fisave_CFLAGS="$CFLAGS"CFLAGS="-fno-rtti"echo $ac_n "checking if the flag -fno-rtti is supported by the system compiler""... $ac_c" 1>&6echo "configure:1610: checking if the flag -fno-rtti is supported by the system compiler" >&5if eval "test \"`echo '$''{'ac_cv_flag_no_rtti'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1615 "configure"#include "confdefs.h"int a;int main() {int a;; return 0; }EOFif { (eval echo configure:1622: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -rf conftest*  ac_cv_flag_no_rtti=yeselse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  ac_cv_flag_no_rtti=nofirm -f conftest*fiecho "$ac_t""$ac_cv_flag_no_rtti" 1>&6CFLAGS="$save_CFLAGS"case "x$ac_cv_flag_no_rtti" in	"xyes")        HAVE_FLAG_NO_RTTI="-fno-rtti"        ;;        "xno")        HAVE_FLAG_NO_RTTI=""        ;;        *)        HAVE_FLAG_NO_RTTI=""                ;;esacsave_CFLAGS="$CFLAGS"CFLAGS="-fno-exceptions"echo $ac_n "checking if the flag -fno-exceptions is supported by the system compiler""... $ac_c" 1>&6echo "configure:1651: checking if the flag -fno-exceptions is supported by the system compiler" >&5if eval "test \"`echo '$''{'ac_cv_flag_no_exceptions'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1656 "configure"#include "confdefs.h"int a;int main() {int a;; return 0; }EOFif { (eval echo configure:1663: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -rf conftest*  ac_cv_flag_no_exceptions=yeselse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  ac_cv_flag_no_exceptions=nofirm -f conftest*fiecho "$ac_t""$ac_cv_flag_no_exceptions" 1>&6CFLAGS="$save_CFLAGS"case "x$ac_cv_flag_no_exceptions" in	"xyes")        HAVE_FLAG_NO_EXCEPTIONS="-fno-exceptions"        ;;        "xno")        HAVE_FLAG_NO_EXCEPTIONS=""        ;;        *)        HAVE_FLAG_NO_EXCEPTIONS=""                ;;esaccase "$host" in	*-*-linux*)	LOCAL_CFLAGS="-Wall -pipe"	LOCAL_CPPFLAGS="-Ih"	LOCAL_CXXFLAGS="-W $LOCAL_CFLAGS"				cat > conftest.c <<EOF#if __GNUC__ > 2	yes;#endif#if __GNUC__ > 1#if __GNUC_MINOR__ > 7	yes;#endif#endifEOF	ac_good_gcc_try='${CC-cc} -E conftest.c'	if eval "$ac_good_gcc_try" | egrep yes >/dev/null 2>&1; then		have_good_gcc=yes	fi		ac_good_gpp_try='${CXX-cc} -E conftest.c'	if eval "$ac_good_gpp_try" | egrep yes >/dev/null 2>&1; then		have_good_gpp=yes	fi	rm conftest.c	if test "x$have_good_gcc" = "xyes" -a "x$have_good_gpp" = "xyes"; then		LOCAL_LDFLAGS="-rdynamic"		LOCAL_LIBS=""	else		LOCAL_LDFLAGS="-nodefaultlibs -rdynamic"		LOCAL_LIBS="-lc -lgcc"	fi	;;	*)	LOCAL_CFLAGS=""	LOCAL_CPPFLAGS="-Ih"	LOCAL_CXXFLAGS="$LOCAL_CFLAGS"	LOCAL_LDFLAGS=""	LOCAL_LIBS=""	;;esacCOMPILED_BY=`whoami`@`uname -n`# Extract the first word of "rm", so it can be a program name with args.set dummy rm; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1739: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_path_RM'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  case "$RM" in  /*)  ac_cv_path_RM="$RM" # Let the user override the test with a path.  ;;  ?:/*)			   ac_cv_path_RM="$RM" # Let the user override the test with a dos path.  ;;  *)  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"  ac_dummy="$PATH"  for ac_dir in $ac_dummy; do     test -z "$ac_dir" && ac_dir=.    if test -f $ac_dir/$ac_word; then      ac_cv_path_RM="$ac_dir/$ac_word"      break    fi  done  IFS="$ac_save_ifs"  test -z "$ac_cv_path_RM" && ac_cv_path_RM="true"  ;;esacfiRM="$ac_cv_path_RM"if test -n "$RM"; then  echo "$ac_t""$RM" 1>&6else  echo "$ac_t""no" 1>&6fi# Extract the first word of "find", so it can be a program name with args.set dummy find; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1775: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_path_FIND'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  case "$FIND" in  /*)  ac_cv_path_FIND="$FIND" # Let the user override the test with a path.  ;;  ?:/*)			   ac_cv_path_FIND="$FIND" # Let the user override the test with a dos path.  ;;  *)  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"  ac_dummy="$PATH"  for ac_dir in $ac_dummy; do     test -z "$ac_dir" && ac_dir=.    if test -f $ac_dir/$ac_word; then      ac_cv_path_FIND="$ac_dir/$ac_word"      break    fi  done  IFS="$ac_save_ifs"  test -z "$ac_cv_path_FIND" && ac_cv_path_FIND="true"  ;;esacfiFIND="$ac_cv_path_FIND"if test -n "$FIND"; then  echo "$ac_t""$FIND" 1>&6else  echo "$ac_t""no" 1>&6fi# Extract the first word of "xargs", so it can be a program name with args.set dummy xargs; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1811: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_path_XARGS'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?