From 26b9e9c56457a0a94f0646802982c7818d53a431 Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Thu, 18 Nov 2004 22:48:16 +0000 Subject: 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, -- cgit v0.10-9-g596f