changeset 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 b1bde5ea779f
children 41bbf9edf7f8
files configure.in
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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