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

📄 configure

📁 该软件根据网络数据生成NetFlow记录。NetFlow可用于网络规划、负载均衡、安全监控等
💻
📖 第 1 页 / 共 5 页
字号:
		    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:896: 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 901 "configure"#include "confdefs.h"#include <sys/types.h>int main() {int frob(int, char *); return 0; }EOFif { (eval echo configure:908: \"$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:926: 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 933 "configure"#include "confdefs.h"#include <sys/types.h>int main() {int frob(int, char *); return 0; }EOFif { (eval echo configure:940: \"$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:984: 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 989 "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:997: \"$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:1022: 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 1037 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1043: \"$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 1054 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1060: \"$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 fcntl.h malloc.h memory.h rpc/rpcent.hdoac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6echo "configure:1086: 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 1091 "configure"#include "confdefs.h"#include <$ac_hdr>EOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1096: \"$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>&6fidoneecho $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6echo "configure:1123: checking whether time.h and sys/time.h may both be included" >&5if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1128 "configure"#include "confdefs.h"#include <sys/types.h>#include <sys/time.h>#include <time.h>int main() {struct tm *tp;; return 0; }EOFif { (eval echo configure:1137: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -rf conftest*  ac_cv_header_time=yeselse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  ac_cv_header_time=nofirm -f conftest*fiecho "$ac_t""$ac_cv_header_time" 1>&6if test $ac_cv_header_time = yes; then  cat >> confdefs.h <<\EOF#define TIME_WITH_SYS_TIME 1EOFficase "$target_os" inlinux*)	echo $ac_n "checking Linux kernel version""... $ac_c" 1>&6echo "configure:1162: checking Linux kernel version" >&5	if eval "test \"`echo '$''{'ac_cv_linux_vers'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  ac_cv_linux_vers=`uname -r 2>&1 | \		sed -n -e '$s/.* //' -e '$s/\..*//p'`fi	echo "$ac_t""$ac_cv_linux_vers" 1>&6	if test $ac_cv_linux_vers -lt 2 ; then		{ echo "configure: error: version 2 or higher required; see the INSTALL doc for more info" 1>&2; exit 1; }	fi	cat >> confdefs.h <<\EOF#define HAVE_NET_SLIP_H 1EOF	;;*)	for ac_hdr in net/slip.hdoac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6echo "configure:1185: 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 1190 "configure"#include "confdefs.h"#include <$ac_hdr>EOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1195: \"$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>&6fidone	;;esacfor ac_func in vfprintf strcasecmpdoecho $ac_n "checking for $ac_func""... $ac_c" 1>&6echo "configure:1227: 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 1232 "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:1255: \"$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>&6LIBOBJS="$LIBOBJS ${ac_func}.o"fidonefor ac_func in ether_ntoa setlinebufdoecho $ac_n "checking for $ac_func""... $ac_c" 1>&6echo "configure:1284: 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 1289 "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:1312: \"$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>&6fi

⌨️ 快捷键说明

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