summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 518c841)
raw | patch | inline | side by side (parent: 518c841)
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | |
Thu, 16 Jan 2003 05:22:50 +0000 (05:22 +0000) | ||
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | |
Thu, 16 Jan 2003 05:22:50 +0000 (05:22 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@244 f882894a-f735-0410-b71e-b25c423dba1c
configure.in | patch | blob | history |
diff --git a/configure.in b/configure.in
index 48135eec1da6a8a334503e4c04cb3b41a2dc6807..fdc61965d38db6862b194ee6cf8c7c5b100b12ad 100644 (file)
--- a/configure.in
+++ b/configure.in
fi
AC_ARG_WITH(openssl,--with-openssl=<dir> 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