configure

来自「基于4个mips核的noc设计」· 代码 · 共 2,053 行 · 第 1/5 页

TXT
2,053
字号
if test $host != $build; then  ac_tool_prefix=${host_alias}-else  ac_tool_prefix=fi# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!# Only perform the check for file, if the check method requires itcase "$deplibs_check_method" infile_magic*)  if test "$file_magic_cmd" = '$MAGIC_CMD'; then    echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6echo "configure:1660: checking for ${ac_tool_prefix}file" >&5if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  case "$MAGIC_CMD" in  /*)  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.  ;;  ?:/*)  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.  ;;  *)  ac_save_MAGIC_CMD="$MAGIC_CMD"  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"  ac_dummy="/usr/bin:$PATH"  for ac_dir in $ac_dummy; do    test -z "$ac_dir" && ac_dir=.    if test -f $ac_dir/${ac_tool_prefix}file; then      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"      if test -n "$file_magic_test_file"; then	case "$deplibs_check_method" in	"file_magic "*)	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |	    egrep "$file_magic_regex" > /dev/null; then	    :	  else	    cat <<EOF 1>&2*** Warning: the command libtool uses to detect shared libraries,*** $file_magic_cmd, produces output that libtool cannot recognize.*** The result is that libtool may fail to recognize shared libraries*** as such.  This will affect the creation of libtool libraries that*** depend on shared libraries, but programs linked with such libtool*** libraries will work regardless of this problem.  Nevertheless, you*** may want to report the problem to your system manager and/or to*** bug-libtool@gnu.orgEOF	  fi ;;	esac      fi      break    fi  done  IFS="$ac_save_ifs"  MAGIC_CMD="$ac_save_MAGIC_CMD"  ;;esacfiMAGIC_CMD="$lt_cv_path_MAGIC_CMD"if test -n "$MAGIC_CMD"; then  echo "$ac_t""$MAGIC_CMD" 1>&6else  echo "$ac_t""no" 1>&6fiif test -z "$lt_cv_path_MAGIC_CMD"; then  if test -n "$ac_tool_prefix"; then    echo $ac_n "checking for file""... $ac_c" 1>&6echo "configure:1722: checking for file" >&5if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  case "$MAGIC_CMD" in  /*)  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.  ;;  ?:/*)  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.  ;;  *)  ac_save_MAGIC_CMD="$MAGIC_CMD"  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"  ac_dummy="/usr/bin:$PATH"  for ac_dir in $ac_dummy; do    test -z "$ac_dir" && ac_dir=.    if test -f $ac_dir/file; then      lt_cv_path_MAGIC_CMD="$ac_dir/file"      if test -n "$file_magic_test_file"; then	case "$deplibs_check_method" in	"file_magic "*)	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |	    egrep "$file_magic_regex" > /dev/null; then	    :	  else	    cat <<EOF 1>&2*** Warning: the command libtool uses to detect shared libraries,*** $file_magic_cmd, produces output that libtool cannot recognize.*** The result is that libtool may fail to recognize shared libraries*** as such.  This will affect the creation of libtool libraries that*** depend on shared libraries, but programs linked with such libtool*** libraries will work regardless of this problem.  Nevertheless, you*** may want to report the problem to your system manager and/or to*** bug-libtool@gnu.orgEOF	  fi ;;	esac      fi      break    fi  done  IFS="$ac_save_ifs"  MAGIC_CMD="$ac_save_MAGIC_CMD"  ;;esacfiMAGIC_CMD="$lt_cv_path_MAGIC_CMD"if test -n "$MAGIC_CMD"; then  echo "$ac_t""$MAGIC_CMD" 1>&6else  echo "$ac_t""no" 1>&6fi  else    MAGIC_CMD=:  fifi  fi  ;;esac# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.set dummy ${ac_tool_prefix}ranlib; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1793: checking for $ac_word" >&5if eval "test \"`echo '$''{'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="${ac_tool_prefix}ranlib"      break    fi  done  IFS="$ac_save_ifs"fifiRANLIB="$ac_cv_prog_RANLIB"if test -n "$RANLIB"; then  echo "$ac_t""$RANLIB" 1>&6else  echo "$ac_t""no" 1>&6fiif test -z "$ac_cv_prog_RANLIB"; thenif test -n "$ac_tool_prefix"; then  # 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:1825: checking for $ac_word" >&5if eval "test \"`echo '$''{'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>&6fielse  RANLIB=":"fifi# 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=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1860: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  if test -n "$STRIP"; then  ac_cv_prog_STRIP="$STRIP" # 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_STRIP="${ac_tool_prefix}strip"      break    fi  done  IFS="$ac_save_ifs"fifiSTRIP="$ac_cv_prog_STRIP"if test -n "$STRIP"; then  echo "$ac_t""$STRIP" 1>&6else  echo "$ac_t""no" 1>&6fiif test -z "$ac_cv_prog_STRIP"; thenif test -n "$ac_tool_prefix"; then  # Extract the first word of "strip", so it can be a program name with args.set dummy strip; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1892: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  if test -n "$STRIP"; then  ac_cv_prog_STRIP="$STRIP" # 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_STRIP="strip"      break    fi  done  IFS="$ac_save_ifs"  test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"fifiSTRIP="$ac_cv_prog_STRIP"if test -n "$STRIP"; then  echo "$ac_t""$STRIP" 1>&6else  echo "$ac_t""no" 1>&6fielse  STRIP=":"fifi# 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"# 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"# Check whether --with-pic or --without-pic was given.if test "${with_pic+set}" = set; then  withval="$with_pic"  pic_mode="$withval"else  pic_mode=defaultfitest x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"# Some flags need to be propagated to the compiler or linker for good# libtool support.case "$host" in*-*-irix6*)  # Find out which ABI we are using.  echo '#line 1959 "configure"' > conftest.$ac_ext  if { (eval echo configure:1960: \"$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:1981: 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       ac_ext=c# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.ac_cpp='$CPP $CPPFLAGS'ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'cross_compiling=$ac_cv_prog_cc_cross     cat > conftest.$ac_ext <<EOF#line 1994 "configure"#include "confdefs.h"int main() {; return 0; }EOFif { (eval echo configure:2001: \"$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*     ac_ext=c# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.ac_cpp='$CPP $CPPFLAGS'ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'cross_compiling=$ac_cv_prog_cc_crossfiecho "$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=

⌨️ 快捷键说明

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