]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Fix aclocal.m4 syntax error for autoconf 2.72 1272/head
authorJulien Rische <jrische@redhat.com>
Thu, 17 Nov 2022 14:01:24 +0000 (15:01 +0100)
committerGreg Hudson <ghudson@mit.edu>
Fri, 18 Nov 2022 16:31:19 +0000 (11:31 -0500)
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.

[ghudson@mit.edu: added more context to commit message]

ticket: 9077 (new)
tags: pullup
target_version: 1.20-next
target_version: 1.19-next

src/aclocal.m4

index 9920476f919671fb910f735a88b42b0b8e09ea2c..3d66a876b37df6183a83641fdd6b593012b947d4 100644 (file)
@@ -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)