⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 configure

📁 Newlib 嵌入式 C库 标准实现代码
💻
📖 第 1 页 / 共 5 页
字号:
ac_config_guess="$SHELL $ac_aux_dir/config.guess"ac_config_sub="$SHELL $ac_aux_dir/config.sub"ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.else  ac_aux_dir=for ac_dir in ${srcdir}/../../.. $srcdir/${srcdir}/../../..; do  if test -f $ac_dir/install-sh; then    ac_aux_dir=$ac_dir    ac_install_sh="$ac_aux_dir/install-sh -c"    break  elif test -f $ac_dir/install.sh; then    ac_aux_dir=$ac_dir    ac_install_sh="$ac_aux_dir/install.sh -c"    break  elif test -f $ac_dir/shtool; then    ac_aux_dir=$ac_dir    ac_install_sh="$ac_aux_dir/shtool install -c"    break  fidoneif test -z "$ac_aux_dir"; then  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ${srcdir}/../../.. $srcdir/${srcdir}/../../.." >&5echo "$as_me: error: cannot find install-sh or install.sh in ${srcdir}/../../.. $srcdir/${srcdir}/../../.." >&2;}   { (exit 1); exit 1; }; }fiac_config_guess="$SHELL $ac_aux_dir/config.guess"ac_config_sub="$SHELL $ac_aux_dir/config.sub"ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.fi# Find a good install program.  We prefer a C program (faster),# so one script is as good as another.  But avoid the broken or# incompatible versions:# SysV /etc/install, /usr/sbin/install# SunOS /usr/etc/install# IRIX /sbin/install# AIX /bin/install# AmigaOS /C/install, which installs bootblocks on floppy discs# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag# AFS /usr/afsws/bin/install, which mishandles nonexistent args# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"# OS/2's system install, which has a completely different semantic# ./install, which can be erroneously created by make from ./install.sh.echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6if test -z "$INSTALL"; thenif test "${ac_cv_path_install+set}" = set; then  echo $ECHO_N "(cached) $ECHO_C" >&6else  as_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATHdo  IFS=$as_save_IFS  test -z "$as_dir" && as_dir=.  # Account for people who put trailing slashes in PATH elements.case $as_dir/ in  ./ | .// | /cC/* | \  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \  /usr/ucb/* ) ;;  *)    # OSF1 and SCO ODT 3.0 have their own names for install.    # Don't use installbsd from OSF since it installs stuff as root    # by default.    for ac_prog in ginstall scoinst install; do      for ac_exec_ext in '' $ac_executable_extensions; do	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then	  if test $ac_prog = install &&	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then	    # AIX install.  It has an incompatible calling convention.	    :	  elif test $ac_prog = install &&	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then	    # program-specific install script used by HP pwplus--don't use.	    :	  else	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"	    break 3	  fi	fi      done    done    ;;esacdonefi  if test "${ac_cv_path_install+set}" = set; then    INSTALL=$ac_cv_path_install  else    # As a last resort, use the slow shell script.  We don't cache a    # path for INSTALL within a source directory, because that will    # break other packages using the cache if that directory is    # removed, or if the path is relative.    INSTALL=$ac_install_sh  fifiecho "$as_me:$LINENO: result: $INSTALL" >&5echo "${ECHO_T}$INSTALL" >&6# Use test -z because SunOS4 sh mishandles braces in ${var-val}.# It thinks the first close brace ends the variable substitution.test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'rm -rf .tst 2>/dev/nullmkdir .tst 2>/dev/nullif test -d .tst; then  am__leading_dot=.else  am__leading_dot=_firmdir .tst 2>/dev/nullDEPDIR="${am__leading_dot}deps"          ac_config_commands="$ac_config_commands depfiles"am_make=${MAKE-make}cat > confinc << 'END'am__doit:	@echo done.PHONY: am__doitEND# If we don't find an include directive, just comment out the code.echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6am__include="#"am__quote=_am_result=none# First try GNU make style include.echo "include confinc" > confmf# We grep out `Entering directory' and `Leaving directory'# messages which can occur if `w' ends up in MAKEFLAGS.# In particular we don't look at `^make:' because GNU make might# be invoked under some other name (usually "gmake"), in which# case it prints its new name instead of `make'.if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then   am__include=include   am__quote=   _am_result=GNUfi# Now try BSD make style include.if test "$am__include" = "#"; then   echo '.include "confinc"' > confmf   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then      am__include=.include      am__quote="\""      _am_result=BSD   fifiecho "$as_me:$LINENO: result: $_am_result" >&5echo "${ECHO_T}$_am_result" >&6rm -f confinc confmf# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.if test "${enable_dependency_tracking+set}" = set; then  enableval="$enable_dependency_tracking"fi;if test "x$enable_dependency_tracking" != xno; then  am_depcomp="$ac_aux_dir/depcomp"  AMDEPBACKSLASH='\'fiif test "x$enable_dependency_tracking" != xno; then  AMDEP_TRUE=  AMDEP_FALSE='#'else  AMDEP_TRUE='#'  AMDEP_FALSE=fi# Extract the first word of "gcc", so it can be a program name with args.set dummy gcc; ac_word=$2echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_CC+set}" = set; then  echo $ECHO_N "(cached) $ECHO_C" >&6else  if test -n "$CC"; then  ac_cv_prog_CC="$CC" # 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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then    ac_cv_prog_CC="gcc"    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5    break 2  fidonedonefifiCC=$ac_cv_prog_CCif test -n "$CC"; then  echo "$as_me:$LINENO: result: $CC" >&5echo "${ECHO_T}$CC" >&6else  echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6fidepcc="$CC"   am_compiler_list=echo "$as_me:$LINENO: checking dependency style of $depcc" >&5echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then  echo $ECHO_N "(cached) $ECHO_C" >&6else  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then  # We make a subdir and do the tests there.  Otherwise we can end up  # making bogus files that we don't know about and never remove.  For  # instance it was reported that on HP-UX the gcc test will end up  # making a dummy file named `D' -- because `-MD' means `put the output  # in D'.  mkdir conftest.dir  # Copy depcomp to subdir because otherwise we won't find it if we're  # using a relative directory.  cp "$am_depcomp" conftest.dir  cd conftest.dir  # We will build objects and dependencies in a subdirectory because  # it helps to detect inapplicable dependency modes.  For instance  # both Tru64's cc and ICC support -MD to output dependencies as a  # side effect of compilation, but ICC will put the dependencies in  # the current directory while Tru64 will put them in the object  # directory.  mkdir sub  am_cv_CC_dependencies_compiler_type=none  if test "$am_compiler_list" = ""; then     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`  fi  for depmode in $am_compiler_list; do    # Setup a source with many dependencies, because some compilers    # like to wrap large dependency lists on column 80 (with \), and    # we should not choose a depcomp mode which is confused by this.    #    # We need to recreate these files for each test, as the compiler may    # overwrite some of them when testing with obscure command lines.    # This happens at least with the AIX C compiler.    : > sub/conftest.c    for i in 1 2 3 4 5 6; do      echo '#include "conftst'$i'.h"' >> sub/conftest.c      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with      # Solaris 8's {/usr,}/bin/sh.      touch sub/conftst$i.h    done    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf    case $depmode in    nosideeffect)      # after this tag, mechanisms are not by side-effect, so they'll      # only be used when explicitly requested      if test "x$enable_dependency_tracking" = xyes; then	continue      else	break      fi      ;;    none) break ;;    esac    # We check with `-c' and `-o' for the sake of the "dashmstdout"    # mode.  It turns out that the SunPro C++ compiler does not properly    # handle `-M -o', and we need to detect this.    if depmode=$depmode \       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \         >/dev/null 2>conftest.err &&       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then      # icc doesn't choke on unknown options, it will just issue warnings      # or remarks (even with -Werror).  So we grep stderr for any message      # that says an option was ignored or not supported.      # When given -MP, icc 7.0 and 7.1 complain thusly:      #   icc: Command line warning: ignoring option '-M'; no argument required      # The diagnosis changed in icc 8.0:      #   icc: Command line remark: option '-MP' not supported      if (grep 'ignoring option' conftest.err ||          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else        am_cv_CC_dependencies_compiler_type=$depmode        break      fi    fi  done  cd ..  rm -rf conftest.direlse  am_cv_CC_dependencies_compiler_type=nonefifiecho "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_typeif  test "x$enable_dependency_tracking" != xno \  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then  am__fastdepCC_TRUE=  am__fastdepCC_FALSE='#'else  am__fastdepCC_TRUE='#'  am__fastdepCC_FALSE=fiif test -z "$CC"; then  # Extract the first word of "cc", so it can be a program name with args.set dummy cc; ac_word=$2echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_CC+set}" = set; then  echo $ECHO_N "(cached) $ECHO_C" >&6else  if test -n "$CC"; then  ac_cv_prog_CC="$CC" # Let the user override the test.else  ac_prog_rejected=noas_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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then       ac_prog_rejected=yes       continue     fi    ac_cv_prog_CC="cc"    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5    break 2  fidonedoneif test $ac_prog_rejected = yes; then  # We found a bogon in the path, so make sure we never use it.  set dummy $ac_cv_prog_CC  shift  if test $# != 0; then    # We chose a different compiler from the bogus one.    # However, it has the same basename, so the bogon will be chosen    # first if we set CC to just the basename; use the full file name.    shift    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"  fifififiCC=$ac_cv_prog_CCif test -n "$CC"; then  echo "$as_me:$LINENO: result: $CC" >&5echo "${ECHO_T}$CC" >&6else  echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6fi  test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}   { (exit 1); exit 1; }; }fiecho "$as_me:$LINENO: checking whether we are using GNU C" >&5echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6if test "${ac_cv_c_compiler_gnu+set}" = set; then  echo $ECHO_N "(cached) $ECHO_C" >&6else  cat > conftest.c <<EOF#ifdef __GNUC__  yes;#endifEOFif { ac_try='${CC-cc} -E conftest.c'  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  (eval $ac_try) 2>&5  ac_status=$?  echo "$as_me:$LINENO: \$? = $ac_status" >&5  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then  ac_cv_c_compiler_gnu=yeselse  ac_cv_c_compiler_gnu=nofifiecho "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6if test $ac_cv_c_compiler_gnu = yes; then  GCC=yes  ac_test_CFLAGS="${CFLAGS+set}"  ac_save_CFLAGS="$CFLAGS"  CFLAGS=  ac_test_CFLAGS=${CFLAGS+set}ac_save_CFLAGS=$CFLAGSCFLAGS="-g"

⌨️ 快捷键说明

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