From ffe734e83257e0714de271158024677b1d33b4de Mon Sep 17 00:00:00 2001 From: Karl DeBisschop Date: Thu, 16 Jan 2003 05:22:50 +0000 Subject: find kerberos libs in latest Red Hat beta git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@244 f882894a-f735-0410-b71e-b25c423dba1c diff --git a/configure.in b/configure.in index 48135ee..fdc6196 100644 --- a/configure.in +++ b/configure.in @@ -219,6 +219,19 @@ elif test "$OPENSSL" = "/usr/local/ssl/bin/openssl"; then fi AC_ARG_WITH(openssl,--with-openssl= sets path to openssl installation,[OPENSSL=$withval]) +AC_CHECK_HEADERS(krb5.h,FOUNDINCLUDE=yes,FOUNDINCLUDE=no) +if test "$FOUNDINCLUDE" = "no"; then + _SAVEDCPPFLAGS="$CPPFLAGS" + CPPFLAGS="$_SAVEDCPPFLAGS -I/usr/kerberos/include" + unset ac_cv_header_krb5_h + AC_CHECK_HEADERS(krb5.h, + KRB5INCLUDE="-I/usr/kerberos/include" + FOUNDINCLUDE=yes, + FOUNDINCLUDE=no) +fi +AC_SUBST(SSLINCLUDE) +CPPFLAGS="$_SAVEDCPPFLAGS $SSLINCLUDE" + dnl Check for OpenSSL header files _SAVEDCPPFLAGS="$CPPFLAGS" FOUNDINCLUDE=yes -- cgit v0.10-9-g596f