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

📄 configure

📁 source code: Covert TXT to PDF
💻
📖 第 1 页 / 共 5 页
字号:
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will# work properly (i.e., refer to `conftest.exe'), while it won't with# `rm'.for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do  case $ac_file in    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`          export ac_cv_exeext          break;;    * ) break;;  esacdoneelse  { { echo "$as_me:1678: error: cannot compute EXEEXT: cannot compile and link" >&5echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}   { (exit 1); exit 1; }; }firm -f conftest$ac_cv_exeextecho "$as_me:1684: result: $ac_cv_exeext" >&5echo "${ECHO_T}$ac_cv_exeext" >&6rm -f conftest.$ac_extEXEEXT=$ac_cv_exeextac_exeext=$EXEEXTecho "$as_me:1690: checking for object suffix" >&5echo $ECHO_N "checking for object suffix... $ECHO_C" >&6if test "${ac_cv_objext+set}" = set; then  echo $ECHO_N "(cached) $ECHO_C" >&6else  cat >conftest.$ac_ext <<_ACEOF#line 1696 "configure"#include "confdefs.h"intmain (){  ;  return 0;}_ACEOFrm -f conftest.o conftest.objif { (eval echo "$as_me:1708: \"$ac_compile\"") >&5  (eval $ac_compile) 2>&5  ac_status=$?  echo "$as_me:1711: \$? = $ac_status" >&5  (exit $ac_status); }; then  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do  case $ac_file in    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`       break;;  esacdoneelse  echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5{ { echo "$as_me:1723: error: cannot compute OBJEXT: cannot compile" >&5echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}   { (exit 1); exit 1; }; }firm -f conftest.$ac_cv_objext conftest.$ac_extfiecho "$as_me:1730: result: $ac_cv_objext" >&5echo "${ECHO_T}$ac_cv_objext" >&6OBJEXT=$ac_cv_objextac_objext=$OBJEXTecho "$as_me:1734: checking whether we are using the GNU C compiler" >&5echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6if test "${ac_cv_c_compiler_gnu+set}" = set; then  echo $ECHO_N "(cached) $ECHO_C" >&6else  cat >conftest.$ac_ext <<_ACEOF#line 1740 "configure"#include "confdefs.h"intmain (){#ifndef __GNUC__       choke me#endif  ;  return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:1755: \"$ac_compile\"") >&5  (eval $ac_compile) 2>&5  ac_status=$?  echo "$as_me:1758: \$? = $ac_status" >&5  (exit $ac_status); } &&         { ac_try='test -s conftest.$ac_objext'  { (eval echo "$as_me:1761: \"$ac_try\"") >&5  (eval $ac_try) 2>&5  ac_status=$?  echo "$as_me:1764: \$? = $ac_status" >&5  (exit $ac_status); }; }; then  ac_compiler_gnu=yeselse  echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_compiler_gnu=nofirm -f conftest.$ac_objext conftest.$ac_extac_cv_c_compiler_gnu=$ac_compiler_gnufiecho "$as_me:1776: result: $ac_cv_c_compiler_gnu" >&5echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6GCC=`test $ac_compiler_gnu = yes && echo yes`ac_test_CFLAGS=${CFLAGS+set}ac_save_CFLAGS=$CFLAGSCFLAGS="-g"echo "$as_me:1782: checking whether $CC accepts -g" >&5echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6if test "${ac_cv_prog_cc_g+set}" = set; then  echo $ECHO_N "(cached) $ECHO_C" >&6else  cat >conftest.$ac_ext <<_ACEOF#line 1788 "configure"#include "confdefs.h"intmain (){  ;  return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:1800: \"$ac_compile\"") >&5  (eval $ac_compile) 2>&5  ac_status=$?  echo "$as_me:1803: \$? = $ac_status" >&5  (exit $ac_status); } &&         { ac_try='test -s conftest.$ac_objext'  { (eval echo "$as_me:1806: \"$ac_try\"") >&5  (eval $ac_try) 2>&5  ac_status=$?  echo "$as_me:1809: \$? = $ac_status" >&5  (exit $ac_status); }; }; then  ac_cv_prog_cc_g=yeselse  echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_prog_cc_g=nofirm -f conftest.$ac_objext conftest.$ac_extfiecho "$as_me:1819: result: $ac_cv_prog_cc_g" >&5echo "${ECHO_T}$ac_cv_prog_cc_g" >&6if test "$ac_test_CFLAGS" = set; then  CFLAGS=$ac_save_CFLAGSelif test $ac_cv_prog_cc_g = yes; then  if test "$GCC" = yes; then    CFLAGS="-g -O2"  else    CFLAGS="-g"  fielse  if test "$GCC" = yes; then    CFLAGS="-O2"  else    CFLAGS=  fifi# Some people use a C++ compiler to compile C.  Since we use `exit',# in C++ we need to declare it.  In case someone uses the same compiler# for both compiling C and C++ we need to have the C++ compiler decide# the declaration of exit, since it's the most demanding environment.cat >conftest.$ac_ext <<_ACEOF#ifndef __cplusplus  choke me#endif_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:1846: \"$ac_compile\"") >&5  (eval $ac_compile) 2>&5  ac_status=$?  echo "$as_me:1849: \$? = $ac_status" >&5  (exit $ac_status); } &&         { ac_try='test -s conftest.$ac_objext'  { (eval echo "$as_me:1852: \"$ac_try\"") >&5  (eval $ac_try) 2>&5  ac_status=$?  echo "$as_me:1855: \$? = $ac_status" >&5  (exit $ac_status); }; }; then  for ac_declaration in \   ''\   '#include <stdlib.h>' \   'extern "C" void std::exit (int) throw (); using std::exit;' \   'extern "C" void std::exit (int); using std::exit;' \   'extern "C" void exit (int) throw ();' \   'extern "C" void exit (int);' \   'void exit (int);'do  cat >conftest.$ac_ext <<_ACEOF#line 1867 "configure"#include "confdefs.h"#include <stdlib.h>$ac_declarationintmain (){exit (42);  ;  return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:1880: \"$ac_compile\"") >&5  (eval $ac_compile) 2>&5  ac_status=$?  echo "$as_me:1883: \$? = $ac_status" >&5  (exit $ac_status); } &&         { ac_try='test -s conftest.$ac_objext'  { (eval echo "$as_me:1886: \"$ac_try\"") >&5  (eval $ac_try) 2>&5  ac_status=$?  echo "$as_me:1889: \$? = $ac_status" >&5  (exit $ac_status); }; }; then  :else  echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5continuefirm -f conftest.$ac_objext conftest.$ac_ext  cat >conftest.$ac_ext <<_ACEOF#line 1899 "configure"#include "confdefs.h"$ac_declarationintmain (){exit (42);  ;  return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:1911: \"$ac_compile\"") >&5  (eval $ac_compile) 2>&5  ac_status=$?  echo "$as_me:1914: \$? = $ac_status" >&5  (exit $ac_status); } &&         { ac_try='test -s conftest.$ac_objext'  { (eval echo "$as_me:1917: \"$ac_try\"") >&5  (eval $ac_try) 2>&5  ac_status=$?  echo "$as_me:1920: \$? = $ac_status" >&5  (exit $ac_status); }; }; then  breakelse  echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5firm -f conftest.$ac_objext conftest.$ac_extdonerm -f conftest*if test -n "$ac_declaration"; then  echo '#ifdef __cplusplus' >>confdefs.h  echo $ac_declaration      >>confdefs.h  echo '#endif'             >>confdefs.hfielse  echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5firm -f conftest.$ac_objext conftest.$ac_extac_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_gnuac_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:1952: 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 1973 "configure"#include "confdefs.h"#include <assert.h>                     Syntax error_ACEOFif { (eval echo "$as_me:1978: \"$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:1984: \$? = $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 2007 "configure"#include "confdefs.h"#include <ac_nonexistent.h>_ACEOFif { (eval echo "$as_me:2011: \"$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:2017: \$? = $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:2054: 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 2064 "configure"#include "confdefs.h"#include <assert.h>                     Syntax error_ACEOFif { (eval echo "$as_me:2069: \"$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:2075: \$? = $ac_status" >&5  (exit $ac_status); } >/dev/null; then  if te

⌨️ 快捷键说明

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