diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2004-11-18 22:48:16 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2004-11-18 22:48:16 +0000 |
commit | 26b9e9c56457a0a94f0646802982c7818d53a431 (patch) | |
tree | cfd8d0858403db2e6ad61aeb962a6925022320d8 | |
parent | 43f7946598f062f80c2c92eb3757cb9a2c8ce1ec (diff) | |
download | monitoring-plugins-26b9e9c56457a0a94f0646802982c7818d53a431.tar.gz |
Remove unnecessary CPPFLAGS for openssl (Lutz Behnke - 686476)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@903 f882894a-f735-0410-b71e-b25c423dba1c
-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 dnl Check for OpenSSL header files unset FOUNDINCLUDE _SAVEDCPPFLAGS="$CPPFLAGS" -CPPFLAGS="$CPPFLAGS -I$OPENSSL/include" +if test "$OPENSSL" != "/usr"; then + CPPFLAGS="$CPPFLAGS -I$OPENSSL/include" +fi AC_CHECK_HEADERS(openssl/ssl.h openssl/x509.h openssl/rsa.h openssl/pem.h openssl/crypto.h openssl/err.h, SSLINCLUDE="-I$OPENSSL/include" FOUNDINCLUDE=yes, |