summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 43f7946)
raw | patch | inline | side by side (parent: 43f7946)
author | Ton Voon <tonvoon@users.sourceforge.net> | |
Thu, 18 Nov 2004 22:48:16 +0000 (22:48 +0000) | ||
committer | Ton 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 | patch | blob | history |
diff --git a/configure.in b/configure.in
index 8e971dde2dc90a023f9d3f5bfc04290697be905c..be3a21217d703ac62be4270f7d4760d2eee0d3b7 100644 (file)
--- a/configure.in
+++ b/configure.in
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,