From: Julio Sánchez Fernández Date: Wed, 14 Jul 1999 11:13:32 +0000 (+0000) Subject: Fix detection of socklen_t X-Git-Tag: OPENLDAP_REL_ENG_2_BP~141 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=184a966329a3595df042a4cf740434c5d08320ef;p=openldap Fix detection of socklen_t Rebuild configure to reflect that --- diff --git a/build/openldap.m4 b/build/openldap.m4 index 3a3e7ab7f7..e04cebc9d5 100644 --- a/build/openldap.m4 +++ b/build/openldap.m4 @@ -752,7 +752,7 @@ AC_DEFUN(OL_TYPE_SOCKLEN_T, #ifdef HAVE_SYS_TYPES_H #include #endif -#ifdef HAVE_SYS_SOCKET +#ifdef HAVE_SYS_SOCKET_H #include #endif ], [socklen_t len;], diff --git a/configure b/configure index 1d189f68c1..a717772a0c 100755 --- 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 #endif -#ifdef HAVE_SYS_SOCKET +#ifdef HAVE_SYS_SOCKET_H #include #endif