]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
a few more "--with-gssapi" as default fixes to correct problems on test
authorScott Mann <smann@isc.org>
Tue, 5 Apr 2011 19:16:54 +0000 (19:16 +0000)
committerScott Mann <smann@isc.org>
Tue, 5 Apr 2011 19:16:54 +0000 (19:16 +0000)
systems

bin/tests/system/tsiggss/gssapi_krb.c
configure.in

index b2046d0bbb25241ef0a2aa75952a1098d30ea82c..d885fadc3c40dcd09b864622a3e72c4009abe0ef 100644 (file)
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: gssapi_krb.c,v 1.2 2011/03/30 15:48:41 smann Exp $ */
+/* $Id: gssapi_krb.c,v 1.3 2011/04/05 19:16:54 smann Exp $ */
 
 #include <config.h>
 
 int
 main() {
-#if defined(HAVE_GSSAPI_H) && defined(HAVE_KRB5_H)
+#if (defined(HAVE_GSSAPI_H) || \
+     defined(HAVE_GSSAPI_GSSAPI_H)) && \
+    (defined(HAVE_KRB5_H) || \
+     defined(HAVE_KRB5_KRB5_H) || \
+     defined(HAVE_GSSAPI_GSSAPI_KRB5_H) || \
+     defined(HAVE_GSSAPI_KRB5_H) || \
+     defined(HAVE_KERBEROSV5_KRB5_H))
        return (0);
 #else
        return (1);
index 0e304d05ca8cef42e03e2fdafd6bdc205db2a8e4..f80f86df317221bd7366ebec9ecf3534fdb2a810 100644 (file)
@@ -18,7 +18,7 @@ AC_DIVERT_PUSH(1)dnl
 esyscmd([sed "s/^/# /" COPYRIGHT])dnl
 AC_DIVERT_POP()dnl
 
-AC_REVISION($Revision: 1.522 $)
+AC_REVISION($Revision: 1.523 $)
 
 AC_INIT(lib/dns/name.c)
 AC_PREREQ(2.59)
@@ -811,7 +811,9 @@ then
        # first, deal with the obvious
        if test \( -f /usr/include/kerberosv5/krb5.h -o \
                   -f /usr/include/krb5/krb5.h -o \
-                  -f /usr/include/krb5.h \)   -a -f /usr/include/gssapi.h
+                  -f /usr/include/krb5.h \)   -a \
+               \( -f /usr/include/gssapi.h -o
+                  -f /usr/include/gssapi/gssapi.h \)
        then
                use_gssapi=/usr
        else