Major memory management overhaul. Added arena support. Use the secure
[u/mdw/catacomb] / configure.in
index d000631..13c0c22 100644 (file)
@@ -1,6 +1,6 @@
 dnl -*-fundamental-*-
 dnl
-dnl $Id: configure.in,v 1.9 1999/12/13 15:42:50 mdw Exp $
+dnl $Id: configure.in,v 1.11 2000/06/17 10:51:23 mdw Exp $
 dnl
 dnl Autoconfiguration for Catacomb
 dnl
@@ -29,8 +29,11 @@ dnl MA 02111-1307, USA.
 dnl ----- Revision history --------------------------------------------------
 dnl
 dnl $Log: configure.in,v $
-dnl Revision 1.9  1999/12/13 15:42:50  mdw
-dnl Version bump.
+dnl Revision 1.11  2000/06/17 10:51:23  mdw
+dnl Version number changes.  Find maths library for Maurer's test.
+dnl
+dnl Revision 1.10  1999/12/22 16:03:31  mdw
+dnl New mLib version.  Find socket functions for pixie.
 dnl
 dnl Revision 1.7  1999/11/13 01:55:48  mdw
 dnl Don't be pedantic, because using `long long' as a multiprecision type
@@ -59,7 +62,7 @@ dnl
 dnl --- Boring boilerplate ---
 
 AC_INIT(blkc.h)
-AM_INIT_AUTOMAKE(catacomb, 1.0.0)
+AM_INIT_AUTOMAKE(catacomb, 2.0.0)
 AM_CONFIG_HEADER(config.h)
 
 dnl --- Make sure I can compile and build libraries ---
@@ -67,7 +70,6 @@ dnl --- Make sure I can compile and build libraries ---
 AC_PROG_CC
 AM_PROG_LIBTOOL
 mdw_GCC_FLAGS(-Wall)
-mdw_MLIB(1.6.1)
 
 AC_PROG_YACC
 
@@ -84,14 +86,25 @@ AC_TYPE_UID_T
 AC_CHECK_TYPE(time_t, long)
 mdw_TYPE_SSIZE_T
 
+dnl --- The maths library, for Maurer's test ---
+
+mdw_CHECK_MANYLIBS(log, m,,, [#include <math.h>], [2])
+mdw_CHECK_MANYLIBS(sqrt, m,,, [#include <math.h>], [2])
+
 dnl --- Can I call `initgroups'? ---
 dnl
 dnl This is used in noise-gathering.
 
 AC_CHECK_FUNCS(setgroups)
 
+dnl --- Support for the passphrase pixie ---
+
+mdw_CHECK_MANYLIBS(socket, socket)
+AC_CHECK_FUNCS(mlock)
+
 dnl --- Done ---
 
-AC_OUTPUT(Makefile catacomb-config)
+mdw_MLIB(2.0.0)
+AC_OUTPUT(Makefile tests/Makefile catacomb-config qcc, chmod 755 qcc)
 
 dnl ----- That's all, folks -------------------------------------------------