gss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS gss


From: gss-commit
Subject: CVS gss
Date: Sun, 23 Oct 2005 23:43:45 +0200

Update of /home/cvs/gss
In directory dopio:/tmp/cvs-serv28834

Modified Files:
        configure.ac 
Log Message:
Improve check for Shishi.

--- /home/cvs/gss/configure.ac  2005/09/20 09:25:21     1.70
+++ /home/cvs/gss/configure.ac  2005/10/23 21:43:45     1.71
@@ -52,15 +52,16 @@
 AC_DEFINE([xalloc_die], [gss_xalloc_die], [Fix namespace of xalloc_die.])
 
 # Test for Shishi.
-sj_CHECK_HEADERLIB(shishi.h, shishi, shishi_check_version,
-       kerberos5=yes, kerberos5=no)
 AC_ARG_ENABLE(kerberos5,
-       AC_HELP_STRING([--disable-kerberos5],
-               [disable Kerberos V5 mechanism unconditionally]),
-       kerberos5=$enableval)
+  AC_HELP_STRING([--disable-kerberos5],
+    [disable Kerberos V5 mechanism unconditionally]),
+  kerberos5=$enableval)
 if test "$kerberos5" != "no" ; then
-       AC_DEFINE(USE_KERBEROS5, 1, [Define to 1 if you want Kerberos 5 mech.])
-       INCLUDE_GSS_KRB5='#include <gss/krb5.h>'
+  AC_LIB_HAVE_LINKFLAGS(shishi,, [#include <shishi.h>], [shishi ();])
+  if test "$ac_cv_libshishi" = yes; then
+    AC_DEFINE(USE_KERBEROS5, 1, [Define to 1 if you want Kerberos 5 mech.])
+    INCLUDE_GSS_KRB5='#include <gss/krb5.h>'
+  fi
 fi
 AC_MSG_CHECKING([if the Kerberos V5 mechanism should be supported])
 AC_MSG_RESULT($kerberos5)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]