📄 configure.bak
字号:
echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_$ac_func=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` cat >> confdefs.h <<EOF#define $ac_tr_func 1EOF else echo "$ac_t""no" 1>&6fidone# fmod, logb, and frexp are found in -lm on most systems.# On HPUX 9.01, -lm does not contain logb, so check for sqrt.echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6echo "configure:1798: checking for sqrt in -lm" >&5ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'`if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else ac_save_LIBS="$LIBS"LIBS="-lm $LIBS"cat > conftest.$ac_ext <<EOF#line 1806 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error. *//* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char sqrt();int main() {sqrt(); return 0; }EOFif { (eval echo configure:1817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes"else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no"firm -f conftest*LIBS="$ac_save_LIBS"fiif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` cat >> confdefs.h <<EOF#define $ac_tr_lib 1EOF LIBS="-lm $LIBS"else echo "$ac_t""no" 1>&6fiecho $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6echo "configure:1749: checking for dlopen in -ldl" >&5ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else ac_save_LIBS="$LIBS"LIBS="-ldl $LIBS"INDEXLIBS="-ldl $INDEXLIBS"cat > conftest.$ac_ext <<EOF#line 1757 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error. *//* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char dlopen();int main() {dlopen(); return 0; }EOFif { (eval echo configure:1768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes"else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no"firm -f conftest*LIBS="$ac_save_LIBS"fiif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_lib=HAVE_LIB`echo dl | sed -e 's/[^a-zA-Z0-9_]/_/g' \ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` cat >> confdefs.h <<EOF#define $ac_tr_lib 1EOF LIBS="-ldl $LIBS" INDEXLIBS="-ldl $INDEXLIBS"else echo "$ac_t""no" 1>&6fi#AC_CHECK_LIB(resolv, gethostbyname)#AC_CHECK_LIB(nsl, gethostname, [LIBS="$LIBS -lnsl"])#AC_CHECK_LIB(socket, setsockopt, [LIBS="$LIBS -lsocket"])#Contribution by: Larry Schwimmer schwim@cyclone.stanford.eduecho $ac_n "checking for connect""... $ac_c" 1>&6echo "configure:1849: checking for connect" >&5if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 1854 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes, which can conflict with char connect(); below. */#include <assert.h>/* Override any gcc2 internal prototype to avoid an error. *//* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char connect();int main() {/* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */#if defined (__stub_connect) || defined (__stub___connect)choke me#elseconnect();#endif; return 0; }EOFif { (eval echo configure:1877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_connect=yes"else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_connect=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then echo "$ac_t""yes" 1>&6 :else echo "$ac_t""no" 1>&6ac_check_socket=1fiif test "$ac_check_socket" = 1; then echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6echo "configure:1899: checking for main in -lsocket" >&5ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'`if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else ac_save_LIBS="$LIBS"LIBS="-lsocket $LIBS"cat > conftest.$ac_ext <<EOF#line 1907 "configure"#include "confdefs.h"int main() {main(); return 0; }EOFif { (eval echo configure:1914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes"else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no"firm -f conftest*LIBS="$ac_save_LIBS"fiif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 LIBS="$LIBS -lsocket"else echo "$ac_t""no" 1>&6ac_check_both=1fifiif test "$ac_check_both" = 1; then ac_old_libs=$LIBS LIBS="$LIBS -lsocket -lnsl" echo $ac_n "checking for accept""... $ac_c" 1>&6echo "configure:1940: checking for accept" >&5if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 1945 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes, which can conflict with char accept(); below. */#include <assert.h>/* Override any gcc2 internal prototype to avoid an error. *//* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char accept();int main() {/* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */#if defined (__stub_accept) || defined (__stub___accept)choke me#elseaccept();#endif; return 0; }EOFif { (eval echo configure:1968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_accept=yes"else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_accept=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_func_'accept`\" = yes"; then echo "$ac_t""yes" 1>&6 checknsl=0else echo "$ac_t""no" 1>&6LIBS=$ac_old_libsfifiecho $ac_n "checking for gethostbyname""... $ac_c" 1>&6echo "configure:1990: checking for gethostbyname" >&5if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 1995 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes, which can conflict with char gethostbyname(); below. */#include <assert.h>/* Override any gcc2 internal prototype to avoid an error. *//* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char gethostbyname();int main() {/* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)choke me#elsegethostbyname();#endif; return 0; }EOFif { (eval echo configure:2018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_gethostbyname=yes"else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_gethostbyname=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then echo "$ac_t""yes" 1>&6 :else echo "$ac_t""no" 1>&6echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6echo "configure:2036: checking for main in -lnsl" >&5ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else ac_save_LIBS="$LIBS"LIBS="-lnsl $LIBS"cat > conftest.$ac_ext <<EOF#line 2044 "configure"#include "confdefs.h"int main() {main(); return 0; }EOFif { (eval echo configure:2051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes"else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no"firm -f conftest*LIBS="$ac_save_LIBS"fiif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 LIBS="$LIBS -lnsl"else echo "$ac_t""no" 1>&6fifi# Check whether --enable-structured-queries or --disable-structured-queries was given.if test "${enable_structured_queries+set}" = set; then enableval="$enable_structured_queries" cat >> confdefs.h <<\EOF#define STRUCTURED_QUERIES 1EOF TARGET=Sallelse cat >> confdefs.h <<\EOF#define STRUCTURED_QUERIES 0EOF TARGET=NOTSallfi# Check whether --enable-iso-charset or --disable-iso-charset was given.if test "${enable_iso_charset+set}" = set; then enableval="$enable_iso_charset" cat >> confdefs.h <<\EOF#define ISO_CHAR_SET 1EOFelse cat >> confdefs.h <<\EOF#define ISO_CHAR_SET 0EOFfi# Set FILE_END_MARK according to config choiceecho "#define FILE_END_MARK '$file_end_mark'" >> confdefs.hecho >> confdefs.h# Check whether --enable-sfs-compat or --disable-sfs-compat was given.if test "${enable_sfs_compat+set}" = set; then enableval="$enable_sfs_compat" cat >> confdefs.h <<\EOF#define SFS_COMPAT 1EOFelse cat >> confdefs.h <<\EOF#define SFS_COMPAT 0EOFfi# Check whether --enable-pointer or --disable-pointer was given.if test "${enable_pointer+set}" = set; then enableval="$enable_pointer" :else cat >> confdefs.h <<\EOF#define AGREP_POINTER 1EOFfi# Check whether --enable-measure-times or --disable-measure-times was given.if test "${enable_measure_times+set}" = set; then enableval="$enable_measure_times" cat >> confdefs.h <<\EOF#define MEASURE_TIMES 1EOFfi# Check whether --enable-warnings or --disable-warnings was given.if test "${enable_warnings+set}" = set; then enableval="$enable_warnings" CFLAGS="$CFLAGS -Wall"fi# Check whether --enable-strip or --disable-strip was given.if test "${enable_strip+set}" = set; then enableval="$enable_strip" :else STRIP=""fitrap '' 1 2 15cat > confcache <<\EOF# This file is a shell script that caches the results of configure# tests run on this system so they can be shared between configure# scripts and confi
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -