]> git.sur5r.net Git - openldap/commitdiff
Fix detection of socklen_t
authorJulio Sánchez Fernández <jsanchez@openldap.org>
Wed, 14 Jul 1999 11:13:32 +0000 (11:13 +0000)
committerJulio Sánchez Fernández <jsanchez@openldap.org>
Wed, 14 Jul 1999 11:13:32 +0000 (11:13 +0000)
Rebuild configure to reflect that

build/openldap.m4
configure

index 3a3e7ab7f72e9341a0c8797832099298aa163911..e04cebc9d58a6d9fa6880e2f12b2c5cb93846555 100644 (file)
@@ -752,7 +752,7 @@ AC_DEFUN(OL_TYPE_SOCKLEN_T,
 #ifdef HAVE_SYS_TYPES_H
 #include <sys/types.h>
 #endif
-#ifdef HAVE_SYS_SOCKET
+#ifdef HAVE_SYS_SOCKET_H
 #include <sys/socket.h>
 #endif
 ], [socklen_t len;],
index 1d189f68c1193df006197c4ee118d34fac34ec22..a717772a0cbaca0aab3c7e23f48790e0f19e140e 100755 (executable)
--- a/configure
+++ b/configure
@@ -2627,7 +2627,7 @@ $libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \
 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
 
 
-for ac_prog in mawk gawk nawk awk
+for ac_prog in gawk mawk nawk awk
 do
 # Extract the first word of "$ac_prog", so it can be a program name with args.
 set dummy $ac_prog; ac_word=$2
@@ -10797,7 +10797,7 @@ else
 #ifdef HAVE_SYS_TYPES_H
 #include <sys/types.h>
 #endif
-#ifdef HAVE_SYS_SOCKET
+#ifdef HAVE_SYS_SOCKET_H
 #include <sys/socket.h>
 #endif