summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.in25
1 files changed, 17 insertions, 8 deletions
diff --git a/configure.in b/configure.in
index f2996525..9a0a169a 100644
--- a/configure.in
+++ b/configure.in
@@ -229,20 +229,29 @@ if test "$FOUNDINCLUDE" = "no"; then
229 FOUNDINCLUDE=yes, 229 FOUNDINCLUDE=yes,
230 FOUNDINCLUDE=no) 230 FOUNDINCLUDE=no)
231fi 231fi
232AC_SUBST(SSLINCLUDE) 232AC_SUBST(KRBINCLUDE)
233CPPFLAGS="$_SAVEDCPPFLAGS $SSLINCLUDE" 233if test "$FOUNDINCLUDE" = "no"; then
234 CPPFLAGS="$_SAVEDCPPFLAGS"
235fi
234 236
235dnl Check for OpenSSL header files 237dnl Check for OpenSSL header files
238unset FOUNDINCLUDE
236_SAVEDCPPFLAGS="$CPPFLAGS" 239_SAVEDCPPFLAGS="$CPPFLAGS"
237FOUNDINCLUDE=yes 240CPPFLAGS="$CPPFLAGS -I$OPENSSL/include"
238CPPFLAGS="-I$OPENSSL/include" 241AC_CHECK_HEADERS(openssl/ssl.h openssl/x509.h openssl/rsa.h openssl/pem.h openssl/crypto.h openssl/err.h,
239AC_CHECK_HEADERS(openssl/x509.h openssl/ssl.h openssl/rsa.h openssl/pem.h openssl/crypto.h openssl/err.h,SSLINCLUDE="-I$OPENSSL/include",FOUNDINCLUDE=no) 242 SSLINCLUDE="-I$OPENSSL/include"
243 FOUNDINCLUDE=yes,
244 FOUNDINCLUDE=no)
240if test "$FOUNDINCLUDE" = "no"; then 245if test "$FOUNDINCLUDE" = "no"; then
241 FOUNDINCLUDE=yes 246 AC_CHECK_HEADERS(ssl.h x509.h rsa.h pem.h crypto.h err.h,
242 AC_CHECK_HEADERS(x509.h ssl.h rsa.h pem.h crypto.h err.h,SSLINCLUDE="-I$OPENSSL/include",FOUNDINCLUDE=no) 247 SSLINCLUDE="-I$OPENSSL/include"
248 FOUNDINCLUDE=yes,
249 FOUNDINCLUDE=no)
243fi 250fi
244AC_SUBST(SSLINCLUDE) 251AC_SUBST(SSLINCLUDE)
245CPPFLAGS="$_SAVEDCPPFLAGS $SSLINCLUDE" 252if test "$FOUNDINCLUDE" = "no"; then
253 CPPFLAGS="$_SAVEDCPPFLAGS"
254fi
246 255
247dnl Check for crypto lib 256dnl Check for crypto lib
248_SAVEDLIBS="$LIBS" 257_SAVEDLIBS="$LIBS"