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

📄 configure

📁 一个UNIX/LINUX下的基于内容的过滤服务器源代码
💻
📖 第 1 页 / 共 5 页
字号:
; return 0; }EOFif { (eval echo configure:2150: \"$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  nlist_lib="-ldl"else  echo "$ac_t""no" 1>&6echo $ac_n "checking for nlist in -lelf""... $ac_c" 1>&6echo "configure:2169: checking for nlist in -lelf" >&5ac_lib_var=`echo elf'_'nlist | 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="-lelf  $LIBS"cat > conftest.$ac_ext <<EOF#line 2177 "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 nlist();int main() {nlist(); return 0; }EOFif { (eval echo configure:2188: \"$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  nlist_lib="-lelf"else  echo "$ac_t""no" 1>&6fifififor ac_func in strlcat strlcpydoecho $ac_n "checking for $ac_func""... $ac_c" 1>&6echo "configure:2219: checking for $ac_func" >&5if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 2224 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes,    which can conflict with char $ac_func(); 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 $ac_func();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_$ac_func) || defined (__stub___$ac_func)choke me#else$ac_func();#endif; return 0; }EOFif { (eval echo configure:2247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  eval "ac_cv_func_$ac_func=yes"else  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 1EOFelse  echo "$ac_t""no" 1>&6fidonefor ac_func in daemondoecho $ac_n "checking for $ac_func""... $ac_c" 1>&6echo "configure:2274: checking for $ac_func" >&5if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 2279 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes,    which can conflict with char $ac_func(); 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 $ac_func();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_$ac_func) || defined (__stub___$ac_func)choke me#else$ac_func();#endif; return 0; }EOFif { (eval echo configure:2302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  eval "ac_cv_func_$ac_func=yes"else  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 1EOFelse  echo "$ac_t""no" 1>&6fidoneac_safe=`echo "libelf/nlist.h" | sed 'y%./+-%__p_%'`echo $ac_n "checking for libelf/nlist.h""... $ac_c" 1>&6echo "configure:2329: checking for libelf/nlist.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 2334 "configure"#include "confdefs.h"#include <libelf/nlist.h>EOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:2339: \"$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   nlist_h="libelf/nlist.h"else  echo "$ac_t""no" 1>&6fiac_safe=`echo "elf/nlist.h" | sed 'y%./+-%__p_%'`echo $ac_n "checking for elf/nlist.h""... $ac_c" 1>&6echo "configure:2362: checking for elf/nlist.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 2367 "configure"#include "confdefs.h"#include <elf/nlist.h>EOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:2372: \"$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   nlist_h="elf/nlist.h"else  echo "$ac_t""no" 1>&6fiac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'`echo $ac_n "checking for nlist.h""... $ac_c" 1>&6echo "configure:2395: checking for nlist.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 2400 "configure"#include "confdefs.h"#include <nlist.h>EOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:2405: \"$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   nlist_h="nlist.h"else  echo "$ac_t""no" 1>&6fiecho $ac_n "checking for extra underscores prepended to symbol names""... $ac_c" 1>&6echo "configure:2430: checking for extra underscores prepended to symbol names" >&5if eval "test \"`echo '$''{'symbol_underscores'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6fi# Check whether --enable-poll or --disable-poll was given.if test "${enable_poll+set}" = set; then  enableval="$enable_poll"  case "$enableval" in  yes)    echo "Forcing poll() to be enabled"    ac_cv_func_poll='yes'    ;;  no)    echo "Forcing poll() to be disabled"    ac_cv_func_poll='no'    ;;  esacfi# Check whether --enable-select or --disable-select was given.if test "${enable_select+set}" = set; then  enableval="$enable_select"  case "$enableval" in  yes)    echo "Forcing select() to be enabled"    ac_cv_func_select='yes'    ;;  no)    echo "Forcing select() to be disabled"    ac_cv_func_select='no'    ;;  esacfi# Check whether --enable-kqueue or --disable-kqueue was given.if test "${enable_kqueue+set}" = set; then  enableval="$enable_kqueue"  case "$enableval" in  yes)    echo "Forcing kqueue() to be enabled"    ac_cv_func_kqueue='yes'    ;;  no)    echo "Forcing kqueue() to be disabled"    ac_cv_func_kqueue='no'  ;;esacfi# Check whether --enable-devpoll or --disable-devpoll was given.if test "${enable_devpoll+set}" = set; then  enableval="$enable_devpoll"  case "$enableval" in  yes)    echo "Forcing devpoll to be enabled"    ac_cv_func_devpoll='yes'    ;;  no)    echo "Forcing devpoll to be disabled"    ac_cv_func_devpoll='no'  ;;esacfiif test $ac_cv_prog_gcc = yes; then    echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6echo "configure:2577: checking whether ${CC-cc} needs -traditional" >&5if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else    ac_pattern="Autoconf.*'x'"  cat > conftest.$ac_ext <<EOF#line 2583 "configure"#include "confdefs.h"#include <sgtty.h>Autoconf TIOCGETPEOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  egrep "$ac_pattern" >/dev/null 2>&1; then  rm -rf conftest*  ac_cv_prog_gcc_traditional=yeselse  rm -rf conftest*  ac_cv_prog_gcc_traditional=nofirm -f conftest*  if test $ac_cv_prog_gcc_traditional = no; then    cat > conftest.$ac_ext <<EOF#line 2601 "configure"#include "confdefs.h"#include <termio.h>Autoconf TCGETAEOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  egrep "$ac_pattern" >/dev/null 2>&1; then  rm -rf conftest*  ac_cv_prog_gcc_traditional=yesfirm -f conftest*  fifiecho "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6  if test $ac_cv_prog_gcc_traditional = yes; then    CC="$CC -traditional"  fifiecho $ac_n "checking for how to include files in Makefile""... $ac_c" 1>&6echo "configure:2673: checking for how to include files in Makefile" >&5echo $ac_n "checking for u_int32_t""... $ac_c" 1>&6echo "configure:2694: checking for u_int32_t" >&5if eval "test \"`echo '$''{'ac_cv_type_u_int32_t'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 2699 "configure"#include "confdefs.h"#include <sys/types.h>#if STDC_HEADERS#include <stdlib.h>#include <stddef.h>#endifEOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  egrep "(^|[^a-zA-Z_0-9])u_int32_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then  rm -rf conftest*  ac_cv_type_u_int32_t=yeselse  rm -rf conftest*  ac_cv_type_u_int32_t=nofirm -f conftest*fiecho "$ac_t""$ac_cv_type_u_int32_t" 1>&6if test $ac_cv_type_u_int32_t = no; then  cat >> confdefs.h <<\EOF#define u_int32_t unsigned longEOFfirm -f conftest conftest.fecho $ac_n "checking for poll""... $ac_c" 1>&6echo "configure:2729: checking for poll" >&5if eval "test \"`echo '$''{'ac_cv_func_poll'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 2734 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes,    which can conflict with char poll(); 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 poll();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_poll) || defined (__stub___poll)choke me#elsepoll();#endif; return 0; }EOFi

⌨️ 快捷键说明

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