krb5 commit [krb5-1.17]: Fix compatibility with upcoming autoconf 2.70

Greg Hudson <[email protected]>
Newsgroups gmane.comp.encryption.kerberos.cvs
Message-ID <[email protected]>
https://github.com/krb5/krb5/commit/55a832497485bf82e1a4ae1093296b55a8ba63c3
commit 55a832497485bf82e1a4ae1093296b55a8ba63c3
Author: Sergei Trofimovich <[email protected]>
Date:   Fri Nov 6 08:14:57 2020 +0000

    Fix compatibility with upcoming autoconf 2.70
    
    Mainline autoconf generates no shell code for AC_CONFIG_AUX_DIR().
    Call it unconditionally to avoid a syntax error.
    
    [[email protected]: rewrote commit message]
    
    (cherry picked from commit f78edbe30816f049e1360cb6e203fabfdf7b98df)
    
    ticket: 8960
    version_fixed: 1.17.2

 src/aclocal.m4 |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/src/aclocal.m4 b/src/aclocal.m4
index 3752d9b..406a577 100644
--- a/src/aclocal.m4
+++ b/src/aclocal.m4
@@ -13,11 +13,7 @@ fi
 ac_topdir=$srcdir/$ac_reltopdir
 ac_config_fragdir=$ac_reltopdir/config
 # echo "Looking for $srcdir/$ac_config_fragdir"
-if test -d "$srcdir/$ac_config_fragdir"; then
-  AC_CONFIG_AUX_DIR(K5_TOPDIR/config)
-else
-  AC_MSG_ERROR([can not find config/ directory in $ac_reltopdir])
-fi
+AC_CONFIG_AUX_DIR(K5_TOPDIR/config)
 ])dnl
 dnl
 dnl Version info.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.