From: Ton Voon Date: Thu, 18 Nov 2004 22:48:16 +0000 (+0000) Subject: Remove unnecessary CPPFLAGS for openssl (Lutz Behnke - 686476) X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=26b9e9c56457a0a94f0646802982c7818d53a431;p=nagiosplug.git 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 --- diff --git a/configure.in b/configure.in index 8e971dd..be3a212 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,