aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-07-13 03:31:40 +0000
committerGuy Harris <guy@alum.mit.edu>1999-07-13 03:31:40 +0000
commit8369394c079da21a2c8196f376f0e82a0bf045ba (patch)
treea79ca80908dd3f73096cd3ebec7657b047d9ad6f
parent57e49071ef1da141b01312163bd9afeaddcb4c2f (diff)
Look for <sys/socket.h>, not <sys/socket>.
svn path=/trunk/; revision=361
-rw-r--r--config.h.in4
-rwxr-xr-xconfigure2
-rw-r--r--configure.in4
3 files changed, 5 insertions, 5 deletions
diff --git a/config.h.in b/config.h.in
index 69c2caf570..308ae6edca 100644
--- a/config.h.in
+++ b/config.h.in
@@ -36,8 +36,8 @@
/* Define if you have the <sys/ioctl.h> header file. */
#undef HAVE_SYS_IOCTL_H
-/* Define if you have the <sys/socket> header file. */
-#undef HAVE_SYS_SOCKET
+/* Define if you have the <sys/socket.h> header file. */
+#undef HAVE_SYS_SOCKET_H
/* Define if you have the <sys/sockio.h> header file. */
#undef HAVE_SYS_SOCKIO_H
diff --git a/configure b/configure
index 7a1739d18c..915db56b89 100755
--- a/configure
+++ b/configure
@@ -1945,7 +1945,7 @@ else
fi
done
-for ac_hdr in sys/sockio.h sys/types.h netinet/in.h sys/socket net/if.h
+for ac_hdr in sys/sockio.h sys/types.h netinet/in.h sys/socket.h net/if.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
diff --git a/configure.in b/configure.in
index 805cd36b81..a22fad95ac 100644
--- a/configure.in
+++ b/configure.in
@@ -1,4 +1,4 @@
-# $Id: configure.in,v 1.30 1999/07/13 02:52:48 gram Exp $
+# $Id: configure.in,v 1.31 1999/07/13 03:31:39 guy Exp $
dnl Process this file with autoconf to produce a configure script.
AC_INIT(etypes.h)
@@ -80,7 +80,7 @@ fi
dnl Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS(fcntl.h sys/ioctl.h sys/time.h unistd.h stdarg.h netdb.h)
-AC_CHECK_HEADERS(sys/sockio.h sys/types.h netinet/in.h sys/socket net/if.h)
+AC_CHECK_HEADERS(sys/sockio.h sys/types.h netinet/in.h sys/socket.h net/if.h)
dnl SNMP Check
AC_ARG_ENABLE(snmp,