diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 8e971dde..be3a2121 100644 --- a/configure.in +++ b/configure.in | |||
@@ -420,7 +420,9 @@ fi | |||
420 | dnl Check for OpenSSL header files | 420 | dnl Check for OpenSSL header files |
421 | unset FOUNDINCLUDE | 421 | unset FOUNDINCLUDE |
422 | _SAVEDCPPFLAGS="$CPPFLAGS" | 422 | _SAVEDCPPFLAGS="$CPPFLAGS" |
423 | CPPFLAGS="$CPPFLAGS -I$OPENSSL/include" | 423 | if test "$OPENSSL" != "/usr"; then |
424 | CPPFLAGS="$CPPFLAGS -I$OPENSSL/include" | ||
425 | fi | ||
424 | AC_CHECK_HEADERS(openssl/ssl.h openssl/x509.h openssl/rsa.h openssl/pem.h openssl/crypto.h openssl/err.h, | 426 | AC_CHECK_HEADERS(openssl/ssl.h openssl/x509.h openssl/rsa.h openssl/pem.h openssl/crypto.h openssl/err.h, |
425 | SSLINCLUDE="-I$OPENSSL/include" | 427 | SSLINCLUDE="-I$OPENSSL/include" |
426 | FOUNDINCLUDE=yes, | 428 | FOUNDINCLUDE=yes, |