configure
来自「wu-ftpd类unix下的ftp服务器,可用于嵌入式系统」· 代码 · 共 2,010 行 · 第 1/5 页
TXT
2,010 行
#endif ; return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:1616: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:1619: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:1622: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:1625: \$? = $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:1637: 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:1643: 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 1649 "configure"#include "confdefs.h"intmain (){ ; return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:1661: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:1664: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:1667: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:1670: \$? = $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:1680: 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:1707: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:1710: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:1713: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:1716: \$? = $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 1728 "configure"#include "confdefs.h"#include <stdlib.h>$ac_declarationintmain (){exit (42); ; return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:1741: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:1744: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:1747: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:1750: \$? = $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 1760 "configure"#include "confdefs.h"$ac_declarationintmain (){exit (42); ; return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:1772: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:1775: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:1778: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:1781: \$? = $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_gnuecho "$as_me:1808: checking for POSIXized ISC" >&5echo $ECHO_N "checking for POSIXized ISC... $ECHO_C" >&6if test -d /etc/conf/kconfig.d && grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1then echo "$as_me:1813: result: yes" >&5echo "${ECHO_T}yes" >&6 ISC=yes # If later tests want to check for ISC.cat >>confdefs.h <<\EOF#define _POSIX_SOURCE 1EOF if test "$GCC" = yes; then CC="$CC -posix" else CC="$CC -Xp" fielse echo "$as_me:1827: result: no" >&5echo "${ECHO_T}no" >&6 ISC=fiif test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.set dummy ${ac_tool_prefix}ranlib; ac_word=$2echo "$as_me:1835: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_RANLIB+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # 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_RANLIB="${ac_tool_prefix}ranlib"echo "$as_me:1850: found $ac_dir/$ac_word" >&5breakdonefifiRANLIB=$ac_cv_prog_RANLIBif test -n "$RANLIB"; then echo "$as_me:1858: result: $RANLIB" >&5echo "${ECHO_T}$RANLIB" >&6else echo "$as_me:1861: result: no" >&5echo "${ECHO_T}no" >&6fifiif test -z "$ac_cv_prog_RANLIB"; then ac_ct_RANLIB=$RANLIB # Extract the first word of "ranlib", so it can be a program name with args.set dummy ranlib; ac_word=$2echo "$as_me:1870: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test -n "$ac_ct_RANLIB"; then ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # 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_RANLIB="ranlib"echo "$as_me:1885: found $ac_dir/$ac_word" >&5breakdone test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"fifiac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIBif test -n "$ac_ct_RANLIB"; then echo "$as_me:1894: result: $ac_ct_RANLIB" >&5echo "${ECHO_T}$ac_ct_RANLIB" >&6else echo "$as_me:1897: result: no" >&5echo "${ECHO_T}no" >&6fi RANLIB=$ac_ct_RANLIBelse RANLIB="$ac_cv_prog_RANLIB"fifor ac_prog in 'bison -y' byaccdo # 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:1910: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_YACC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test -n "$YACC"; then ac_cv_prog_YACC="$YACC" # 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_YACC="$ac_prog"echo "$as_me:1925: found $ac_dir/$ac_word" >&5breakdonefifiYACC=$ac_cv_prog_YACCif test -n "$YACC"; then echo "$as_me:1933: result: $YACC" >&5echo "${ECHO_T}$YACC" >&6else echo "$as_me:1936: result: no" >&5echo "${ECHO_T}no" >&6fi test -n "$YACC" && breakdonetest -n "$YACC" || YACC="yacc"# 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:1956: 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:2005: 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
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?