[Nagiosplug-devel] [ nagiosplug-Patches-686476 ] pre compiler barfs on include path for system openssl

SourceForge.net noreply at sourceforge.net
Fri Feb 14 20:49:03 UTC 2003


Patches item #686476, was opened at 2003-02-14 11:55
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=686476&group_id=29880

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Lutz Behnke (cypherfox)
Assigned to: Nobody/Anonymous (nobody)
Summary: pre compiler barfs on include path for system openssl

Initial Comment:
On Linux, the cpp prints a warning to stderr if a
system include path is reset on the command line. The
configure script takes this to mean that an error
occored. The following patch checks if defining a new
'-I' for the openssl include path is nessecary (it is
not if openssl was installed as part of the system as
for SuSE.

mfg lutz

--- nagios-plugins-1.3.0-beta2/configure.in    
2002-11-22 03:46:49.000000000 +0100
+++ src/nagios-plugins-1.3.0-beta2/configure.in
2003-02-14 11:34:38.000000000 +0100
@@ -222,7 +222,10 @@
 dnl Check for OpenSSL header files
 _SAVEDCPPFLAGS="$CPPFLAGS"
 FOUNDINCLUDE=yes
-CPPFLAGS="-I$OPENSSL/include"
+if test "$OPENSSL" != "/usr" ; then
+  CPPFLAGS="-I$OPENSSL/include"
+fi
+
 AC_CHECK_HEADERS(openssl/x509.h openssl/ssl.h
openssl/rsa.h openssl/pem.h openssl/crypto.h
openssl/err.h,SSLINCLUDE="-I$OPENSSL/include",FOUNDINCLUDE=no)
 if test "$FOUNDINCLUDE" = "no"; then
   FOUNDINCLUDE=yes


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=686476&group_id=29880




More information about the Nagiosplugin-devel mailing list