svn commit: samba r12272 - in trunk/source: .

jra at samba.org jra at samba.org
Thu Dec 15 23:33:30 GMT 2005


Author: jra
Date: 2005-12-15 23:33:29 +0000 (Thu, 15 Dec 2005)
New Revision: 12272

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12272

Log:
Merge in gd's configure changes needed for the winbindd
caching code.
Jeremy.

Modified:
   trunk/source/configure.in


Changeset:
Modified: trunk/source/configure.in
===================================================================
--- trunk/source/configure.in	2005-12-15 22:58:57 UTC (rev 12271)
+++ trunk/source/configure.in	2005-12-15 23:33:29 UTC (rev 12272)
@@ -3091,6 +3091,8 @@
   AC_CHECK_FUNC_EXT(krb5_principal_compare_any_realm, $KRB5_LIBS)
   AC_CHECK_FUNC_EXT(krb5_parse_name_norealm, $KRB5_LIBS)
   AC_CHECK_FUNC_EXT(krb5_princ_size, $KRB5_LIBS)
+  AC_CHECK_FUNC_EXT(krb5_get_renewed_creds, $KRB5_LIBS)
+  AC_CHECK_FUNC_EXT(krb5_get_kdc_cred, $KRB5_LIBS)
 
   LIBS="$KRB5_LIBS $LIBS"
 
@@ -3392,6 +3394,29 @@
 LIBS="$ac_save_LIBS"
 fi
 
+#################################################
+# check for KCM support
+
+with_kcm_support=no
+AC_MSG_CHECKING([for KCM support])
+
+AC_ARG_WITH(kcm,
+[  --with-kcm              KCM support (default no)],
+[ case "$withval" in
+    yes)
+	if test x$FOUND_KRB5 = x"no"; then
+		AC_MSG_ERROR(libkrb5 is needed for KCM support)
+	fi
+	with_kcm_support="$withval"
+	AC_DEFINE(WITH_KCM,1,[Whether to include KCM support])
+    	;;
+    *)
+	with_kcm_support="no"
+	AC_DEFINE(WITH_KCM,0,[Whether to include KCM support])
+    	;;
+  esac ])
+
+AC_MSG_RESULT($with_kcm_support)
 ########################################################
 # Compile experimental passdb backends?
 # (pdb_xml, pdb_mysql, pdb_pgsql)



More information about the samba-cvs mailing list