Code

Remove unnecessary CPPFLAGS for openssl (Lutz Behnke - 686476)
authorTon Voon <tonvoon@users.sourceforge.net>
Thu, 18 Nov 2004 22:48:16 +0000 (22:48 +0000)
committerTon Voon <tonvoon@users.sourceforge.net>
Thu, 18 Nov 2004 22:48:16 +0000 (22:48 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@903 f882894a-f735-0410-b71e-b25c423dba1c

configure.in

index 8e971dde2dc90a023f9d3f5bfc04290697be905c..be3a21217d703ac62be4270f7d4760d2eee0d3b7 100644 (file)
@@ -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,