diff options
-rw-r--r-- | configure.in | 13 |
1 files changed, 13 insertions, 0 deletions
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 | |||
219 | fi | 219 | fi |
220 | AC_ARG_WITH(openssl,--with-openssl=<dir> sets path to openssl installation,[OPENSSL=$withval]) | 220 | AC_ARG_WITH(openssl,--with-openssl=<dir> sets path to openssl installation,[OPENSSL=$withval]) |
221 | 221 | ||
222 | AC_CHECK_HEADERS(krb5.h,FOUNDINCLUDE=yes,FOUNDINCLUDE=no) | ||
223 | if 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) | ||
231 | fi | ||
232 | AC_SUBST(SSLINCLUDE) | ||
233 | CPPFLAGS="$_SAVEDCPPFLAGS $SSLINCLUDE" | ||
234 | |||
222 | dnl Check for OpenSSL header files | 235 | dnl Check for OpenSSL header files |
223 | _SAVEDCPPFLAGS="$CPPFLAGS" | 236 | _SAVEDCPPFLAGS="$CPPFLAGS" |
224 | FOUNDINCLUDE=yes | 237 | FOUNDINCLUDE=yes |