diff options
author | Guy Harris <guy@alum.mit.edu> | 1998-11-15 05:40:23 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1998-11-15 05:40:23 +0000 |
commit | a2fe97acd2ac655bb7163f1b2feb41298f4d1058 (patch) | |
tree | 4436b1e50b0cc93e209b5e24096fa7b3e6c8f3a7 /configure | |
parent | 86bf1fc851b5564f5700a937de3213e8354aa52e (diff) |
Back out some changes accidentally commited by the previous checkin - I
forgot that CVS, unlike Perforce, doesn't let you edit the list of files
it gives you in the editor and cause those files *not* to be committed,
it requires you to specify the files to be committed if you only want
some files committed.
svn path=/trunk/; revision=92
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 70 |
1 files changed, 18 insertions, 52 deletions
@@ -1694,54 +1694,20 @@ done # AC_C_CONST -# We need to know whether "struct sockaddr" has an "sa_len" member -# for get_interface_list(). - -echo $ac_n "checking for sa_len in struct sockaddr""... $ac_c" 1>&6 -echo "configure:1702: checking for sa_len in struct sockaddr" >&5 -if eval "test \"`echo '$''{'ac_cv_ethereal_struct_sa_len'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <<EOF -#line 1707 "configure" -#include "confdefs.h" -#include <sys/types.h> -#include <sys/socket.h> -int main() { -struct sockaddr s; s.sa_len; -; return 0; } -EOF -if { (eval echo configure:1715: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_ethereal_struct_sa_len=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_ethereal_struct_sa_len=no -fi -rm -f conftest* -fi - -echo "$ac_t""$ac_cv_ethereal_struct_sa_len" 1>&6 -if test $ac_cv_ethereal_struct_sa_len = yes; then - cat >> confdefs.h <<\EOF -#define HAVE_SA_LEN 1 -EOF - -fi +# We need libpcap's AC_LBL_SOCKADDR_SA_LEN test for get_interface_list(). +AC_LBL_SOCKADDR_SA_LEN # We must know our byte order echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 -echo "configure:1738: checking whether byte ordering is bigendian" >&5 +echo "configure:1704: checking whether byte ordering is bigendian" >&5 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_cv_c_bigendian=unknown # See if sys/param.h defines the BYTE_ORDER macro. cat > conftest.$ac_ext <<EOF -#line 1745 "configure" +#line 1711 "configure" #include "confdefs.h" #include <sys/types.h> #include <sys/param.h> @@ -1752,11 +1718,11 @@ int main() { #endif ; return 0; } EOF -if { (eval echo configure:1756: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* # It does; now see whether it defined to BIG_ENDIAN or not. cat > conftest.$ac_ext <<EOF -#line 1760 "configure" +#line 1726 "configure" #include "confdefs.h" #include <sys/types.h> #include <sys/param.h> @@ -1767,7 +1733,7 @@ int main() { #endif ; return 0; } EOF -if { (eval echo configure:1771: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1737: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_bigendian=yes else @@ -1787,7 +1753,7 @@ if test "$cross_compiling" = yes; then { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext <<EOF -#line 1791 "configure" +#line 1757 "configure" #include "confdefs.h" main () { /* Are we little or big endian? From Harbison&Steele. */ @@ -1800,7 +1766,7 @@ main () { exit (u.c[sizeof (long) - 1] == 1); } EOF -if { (eval echo configure:1804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:1770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then ac_cv_c_bigendian=no else @@ -1826,13 +1792,13 @@ fi if test $ac_cv_prog_gcc = yes; then echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 -echo "configure:1830: checking whether ${CC-cc} needs -traditional" >&5 +echo "configure:1796: checking whether ${CC-cc} needs -traditional" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_pattern="Autoconf.*'x'" cat > conftest.$ac_ext <<EOF -#line 1836 "configure" +#line 1802 "configure" #include "confdefs.h" #include <sgtty.h> Autoconf TIOCGETP @@ -1850,7 +1816,7 @@ rm -f conftest* if test $ac_cv_prog_gcc_traditional = no; then cat > conftest.$ac_ext <<EOF -#line 1854 "configure" +#line 1820 "configure" #include "confdefs.h" #include <termio.h> Autoconf TCGETA @@ -1872,12 +1838,12 @@ echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6 fi echo $ac_n "checking for socket""... $ac_c" 1>&6 -echo "configure:1876: checking for socket" >&5 +echo "configure:1842: checking for socket" >&5 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 1881 "configure" +#line 1847 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char socket(); below. */ @@ -1900,7 +1866,7 @@ socket(); ; return 0; } EOF -if { (eval echo configure:1904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_socket=yes" else @@ -1926,12 +1892,12 @@ fi SNPRINTF_C="" SNPRINTF_O="" echo $ac_n "checking for snprintf""... $ac_c" 1>&6 -echo "configure:1930: checking for snprintf" >&5 +echo "configure:1896: checking for snprintf" >&5 if eval "test \"`echo '$''{'ac_cv_func_snprintf'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 1935 "configure" +#line 1901 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char snprintf(); below. */ @@ -1954,7 +1920,7 @@ snprintf(); ; return 0; } EOF -if { (eval echo configure:1958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_snprintf=yes" else |