[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tinc/m4 openssl.m4,1.1.2.14,1.1.2.15



Update of /home/CVS/tinc/m4
In directory humbolt:/tmp/cvs-serv31346/m4

Modified Files:
      Tag: CABAL
	openssl.m4 
Log Message:
- simplify configure.in
- drop support for OpenSSL < 0.9.7
- add some missing definitions/includes


Index: openssl.m4
===================================================================
RCS file: /home/CVS/tinc/m4/openssl.m4,v
retrieving revision 1.1.2.14
retrieving revision 1.1.2.15
diff -u -r1.1.2.14 -r1.1.2.15
--- openssl.m4	2003/01/17 00:43:57	1.1.2.14
+++ openssl.m4	2003/07/06 17:15:25	1.1.2.15
@@ -29,13 +29,20 @@
     [AC_MSG_ERROR([OpenSSL libraries not found.])]
   )
 
-  AC_CHECK_FUNCS([RAND_pseudo_bytes OPENSSL_add_all_algorithms_noconf OpenSSL_add_all_algorithms SSLeay_add_all_algorithms])
+  AC_CHECK_FUNCS([RAND_pseudo_bytes EVP_EncryptInit_ex], ,
+    [AC_MSG_ERROR([Missing OpenSSL functionality, make sure you have installed the latest version.]); break],
+  )
+
+  AC_CHECK_DECL([OpenSSL_add_all_algorithms], ,
+    [AC_MSG_ERROR([Missing OpenSSL functionality, make sure you have installed the latest version.]); break],
+    [#include <openssl/evp.h>]
+  )
 
   AC_CHECK_FUNC(dlopen,
     [],
     [AC_CHECK_LIB(dl, dlopen,
       [LIBS="$LIBS -ldl"],
-      [AC_MSG_ERROR([OpenSSL depends on libdl.])]
+      [AC_MSG_ERROR([OpenSSL depends on libdl.]); break]
     )]
   )
 ])

--
Tinc-cvs:     CVS changelog list for the tinc VPN daemon
Archive:      http://mail.nl.linux.org/tinc-cvs/
Tinc site:    http://tinc.nl.linux.org/