📄 configure
字号:
else echo $ac_n "(cached) $ac_c" 1>&6fiecho "$ac_t""$ac_cv_host" 1>&6host=$ac_cv_hosthost_alias=$ac_cv_host_aliashost_cpu=$ac_cv_host_cpuhost_vendor=$ac_cv_host_vendorhost_os=$ac_cv_host_osecho $ac_n "checking build system type""... $ac_c" 1>&6echo "configure:1643: checking build system type" >&5if test "x$ac_cv_build" = "x" || (test "x$build" != "xNONE" && test "x$build" != "x$ac_cv_build_alias"); then# Make sure we can run config.sub. if $ac_config_sub sun4 >/dev/null 2>&1; then : else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } fi ac_cv_build_alias=$build case "$ac_cv_build_alias" in NONE) case $nonopt in NONE) ac_cv_build_alias=$host_alias ;; *) ac_cv_build_alias=$nonopt ;; esac ;; esac ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ac_cv_build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` ac_cv_build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` ac_cv_build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`else echo $ac_n "(cached) $ac_c" 1>&6fiecho "$ac_t""$ac_cv_build" 1>&6build=$ac_cv_buildbuild_alias=$ac_cv_build_aliasbuild_cpu=$ac_cv_build_cpubuild_vendor=$ac_cv_build_vendorbuild_os=$ac_cv_build_os# Extract the first word of "ranlib", so it can be a program name with args.set dummy ranlib; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1684: checking for $ac_word" >&5if eval "test \"\${ac_cv_prog_RANLIB+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.else 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_prog_RANLIB="ranlib" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"fifiRANLIB="$ac_cv_prog_RANLIB"if test -n "$RANLIB"; then echo "$ac_t""$RANLIB" 1>&6else echo "$ac_t""no" 1>&6fi# Check whether --with-gnu-ld or --without-gnu-ld was given.if test "${with_gnu_ld+set}" = set; then withval="$with_gnu_ld" test "$withval" = no || with_gnu_ld=yeselse with_gnu_ld=nofiac_prog=ldif test "$ac_cv_prog_gcc" = yes; then # Check if gcc -print-prog-name=ld gives a path. echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6echo "configure:1723: checking for ld used by GCC" >&5 ac_prog=`($CC -print-prog-name=ld) 2>&5` case "$ac_prog" in # Accept absolute paths. [\\/]* | [A-Za-z]:[\\/]*) re_direlt='/[^/][^/]*/\.\./' # Canonicalize the path of ld ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esacelif test "$with_gnu_ld" = yes; then echo $ac_n "checking for GNU ld""... $ac_c" 1>&6echo "configure:1747: checking for GNU ld" >&5else echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6echo "configure:1750: checking for non-GNU ld" >&5fiif eval "test \"\${ac_cv_path_LD+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else if test -z "$LD"; then IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then ac_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some GNU ld's only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then test "$with_gnu_ld" != no && break else test "$with_gnu_ld" != yes && break fi fi done IFS="$ac_save_ifs"else ac_cv_path_LD="$LD" # Let the user override the test with a path.fifiLD="$ac_cv_path_LD"if test -n "$LD"; then echo "$ac_t""$LD" 1>&6else echo "$ac_t""no" 1>&6fitest -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6echo "configure:1785: checking if the linker ($LD) is GNU ld" >&5if eval "test \"\${ac_cv_prog_gnu_ld+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else # I'd rather use --version here, but apparently some GNU ld's only accept -v.if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then ac_cv_prog_gnu_ld=yeselse ac_cv_prog_gnu_ld=nofifiecho "$ac_t""$ac_cv_prog_gnu_ld" 1>&6echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6echo "configure:1801: checking for BSD-compatible nm" >&5if eval "test \"\${ac_cv_path_NM+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else if test -n "$NM"; then # Let the user override the test. ac_cv_path_NM="$NM"else IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then # Check to see if the nm accepts a BSD-compat flag. # Adding the `sed 1q' prevents false positives on HP-UX, which says: # nm: unknown option "B" ignored if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then ac_cv_path_NM="$ac_dir/nm -B" break elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then ac_cv_path_NM="$ac_dir/nm -p" break else ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but continue # so that we can try to find one that supports BSD flags fi fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_NM" && ac_cv_path_NM=nmfifiNM="$ac_cv_path_NM"echo "$ac_t""$NM" 1>&6echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6echo "configure:1837: checking whether ln -s works" >&5if eval "test \"\${ac_cv_prog_LN_S+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else rm -f conftestdataif ln -s X conftestdata 2>/dev/nullthen rm -f conftestdata ac_cv_prog_LN_S="ln -s"else ac_cv_prog_LN_S=lnfifiLN_S="$ac_cv_prog_LN_S"if test "$ac_cv_prog_LN_S" = "ln -s"; then echo "$ac_t""yes" 1>&6else echo "$ac_t""no" 1>&6ficase "$target" inNONE) lt_target="$host" ;;*) lt_target="$target" ;;esac# Check for any special flags to pass to ltconfig.## the following will cause an existing older ltconfig to fail, so# we ignore this at the expense of the cache file... Checking this # will just take longer ... bummer!#libtool_flags="--cache-file=$cache_file"#test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"libtool_flags="$libtool_flags --enable-dlopen"# Check whether --enable-libtool-lock or --disable-libtool-lock was given.if test "${enable_libtool_lock+set}" = set; then enableval="$enable_libtool_lock" :fitest "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"# Some flags need to be propagated to the compiler or linker for good# libtool support.case "$lt_target" in*-*-irix6*) # Find out which ABI we are using. echo '#line 1891 "configure"' > conftest.$ac_ext if { (eval echo configure:1892: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then case "`/usr/bin/file conftest.o`" in *32-bit*) LD="${LD-ld} -32" ;; *N32*) LD="${LD-ld} -n32" ;; *64-bit*) LD="${LD-ld} -64" ;; esac fi rm -rf conftest* ;;*-*-sco3.2v5*) # On SCO OpenServer 5, we need -belf to get full-featured binaries. SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -belf" echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6echo "configure:1913: checking whether the C compiler needs -belf" >&5if eval "test \"\${lt_cv_cc_needs_belf+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 1918 "configure"#include "confdefs.h"int main() {; return 0; }EOFif { (eval echo configure:1925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* lt_cv_cc_needs_belf=yeselse echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* lt_cv_cc_needs_belf=nofirm -f conftest*fiecho "$ac_t""$lt_cv_cc_needs_belf" 1>&6 if test x"$lt_cv_cc_needs_belf" != x"yes"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf CFLAGS="$SAVE_CFLAGS" fi ;;esac# Save cache, so that ltconfig can load itcat > confcache <<\EOF# This file is a shell script that caches the results of configure# tests run on this system so they can be shared between configure# scripts and configure runs. It is not useful on other systems.# If it contains results you don't want to keep, you may remove or edit it.## By default, configure uses ./config.cache as the cache file,# creating it if it does not exist already. You can give configure# the --cache-file=FILE option to use a different cache file; that is# what configure does when it calls configure scripts in# subdirectories, so they share the cache.# Giving --cache-file=/dev/null disables caching, for debugging configure.# config.status only pays attention to the cache file if you give it the# --recheck option to rerun configure.#EOF# The following way of writing the cache mishandles newlines in values,# but we know of no workaround that is simple, portable, and efficient.# So, don't put newlines in cache variables' values.# Ultrix sh set writes to stderr and can't be redirected directly,# and sets the high bit in the cache file unless we assign to the vars.(set) 2>&1 | case `(ac_space=' '; set | grep ac_space) 2>&1` in *ac_space=\ *) # `set' does not quote correctly, so add quotes (double-quote substitution # turns \\\\ into \\, and sed turns \\ into \). sed -n \ -e "s/'/'\\\\''/g" \ -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" ;; *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' ;; esac >> confcacheif cmp -s $cache_file confcache; then :else if test -w $cache_file; then echo "updating cache $cache_file" cat confcache > $cache_file else echo "not updating unwritable cache $cache_file" fifirm -f confcache# Actually configure libtool. ac_aux_dir is where install-sh is found.CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $lt_target \|| { echo "configure: error: libtool configure failed" 1>&2; exit 1; }# Reload cache, that may have been modified by ltconfigif test -r "$cache_file"; then echo "loading cache $cache_file" test -f "$cache_file" && . $cache_fileelse echo "creating cache $cache_file" > $cache_filefi# This can be used to rebuild libtool when neededLIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"# Always use our own libtool.LIBTOOL='$(SHELL) $(top_builddir)/libtool'# Redirect the config.log output again, so that the ltconfig log is not# clobbered by the next message.exec 5>>./config.logecho $ac_n "checking h
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -