On 9/8/22 19:56, ThomasReim wrote:
From: Thomas Reim <reimth@xxxxxxxxx>
Heavily modified LIBS and CFLAGS harm succeeding configure checks
Looks good.
I'll add a Reviewed-by when I add it to my patch queue.
Ian
Signed-off-by: Thomas Reim <reimth@xxxxxxxxx>
---
aclocal.m4 | 3 +++
1 file changed, 3 insertions(+)
diff --git a/aclocal.m4 b/aclocal.m4
index 33561aa..c671b5b 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 --------------------------------------------------------------------------