diff --git a/configure b/configure index 832ce157c2..d85b11427b 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh # $OpenLDAP$ -# from OpenLDAP: pkg/ldap/configure.in,v 1.333 2000/09/19 19:11:09 kurt Exp +# from OpenLDAP: pkg/ldap/configure.in,v 1.334 2000/09/24 23:11:48 kurt Exp # Copyright 1998-2000 The OpenLDAP Foundation. All Rights Reserved. # @@ -5798,7 +5798,7 @@ echo "$ac_t""$ol_cv_inet6_addrslen" 1>&6 if test $ol_cv_inet6_addrslen = yes ; then ol_link_ipv6=yes - else if $ol_enable_ipv6 = yes ; then + elif $ol_enable_ipv6 = yes ; then { echo "configure: error: IPv6 support requires INET6_ADDRSTRLEN" 1>&2; exit 1; } fi fi diff --git a/configure.in b/configure.in index 886549761e..57fb2c47df 100644 --- a/configure.in +++ b/configure.in @@ -829,7 +829,7 @@ else if test $ol_cv_inet6_addrslen = yes ; then ol_link_ipv6=yes - else if $ol_enable_ipv6 = yes ; then + elif $ol_enable_ipv6 = yes ; then AC_MSG_ERROR([IPv6 support requires INET6_ADDRSTRLEN]) fi fi