pam_krb5/pam_krb5-2.2.0-0.5-configure_ac.dif
OBS User autobuild 4b2ee11293 Accepting request 34011 from Linux-PAM
Copy from Linux-PAM/pam_krb5 based on submit request 34011 from user mcalmer

OBS-URL: https://build.opensuse.org/request/show/34011
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam_krb5?expand=0&rev=37
2010-03-05 10:54:32 +00:00

24 lines
861 B
Plaintext

Index: configure.ac
===================================================================
--- configure.ac.orig
+++ configure.ac
@@ -109,14 +109,14 @@ AC_SUBST(KRB5_BINDIR)
AC_CHECK_LIB(resolv,main)
KRB5_CFLAGS=`$KRB5_CONFIG --cflags krb5`
KRB5_LIBS=`$KRB5_CONFIG --libs krb5`
-KRB5_LDFLAGS="`$KRB5_CONFIG --libs | sed s,'-l[[^ ]]*',,g`"
-LIBS="$LIBS `$KRB5_CONFIG --libs | sed s,'-l[[^ ]]*',,g`"
+KRB5_LDFLAGS="`$KRB5_CONFIG --libs`"
+LIBS="$LIBS `$KRB5_CONFIG --libs`"
LDFLAGS="$LDFLAGS $KRB5_LDFLAGS"
if test x$krb4 != xno ; then
KRB4_CFLAGS=`$KRB4_CONFIG --cflags krb4`
KRB4_LIBS=`$KRB4_CONFIG --libs krb4`
- KRB4_LDFLAGS="`$KRB4_CONFIG --libs | sed s,'-l[[^ ]]*',,g`"
- LIBS="$LIBS `$KRB4_CONFIG --libs | sed s,'-l[[^ ]]*',,g`"
+ KRB4_LDFLAGS="`$KRB4_CONFIG --libs`"
+ LIBS="$LIBS `$KRB4_CONFIG --libs`"
LDFLAGS="$LDFLAGS $KRB4_LDFLAGS"
fi