?? configure
字號:
(eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:1699: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:1702: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:1705: \$? = $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_extdoneecho '#ifdef __cplusplus' >>confdefs.hecho $ac_declaration >>confdefs.hecho '#endif' >>confdefs.helse 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_gnu# Find a good install program. We prefer a C program (faster),# so one script is as good as another. But avoid the broken or# incompatible versions:# SysV /etc/install, /usr/sbin/install# SunOS /usr/etc/install# IRIX /sbin/install# AIX /bin/install# AmigaOS /C/install, which installs bootblocks on floppy discs# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag# AFS /usr/afsws/bin/install, which mishandles nonexistent args# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"# ./install, which can be erroneously created by make from ./install.sh.echo "$as_me:1741: checking for a BSD compatible install" >&5echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6if test -z "$INSTALL"; thenif test "${ac_cv_path_install+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else ac_save_IFS=$IFS; IFS=$ac_path_separator for ac_dir in $PATH; do IFS=$ac_save_IFS # Account for people who put trailing slashes in PATH elements. case $ac_dir/ in / | ./ | .// | /cC/* \ | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \ | /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do if $as_executable_p "$ac_dir/$ac_prog"; then if test $ac_prog = install && grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else ac_cv_path_install="$ac_dir/$ac_prog -c" break 2 fi fi done ;; esac donefi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. We don't cache a # path for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the path is relative. INSTALL=$ac_install_sh fifiecho "$as_me:1790: result: $INSTALL" >&5echo "${ECHO_T}$INSTALL" >&6# Use test -z because SunOS4 sh mishandles braces in ${var-val}.# It thinks the first close brace ends the variable substitution.test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'for ac_prog in flex lexdo # 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:1805: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_LEX+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test -n "$LEX"; then ac_cv_prog_LEX="$LEX" # 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_LEX="$ac_prog"echo "$as_me:1820: found $ac_dir/$ac_word" >&5breakdonefifiLEX=$ac_cv_prog_LEXif test -n "$LEX"; then echo "$as_me:1828: result: $LEX" >&5echo "${ECHO_T}$LEX" >&6else echo "$as_me:1831: result: no" >&5echo "${ECHO_T}no" >&6fi test -n "$LEX" && breakdonetest -n "$LEX" || LEX=":"if test -z "$LEXLIB"then echo "$as_me:1841: checking for yywrap in -lfl" >&5echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6if test "${ac_cv_lib_fl_yywrap+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else ac_check_lib_save_LIBS=$LIBSLIBS="-lfl $LIBS"cat >conftest.$ac_ext <<_ACEOF#line 1849 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char yywrap ();intmain (){yywrap (); ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:1868: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:1871: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:1874: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:1877: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_fl_yywrap=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_lib_fl_yywrap=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho "$as_me:1888: result: $ac_cv_lib_fl_yywrap" >&5echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6if test $ac_cv_lib_fl_yywrap = yes; then LEXLIB="-lfl"else echo "$as_me:1893: checking for yywrap in -ll" >&5echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6if test "${ac_cv_lib_l_yywrap+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else ac_check_lib_save_LIBS=$LIBSLIBS="-ll $LIBS"cat >conftest.$ac_ext <<_ACEOF#line 1901 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char yywrap ();intmain (){yywrap (); ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:1920: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:1923: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:1926: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:1929: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_l_yywrap=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_lib_l_yywrap=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho "$as_me:1940: result: $ac_cv_lib_l_yywrap" >&5echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6if test $ac_cv_lib_l_yywrap = yes; then LEXLIB="-ll"fififiif test "x$LEX" != "x:"; then echo "$as_me:1951: checking lex output file root" >&5echo $ECHO_N "checking lex output file root... $ECHO_C" >&6if test "${ac_cv_prog_lex_root+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else # The minimal lex program is just a single line: %%. But some broken lexes# (Solaris, I think it was) want two %% lines, so accommodate them.echo '%%%%' | $LEXif test -f lex.yy.c; then ac_cv_prog_lex_root=lex.yyelif test -f lexyy.c; then ac_cv_prog_lex_root=lexyyelse { { echo "$as_me:1965: error: cannot find output from $LEX; giving up" >&5echo "$as_me: error: cannot find output from $LEX; giving up" >&2;} { (exit 1); exit 1; }; }fifiecho "$as_me:1970: result: $ac_cv_prog_lex_root" >&5echo "${ECHO_T}$ac_cv_prog_lex_root" >&6LEX_OUTPUT_ROOT=$ac_cv_prog_lex_rootecho "$as_me:1974: checking whether yytext is a pointer" >&5echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else # POSIX says lex can declare yytext either as a pointer or an array; the# default is implementation-dependent. Figure out which it is, since# not all implementations provide the %pointer and %array declarations.ac_cv_prog_lex_yytext_pointer=noecho 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.cac_save_LIBS=$LIBSLIBS="$LIBS $LEXLIB"cat >conftest.$ac_ext <<_ACEOF`cat $LEX_OUTPUT_ROOT.c`_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:1990: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:1993: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:1996: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:1999: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_lex_yytext_pointer=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5firm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extLIBS=$ac_save_LIBSrm -f "${LEX_OUTPUT_ROOT}.c"fiecho "$as_me:2011: result: $ac_cv_prog_lex_yytext_pointer" >&5echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6if test $ac_cv_prog_lex_yytext_pointer = yes; thencat >>confdefs.h <<\EOF#define YYTEXT_POINTER 1EOFfifi# May be required for libgd on bsdac_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:2029: 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 # break 2 since there is a loop in there. 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 2051 "configure"#include "confdefs.h"#include <assert.h> Syntax error_ACEOFif { (eval echo "$as_me:2056: \"$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:2062: \$? = $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 2085 "configure"#include "confdefs.h"#include <ac_nonexistent.h>_ACEOFif { (eval echo "$as_me:2089: \"$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:2095: \$? = $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
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -