mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
Fix gssapi/kerberos dependencies in configure (RT #23836)
This commit is contained in:
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
|
3092. [bug] Signatures for records at the zone apex could go
|
||||||
stale due to an incorrect timer setting. [RT #23769]
|
stale due to an incorrect timer setting. [RT #23769]
|
||||||
|
|
||||||
|
14
configure.in
14
configure.in
@@ -18,7 +18,7 @@ AC_DIVERT_PUSH(1)dnl
|
|||||||
esyscmd([sed "s/^/# /" COPYRIGHT])dnl
|
esyscmd([sed "s/^/# /" COPYRIGHT])dnl
|
||||||
AC_DIVERT_POP()dnl
|
AC_DIVERT_POP()dnl
|
||||||
|
|
||||||
AC_REVISION($Revision: 1.520 $)
|
AC_REVISION($Revision: 1.521 $)
|
||||||
|
|
||||||
AC_INIT(lib/dns/name.c)
|
AC_INIT(lib/dns/name.c)
|
||||||
AC_PREREQ(2.59)
|
AC_PREREQ(2.59)
|
||||||
@@ -800,16 +800,24 @@ AC_ARG_WITH(gssapi,
|
|||||||
[ --with-gssapi=PATH Specify path for system-supplied GSSAPI [[default=yes]]],
|
[ --with-gssapi=PATH Specify path for system-supplied GSSAPI [[default=yes]]],
|
||||||
use_gssapi="$withval", use_gssapi="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"
|
if test "$use_gssapi" = "yes"
|
||||||
then
|
then
|
||||||
for d in $gssapidirs
|
for d in $krb5dirs
|
||||||
do
|
do
|
||||||
|
if test -f $d/include/gssapi/gssapi_krb5.h -o -f $d/include/krb5.h
|
||||||
|
then
|
||||||
if test -f $d/include/gssapi/gssapi.h -o -f $d/include/gssapi.h
|
if test -f $d/include/gssapi/gssapi.h -o -f $d/include/gssapi.h
|
||||||
then
|
then
|
||||||
use_gssapi=$d
|
use_gssapi=$d
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
use_gssapi="no"
|
use_gssapi="no"
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user