mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 05:57:52 +00:00
Fix gssapi/kerberos dependencies in configure (RT #23836)
This commit is contained in:
parent
719e1d626c
commit
30f888cbd4
2
CHANGES
2
CHANGES
@ -1,3 +1,5 @@
|
||||
3093. [bug] Fix gssapi/kerberos dependencies [RT #23836]
|
||||
|
||||
3092. [bug] Signatures for records at the zone apex could go
|
||||
stale due to an incorrect timer setting. [RT #23769]
|
||||
|
||||
|
20
configure.in
20
configure.in
@ -18,7 +18,7 @@ AC_DIVERT_PUSH(1)dnl
|
||||
esyscmd([sed "s/^/# /" COPYRIGHT])dnl
|
||||
AC_DIVERT_POP()dnl
|
||||
|
||||
AC_REVISION($Revision: 1.520 $)
|
||||
AC_REVISION($Revision: 1.521 $)
|
||||
|
||||
AC_INIT(lib/dns/name.c)
|
||||
AC_PREREQ(2.59)
|
||||
@ -800,15 +800,23 @@ AC_ARG_WITH(gssapi,
|
||||
[ --with-gssapi=PATH Specify path for system-supplied GSSAPI [[default=yes]]],
|
||||
use_gssapi="$withval", use_gssapi="yes")
|
||||
|
||||
gssapidirs="/usr/local /usr/pkg /usr/kerberos /usr"
|
||||
# gssapi is just the framework, we really require kerberos v5, so
|
||||
# look for those headers (the gssapi headers must be there, too)
|
||||
# The problem with this implementation is that it doesn't allow
|
||||
# for the specification of gssapi and krb5 headers in different locations
|
||||
# This probably ought to be fixed.
|
||||
krb5dirs="/usr/local /usr/local/krb5 /usr/local/kerberosv5 /usr/local/kerberos /usr/pkg /usr/krb5 /usr/kerberosv5 /usr/kerberos /usr"
|
||||
if test "$use_gssapi" = "yes"
|
||||
then
|
||||
for d in $gssapidirs
|
||||
for d in $krb5dirs
|
||||
do
|
||||
if test -f $d/include/gssapi/gssapi.h -o -f $d/include/gssapi.h
|
||||
if test -f $d/include/gssapi/gssapi_krb5.h -o -f $d/include/krb5.h
|
||||
then
|
||||
use_gssapi=$d
|
||||
break
|
||||
if test -f $d/include/gssapi/gssapi.h -o -f $d/include/gssapi.h
|
||||
then
|
||||
use_gssapi=$d
|
||||
break
|
||||
fi
|
||||
fi
|
||||
use_gssapi="no"
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user