summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 48135eec..fdc61965 100644
--- a/configure.in
+++ b/configure.in
@@ -219,6 +219,19 @@ elif test "$OPENSSL" = "/usr/local/ssl/bin/openssl"; then
219fi 219fi
220AC_ARG_WITH(openssl,--with-openssl=<dir> sets path to openssl installation,[OPENSSL=$withval]) 220AC_ARG_WITH(openssl,--with-openssl=<dir> sets path to openssl installation,[OPENSSL=$withval])
221 221
222AC_CHECK_HEADERS(krb5.h,FOUNDINCLUDE=yes,FOUNDINCLUDE=no)
223if test "$FOUNDINCLUDE" = "no"; then
224 _SAVEDCPPFLAGS="$CPPFLAGS"
225 CPPFLAGS="$_SAVEDCPPFLAGS -I/usr/kerberos/include"
226 unset ac_cv_header_krb5_h
227 AC_CHECK_HEADERS(krb5.h,
228 KRB5INCLUDE="-I/usr/kerberos/include"
229 FOUNDINCLUDE=yes,
230 FOUNDINCLUDE=no)
231fi
232AC_SUBST(SSLINCLUDE)
233CPPFLAGS="$_SAVEDCPPFLAGS $SSLINCLUDE"
234
222dnl Check for OpenSSL header files 235dnl Check for OpenSSL header files
223_SAVEDCPPFLAGS="$CPPFLAGS" 236_SAVEDCPPFLAGS="$CPPFLAGS"
224FOUNDINCLUDE=yes 237FOUNDINCLUDE=yes