2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 13:38:26 +00:00

--with-gssapi=PATH support.

This commit is contained in:
Brian Wellington 2000-08-17 02:05:19 +00:00
parent c9e998ea51
commit 3ec6b563d7
2 changed files with 260 additions and 189 deletions

417
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -18,7 +18,7 @@ AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)dnl
esyscmd([sed "s/^/# /" COPYRIGHT])dnl esyscmd([sed "s/^/# /" COPYRIGHT])dnl
AC_DIVERT_POP()dnl AC_DIVERT_POP()dnl
AC_REVISION($Revision: 1.175 $) AC_REVISION($Revision: 1.176 $)
AC_INIT(lib/dns/name.c) AC_INIT(lib/dns/name.c)
AC_PREREQ(2.13) AC_PREREQ(2.13)
@ -229,6 +229,36 @@ AC_SUBST(DST_OPENSSL_OBJS)
AC_SUBST(DNS_OPENSSL_LIBS) AC_SUBST(DNS_OPENSSL_LIBS)
#
# was --with-gssapi specified?
#
AC_MSG_CHECKING(for GSSAPI library)
AC_ARG_WITH(gssapi,
[ --with-gssapi=PATH Specify path for system-supplied GSSAPI],
use_gssapi="$withval", use_gssapi="no")
case "$use_gssapi" in
no)
USE_GSSAPI=''
DST_GSSAPI_INC=''
DNS_GSSAPI_LIBS=''
AC_MSG_RESULT(none found)
;;
yes)
AC_MSG_ERROR([--with-gssapi must specify a path])
;;
*)
USE_GSSAPI='-DGSSAPI'
DST_GSSAPI_INC="-I$use_gssapi/include"
DNS_GSSAPI_LIBS="-L$use_gssapi/lib -lgssapi_krb5"
AC_MSG_RESULT(using gssapi from $use_gssapi/lib and $use_gssapi/include)
;;
esac
AC_SUBST(USE_GSSAPI)
AC_SUBST(DST_GSSAPI_INC)
AC_SUBST(DNS_GSSAPI_LIBS)
# #
# NetBSD has multiple pthreads implementations. The recommended # NetBSD has multiple pthreads implementations. The recommended
# one to use is "unproven-pthreads". The older "mit-pthreads" # one to use is "unproven-pthreads". The older "mit-pthreads"