mturk       2005/05/23 05:43:46

  Modified:    jni/native/build tcnative.m4
  Log:
  Make sure we are using at least OpenSSL 0.9.7 version.
  
  Revision  Changes    Path
  1.5       +3 -4      jakarta-tomcat-connectors/jni/native/build/tcnative.m4
  
  Index: tcnative.m4
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jni/native/build/tcnative.m4,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- tcnative.m4       23 May 2005 12:23:10 -0000      1.4
  +++ tcnative.m4       23 May 2005 12:43:46 -0000      1.5
  @@ -242,11 +242,10 @@
         dnl so it's OpenSSL - test for a good version
         AC_TRY_COMPILE([#include <openssl/opensslv.h>],[
   #if !defined(OPENSSL_VERSION_NUMBER)
  -#error "Missing openssl version"
  +  #error "Missing openssl version"
   #endif
  -#if  (OPENSSL_VERSION_NUMBER < 0x009060af) \
  - || ((OPENSSL_VERSION_NUMBER > 0x00907000) && (OPENSSL_VERSION_NUMBER < 
0x0090702f))
  -#error "Insecure openssl version " OPENSSL_VERSION_TEXT
  +#if  (OPENSSL_VERSION_NUMBER < 0x0090702f))
  +  #error "Unsuported openssl version " OPENSSL_VERSION_TEXT
   #endif],
         [AC_MSG_RESULT(OK)],
         [dnl Replace this with OPENSSL_VERSION_TEXT from opensslv.h?
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to