?? configure
字號:
donefiif test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cldo # 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:1565: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # 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_CC="$ac_prog"echo "$as_me:1580: found $ac_dir/$ac_word" >&5breakdonefifiac_ct_CC=$ac_cv_prog_ac_ct_CCif test -n "$ac_ct_CC"; then echo "$as_me:1588: result: $ac_ct_CC" >&5echo "${ECHO_T}$ac_ct_CC" >&6else echo "$as_me:1591: result: no" >&5echo "${ECHO_T}no" >&6fi test -n "$ac_ct_CC" && breakdone CC=$ac_ct_CCfifitest -z "$CC" && { { echo "$as_me:1603: error: no acceptable cc found in \$PATH" >&5echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} { (exit 1); exit 1; }; }# Provide some information about the compiler.echo "$as_me:1608:" \ "checking for C compiler version" >&5ac_compiler=`set X $ac_compile; echo $2`{ (eval echo "$as_me:1611: \"$ac_compiler --version </dev/null >&5\"") >&5 (eval $ac_compiler --version </dev/null >&5) 2>&5 ac_status=$? echo "$as_me:1614: \$? = $ac_status" >&5 (exit $ac_status); }{ (eval echo "$as_me:1616: \"$ac_compiler -v </dev/null >&5\"") >&5 (eval $ac_compiler -v </dev/null >&5) 2>&5 ac_status=$? echo "$as_me:1619: \$? = $ac_status" >&5 (exit $ac_status); }{ (eval echo "$as_me:1621: \"$ac_compiler -V </dev/null >&5\"") >&5 (eval $ac_compiler -V </dev/null >&5) 2>&5 ac_status=$? echo "$as_me:1624: \$? = $ac_status" >&5 (exit $ac_status); }cat >conftest.$ac_ext <<_ACEOF#line 1628 "configure"#include "confdefs.h"intmain (){ ; return 0;}_ACEOFac_clean_files_save=$ac_clean_filesac_clean_files="$ac_clean_files a.out a.exe"# Try to create an executable without -o first, disregard a.out.# It will help us diagnose broken compilers, and finding out an intuition# of exeext.echo "$as_me:1644: checking for C compiler default output" >&5echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`if { (eval echo "$as_me:1647: \"$ac_link_default\"") >&5 (eval $ac_link_default) 2>&5 ac_status=$? echo "$as_me:1650: \$? = $ac_status" >&5 (exit $ac_status); }; then # Find the output, starting from the most likely. This scheme is# not robust to junk in `.', hence go to wildcards (a.*) only as a last# resort.for ac_file in `ls a.exe conftest.exe 2>/dev/null; ls a.out conftest 2>/dev/null; ls a.* conftest.* 2>/dev/null`; do case $ac_file in *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; a.out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` # FIXME: I believe we export ac_cv_exeext for Libtool --akim. export ac_cv_exeext break;; * ) break;; esacdoneelse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5{ { echo "$as_me:1673: error: C compiler cannot create executables" >&5echo "$as_me: error: C compiler cannot create executables" >&2;} { (exit 77); exit 77; }; }fiac_exeext=$ac_cv_exeextecho "$as_me:1679: result: $ac_file" >&5echo "${ECHO_T}$ac_file" >&6# Check the compiler produces executables we can run. If not, either# the compiler is broken, or we cross compile.echo "$as_me:1684: checking whether the C compiler works" >&5echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6# FIXME: These cross compiler hacks should be removed for Autoconf 3.0# If not cross compiling, check that we can run a simple program.if test "$cross_compiling" != yes; then if { ac_try='./$ac_file' { (eval echo "$as_me:1690: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:1693: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { echo "$as_me:1700: error: cannot run C compiled programs.If you meant to cross compile, use \`--host'." >&5echo "$as_me: error: cannot run C compiled programs.If you meant to cross compile, use \`--host'." >&2;} { (exit 1); exit 1; }; } fi fifiecho "$as_me:1708: result: yes" >&5echo "${ECHO_T}yes" >&6rm -f a.out a.exe conftest$ac_cv_exeextac_clean_files=$ac_clean_files_save# Check the compiler produces executables we can run. If not, either# the compiler is broken, or we cross compile.echo "$as_me:1715: checking whether we are cross compiling" >&5echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6echo "$as_me:1717: result: $cross_compiling" >&5echo "${ECHO_T}$cross_compiling" >&6echo "$as_me:1720: checking for executable suffix" >&5echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6if { (eval echo "$as_me:1722: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:1725: \$? = $ac_status" >&5 (exit $ac_status); }; then # If both `conftest.exe' and `conftest' are `present' (well, observable)# 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:1741: 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:1747: result: $ac_cv_exeext" >&5echo "${ECHO_T}$ac_cv_exeext" >&6rm -f conftest.$ac_extEXEEXT=$ac_cv_exeextac_exeext=$EXEEXTecho "$as_me:1753: 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 1759 "configure"#include "confdefs.h"intmain (){ ; return 0;}_ACEOFrm -f conftest.o conftest.objif { (eval echo "$as_me:1771: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:1774: \$? = $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:1786: 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:1793: result: $ac_cv_objext" >&5echo "${ECHO_T}$ac_cv_objext" >&6OBJEXT=$ac_cv_objextac_objext=$OBJEXTecho "$as_me:1797: 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 1803 "configure"#include "confdefs.h"intmain (){#ifndef __GNUC__ choke me#endif ; return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:1818: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:1821: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:1824: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:1827: \$? = $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:1839: 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:1845: 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 1851 "configure"#include "confdefs.h"intmain (){ ; return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:1863: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:1866: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:1869: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:1872: \$? = $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:1882: 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:1909: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:1912: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:1915: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:1918: \$? = $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 1930 "configure"#include "confdefs.h"#include <stdlib.h>$ac_declarationintmain (){exit (42); ; return 0;}_ACEOFrm -f confte
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -