From 3a7b1fb32a27df5326f7fea318f68703c0de7e2e Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Thu, 3 Jun 2010 03:55:07 +0000 Subject: [PATCH] add kerberosv5/krb5.h to search list --- config.h.in | 5 ++++- configure | 11 ++++++----- configure.in | 6 +++--- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/config.h.in b/config.h.in index eca4f9a830..f1b531aa11 100644 --- a/config.h.in +++ b/config.h.in @@ -16,7 +16,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: config.h.in,v 1.127 2010/06/03 02:29:58 marka Exp $ */ +/* $Id: config.h.in,v 1.135 2010/09/29 04:03:00 marka Exp $ */ /*! \file */ @@ -193,6 +193,9 @@ int sigwait(const unsigned int *set, int *sig); /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H +/* Define to 1 if you have the header file. */ +#undef HAVE_KERBEROSV5_KRB5_H + /* Define to 1 if you have the header file. */ #undef HAVE_KRB5_H diff --git a/configure b/configure index 7cd23172f0..e16746ea04 100755 --- a/configure +++ b/configure @@ -14,7 +14,7 @@ # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. # -# $Id: configure,v 1.478 2010/06/03 02:29:58 marka Exp $ +# $Id: configure,v 1.479 2010/06/03 03:55:07 marka Exp $ # # Portions Copyright (C) 1996-2001 Nominum, Inc. # @@ -29,7 +29,7 @@ # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT # OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -# From configure.in Revision: 1.495 . +# From configure.in Revision: 1.496 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.62. # @@ -23909,7 +23909,8 @@ $as_echo "$as_me: error: gssapi.h not found" >&2;} -for ac_header in krb5.h krb5/krb5.h + +for ac_header in krb5.h krb5/krb5.h kerberosv5/krb5.h do as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then @@ -24055,8 +24056,8 @@ done if test "$ISC_PLATFORM_KRB5HEADER" = ""; then - { { $as_echo "$as_me:$LINENO: error: gssapi.h not found" >&5 -$as_echo "$as_me: error: gssapi.h not found" >&2;} + { { $as_echo "$as_me:$LINENO: error: krb5.h not found" >&5 +$as_echo "$as_me: error: krb5.h not found" >&2;} { (exit 1); exit 1; }; } fi diff --git a/configure.in b/configure.in index a804c8c84d..4ae8f27af7 100644 --- a/configure.in +++ b/configure.in @@ -18,7 +18,7 @@ AC_DIVERT_PUSH(1)dnl esyscmd([sed "s/^/# /" COPYRIGHT])dnl AC_DIVERT_POP()dnl -AC_REVISION($Revision: 1.495 $) +AC_REVISION($Revision: 1.496 $) AC_INIT(lib/dns/name.c) AC_PREREQ(2.59) @@ -785,11 +785,11 @@ case "$use_gssapi" in AC_MSG_ERROR([gssapi.h not found]) fi - AC_CHECK_HEADERS(krb5.h krb5/krb5.h, + AC_CHECK_HEADERS(krb5.h krb5/krb5.h kerberosv5/krb5.h, [ISC_PLATFORM_KRB5HEADER="#define ISC_PLATFORM_KRB5HEADER <$ac_header>"]) if test "$ISC_PLATFORM_KRB5HEADER" = ""; then - AC_MSG_ERROR([gssapi.h not found]) + AC_MSG_ERROR([krb5.h not found]) fi CPPFLAGS="$saved_cppflags"