autofs-5.1.8 - restore gcc flags after autoconf Kerberos 5 check From: Thomas Reim Heavily modified LIBS and CFLAGS harm succeeding configure checks Signed-off-by: Thomas Reim Signed-off-by: Ian Kent --- CHANGELOG | 1 + aclocal.m4 | 3 +++ 2 files changed, 4 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index 5bb47099..68365e86 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -29,6 +29,7 @@ - handle innetgr() not present in musl. - fix missing unlock in sasl_do_kinit_ext_cc(). - fix a couple of null cache locking problems. +- restore gcc flags after autoconf Kerberos 5 check. 19/10/2021 autofs-5.1.8 - add xdr_exports(). diff --git a/aclocal.m4 b/aclocal.m4 index 33561aae..c671b5b0 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -296,6 +296,9 @@ else LIBS="$LIBS $KRB5_LIBS" AC_CHECK_FUNCS([krb5_principal_get_realm]) + + CFLAGS="$SAVE_CFLAGS" + LIBS="$SAVE_LIBS" fi]) dnl --------------------------------------------------------------------------