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

📄 configure

📁 Windump3.6.2源代码
💻
📖 第 1 页 / 共 5 页
字号:
else  GCC=fiac_test_CFLAGS="${CFLAGS+set}"ac_save_CFLAGS="$CFLAGS"CFLAGS=echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6echo "configure:958: checking whether ${CC-cc} accepts -g" >&5if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  echo 'void f(){}' > conftest.cif test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then  ac_cv_prog_cc_g=yeselse  ac_cv_prog_cc_g=nofirm -f conftest*fiecho "$ac_t""$ac_cv_prog_cc_g" 1>&6if test "$ac_test_CFLAGS" = set; then  CFLAGS="$ac_save_CFLAGS"elif test $ac_cv_prog_cc_g = yes; then  if test "$GCC" = yes; then    CFLAGS="-g -O2"  else    CFLAGS="-g"  fielse  if test "$GCC" = yes; then    CFLAGS="-O2"  else    CFLAGS=  fifi    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:995: 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:1013: 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 1018 "configure"#include "confdefs.h"#include <sys/types.h>int main() {int frob(int, char *); return 0; }EOFif { (eval echo configure:1025: \"$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:1043: 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 1050 "configure"#include "confdefs.h"#include <sys/types.h>int main() {int frob(int, char *); return 0; }EOFif { (eval echo configure:1057: \"$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:1101: 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 1106 "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:1114: \"$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 for inline""... $ac_c" 1>&6echo "configure:1138: checking for inline" >&5if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  ac_cv_c_inline=nofor ac_kw in inline __inline__ __inline; do  cat > conftest.$ac_ext <<EOF#line 1145 "configure"#include "confdefs.h"int main() {} $ac_kw foo() {; return 0; }EOFif { (eval echo configure:1152: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -rf conftest*  ac_cv_c_inline=$ac_kw; breakelse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5firm -f conftest*donefiecho "$ac_t""$ac_cv_c_inline" 1>&6case "$ac_cv_c_inline" in  inline | yes) ;;  no) cat >> confdefs.h <<\EOF#define inline EOF ;;  *)  cat >> confdefs.h <<EOF#define inline $ac_cv_c_inlineEOF ;;esacecho $ac_n "checking for __attribute__""... $ac_c" 1>&6echo "configure:1179: checking for __attribute__" >&5if eval "test \"`echo '$''{'ac_cv___attribute__'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1185 "configure"#include "confdefs.h"#include <stdlib.h>int main() {static void foo(void) __attribute__ ((noreturn));static voidfoo(void){  exit(1);}; return 0; }EOFif { (eval echo configure:1202: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -rf conftest*  ac_cv___attribute__=yeselse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  ac_cv___attribute__=nofirm -f conftest*fiif test "$ac_cv___attribute__" = "yes"; then  cat >> confdefs.h <<\EOF#define HAVE___ATTRIBUTE__ 1EOFfiecho "$ac_t""$ac_cv___attribute__" 1>&6echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6echo "configure:1224: 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 1239 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1245: \"$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  :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 1256 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1262: \"$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  :else  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  CPP="${CC-cc} -nologo -E"  cat > conftest.$ac_ext <<EOF#line 1273 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1279: \"$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  :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*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 rpc/rpcent.h netinet/if_ether.hdoac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6echo "configure:1307: 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 1312 "configure"#include "confdefs.h"#include <$ac_hdr>EOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1317: \"$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    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:1344: 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 1349 "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:1358: \"$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:1383: checking Linux kernel version" >&5 	if test "$cross_compiling" = yes; then 		if eval "test \"`echo '$''{'ac_cv_linux_vers'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  ac_cv_linux_vers=unknownfi 	else 		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 	fi	echo "$ac_t""$ac_cv_linux_vers" 1>&6 	if test $ac_cv_linux_vers = unknown ; then 		{ echo "configure: error: cannot determine linux version when cross-compiling" 1>&2; exit 1; } 	fi	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	;;*)	;;esacfor ac_hdr in smi.hdoac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6echo "configure:1418: 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 1423 "configure"

⌨️ 快捷键说明

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