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

📄 configure

📁 该软件根据网络数据生成NetFlow记录。NetFlow可用于网络规划、负载均衡、安全监控等
💻
📖 第 1 页 / 共 5 页
字号:
else  ac_cv_prog_cc_g=nofirm -f conftest*fiecho "$ac_t""$ac_cv_prog_cc_g" 1>&6  if test "$ac_test_CFLAGS" = set; then    CFLAGS="$ac_save_CFLAGS"  elif test $ac_cv_prog_cc_g = yes; then    CFLAGS="-g -O2"  else    CFLAGS="-O2"  fielse  GCC=  test "${CFLAGS+set}" = set || CFLAGS="-g"fi    if test "$GCC" = yes ; then	    if test "$SHLICC2" = yes ; then		    ac_cv_lbl_gcc_vers=2		    V_CCOPT="-O2"	    else		    echo $ac_n "checking gcc version""... $ac_c" 1>&6echo "configure:884: checking gcc version" >&5		    if eval "test \"`echo '$''{'ac_cv_lbl_gcc_vers'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  ac_cv_lbl_gcc_vers=`$CC -v 2>&1 | \			    sed -e '/^gcc version /!d' \				-e 's/^gcc version //' \				-e 's/ .*//' -e 's/^[^0-9]*//' \				-e 's/\..*//'`fi		    echo "$ac_t""$ac_cv_lbl_gcc_vers" 1>&6		    if test $ac_cv_lbl_gcc_vers -gt 1 ; then			    V_CCOPT="-O2"		    fi	    fi    else	    echo $ac_n "checking that $CC handles ansi prototypes""... $ac_c" 1>&6echo "configure:902: checking that $CC handles ansi prototypes" >&5	    if eval "test \"`echo '$''{'ac_cv_lbl_cc_ansi_prototypes'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 907 "configure"#include "confdefs.h"#include <sys/types.h>int main() {int frob(int, char *); return 0; }EOFif { (eval echo configure:914: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -rf conftest*  ac_cv_lbl_cc_ansi_prototypes=yeselse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  ac_cv_lbl_cc_ansi_prototypes=nofirm -f conftest*fi	    echo "$ac_t""$ac_cv_lbl_cc_ansi_prototypes" 1>&6	    if test $ac_cv_lbl_cc_ansi_prototypes = no ; then		    case "$target_os" in		    hpux*)			    echo $ac_n "checking for HP-UX ansi compiler ($CC -Aa -D_HPUX_SOURCE)""... $ac_c" 1>&6echo "configure:932: checking for HP-UX ansi compiler ($CC -Aa -D_HPUX_SOURCE)" >&5			    savedcflags="$CFLAGS"			    CFLAGS="-Aa -D_HPUX_SOURCE $CFLAGS"			    if eval "test \"`echo '$''{'ac_cv_lbl_cc_hpux_cc_aa'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 939 "configure"#include "confdefs.h"#include <sys/types.h>int main() {int frob(int, char *); return 0; }EOFif { (eval echo configure:946: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -rf conftest*  ac_cv_lbl_cc_hpux_cc_aa=yeselse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  ac_cv_lbl_cc_hpux_cc_aa=nofirm -f conftest*fi			    echo "$ac_t""$ac_cv_lbl_cc_hpux_cc_aa" 1>&6			    if test $ac_cv_lbl_cc_hpux_cc_aa = no ; then				    { echo "configure: error: see the INSTALL doc for more info" 1>&2; exit 1; }			    fi			    CFLAGS="$savedcflags"			    V_CCOPT="-Aa $V_CCOPT"			    cat >> confdefs.h <<\EOF#define _HPUX_SOURCE 1EOF			    ;;		    *)			    { echo "configure: error: see the INSTALL doc for more info" 1>&2; exit 1; }			    ;;		    esac	    fi	    V_INCLS="$V_INCLS -I/usr/local/include"	    LDFLAGS="$LDFLAGS -L/usr/local/lib"	    case "$target_os" in	    irix*)		    V_CCOPT="$V_CCOPT -xansi -signed -g3"		    ;;	    osf*)		    V_CCOPT="$V_CCOPT -std1 -g3"		    ;;	    ultrix*)		    echo $ac_n "checking that Ultrix $CC hacks const in prototypes""... $ac_c" 1>&6echo "configure:990: checking that Ultrix $CC hacks const in prototypes" >&5		    if eval "test \"`echo '$''{'ac_cv_lbl_cc_const_proto'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 995 "configure"#include "confdefs.h"#include <sys/types.h>int main() {struct a { int b; };			    void c(const struct a *); return 0; }EOFif { (eval echo configure:1003: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -rf conftest*  ac_cv_lbl_cc_const_proto=yeselse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  ac_cv_lbl_cc_const_proto=nofirm -f conftest*fi		    echo "$ac_t""$ac_cv_lbl_cc_const_proto" 1>&6		    if test $ac_cv_lbl_cc_const_proto = no ; then			    cat >> confdefs.h <<\EOF#define const EOF		    fi		    ;;	    esac    fiecho $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6echo "configure:1028: checking how to run the C preprocessor" >&5# On Suns, sometimes $CPP names a directory.if test -n "$CPP" && test -d "$CPP"; then  CPP=fiif test -z "$CPP"; thenif eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else    # This must be in double quotes, not single quotes, because CPP may get  # substituted into the Makefile and "${CC-cc}" will confuse make.  CPP="${CC-cc} -E"  # On the NeXT, cc -E runs the code through the compiler's parser,  # not just through cpp.  cat > conftest.$ac_ext <<EOF#line 1043 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1049: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }ac_err=`grep -v '^ *+' conftest.out`if test -z "$ac_err"; then  :else  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  CPP="${CC-cc} -E -traditional-cpp"  cat > conftest.$ac_ext <<EOF#line 1060 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1066: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }ac_err=`grep -v '^ *+' conftest.out`if test -z "$ac_err"; then  :else  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  CPP=/lib/cppfirm -f conftest*firm -f conftest*  ac_cv_prog_CPP="$CPP"fi  CPP="$ac_cv_prog_CPP"else  ac_cv_prog_CPP="$CPP"fiecho "$ac_t""$CPP" 1>&6for ac_hdr in malloc.h sys/ioccom.h sys/sockio.hdoac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6echo "configure:1092: checking for $ac_hdr" >&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 1097 "configure"#include "confdefs.h"#include <$ac_hdr>EOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1102: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }ac_err=`grep -v '^ *+' conftest.out`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    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`  cat >> confdefs.h <<EOF#define $ac_tr_hdr 1EOF else  echo "$ac_t""no" 1>&6fidoneif test "$GCC" = yes ; then	    echo $ac_n "checking for ANSI ioctl definitions""... $ac_c" 1>&6echo "configure:1131: checking for ANSI ioctl definitions" >&5	    if eval "test \"`echo '$''{'ac_cv_lbl_gcc_fixincludes'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1136 "configure"#include "confdefs.h"/*		     * This generates a "duplicate case value" when fixincludes		     * has not be run.		     */#		include <sys/types.h>#		include <sys/time.h>#		include <sys/ioctl.h>#		ifdef HAVE_SYS_IOCCOM_H#		include <sys/ioccom.h>#		endifint main() {switch (0) {		    case _IO('A', 1):;		    case _IO('B', 1):;		    }; return 0; }EOFif { (eval echo configure:1155: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -rf conftest*  ac_cv_lbl_gcc_fixincludes=yeselse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  ac_cv_lbl_gcc_fixincludes=nofirm -f conftest*fi	    echo "$ac_t""$ac_cv_lbl_gcc_fixincludes" 1>&6	    if test $ac_cv_lbl_gcc_fixincludes = no ; then		    # Don't cache failure		    unset ac_cv_lbl_gcc_fixincludes		    { echo "configure: error: see the INSTALL for more info" 1>&2; exit 1; }	    fi    fifor ac_func in ether_hostton strerrordoecho $ac_n "checking for $ac_func""... $ac_c" 1>&6echo "configure:1178: 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 1183 "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:1206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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 1EOF else  echo "$ac_t""no" 1>&6fidone# Check whether --with-pcap or --without-pcap was given.if test "${with_pcap+set}" = set; then  withval="$with_pcap"  :fiecho $ac_n "checking packet capture type""... $ac_c" 1>&6echo "configure:1238: checking packet capture type" >&5if test ! -z "$with_pcap" ; then	V_PCAP="$withval"elif test -r /dev/bpf0 ; then	V_PCAP=bpfelif test -r /usr/include/net/pfilt.h ; then	V_PCAP=pfelif test -r /dev/enet ; then	V_PCAP=enetelif test -r /dev/nit ; then	V_PCAP=snitelif test -r /usr/include/sys/net/nit.h ; then	V_PCAP=nitelif test -r /usr/include/net/raw.h ; then	V_PCAP=snoopelif test -r /usr/include/sys/dlpi.h ; then	V_PCAP=dlpielif test -r /usr/include/linux/socket.h ; then	V_PCAP=linuxelif test -c /dev/bpf0 ; then		# check again in case not readable	V_PCAP=bpfelif test -c /dev/enet ; then		# check again in case not readable	V_PCAP=enetelif test -c /dev/nit ; then		# check again in case not readable	V_PCAP=snitelse	V_PCAP=nullfiecho "$ac_t""$V_PCAP" 1>&6case "$V_PCAP" indlpi)	for ac_hdr in sys/bufmod.h sys/dlpi_ext.hdoac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6echo "configure:1275: checking for $ac_hdr" >&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 1280 "configure"#include "confdefs.h"#include <$ac_hdr>EOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1285: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }

⌨️ 快捷键说明

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