Patrick Williams | 8e7b46e | 2023-05-01 14:19:06 -0500 | [diff] [blame^] | 1 | From 0aa127afa52fd265a4f1bbded1623201390ae96a Mon Sep 17 00:00:00 2001 |
| 2 | From: Julien Rische <jrische@redhat.com> |
| 3 | Date: Thu, 17 Nov 2022 15:01:24 +0100 |
| 4 | Subject: [PATCH] Fix aclocal.m4 syntax error for autoconf 2.72 |
| 5 | |
| 6 | An incorrect closure inside KRB5_AC_INET6 is innocuous with autoconf |
| 7 | versions up to 2.71, but will cause an error at configure time with |
| 8 | the forthcoming autoconf 2.72. |
| 9 | |
| 10 | [ghudson@mit.edu: added more context to commit message] |
| 11 | |
| 12 | ticket: 9077 (new) |
| 13 | tags: pullup |
| 14 | target_version: 1.20-next |
| 15 | target_version: 1.19-next |
| 16 | |
| 17 | Upstream-Status: Backport [https://github.com/krb5/krb5/commit/d864d740d019fdf2c640460f2aa2760c7fa4d5e9] |
| 18 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 19 | --- |
| 20 | src/aclocal.m4 | 4 ++-- |
| 21 | 1 file changed, 2 insertions(+), 2 deletions(-) |
| 22 | |
| 23 | diff --git a/src/aclocal.m4 b/src/aclocal.m4 |
| 24 | index 9920476..3d66a87 100644 |
| 25 | --- a/src/aclocal.m4 |
| 26 | +++ b/src/aclocal.m4 |
| 27 | @@ -409,8 +409,8 @@ else |
| 28 | [[struct sockaddr_in6 in; |
| 29 | AF_INET6; |
| 30 | IN6_IS_ADDR_LINKLOCAL(&in.sin6_addr);]])], |
| 31 | - [krb5_cv_inet6=yes], [krb5_cv_inet6=no])]) |
| 32 | -fi |
| 33 | + [krb5_cv_inet6=yes], [krb5_cv_inet6=no]) |
| 34 | +fi]) |
| 35 | AC_MSG_RESULT($krb5_cv_inet6) |
| 36 | if test "$krb5_cv_inet6" = no && test "$ac_cv_func_inet_ntop" = yes; then |
| 37 | AC_MSG_CHECKING(for IPv6 compile-time support with -DINET6) |
| 38 | -- |
| 39 | 2.40.0 |
| 40 | |