diff configure.in @ 7261:e665ef583668 HEAD

If __gss_userok() is found from -lgss, make sure we link with -lgss.
author Timo Sirainen <tss@iki.fi>
date Sat, 16 Feb 2008 22:14:13 +0200
parents 2aa39f1e3993
children 91cf91f0a0a8
line wrap: on
line diff
--- a/configure.in	Sat Feb 16 16:46:04 2008 +0200
+++ b/configure.in	Sat Feb 16 22:14:13 2008 +0200
@@ -1642,6 +1642,7 @@
 				AC_CHECK_LIB(gss, __gss_userok, [
 					AC_DEFINE(HAVE___GSS_USEROK,,
 						Define if you have __gss_userok())
+					KRB5_LIBS="$KRB5_LIBS -lgss"
 				],, $KRB5_LIBS)
 
 				if test x$want_gssapi_plugin != xyes; then