📄 configure
字号:
{ (exit 1); exit 1; }; }fi# Check whether --enable-debug or --disable-debug was given.if test "${enable_debug+set}" = set; then enableval="$enable_debug" case "${enableval}" in yes) debug=true ;; no) debug=false ;; *) { { echo "$as_me:1622: error: bad value ${enableval} for --enable-debug" >&5echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;} { (exit 1); exit 1; }; } ;;esacelse debug=falsefi;if test x$debug = xtrue; then DEBUG_TRUE= DEBUG_FALSE='#'else DEBUG_TRUE='#' DEBUG_FALSE=fiCXXFLAGS=""if test x$debug = xtrue; then CXXDEBUGDEFINES="-D_DEBUG" APXS_CXX_OPTIONS="-Wc,-g"else CXXDEBUGDEFINES="-D_NDEBUG" APXS_CXX_OPTIONS=""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_gnuif test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.set dummy ${ac_tool_prefix}gcc; ac_word=$2echo "$as_me:1655: 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_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_CC="${ac_tool_prefix}gcc"echo "$as_me:1670: found $ac_dir/$ac_word" >&5breakdonefifiCC=$ac_cv_prog_CCif test -n "$CC"; then echo "$as_me:1678: result: $CC" >&5echo "${ECHO_T}$CC" >&6else echo "$as_me:1681: result: no" >&5echo "${ECHO_T}no" >&6fifiif test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args.set dummy gcc; ac_word=$2echo "$as_me:1690: 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="gcc"echo "$as_me:1705: found $ac_dir/$ac_word" >&5breakdonefifiac_ct_CC=$ac_cv_prog_ac_ct_CCif test -n "$ac_ct_CC"; then echo "$as_me:1713: result: $ac_ct_CC" >&5echo "${ECHO_T}$ac_ct_CC" >&6else echo "$as_me:1716: result: no" >&5echo "${ECHO_T}no" >&6fi CC=$ac_ct_CCelse CC="$ac_cv_prog_CC"fiif test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.set dummy ${ac_tool_prefix}cc; ac_word=$2echo "$as_me:1729: 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_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_CC="${ac_tool_prefix}cc"echo "$as_me:1744: found $ac_dir/$ac_word" >&5breakdonefifiCC=$ac_cv_prog_CCif test -n "$CC"; then echo "$as_me:1752: result: $CC" >&5echo "${ECHO_T}$CC" >&6else echo "$as_me:1755: result: no" >&5echo "${ECHO_T}no" >&6fifiif test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "cc", so it can be a program name with args.set dummy cc; ac_word=$2echo "$as_me:1764: 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="cc"echo "$as_me:1779: found $ac_dir/$ac_word" >&5breakdonefifiac_ct_CC=$ac_cv_prog_ac_ct_CCif test -n "$ac_ct_CC"; then echo "$as_me:1787: result: $ac_ct_CC" >&5echo "${ECHO_T}$ac_ct_CC" >&6else echo "$as_me:1790: result: no" >&5echo "${ECHO_T}no" >&6fi CC=$ac_ct_CCelse CC="$ac_cv_prog_CC"fifiif 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:1803: 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=no 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" || continueif test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then ac_prog_rejected=yes continuefiac_cv_prog_CC="cc"echo "$as_me:1823: found $ac_dir/$ac_word" >&5breakdoneif 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 set dummy "$ac_dir/$ac_word" ${1+"$@"} shift ac_cv_prog_CC="$@" fifififiCC=$ac_cv_prog_CCif test -n "$CC"; then echo "$as_me:1845: result: $CC" >&5echo "${ECHO_T}$CC" >&6else echo "$as_me:1848: result: no" >&5echo "${ECHO_T}no" >&6fifiif test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.set dummy $ac_tool_prefix$ac_prog; ac_word=$2echo "$as_me:1859: 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_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_CC="$ac_tool_prefix$ac_prog"echo "$as_me:1874: found $ac_dir/$ac_word" >&5breakdonefifiCC=$ac_cv_prog_CCif test -n "$CC"; then echo "$as_me:1882: result: $CC" >&5echo "${ECHO_T}$CC" >&6else echo "$as_me:1885: result: no" >&5echo "${ECHO_T}no" >&6fi test -n "$CC" && break 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:1898: 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:1913: found $ac_dir/$ac_word" >&5breakdonefifiac_ct_CC=$ac_cv_prog_ac_ct_CCif test -n "$ac_ct_CC"; then echo "$as_me:1921: result: $ac_ct_CC" >&5echo "${ECHO_T}$ac_ct_CC" >&6else echo "$as_me:1924: result: no" >&5echo "${ECHO_T}no" >&6fi test -n "$ac_ct_CC" && breakdone CC=$ac_ct_CCfifitest -z "$CC" && { { echo "$as_me:1936: 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:1941:" \ "checking for C compiler version" >&5ac_compiler=`set X $ac_compile; echo $2`{ (eval echo "$as_me:1944: \"$ac_compiler --version </dev/null >&5\"") >&5 (eval $ac_compiler --version </dev/null >&5) 2>&5 ac_status=$? echo "$as_me:1947: \$? = $ac_status" >&5 (exit $ac_status); }{ (eval echo "$as_me:1949: \"$ac_compiler -v </dev/null >&5\"") >&5 (eval $ac_compiler -v </dev/null >&5) 2>&5 ac_status=$? echo "$as_me:1952: \$? = $ac_status" >&5 (exit $ac_status); }{ (eval echo "$as_me:1954: \"$ac_compiler -V </dev/null >&5\"") >&5 (eval $ac_compiler -V </dev/null >&5) 2>&5 ac_status=$? echo "$as_me:1957: \$? = $ac_status" >&5 (exit $ac_status); }cat >conftest.$ac_ext <<_ACEOF#line 1961 "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:1977: 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:1980: \"$ac_link_default\"") >&5 (eval $ac_link_default) 2>&5 ac_status=$? echo "$as_me:1983: \$? = $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:2006: 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:2012: result: $ac_file" >&5echo "${ECHO_T}$ac_file" >&
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -