- Timestamp:
- 08/10/04 16:47:01 (18 years ago)
- Branches:
- 4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
- Children:
- 8ba625e
- Parents:
- 97eadcc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
configure
r7957e84 r60fc8aa 418 418 PACKAGE_BUGREPORT= 419 419 420 ac_unique_file="lib/trace.c" 420 421 ac_unique_file="lib/trace.c" 421 422 # Factoring default headers for most tests. … … 1697 1698 1698 1699 1699 ac_config_headers="$ac_config_headers config.h" 1700 1701 1702 1703 1704 ac_config_headers="$ac_config_headers lib/config.h" 1700 1705 1701 1706 ac_ext=c … … 4147 4152 *-*-irix6*) 4148 4153 # Find out which ABI we are using. 4149 echo '#line 41 49"configure"' > conftest.$ac_ext4154 echo '#line 4154 "configure"' > conftest.$ac_ext 4150 4155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4151 4156 (eval $ac_compile) 2>&5 … … 4683 4688 CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" 4684 4689 compiler_c_o=no 4685 if { (eval echo configure:46 85: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then4690 if { (eval echo configure:4690: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then 4686 4691 # The compiler can only warn and ignore the option if not recognized 4687 4692 # So say no if there are warnings … … 6481 6486 lt_status=$lt_dlunknown 6482 6487 cat > conftest.$ac_ext <<EOF 6483 #line 648 3"configure"6488 #line 6488 "configure" 6484 6489 #include "confdefs.h" 6485 6490 … … 6579 6584 lt_status=$lt_dlunknown 6580 6585 cat > conftest.$ac_ext <<EOF 6581 #line 658 1"configure"6586 #line 6586 "configure" 6582 6587 #include "confdefs.h" 6583 6588 … … 7305 7310 7306 7311 7312 AC_GNU_SOURCE 7313 7307 7314 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 7308 7315 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 … … 7448 7455 7449 7456 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 for ac_header in errno.h stdlib.h stdio.h assert.h string.h netinet/in.h assert.h errno.h fcntl.h net/ethernet.h netdb.h pcap.h stdio.h stdlib.h string.h sys/stat.h sys/types.h sys/socket.h sys/un.h unistd.h time.h sys/ioctl.h net/bpf.h pcap.h zlib.h pcap-bpf.h 7457 for ac_header in pcap.h zlib.h pcap-bpf.h net/bpf.h 7473 7458 do 7474 7459 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` … … 7832 7817 esac 7833 7818 7819 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 7820 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 7821 if test "${ac_cv_c_bigendian+set}" = set; then 7822 echo $ECHO_N "(cached) $ECHO_C" >&6 7823 else 7824 # See if sys/param.h defines the BYTE_ORDER macro. 7825 cat >conftest.$ac_ext <<_ACEOF 7826 #line $LINENO "configure" 7827 #include "confdefs.h" 7828 #include <sys/types.h> 7829 #include <sys/param.h> 7830 7831 #ifdef F77_DUMMY_MAIN 7832 # ifdef __cplusplus 7833 extern "C" 7834 # endif 7835 int F77_DUMMY_MAIN() { return 1; } 7836 #endif 7837 int 7838 main () 7839 { 7840 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN 7841 bogus endian macros 7842 #endif 7843 7844 ; 7845 return 0; 7846 } 7847 _ACEOF 7848 rm -f conftest.$ac_objext 7849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7850 (eval $ac_compile) 2>&5 7851 ac_status=$? 7852 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7853 (exit $ac_status); } && 7854 { ac_try='test -s conftest.$ac_objext' 7855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7856 (eval $ac_try) 2>&5 7857 ac_status=$? 7858 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7859 (exit $ac_status); }; }; then 7860 # It does; now see whether it defined to BIG_ENDIAN or not. 7861 cat >conftest.$ac_ext <<_ACEOF 7862 #line $LINENO "configure" 7863 #include "confdefs.h" 7864 #include <sys/types.h> 7865 #include <sys/param.h> 7866 7867 #ifdef F77_DUMMY_MAIN 7868 # ifdef __cplusplus 7869 extern "C" 7870 # endif 7871 int F77_DUMMY_MAIN() { return 1; } 7872 #endif 7873 int 7874 main () 7875 { 7876 #if BYTE_ORDER != BIG_ENDIAN 7877 not big endian 7878 #endif 7879 7880 ; 7881 return 0; 7882 } 7883 _ACEOF 7884 rm -f conftest.$ac_objext 7885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7886 (eval $ac_compile) 2>&5 7887 ac_status=$? 7888 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7889 (exit $ac_status); } && 7890 { ac_try='test -s conftest.$ac_objext' 7891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7892 (eval $ac_try) 2>&5 7893 ac_status=$? 7894 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7895 (exit $ac_status); }; }; then 7896 ac_cv_c_bigendian=yes 7897 else 7898 echo "$as_me: failed program was:" >&5 7899 cat conftest.$ac_ext >&5 7900 ac_cv_c_bigendian=no 7901 fi 7902 rm -f conftest.$ac_objext conftest.$ac_ext 7903 else 7904 echo "$as_me: failed program was:" >&5 7905 cat conftest.$ac_ext >&5 7906 # It does not; compile a test program. 7907 if test "$cross_compiling" = yes; then 7908 # try to guess the endianess by grep'ing values into an object file 7909 ac_cv_c_bigendian=unknown 7910 cat >conftest.$ac_ext <<_ACEOF 7911 #line $LINENO "configure" 7912 #include "confdefs.h" 7913 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 7914 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 7915 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 7916 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 7917 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 7918 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 7919 #ifdef F77_DUMMY_MAIN 7920 # ifdef __cplusplus 7921 extern "C" 7922 # endif 7923 int F77_DUMMY_MAIN() { return 1; } 7924 #endif 7925 int 7926 main () 7927 { 7928 _ascii (); _ebcdic (); 7929 ; 7930 return 0; 7931 } 7932 _ACEOF 7933 rm -f conftest.$ac_objext 7934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7935 (eval $ac_compile) 2>&5 7936 ac_status=$? 7937 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7938 (exit $ac_status); } && 7939 { ac_try='test -s conftest.$ac_objext' 7940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7941 (eval $ac_try) 2>&5 7942 ac_status=$? 7943 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7944 (exit $ac_status); }; }; then 7945 if fgrep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 7946 ac_cv_c_bigendian=yes 7947 fi 7948 if fgrep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 7949 if test "$ac_cv_c_bigendian" = unknown; then 7950 ac_cv_c_bigendian=no 7951 else 7952 # finding both strings is unlikely to happen, but who knows? 7953 ac_cv_c_bigendian=unknown 7954 fi 7955 fi 7956 else 7957 echo "$as_me: failed program was:" >&5 7958 cat conftest.$ac_ext >&5 7959 fi 7960 rm -f conftest.$ac_objext conftest.$ac_ext 7961 else 7962 cat >conftest.$ac_ext <<_ACEOF 7963 #line $LINENO "configure" 7964 #include "confdefs.h" 7965 int 7966 main () 7967 { 7968 /* Are we little or big endian? From Harbison&Steele. */ 7969 union 7970 { 7971 long l; 7972 char c[sizeof (long)]; 7973 } u; 7974 u.l = 1; 7975 exit (u.c[sizeof (long) - 1] == 1); 7976 } 7977 _ACEOF 7978 rm -f conftest$ac_exeext 7979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7980 (eval $ac_link) 2>&5 7981 ac_status=$? 7982 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7983 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7985 (eval $ac_try) 2>&5 7986 ac_status=$? 7987 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7988 (exit $ac_status); }; }; then 7989 ac_cv_c_bigendian=no 7990 else 7991 echo "$as_me: program exited with status $ac_status" >&5 7992 echo "$as_me: failed program was:" >&5 7993 cat conftest.$ac_ext >&5 7994 ( exit $ac_status ) 7995 ac_cv_c_bigendian=yes 7996 fi 7997 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7998 fi 7999 fi 8000 rm -f conftest.$ac_objext conftest.$ac_ext 8001 fi 8002 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 8003 echo "${ECHO_T}$ac_cv_c_bigendian" >&6 8004 case $ac_cv_c_bigendian in 8005 yes) 8006 8007 cat >>confdefs.h <<\_ACEOF 8008 #define WORDS_BIGENDIAN 1 8009 _ACEOF 8010 ;; 8011 no) 8012 ;; 8013 *) 8014 { { echo "$as_me:$LINENO: error: unknown endianess 8015 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 8016 echo "$as_me: error: unknown endianess 8017 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 8018 { (exit 1); exit 1; }; } ;; 8019 esac 8020 7834 8021 echo "$as_me:$LINENO: checking for size_t" >&5 7835 8022 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 … … 7946 8133 7947 8134 fi 7948 7949 7950 if test $ac_cv_c_compiler_gnu = yes; then7951 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&57952 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&67953 if test "${ac_cv_prog_gcc_traditional+set}" = set; then7954 echo $ECHO_N "(cached) $ECHO_C" >&67955 else7956 ac_pattern="Autoconf.*'x'"7957 cat >conftest.$ac_ext <<_ACEOF7958 #line $LINENO "configure"7959 #include "confdefs.h"7960 #include <sgtty.h>7961 Autoconf TIOCGETP7962 _ACEOF7963 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |7964 egrep "$ac_pattern" >/dev/null 2>&1; then7965 ac_cv_prog_gcc_traditional=yes7966 else7967 ac_cv_prog_gcc_traditional=no7968 fi7969 rm -f conftest*7970 7971 7972 if test $ac_cv_prog_gcc_traditional = no; then7973 cat >conftest.$ac_ext <<_ACEOF7974 #line $LINENO "configure"7975 #include "confdefs.h"7976 #include <termio.h>7977 Autoconf TCGETA7978 _ACEOF7979 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |7980 egrep "$ac_pattern" >/dev/null 2>&1; then7981 ac_cv_prog_gcc_traditional=yes7982 fi7983 rm -f conftest*7984 7985 fi7986 fi7987 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&57988 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&67989 if test $ac_cv_prog_gcc_traditional = yes; then7990 CC="$CC -traditional"7991 fi7992 fi7993 7994 7995 7996 for ac_func in socket strdup7997 do7998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`7999 echo "$as_me:$LINENO: checking for $ac_func" >&58000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&68001 if eval "test \"\${$as_ac_var+set}\" = set"; then8002 echo $ECHO_N "(cached) $ECHO_C" >&68003 else8004 cat >conftest.$ac_ext <<_ACEOF8005 #line $LINENO "configure"8006 #include "confdefs.h"8007 /* System header to define __stub macros and hopefully few prototypes,8008 which can conflict with char $ac_func (); below. */8009 #include <assert.h>8010 /* Override any gcc2 internal prototype to avoid an error. */8011 #ifdef __cplusplus8012 extern "C"8013 #endif8014 /* We use char because int might match the return type of a gcc28015 builtin and then its argument prototype would still apply. */8016 char $ac_func ();8017 char (*f) ();8018 8019 #ifdef F77_DUMMY_MAIN8020 # ifdef __cplusplus8021 extern "C"8022 # endif8023 int F77_DUMMY_MAIN() { return 1; }8024 #endif8025 int8026 main ()8027 {8028 /* The GNU C library defines this for functions which it implements8029 to always fail with ENOSYS. Some functions are actually named8030 something starting with __ and the normal name is an alias. */8031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)8032 choke me8033 #else8034 f = $ac_func;8035 #endif8036 8037 ;8038 return 0;8039 }8040 _ACEOF8041 rm -f conftest.$ac_objext conftest$ac_exeext8042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&58043 (eval $ac_link) 2>&58044 ac_status=$?8045 echo "$as_me:$LINENO: \$? = $ac_status" >&58046 (exit $ac_status); } &&8047 { ac_try='test -s conftest$ac_exeext'8048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&58049 (eval $ac_try) 2>&58050 ac_status=$?8051 echo "$as_me:$LINENO: \$? = $ac_status" >&58052 (exit $ac_status); }; }; then8053 eval "$as_ac_var=yes"8054 else8055 echo "$as_me: failed program was:" >&58056 cat conftest.$ac_ext >&58057 eval "$as_ac_var=no"8058 fi8059 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext8060 fi8061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&58062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&68063 if test `eval echo '${'$as_ac_var'}'` = yes; then8064 cat >>confdefs.h <<_ACEOF8065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 18066 _ACEOF8067 8068 fi8069 done8070 8071 8135 8072 8136 # Check whether --enable-largefile or --disable-largefile was given. … … 8382 8446 rm -f conftest* 8383 8447 fi 8448 8449 8450 if test $ac_cv_c_compiler_gnu = yes; then 8451 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 8452 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6 8453 if test "${ac_cv_prog_gcc_traditional+set}" = set; then 8454 echo $ECHO_N "(cached) $ECHO_C" >&6 8455 else 8456 ac_pattern="Autoconf.*'x'" 8457 cat >conftest.$ac_ext <<_ACEOF 8458 #line $LINENO "configure" 8459 #include "confdefs.h" 8460 #include <sgtty.h> 8461 Autoconf TIOCGETP 8462 _ACEOF 8463 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8464 egrep "$ac_pattern" >/dev/null 2>&1; then 8465 ac_cv_prog_gcc_traditional=yes 8466 else 8467 ac_cv_prog_gcc_traditional=no 8468 fi 8469 rm -f conftest* 8470 8471 8472 if test $ac_cv_prog_gcc_traditional = no; then 8473 cat >conftest.$ac_ext <<_ACEOF 8474 #line $LINENO "configure" 8475 #include "confdefs.h" 8476 #include <termio.h> 8477 Autoconf TCGETA 8478 _ACEOF 8479 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8480 egrep "$ac_pattern" >/dev/null 2>&1; then 8481 ac_cv_prog_gcc_traditional=yes 8482 fi 8483 rm -f conftest* 8484 8485 fi 8486 fi 8487 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 8488 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 8489 if test $ac_cv_prog_gcc_traditional = yes; then 8490 CC="$CC -traditional" 8491 fi 8492 fi 8493 8494 8495 8496 for ac_func in socket strdup 8497 do 8498 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8499 echo "$as_me:$LINENO: checking for $ac_func" >&5 8500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8501 if eval "test \"\${$as_ac_var+set}\" = set"; then 8502 echo $ECHO_N "(cached) $ECHO_C" >&6 8503 else 8504 cat >conftest.$ac_ext <<_ACEOF 8505 #line $LINENO "configure" 8506 #include "confdefs.h" 8507 /* System header to define __stub macros and hopefully few prototypes, 8508 which can conflict with char $ac_func (); below. */ 8509 #include <assert.h> 8510 /* Override any gcc2 internal prototype to avoid an error. */ 8511 #ifdef __cplusplus 8512 extern "C" 8513 #endif 8514 /* We use char because int might match the return type of a gcc2 8515 builtin and then its argument prototype would still apply. */ 8516 char $ac_func (); 8517 char (*f) (); 8518 8519 #ifdef F77_DUMMY_MAIN 8520 # ifdef __cplusplus 8521 extern "C" 8522 # endif 8523 int F77_DUMMY_MAIN() { return 1; } 8524 #endif 8525 int 8526 main () 8527 { 8528 /* The GNU C library defines this for functions which it implements 8529 to always fail with ENOSYS. Some functions are actually named 8530 something starting with __ and the normal name is an alias. */ 8531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 8532 choke me 8533 #else 8534 f = $ac_func; 8535 #endif 8536 8537 ; 8538 return 0; 8539 } 8540 _ACEOF 8541 rm -f conftest.$ac_objext conftest$ac_exeext 8542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8543 (eval $ac_link) 2>&5 8544 ac_status=$? 8545 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8546 (exit $ac_status); } && 8547 { ac_try='test -s conftest$ac_exeext' 8548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8549 (eval $ac_try) 2>&5 8550 ac_status=$? 8551 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8552 (exit $ac_status); }; }; then 8553 eval "$as_ac_var=yes" 8554 else 8555 echo "$as_me: failed program was:" >&5 8556 cat conftest.$ac_ext >&5 8557 eval "$as_ac_var=no" 8558 fi 8559 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8560 fi 8561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 8562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8563 if test `eval echo '${'$as_ac_var'}'` = yes; then 8564 cat >>confdefs.h <<_ACEOF 8565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8566 _ACEOF 8567 8568 fi 8569 done 8570 8571 8384 8572 8385 8573 … … 8959 9147 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; 8960 9148 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; 8961 " config.h" ) CONFIG_HEADERS="$CONFIG_HEADERSconfig.h" ;;9149 "lib/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/config.h" ;; 8962 9150 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 8963 9151 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} … … 9506 9694 rm -f $tmp/config.h 9507 9695 fi 9696 # Run the commands associated with the file. 9697 case $ac_file in 9698 lib/config.h ) # update the timestamp 9699 echo timestamp >"lib/stamp-h1" 9700 ;; 9701 esac 9508 9702 done 9509 9703 _ACEOF
Note: See TracChangeset
for help on using the changeset viewer.