⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 configure

📁 larbin是一种开源的网络爬虫/网络蜘蛛
💻
📖 第 1 页 / 共 4 页
字号:
  cat > conftest.$ac_ext <<EOF#line 1036 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes,    which can conflict with char socket(); 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 socket();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_socket) || defined (__stub___socket)choke me#elsesocket();#endif; return 0; }EOFif { (eval echo configure:1059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  eval "ac_cv_func_socket=yes"else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  eval "ac_cv_func_socket=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then  echo "$ac_t""yes" 1>&6  :else  echo "$ac_t""no" 1>&6  echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6echo "configure:1078: checking for socket in -lsocket" >&5ac_lib_var=`echo socket'_'socket | 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 1086 "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 socket();int main() {socket(); return 0; }EOFif { (eval echo configure:1097: \"$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 socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`  cat >> confdefs.h <<EOF#define $ac_tr_lib 1EOF  LIBS="-lsocket $LIBS"else  echo "$ac_t""no" 1>&6    { echo "configure: error: cannot find library function socket" 1>&2; exit 1; }  fi fi echo $ac_n "checking for inet_ntoa""... $ac_c" 1>&6echo "configure:1133: checking for inet_ntoa" >&5if eval "test \"`echo '$''{'ac_cv_func_inet_ntoa'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1138 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes,    which can conflict with char inet_ntoa(); 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 inet_ntoa();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_inet_ntoa) || defined (__stub___inet_ntoa)choke me#elseinet_ntoa();#endif; return 0; }EOFif { (eval echo configure:1161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  eval "ac_cv_func_inet_ntoa=yes"else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  eval "ac_cv_func_inet_ntoa=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_func_'inet_ntoa`\" = yes"; then  echo "$ac_t""yes" 1>&6  :else  echo "$ac_t""no" 1>&6  echo $ac_n "checking for inet_ntoa in -lnsl""... $ac_c" 1>&6echo "configure:1180: checking for inet_ntoa in -lnsl" >&5ac_lib_var=`echo nsl'_'inet_ntoa | 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 1188 "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 inet_ntoa();int main() {inet_ntoa(); return 0; }EOFif { (eval echo configure:1199: \"$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 nsl | sed -e 's/[^a-zA-Z0-9_]/_/g' \    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`  cat >> confdefs.h <<EOF#define $ac_tr_lib 1EOF  LIBS="-lnsl $LIBS"else  echo "$ac_t""no" 1>&6    { echo "configure: error: cannot find library function inet_ntoa" 1>&2; exit 1; }  fi fiPROGS_IF_TSEARCH=adnsresfilterecho $ac_n "checking for tsearch""... $ac_c" 1>&6echo "configure:1237: checking for tsearch" >&5if eval "test \"`echo '$''{'ac_cv_func_tsearch'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1242 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes,    which can conflict with char tsearch(); 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 tsearch();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_tsearch) || defined (__stub___tsearch)choke me#elsetsearch();#endif; return 0; }EOFif { (eval echo configure:1265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  eval "ac_cv_func_tsearch=yes"else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  eval "ac_cv_func_tsearch=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_func_'tsearch`\" = yes"; then  echo "$ac_t""yes" 1>&6   PROGS_HAVE_TSEARCH=$PROGS_IF_TSEARCHelse  echo "$ac_t""no" 1>&6 PROGS_HAVE_TSEARCH=''; echo "configure: warning: tsearch missing - not building client program(s) $PROGS_IF_TSEARCH" 1>&2fiecho $ac_n "checking for INADDR_LOOPBACK""... $ac_c" 1>&6echo "configure:1292: checking for INADDR_LOOPBACK" >&5if eval "test \"`echo '$''{'adns_cv_decl_inaddrloopback'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else   cat > conftest.$ac_ext <<EOF#line 1298 "configure"#include "confdefs.h"#include <sys/socket.h>#include <netinet/in.h>#include <arpa/inet.h> int main() {  INADDR_LOOPBACK; ; return 0; }EOFif { (eval echo configure:1311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -rf conftest*  adns_cv_decl_inaddrloopback=yeselse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  adns_cv_decl_inaddrloopback=nofirm -f conftest*fiif test "$adns_cv_decl_inaddrloopback" = yes; then echo "$ac_t""found" 1>&6else echo "$ac_t""not in standard headers, urgh..." 1>&6 ac_safe=`echo "rpc/types.h" | sed 'y%./+-%__p_%'`echo $ac_n "checking for rpc/types.h""... $ac_c" 1>&6echo "configure:1329: checking for rpc/types.h" >&5if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1334 "configure"#include "confdefs.h"#include <rpc/types.h>EOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1339: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`if test -z "$ac_err"; then  rm -rf conftest*  eval "ac_cv_header_$ac_safe=yes"else  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  eval "ac_cv_header_$ac_safe=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then  echo "$ac_t""yes" 1>&6    cat >> confdefs.h <<\EOF#define HAVEUSE_RPCTYPES_H 1EOF else  echo "$ac_t""no" 1>&6  { echo "configure: error: cannot find INADDR_LOOPBACK or rpc/types.h" 1>&2; exit 1; } fifi echo $ac_n "checking for inet_aton""... $ac_c" 1>&6echo "configure:1372: checking for inet_aton" >&5if eval "test \"`echo '$''{'ac_cv_func_inet_aton'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1377 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes,    which can conflict with char inet_aton(); 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 inet_aton();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_inet_aton) || defined (__stub___inet_aton)choke me#elseinet_aton();#endif; return 0; }EOFif { (eval echo configure:1400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  eval "ac_cv_func_inet_aton=yes"else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  eval "ac_cv_func_inet_aton=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_func_'inet_aton`\" = yes"; then  echo "$ac_t""yes" 1>&6  :else  echo "$ac_t""no" 1>&6  echo $ac_n "checking for inet_aton in -lresolv""... $ac_c" 1>&6echo "configure:1419: checking for inet_aton in -lresolv" >&5ac_lib_var=`echo resolv'_'inet_aton | 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="-lresolv  $LIBS"cat > conftest.$ac_ext <<EOF#line 1427 "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 inet_aton();int main() {inet_aton(); return 0; }EOFif { (eval echo configure:1438: \"$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="-lresolv $LIBS"; echo "configure: warning: inet_aton is in libresolv, urgh.  Must use -lresolv." 1>&2else  echo "$ac_t""no" 1>&6    { echo "configure: error: cannot find library function inet_aton" 1>&2; exit 1; }  fi fi echo $ac_n "checking inlines""... $ac_c" 1>&6echo "configure:1471: checking inlines" >&5 if eval "test \"`echo '$''{'dpkg_cv_c_inline'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else    cat > conftest.$ac_ext <<EOF#line 1477 "configure"#include "confdefs.h"int main() {} inline int foo (int x) {; return 0; }EOFif { (eval echo configure:1484: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -rf conftest*  dpkg_cv_c_inline=yeselse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  dpkg_cv_c_inline=nofirm -f conftest* fi if test "x$dpkg_cv_c_inline" = xyes; then  true  echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF#define HAVE_INLINE 1EOF else  true  echo "$ac_t""no" 1>&6 fi  echo $ac_n "checking __attribute__((,,))""... $ac_c" 1>&6echo "configure:1513: checking __attribute__((,,))" >&5 if eval "test \"`echo '$''{'adns_cv_c_attribute_supported'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else    cat > conftest.$ac_ext <<EOF#line 1519 "configure"#include "confdefs.h"int main() {extern int testfunction(int x) __attribute__((,,)); return 0; }EOFif { (eval echo configure:1526: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -rf conftest*  adns_cv_c_attribute_supported=yeselse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  adns_cv_c_attribute_supported=nofirm -f conftest* fi if test "x$adns_cv_c_attribute_supported" = xyes; then  true  echo "$ac_t""yes" 1>&6  cat >> confdefs.h <<\EOF#define HAVE_GNUC25_ATTRIB 1EOF   

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -