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

📄 configure

📁 create raid tool at linux
💻
📖 第 1 页 / 共 5 页
字号:
  case $ac_file in    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`       break;;  esacdoneelse  echo "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compileSee \`config.log' for more details." >&5echo "$as_me: error: cannot compute suffix of object files: cannot compileSee \`config.log' for more details." >&2;}   { (exit 1); exit 1; }; }firm -f conftest.$ac_cv_objext conftest.$ac_extfiecho "$as_me:$LINENO: result: $ac_cv_objext" >&5echo "${ECHO_T}$ac_cv_objext" >&6OBJEXT=$ac_cv_objextac_objext=$OBJEXTecho "$as_me:$LINENO: 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 $LINENO "configure"/* confdefs.h.  */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h.  */intmain (){#ifndef __GNUC__       choke me#endif  ;  return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  (eval $ac_compile) 2>&5  ac_status=$?  echo "$as_me:$LINENO: \$? = $ac_status" >&5  (exit $ac_status); } &&         { ac_try='test -s conftest.$ac_objext'  { (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); }; }; then  ac_compiler_gnu=yeselse  echo "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_compiler_gnu=nofirm -f conftest.$ac_objext conftest.$ac_extac_cv_c_compiler_gnu=$ac_compiler_gnufiecho "$as_me:$LINENO: 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:$LINENO: 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 $LINENO "configure"/* confdefs.h.  */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h.  */intmain (){  ;  return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  (eval $ac_compile) 2>&5  ac_status=$?  echo "$as_me:$LINENO: \$? = $ac_status" >&5  (exit $ac_status); } &&         { ac_try='test -s conftest.$ac_objext'  { (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); }; }; then  ac_cv_prog_cc_g=yeselse  echo "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5ac_cv_prog_cc_g=nofirm -f conftest.$ac_objext conftest.$ac_extfiecho "$as_me:$LINENO: 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=  fifiecho "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6if test "${ac_cv_prog_cc_stdc+set}" = set; then  echo $ECHO_N "(cached) $ECHO_C" >&6else  ac_cv_prog_cc_stdc=noac_save_CC=$CCcat >conftest.$ac_ext <<_ACEOF#line $LINENO "configure"/* confdefs.h.  */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h.  */#include <stdarg.h>#include <stdio.h>#include <sys/types.h>#include <sys/stat.h>/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */struct buf { int x; };FILE * (*rcsopen) (struct buf *, struct stat *, int);static char *e (p, i)     char **p;     int i;{  return p[i];}static char *f (char * (*g) (char **, int), char **p, ...){  char *s;  va_list v;  va_start (v,p);  s = g (p, va_arg (v,int));  va_end (v);  return s;}int test (int i, double x);struct s1 {int (*f) (int a);};struct s2 {int (*f) (double a);};int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);int argc;char **argv;intmain (){return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];  ;  return 0;}_ACEOF# Don't try gcc -ansi; that turns off useful extensions and# breaks some systems' header files.# AIX			-qlanglvl=ansi# Ultrix and OSF/1	-std1# HP-UX 10.20 and later	-Ae# HP-UX older versions	-Aa -D_HPUX_SOURCE# SVR4			-Xc -D__EXTENSIONS__for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"do  CC="$ac_save_CC $ac_arg"  rm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  (eval $ac_compile) 2>&5  ac_status=$?  echo "$as_me:$LINENO: \$? = $ac_status" >&5  (exit $ac_status); } &&         { ac_try='test -s conftest.$ac_objext'  { (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); }; }; then  ac_cv_prog_cc_stdc=$ac_argbreakelse  echo "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5firm -f conftest.$ac_objextdonerm -f conftest.$ac_ext conftest.$ac_objextCC=$ac_save_CCficase "x$ac_cv_prog_cc_stdc" in  x|xno)    echo "$as_me:$LINENO: result: none needed" >&5echo "${ECHO_T}none needed" >&6 ;;  *)    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6    CC="$CC $ac_cv_prog_cc_stdc" ;;esac# 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:$LINENO: \"$ac_compile\"") >&5  (eval $ac_compile) 2>&5  ac_status=$?  echo "$as_me:$LINENO: \$? = $ac_status" >&5  (exit $ac_status); } &&         { ac_try='test -s conftest.$ac_objext'  { (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); }; }; 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 $LINENO "configure"/* confdefs.h.  */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h.  */#include <stdlib.h>$ac_declarationintmain (){exit (42);  ;  return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  (eval $ac_compile) 2>&5  ac_status=$?  echo "$as_me:$LINENO: \$? = $ac_status" >&5  (exit $ac_status); } &&         { ac_try='test -s conftest.$ac_objext'  { (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); }; }; then  :else  echo "$as_me: failed program was:" >&5sed 's/^/| /' conftest.$ac_ext >&5continuefirm -f conftest.$ac_objext conftest.$ac_ext  cat >conftest.$ac_ext <<_ACEOF#line $LINENO "configure"/* confdefs.h.  */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h.  */$ac_declarationintmain (){exit (42);  ;  return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  (eval $ac_compile) 2>&5  ac_status=$?  echo "$as_me:$LINENO: \$? = $ac_status" >&5  (exit $ac_status); } &&         { ac_try='test -s conftest.$ac_objext'  { (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); }; }; then  breakelse  echo "$as_me: failed program was:" >&5sed 's/^/| /' 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:" >&5sed 's/^/| /' 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:$LINENO: 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 $LINENO "configure"/* confdefs.h.  */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h.  */#include <assert.h>                     Syntax error_ACEOFif { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1  ac_status=$?  grep -v '^ *+' conftest.er1 >conftest.err  rm -f conftest.er1  cat conftest.err >&5  echo "$as_me:$LINENO: \$? = $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:" >&5sed 's/^/| /' 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 $LINENO "configure"/* confdefs.h.  */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h.  */#include <ac_nonexistent.h>_ACEOFif { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1  ac_status=$?  grep -v '^ *+' conftest.er1 >conftest.err  rm -f conftest.er1  cat conftest.err >&5  echo "$as_me:$LINENO: \$? = $ac_status" >&5  (exit $ac_status); } >/dev/null; then  if test -s co

⌨️ 快捷键说明

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