krb5 commit [krb5-1.20]: Fix aclocal.m4 syntax error for autoconf 2.72

[email protected] Tue, 11 Jul 2023 18:56:15 -0400 (EDT)
Newsgroups gmane.comp.encryption.kerberos.cvs
Message-ID <[email protected]>
https://github.com/krb5/krb5/commit/d1e41ca5c0e36b6ac4e6e9aa89099b0af876d447
commit d1e41ca5c0e36b6ac4e6e9aa89099b0af876d447
Author: Julien Rische <[email protected]>
Date:   Thu Nov 17 15:01:24 2022 +0100

    Fix aclocal.m4 syntax error for autoconf 2.72
    
    An incorrect closure inside KRB5_AC_INET6 is innocuous with autoconf
    versions up to 2.71, but will cause an error at configure time with
    the forthcoming autoconf 2.72.
    
    [[email protected]: added more context to commit message]
    
    (cherry picked from commit d864d740d019fdf2c640460f2aa2760c7fa4d5e9)
    
    ticket: 9077
    version_fixed: 1.20.2

 src/aclocal.m4 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/aclocal.m4 b/src/aclocal.m4
index 9920476f9..3d66a876b 100644
--- a/src/aclocal.m4
+++ b/src/aclocal.m4
@@ -409,8 +409,8 @@ else
       [[struct sockaddr_in6 in;
         AF_INET6;
         IN6_IS_ADDR_LINKLOCAL(&in.sin6_addr);]])],
-    [krb5_cv_inet6=yes], [krb5_cv_inet6=no])])
-fi
+    [krb5_cv_inet6=yes], [krb5_cv_inet6=no])
+fi])
 AC_MSG_RESULT($krb5_cv_inet6)
 if test "$krb5_cv_inet6" = no && test "$ac_cv_func_inet_ntop" = yes; then
 AC_MSG_CHECKING(for IPv6 compile-time support with -DINET6)