📄 configure
字号:
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:1259: checking if the linker ($LD) is GNU ld" >&5if eval "test \"`echo '$''{'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:1275: checking for BSD-compatible nm" >&5if eval "test \"`echo '$''{'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:1311: checking whether ln -s works" >&5if eval "test \"`echo '$''{'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>&6fiif test $host != $build; then ac_tool_prefix=${host_alias}-else ac_tool_prefix=ficase "$target" inNONE) lt_target="$host" ;;*) lt_target="$target" ;;esac# Check for any special flags to pass to ltconfig.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-win32-dll"# 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 1366 "configure"' > conftest.$ac_ext if { (eval echo configure:1367: \"$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:1388: checking whether the C compiler needs -belf" >&5if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 1393 "configure"#include "confdefs.h"int main() {; return 0; }EOFif { (eval echo configure:1400: \"$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 ;;*-*-cygwin* | *-*-mingw*) # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.set dummy ${ac_tool_prefix}dlltool; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1423: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else if test -n "$DLLTOOL"; then ac_cv_prog_DLLTOOL="$DLLTOOL" # 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_DLLTOOL="${ac_tool_prefix}dlltool" break fi done IFS="$ac_save_ifs"fifiDLLTOOL="$ac_cv_prog_DLLTOOL"if test -n "$DLLTOOL"; then echo "$ac_t""$DLLTOOL" 1>&6else echo "$ac_t""no" 1>&6fiif test -z "$ac_cv_prog_DLLTOOL"; thenif test -n "$ac_tool_prefix"; then # Extract the first word of "dlltool", so it can be a program name with args.set dummy dlltool; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1455: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else if test -n "$DLLTOOL"; then ac_cv_prog_DLLTOOL="$DLLTOOL" # 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_DLLTOOL="dlltool" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_prog_DLLTOOL" && ac_cv_prog_DLLTOOL="false"fifiDLLTOOL="$ac_cv_prog_DLLTOOL"if test -n "$DLLTOOL"; then echo "$ac_t""$DLLTOOL" 1>&6else echo "$ac_t""no" 1>&6fielse DLLTOOL="false"fifi # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.set dummy ${ac_tool_prefix}as; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1490: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else if test -n "$AS"; then ac_cv_prog_AS="$AS" # 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_AS="${ac_tool_prefix}as" break fi done IFS="$ac_save_ifs"fifiAS="$ac_cv_prog_AS"if test -n "$AS"; then echo "$ac_t""$AS" 1>&6else echo "$ac_t""no" 1>&6fiif test -z "$ac_cv_prog_AS"; thenif test -n "$ac_tool_prefix"; then # Extract the first word of "as", so it can be a program name with args.set dummy as; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1522: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else if test -n "$AS"; then ac_cv_prog_AS="$AS" # 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_AS="as" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="false"fifiAS="$ac_cv_prog_AS"if test -n "$AS"; then echo "$ac_t""$AS" 1>&6else echo "$ac_t""no" 1>&6fielse AS="false"fifi # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.set dummy ${ac_tool_prefix}objdump; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1557: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else if test -n "$OBJDUMP"; then ac_cv_prog_OBJDUMP="$OBJDUMP" # 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_OBJDUMP="${ac_tool_prefix}objdump" break fi done IFS="$ac_save_ifs"fifiOBJDUMP="$ac_cv_prog_OBJDUMP"if test -n "$OBJDUMP"; then echo "$ac_t""$OBJDUMP" 1>&6else echo "$ac_t""no" 1>&6fiif test -z "$ac_cv_prog_OBJDUMP"; thenif test -n "$ac_tool_prefix"; then # Extract the first word of "objdump", so it can be a program name with args.set dummy objdump; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1589: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else if test -n "$OBJDUMP"; then ac_cv_prog_OBJDUMP="$OBJDUMP" # 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_OBJDUMP="objdump" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_prog_OBJDUMP" && ac_cv_prog_OBJDUMP="false"fifiOBJDUMP="$ac_cv_prog_OBJDUMP"if test -n "$OBJDUMP"; then echo "$ac_t""$OBJDUMP" 1>&6else echo "$ac_t""no" 1>&6fielse OBJDUMP="false"fifi ;;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"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -