From: Kurt Zeilenga Date: Mon, 25 Sep 2000 01:21:20 +0000 (+0000) Subject: Fix macro spelling X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1904 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0828a93cdf9dc87e05e4820434e92597ac6df758;p=openldap Fix macro spelling --- diff --git a/configure b/configure index 2fc9c5fa1a..a092065965 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh # $OpenLDAP$ -# from OpenLDAP: pkg/ldap/configure.in,v 1.336 2000/09/24 23:15:14 kurt Exp +# from OpenLDAP: pkg/ldap/configure.in,v 1.337 2000/09/24 23:17:23 kurt Exp # Copyright 1998-2000 The OpenLDAP Foundation. All Rights Reserved. # @@ -5768,7 +5768,7 @@ if test $ac_cv_func_getaddrinfo = no ; then else echo $ac_n "checking INET6_ADDRSTRLEN""... $ac_c" 1>&6 echo "configure:5771: checking INET6_ADDRSTRLEN" >&5 -if eval "test \"\${ol_cv_inet6_addrslen+set}\" = set"; then +if eval "test \"\${ol_cv_inet6_addrstrlen+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -5777,26 +5777,26 @@ else #include "confdefs.h" # include -# ifdef INET6_ADDRSLEN - __has_inet6_addrslen__; +# ifdef INET6_ADDRSTRLEN + __has_inet6_addrstrlen__; # endif EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "__has_inet6_addrslen__" >/dev/null 2>&1; then + egrep "__has_inet6_addrstrlen__" >/dev/null 2>&1; then rm -rf conftest* - ol_cv_inet6_addrslen=yes + ol_cv_inet6_addrstrlen=yes else rm -rf conftest* - ol_cv_inet6_addrslen=no + ol_cv_inet6_addrstrlen=no fi rm -f conftest* fi -echo "$ac_t""$ol_cv_inet6_addrslen" 1>&6 +echo "$ac_t""$ol_cv_inet6_addrstrlen" 1>&6 - if test $ol_cv_inet6_addrslen = yes ; then + if test $ol_cv_inet6_addrstrlen = yes ; then ol_link_ipv6=yes elif test $ol_enable_ipv6 = yes ; then { echo "configure: error: IPv6 support requires INET6_ADDRSTRLEN" 1>&2; exit 1; } diff --git a/configure.in b/configure.in index 2e7e41c574..689d2fdd17 100644 --- a/configure.in +++ b/configure.in @@ -819,15 +819,15 @@ if test $ac_cv_func_getaddrinfo = no ; then AC_MSG_ERROR([IPv6 support requires getaddrinfo()]) fi else - AC_CACHE_CHECK([INET6_ADDRSTRLEN],[ol_cv_inet6_addrslen],[ - AC_EGREP_CPP(__has_inet6_addrslen__,[ + AC_CACHE_CHECK([INET6_ADDRSTRLEN],[ol_cv_inet6_addrstrlen],[ + AC_EGREP_CPP(__has_inet6_addrstrlen__,[ # include -# ifdef INET6_ADDRSLEN - __has_inet6_addrslen__; +# ifdef INET6_ADDRSTRLEN + __has_inet6_addrstrlen__; # endif - ], [ol_cv_inet6_addrslen=yes], [ol_cv_inet6_addrslen=no])]) + ], [ol_cv_inet6_addrstrlen=yes], [ol_cv_inet6_addrstrlen=no])]) - if test $ol_cv_inet6_addrslen = yes ; then + if test $ol_cv_inet6_addrstrlen = yes ; then ol_link_ipv6=yes elif test $ol_enable_ipv6 = yes ; then AC_MSG_ERROR([IPv6 support requires INET6_ADDRSTRLEN])