From f95e2d179774739a885468144e68de047245ada5 Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Sat, 4 Jun 2022 01:28:26 -0600 Subject: * If kerberos is not fully installed remove it from the list of libraries. --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 4fa94f16..de5ecb57 100644 --- a/configure.ac +++ b/configure.ac @@ -1684,6 +1684,7 @@ AC_SUBST([C_CLIENT_BUNDLED], $alpine_c_client_bundled) dnl provide KRB5 support? if test "x$alpine_GSSTYPE" != "xnone" ; then + OLDLIB="$LIBS" AC_SEARCH_LIBS(gss_init_sec_context,gss gssapi gssapi_krb5, [ dnl MIT-based? @@ -1693,6 +1694,7 @@ if test "x$alpine_GSSTYPE" != "xnone" ; then if test ! -d /usr/kerberos/include ; then alpine_GSSTYPE="none" alpine_gss_none_reason="header files not found" + LIBS="$OLDLIBS" fi ]) ], -- cgit v1.2.3-54-g00ecf