Re: [PATCH 1/4] autofs-5.1.8 - restore gcc flags after autoconf Kerberos 5 check

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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 --------------------------------------------------------------------------



[Index of Archives]     [Linux Filesystem Development]     [Linux Ext4]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux