From c585f44077e3acd49824a4e39e0d3603d4edca8c Mon Sep 17 00:00:00 2001 From: skimo Date: Tue, 6 Jul 2004 19:55:26 +0000 Subject: [PATCH] replace modulo by fractional --- README | 2 +- configure.in | 12 ++++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/README b/README index a8447b7..07c2710 100644 --- a/README +++ b/README @@ -9,6 +9,6 @@ support. For NTL this means you have to specify NTL_GMP_LIP=on -Note that the modulo representation is subject to change. +Note that the fractional representation is subject to change. Sven Verdoolaege diff --git a/configure.in b/configure.in index 86e5415..1ceb875 100644 --- a/configure.in +++ b/configure.in @@ -102,14 +102,18 @@ AC_TRY_COMPILE([#include ], [count_points takes four arguments])], [AC_MSG_RESULT(3)]) +AC_MSG_CHECKING(if --enable-fractional option specified) +AC_ARG_ENABLE(fractional, + [ --enable-fractional Use fractional representation], + [bv_cv_fractional=$enableval], [bv_cv_fractional="no"]) +AC_MSG_RESULT($bv_cv_fractional) AC_MSG_CHECKING(if --enable-modulo option specified) AC_ARG_ENABLE(modulo, - [ --enable-modulo Use modulo representation], + [ --enable-modulo Use fractional representation], [bv_cv_modulo=$enableval], [bv_cv_modulo="no"]) AC_MSG_RESULT($bv_cv_modulo) -if test "x$bv_cv_modulo" != "xno"; then - AC_MSG_WARN(This is not fully supported yet) - AC_DEFINE(USE_MODULO,[], [Use modulo representation]) +if test "x$bv_cv_modulo" != "xno" -o "x$bv_cv_fractional" != "xno"; then + AC_DEFINE(USE_MODULO,[], [Use fractional representation]) fi AC_ARG_WITH(ntl, -- 2.11.4.GIT