tests/gdsa: Test from P1363.
[u/mdw/catacomb] / configure.in
index d28ae70..f8457bf 100644 (file)
@@ -1,6 +1,6 @@
-dnl -*-fundamental-*-
+dnl -*-m4-*-
 dnl
-dnl $Id: configure.in,v 1.22 2000/10/08 16:00:54 mdw Exp $
+dnl $Id$
 dnl
 dnl Autoconfiguration for Catacomb
 dnl
@@ -15,70 +15,21 @@ dnl Catacomb is free software; you can redistribute it and/or modify
 dnl it under the terms of the GNU Library General Public License as
 dnl published by the Free Software Foundation; either version 2 of the
 dnl License, or (at your option) any later version.
-dnl 
+dnl
 dnl Catacomb is distributed in the hope that it will be useful,
 dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 dnl GNU Library General Public License for more details.
-dnl 
+dnl
 dnl You should have received a copy of the GNU Library General Public
 dnl License along with Catacomb; if not, write to the Free
 dnl Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 dnl MA 02111-1307, USA.
 
-dnl ----- Revision history --------------------------------------------------
-dnl
-dnl $Log: configure.in,v $
-dnl Revision 1.22  2000/10/08 16:00:54  mdw
-dnl Version bump.
-dnl
-dnl Revision 1.21  2000/10/08 12:01:28  mdw
-dnl Reinstate the `-pedantic' option.
-dnl
-dnl Revision 1.20  2000/08/15 21:45:25  mdw
-dnl New library configuration stuff from `common'.
-dnl
-dnl Revision 1.13  2000/06/17 13:51:03  mdw
-dnl Whoops.  Too eager with the mLib version.
-dnl
-dnl Revision 1.12  2000/06/17 12:57:47  mdw
-dnl New free counter noise generator, for use if /dev/random is
-dnl unavailable.
-dnl
-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
-dnl gets complained about.
-dnl
-dnl Revision 1.6  1999/11/11 18:56:14  mdw
-dnl Use `libtool' to generate a shared library.
-dnl
-dnl Revision 1.5  1999/11/11 17:47:34  mdw
-dnl Updates for new configuration system, and `mptypes' generator.
-dnl
-dnl Revision 1.4  1999/11/11 00:58:19  mdw
-dnl Use canned check for `ssize_t'.
-dnl
-dnl Revision 1.3  1999/10/24 10:20:36  mdw
-dnl Modify for standalone distribution.  The library's getting far too large
-dnl to be sensibly embedded in other programs.
-dnl
-dnl Revision 1.2  1999/10/23 12:56:25  mdw
-dnl Version number change.
-dnl
-dnl Revision 1.1  1999/09/03 08:41:11  mdw
-dnl Initial import.
-dnl
-
 dnl --- Boring boilerplate ---
 
 AC_INIT(blkc.h)
-mdw_INIT_LIB(catacomb, Catacomb, 2.0.0pre8)
+mdw_INIT_LIB(catacomb, Catacomb, 2.1.0)
 AM_CONFIG_HEADER(config.h)
 
 dnl --- Make sure I can compile and build libraries ---
@@ -124,7 +75,8 @@ sigsetjmp(j, 1);],
 [catacomb_cv_freewheel=yes],
 [catacomb_cv_freewheel=no])])
 if test "$catacomb_cv_freewheel" = "yes"; then
-  AC_DEFINE([USE_FREEWHEEL])
+  AC_DEFINE([USE_FREEWHEEL], [1],
+           [Define if you want to use the freewheel noise generator.])
 fi
 
 dnl --- Support for the passphrase pixie ---
@@ -132,9 +84,25 @@ dnl --- Support for the passphrase pixie ---
 mdw_CHECK_MANYLIBS(socket, socket)
 AC_CHECK_FUNCS(mlock)
 
+dnl --- Debugging things ---
+
+AC_ARG_ENABLE([mpw],
+             [AS_HELP_STRING([--enable-mpw],
+                             [force small-width mp digits])],
+             [case "$enableval" in
+                y*|t*|short)
+                  AC_DEFINE([FORCE_MPW_SHORT], [1],
+                            [Define to force small-width mp digits.])
+                  ;;
+                cussid)
+                  AC_DEFINE([FORCE_MPW_CUSSID], [1],
+                            [Define to force strange-width mp digits.])
+                  ;;
+              esac])
+
 dnl --- Done ---
 
-mdw_MLIB(2.0.0pre3)
+mdw_MLIB(2.0.0)
 AC_OUTPUT(Makefile tests/Makefile catacomb-config:lib-config.in qcc,
   chmod 755 qcc)