[Nagiosplug-checkins] CVS: nagiosplug configure.in,1.32,1.33
Karl DeBisschop
kdebisschop at users.sourceforge.net
Tue Feb 4 22:00:02 CET 2003
Update of /cvsroot/nagiosplug/nagiosplug
In directory sc8-pr-cvs1:/tmp/cvs-serv6696
Modified Files:
configure.in
Log Message:
fix for SSL build on RedHat rawhide
Index: configure.in
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/configure.in,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -r1.32 -r1.33
*** configure.in 3 Feb 2003 20:29:54 -0000 1.32
--- configure.in 5 Feb 2003 05:59:23 -0000 1.33
***************
*** 230,247 ****
FOUNDINCLUDE=no)
fi
! AC_SUBST(SSLINCLUDE)
! CPPFLAGS="$_SAVEDCPPFLAGS $SSLINCLUDE"
dnl Check for OpenSSL header files
_SAVEDCPPFLAGS="$CPPFLAGS"
! FOUNDINCLUDE=yes
! CPPFLAGS="-I$OPENSSL/include"
! 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
! AC_CHECK_HEADERS(x509.h ssl.h rsa.h pem.h crypto.h err.h,SSLINCLUDE="-I$OPENSSL/include",FOUNDINCLUDE=no)
fi
AC_SUBST(SSLINCLUDE)
! CPPFLAGS="$_SAVEDCPPFLAGS $SSLINCLUDE"
dnl Check for crypto lib
--- 230,256 ----
FOUNDINCLUDE=no)
fi
! AC_SUBST(KRBINCLUDE)
! if test "$FOUNDINCLUDE" = "no"; then
! CPPFLAGS="$_SAVEDCPPFLAGS"
! fi
dnl Check for OpenSSL header files
+ unset FOUNDINCLUDE
_SAVEDCPPFLAGS="$CPPFLAGS"
! CPPFLAGS="$CPPFLAGS -I$OPENSSL/include"
! 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,
! FOUNDINCLUDE=no)
if test "$FOUNDINCLUDE" = "no"; then
! AC_CHECK_HEADERS(ssl.h x509.h rsa.h pem.h crypto.h err.h,
! SSLINCLUDE="-I$OPENSSL/include"
! FOUNDINCLUDE=yes,
! FOUNDINCLUDE=no)
fi
AC_SUBST(SSLINCLUDE)
! if test "$FOUNDINCLUDE" = "no"; then
! CPPFLAGS="$_SAVEDCPPFLAGS"
! fi
dnl Check for crypto lib
More information about the Commits
mailing list