File autofs-5.0.3-link_kerberos.patch of Package autofs

Index: autofs-5.0.3/configure.in
===================================================================
--- autofs-5.0.3.orig/configure.in
+++ autofs-5.0.3/configure.in
@@ -239,7 +239,7 @@ AC_ARG_WITH(sasl,
 if test -z "$HAVE_SASL" -o "$HAVE_SASL" != "0" -a "$HAVE_LIBXML" == "1"
 then
 	HAVE_SASL=0
-	AC_CHECK_LIB(sasl2, sasl_client_start, HAVE_SASL=1 LIBSASL="$LIBSASL -lsasl2", , -lsasl2 $LIBS)
+	AC_CHECK_LIB(sasl2, sasl_client_start, HAVE_SASL=1 LIBSASL="$LIBSASL -lsasl2 -lkrb5", , -lsasl2 $LIBS)
 	if test "$HAVE_SASL" == "1"; then
 		AC_DEFINE(WITH_SASL,1,
 			[Define if using SASL authentication with the LDAP module])
openSUSE Build Service is sponsored by