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

📄 configure

📁 美国加州大学操作系统课程实验平台Nachos
💻
📖 第 1 页 / 共 5 页
字号:
if test -z "$LD"; then  ac_ct_LD=$LD  for ac_prog in lddo  # Extract the first word of "$ac_prog", so it can be a program name with args.set dummy $ac_prog; ac_word=$2echo "$as_me:1751: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_ac_ct_LD+set}" = set; then  echo $ECHO_N "(cached) $ECHO_C" >&6else  if test -n "$ac_ct_LD"; then  ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.else  ac_save_IFS=$IFS; IFS=$ac_path_separatorac_dummy="$PATH"for ac_dir in $ac_dummy; do  IFS=$ac_save_IFS  test -z "$ac_dir" && ac_dir=.  $as_executable_p "$ac_dir/$ac_word" || continueac_cv_prog_ac_ct_LD="$ac_prog"echo "$as_me:1766: found $ac_dir/$ac_word" >&5breakdonefifiac_ct_LD=$ac_cv_prog_ac_ct_LDif test -n "$ac_ct_LD"; then  echo "$as_me:1774: result: $ac_ct_LD" >&5echo "${ECHO_T}$ac_ct_LD" >&6else  echo "$as_me:1777: result: no" >&5echo "${ECHO_T}no" >&6fi  test -n "$ac_ct_LD" && breakdone  LD=$ac_ct_LDfi# Checks for libraries.# Checks for header files.ac_ext=cac_cpp='$CPP $CPPFLAGS'ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'ac_compiler_gnu=$ac_cv_c_compiler_gnuecho "$as_me:1796: checking how to run the C preprocessor" >&5echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6# On Suns, sometimes $CPP names a directory.if test -n "$CPP" && test -d "$CPP"; then  CPP=fiif test -z "$CPP"; then  if test "${ac_cv_prog_CPP+set}" = set; then  echo $ECHO_N "(cached) $ECHO_C" >&6else      # Double quotes because CPP needs to be expanded    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"    do      ac_preproc_ok=falsefor ac_c_preproc_warn_flag in '' yesdo  # Use a header file that comes with gcc, so configuring glibc  # with a fresh cross-compiler works.  # On the NeXT, cc -E runs the code through the compiler's parser,  # not just through cpp. "Syntax error" is here to catch this case.  cat >conftest.$ac_ext <<_ACEOF#line 1817 "configure"#include "confdefs.h"#include <assert.h>                     Syntax error_ACEOFif { (eval echo "$as_me:1822: \"$ac_cpp conftest.$ac_ext\"") >&5  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1  ac_status=$?  egrep -v '^ *\+' conftest.er1 >conftest.err  rm -f conftest.er1  cat conftest.err >&5  echo "$as_me:1828: \$? = $ac_status" >&5  (exit $ac_status); } >/dev/null; then  if test -s conftest.err; then    ac_cpp_err=$ac_c_preproc_warn_flag  else    ac_cpp_err=  fielse  ac_cpp_err=yesfiif test -z "$ac_cpp_err"; then  :else  echo "$as_me: failed program was:" >&5  cat conftest.$ac_ext >&5  # Broken: fails on valid input.continuefirm -f conftest.err conftest.$ac_ext  # OK, works on sane cases.  Now check whether non-existent headers  # can be detected and how.  cat >conftest.$ac_ext <<_ACEOF#line 1851 "configure"#include "confdefs.h"#include <ac_nonexistent.h>_ACEOFif { (eval echo "$as_me:1855: \"$ac_cpp conftest.$ac_ext\"") >&5  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1  ac_status=$?  egrep -v '^ *\+' conftest.er1 >conftest.err  rm -f conftest.er1  cat conftest.err >&5  echo "$as_me:1861: \$? = $ac_status" >&5  (exit $ac_status); } >/dev/null; then  if test -s conftest.err; then    ac_cpp_err=$ac_c_preproc_warn_flag  else    ac_cpp_err=  fielse  ac_cpp_err=yesfiif test -z "$ac_cpp_err"; then  # Broken: success on invalid input.continueelse  echo "$as_me: failed program was:" >&5  cat conftest.$ac_ext >&5  # Passes both tests.ac_preproc_ok=:breakfirm -f conftest.err conftest.$ac_extdone# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.rm -f conftest.err conftest.$ac_extif $ac_preproc_ok; then  breakfi    done    ac_cv_prog_CPP=$CPPfi  CPP=$ac_cv_prog_CPPelse  ac_cv_prog_CPP=$CPPfiecho "$as_me:1898: result: $CPP" >&5echo "${ECHO_T}$CPP" >&6ac_preproc_ok=falsefor ac_c_preproc_warn_flag in '' yesdo  # Use a header file that comes with gcc, so configuring glibc  # with a fresh cross-compiler works.  # On the NeXT, cc -E runs the code through the compiler's parser,  # not just through cpp. "Syntax error" is here to catch this case.  cat >conftest.$ac_ext <<_ACEOF#line 1908 "configure"#include "confdefs.h"#include <assert.h>                     Syntax error_ACEOFif { (eval echo "$as_me:1913: \"$ac_cpp conftest.$ac_ext\"") >&5  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1  ac_status=$?  egrep -v '^ *\+' conftest.er1 >conftest.err  rm -f conftest.er1  cat conftest.err >&5  echo "$as_me:1919: \$? = $ac_status" >&5  (exit $ac_status); } >/dev/null; then  if test -s conftest.err; then    ac_cpp_err=$ac_c_preproc_warn_flag  else    ac_cpp_err=  fielse  ac_cpp_err=yesfiif test -z "$ac_cpp_err"; then  :else  echo "$as_me: failed program was:" >&5  cat conftest.$ac_ext >&5  # Broken: fails on valid input.continuefirm -f conftest.err conftest.$ac_ext  # OK, works on sane cases.  Now check whether non-existent headers  # can be detected and how.  cat >conftest.$ac_ext <<_ACEOF#line 1942 "configure"#include "confdefs.h"#include <ac_nonexistent.h>_ACEOFif { (eval echo "$as_me:1946: \"$ac_cpp conftest.$ac_ext\"") >&5  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1  ac_status=$?  egrep -v '^ *\+' conftest.er1 >conftest.err  rm -f conftest.er1  cat conftest.err >&5  echo "$as_me:1952: \$? = $ac_status" >&5  (exit $ac_status); } >/dev/null; then  if test -s conftest.err; then    ac_cpp_err=$ac_c_preproc_warn_flag  else    ac_cpp_err=  fielse  ac_cpp_err=yesfiif test -z "$ac_cpp_err"; then  # Broken: success on invalid input.continueelse  echo "$as_me: failed program was:" >&5  cat conftest.$ac_ext >&5  # Passes both tests.ac_preproc_ok=:breakfirm -f conftest.err conftest.$ac_extdone# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.rm -f conftest.err conftest.$ac_extif $ac_preproc_ok; then  :else  { { echo "$as_me:1980: error: C preprocessor \"$CPP\" fails sanity check" >&5echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}   { (exit 1); exit 1; }; }fiac_ext=cac_cpp='$CPP $CPPFLAGS'ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'ac_compiler_gnu=$ac_cv_c_compiler_gnufor ac_header in fcntl.h limits.hdoas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`echo "$as_me:1994: checking for $ac_header" >&5echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6if eval "test \"\${$as_ac_Header+set}\" = set"; then  echo $ECHO_N "(cached) $ECHO_C" >&6else  cat >conftest.$ac_ext <<_ACEOF#line 2000 "configure"#include "confdefs.h"#include <$ac_header>_ACEOFif { (eval echo "$as_me:2004: \"$ac_cpp conftest.$ac_ext\"") >&5  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1  ac_status=$?  egrep -v '^ *\+' conftest.er1 >conftest.err  rm -f conftest.er1  cat conftest.err >&5  echo "$as_me:2010: \$? = $ac_status" >&5  (exit $ac_status); } >/dev/null; then  if test -s conftest.err; then    ac_cpp_err=$ac_c_preproc_warn_flag  else    ac_cpp_err=  fielse  ac_cpp_err=yesfiif test -z "$ac_cpp_err"; then  eval "$as_ac_Header=yes"else  echo "$as_me: failed program was:" >&5  cat conftest.$ac_ext >&5  eval "$as_ac_Header=no"firm -f conftest.err conftest.$ac_extfiecho "$as_me:2029: result: `eval echo '${'$as_ac_Header'}'`" >&5echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6if test `eval echo '${'$as_ac_Header'}'` = yes; then  cat >>confdefs.h <<EOF#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1EOFfidonefor ac_header in unistd.hdoas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`echo "$as_me:2042: checking for $ac_header" >&5echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6if eval "test \"\${$as_ac_Header+set}\" = set"; then  echo $ECHO_N "(cached) $ECHO_C" >&6else  cat >conftest.$ac_ext <<_ACEOF#line 2048 "configure"#include "confdefs.h"#include <$ac_header>_ACEOFif { (eval echo "$as_me:2052: \"$ac_cpp conftest.$ac_ext\"") >&5  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1  ac_status=$?  egrep -v '^ *\+' conftest.er1 >conftest.err  rm -f conftest.er1  cat conftest.err >&5  echo "$as_me:2058: \$? = $ac_status" >&5  (exit $ac_status); } >/dev/null; then  if test -s conftest.err; then    ac_cpp_err=$ac_c_preproc_warn_flag  else    ac_cpp_err=  fielse  ac_cpp_err=yesfiif test -z "$ac_cpp_err"; then  eval "$as_ac_Header=yes"else  echo "$as_me: failed program was:" >&5  cat conftest.$ac_ext >&5  eval "$as_ac_Header=no"firm -f conftest.err conftest.$ac_extfiecho "$as_me:2077: result: `eval echo '${'$as_ac_Header'}'`" >&5echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6if test `eval echo '${'$as_ac_Header'}'` = yes; then  cat >>confdefs.h <<EOF#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1EOFfidone# Checks for typedefs, structures, and compiler characteristics.# Checks for library functions.echo "$as_me:2090: checking for ANSI C header files" >&5echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6if test "${ac_cv_header_stdc+set}" = set; then  echo $ECHO_N "(cached) $ECHO_C" >&6else  cat >conftest.$ac_ext <<_ACEOF#line 2096 "configure"#include "confdefs.h"#include <stdlib.h>#include <stdarg.h>#include <string.h>#include <float.h>_ACEOFif { (eval echo "$as_me:2104: \"$ac_cpp conftest.$ac_ext\"") >&5  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1  ac_status=$?  egrep -v '^ *\+' conftest.er1 >conftest.err  rm -f conftest.er1  cat conftest.err >&5  echo "$as_me:2110: \$? = $ac_status" >&5  (exit $ac_status); } >/dev/null; then  if test -s conftest.err; then    ac_cpp_err=$ac_c_preproc_warn_flag  else    ac_cpp_err=  fielse  ac_cpp_err=yesfiif test -z "$ac_cpp_err"; then  ac_cv_header_stdc=yeselse  echo "$as_me: failed program was:" >&5  cat conftest.$ac_ext >&5  ac_cv_header_stdc=nofirm -f conftest.err conftest.$ac_extif test $ac_cv_header_stdc = yes; then  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.  cat >conftest.$ac_ext <<_ACEOF#line 2132 "configure"#include "confdefs.h"#include <string.h>_ACEOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  egrep "memchr" >/dev/null 2>&1; then  :else  ac_cv_header_stdc=nofirm -f conftest*fiif test $ac_cv_header_stdc = yes; then  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.  cat >conftest.$ac_ext <<_ACEOF#line 2150 "configure"#include "confdefs.h"#include <stdlib.h>_ACEOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  egrep "free" >/dev/null 2>&1; then  :else  ac_cv_header_stdc=nofirm -f conftest*fiif test $ac_cv_header_stdc = yes; then  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.  if test "$cross_compiling" = yes; then  :else  cat >conftest.$ac_ext <<_ACEOF#line 2171 "configure"#include "confdefs.h"#include <ctype.h>#if ((' ' & 0x0FF) == 0x020)# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))#else# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \                     || ('j' <= (c) && (c) <= 'r') 

⌨️ 快捷键说明

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