X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/e4fb6b4d5f4fd8222da24a816e274a0b116dc529..67a452f7a9d69723741b064f08d70462bc8f00e7:/configure.in diff --git a/configure.in b/configure.in index f35a8df..f8457bf 100644 --- a/configure.in +++ b/configure.in @@ -15,12 +15,12 @@ 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, @@ -76,7 +76,7 @@ sigsetjmp(j, 1);], [catacomb_cv_freewheel=no])]) if test "$catacomb_cv_freewheel" = "yes"; then AC_DEFINE([USE_FREEWHEEL], [1], - [Define if you want to use the freewheel noise generator.]) + [Define if you want to use the freewheel noise generator.]) fi dnl --- Support for the passphrase pixie --- @@ -84,6 +84,22 @@ 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.0)