📄 configure
字号:
# Double any \ or $. echo might interpret backslashes.# By default was `s,x,x', remove it if useless.cat <<\_ACEOF >conftest.seds/[\\$]/&&/g;s/;s,x,x,$//_ACEOFprogram_transform_name=`echo $program_transform_name | sed -f conftest.sed`rm -f conftest.sed# expand $ac_aux_dir to an absolute patham_aux_dir=`cd $ac_aux_dir && pwd`test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"# Use eval to expand $SHELLif eval "$MISSING --run true"; then am_missing_run="$MISSING --run "else am_missing_run= { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}fiif mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then # We used to keeping the `.' as first argument, in order to # allow $(mkdir_p) to be used without argument. As in # $(mkdir_p) $(somedir) # where $(somedir) is conditionally defined. However this is wrong # for two reasons: # 1. if the package is installed by a user who cannot write `.' # make install will fail, # 2. the above comment should most certainly read # $(mkdir_p) $(DESTDIR)$(somedir) # so it does not work when $(somedir) is undefined and # $(DESTDIR) is not. # To support the latter case, we have to write # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), # so the `.' trick is pointless. mkdir_p='mkdir -p --'else # On NextStep and OpenStep, the `mkdir' command does not # recognize any option. It will interpret all options as # directories to create, and then abort because `.' already # exists. for d in ./-p ./--version; do test -d $d && rmdir $d done # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. if test -f "$ac_aux_dir/mkinstalldirs"; then mkdir_p='$(mkinstalldirs)' else mkdir_p='$(install_sh) -d' fififor ac_prog in gawk mawk nawk awkdo # Extract the first word of "$ac_prog", so it can be a program name with args.set dummy $ac_prog; ac_word=$2{ echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }if test "${ac_cv_prog_AWK+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_AWK="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fidonedoneIFS=$as_save_IFSfifiAWK=$ac_cv_prog_AWKif test -n "$AWK"; then { echo "$as_me:$LINENO: result: $AWK" >&5echo "${ECHO_T}$AWK" >&6; }else { echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6; }fi test -n "$AWK" && breakdone{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.make <<\_ACEOFSHELL = /bin/shall: @echo '@@@%%%=$(MAKE)=@@@%%%'_ACEOF# GNU make sometimes prints "make[1]: Entering...", which would confuse us.case `${MAKE-make} -f conftest.make 2>/dev/null` in *@@@%%%=?*=@@@%%%*) eval ac_cv_prog_make_${ac_make}_set=yes;; *) eval ac_cv_prog_make_${ac_make}_set=no;;esacrm -f conftest.makefiif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then { echo "$as_me:$LINENO: result: yes" >&5echo "${ECHO_T}yes" >&6; } SET_MAKE=else { echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6; } SET_MAKE="MAKE=${MAKE-make}"firm -rf .tst 2>/dev/nullmkdir .tst 2>/dev/nullif test -d .tst; then am__leading_dot=.else am__leading_dot=_firmdir .tst 2>/dev/null# test to see if srcdir already configuredif test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} { (exit 1); exit 1; }; }fi# test whether we have cygpathif test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fifi# Define the identity of the package. PACKAGE='autoconf' VERSION='2.60'cat >>confdefs.h <<_ACEOF#define PACKAGE "$PACKAGE"_ACEOFcat >>confdefs.h <<_ACEOF#define VERSION "$VERSION"_ACEOF# Some tools Automake needs.ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}install_sh=${install_sh-"$am_aux_dir/install-sh"}# Installed binaries are usually stripped using `strip' when the user# run `make install-strip'. However `strip' might not be the right# tool to use in cross-compilation environments, therefore Automake# will honor the `STRIP' environment variable to overrule this program.if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.set dummy ${ac_tool_prefix}strip; ac_word=$2{ echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }if test "${ac_cv_prog_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fidonedoneIFS=$as_save_IFSfifiSTRIP=$ac_cv_prog_STRIPif test -n "$STRIP"; then { echo "$as_me:$LINENO: result: $STRIP" >&5echo "${ECHO_T}$STRIP" >&6; }else { echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6; }fifiif test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args.set dummy strip; ac_word=$2{ echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_STRIP="strip" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fidonedoneIFS=$as_save_IFSfifiac_ct_STRIP=$ac_cv_prog_ac_ct_STRIPif test -n "$ac_ct_STRIP"; then { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5echo "${ECHO_T}$ac_ct_STRIP" >&6; }else { echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6; }fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned inyes:){ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-toolswhose name does not start with the host triplet. If you think thisconfiguration is useful to you, please write to autoconf@gnu.org." >&5echo "$as_me: WARNING: In the future, Autoconf will not detect cross-toolswhose name does not start with the host triplet. If you think thisconfiguration is useful to you, please write to autoconf@gnu.org." >&2;}ac_tool_warned=yes ;;esac STRIP=$ac_ct_STRIP fielse STRIP="$ac_cv_prog_STRIP"fifiINSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"# We need awk for the "check" target. The system "awk" is bad on# some platforms.# Always define AMTAR for backward compatibility.AMTAR=${AMTAR-"${am_missing_run}tar"}am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'# We use `/bin/sh -n script' to check that there are no syntax errors# in the scripts. Although incredible, there are /bin/sh that go into# endless loops with `-n', e.g., SunOS's:## $ uname -a# SunOS ondine 4.1.3 2 sun4m unknown# $ cat endless.sh# while false# do# :# done# exit 0# $ time sh endless.sh# sh endless.sh 0,02s user 0,03s system 78% cpu 0,064 total# $ time sh -nx endless.sh# ^Csh -nx endless.sh 3,67s user 0,03s system 63% cpu 5,868 total## Also, some implementations of /bin/sh (e.g., Solaris 8) are soooo slow# that they are unusable on large scripts like our testsuite.# So before using `/bin/sh -n' to check our scripts, we first check# that `/bin/sh -n' is known to not have these problems.{ echo "$as_me:$LINENO: checking whether /bin/sh -n is known to work" >&5echo $ECHO_N "checking whether /bin/sh -n is known to work... $ECHO_C" >&6; }if test "${ac_cv_sh_n_works+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if ( unset BASH_VERSION ZSH_VERSION /bin/sh -c ' test -n "${BASH_VERSION+set}" || # Bash test -n "${KSH_VERSION+set}" || # pdksh test -n "${ZSH_VERSION+set}" || # zsh test -n "${.sh.version}" # ksh93; put this last since its syntax is dodgy ' ) 2>/dev/nullthen ac_cv_sh_n_works=yeselse ac_cv_sh_n_works=nofifi{ echo "$as_me:$LINENO: result: $ac_cv_sh_n_works" >&5echo "${ECHO_T}$ac_cv_sh_n_works" >&6; }# Initialize the test suite.ac_config_commands="$ac_config_commands tests/atconfig"ac_config_files="$ac_config_files tests/Makefile tests/atlocal"# Extract the first word of "expr", so it can be a program name with args.set dummy expr; ac_word=$2{ echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }if test "${ac_cv_path_EXPR+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else case $EXPR in [\\/]* | ?:[\\/]*) ac_cv_path_EXPR="$EXPR" # Let the user override the test with a path. ;; *) as_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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_EXPR="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fidonedoneIFS=$as_save_IFS ;;esacfiEXPR=$ac_cv_path_EXPRif test -n "$EXPR"; then { echo "$as_me:$LINENO: result: $EXPR" >&5echo "${ECHO_T}$EXPR" >&6; }else { echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6; }fi## ---- #### M4. #### ---- ### We use an absolute name for GNU m4 so even if users have another m4 first in# their path, the installer can configure with a path that has GNU m4# first and get that path embedded in the installed autoconf and# autoheader scripts.for ac_prog in gm4 gnum4 m4do # Extract the first word of "$ac_prog", so it can be a program name with args.set dummy $ac_prog; ac_word=$2{ echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }if test "${ac_cv_path_M4+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else case $M4 in [\\/]* | ?:[\\/]*) ac_cv_path_M4="$M4" # Let the user override the test with a path. ;; *) as_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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_M4="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fidonedoneIFS=$as_save_IFS ;;esacfiM4=$ac_cv_path_M4if test -n "$M4"; then { echo "$as_me:$LINENO: result: $M4" >&5echo "${ECHO_T}$M4" >&6; }else { echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6; }fi test -n "$M4" && breakdonetest -n "$M4" || M4="m4"{ echo "$as_me:$LINENO: checking whether m4 supports frozen files" >&5echo
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -