summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2006-11-07 16:47:45 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2006-11-07 16:47:45 +0000
commitbdbfaddf010cd08abefffa8f5c9c753959413d02 (patch)
tree1cbaa79c4913c00a9ab9995af71006387afa5e03 /configure.in
parenta3fef860a3909837a8c5b09f3e0226416cbff479 (diff)
downloadmpfr-bdbfaddf010cd08abefffa8f5c9c753959413d02.tar.gz
added --enable-decimal-float in configure, and corresponding macro
WANT_DECIMAL_FLOATS git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4190 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index d38cedd13..06f5c0885 100644
--- a/configure.in
+++ b/configure.in
@@ -85,6 +85,13 @@ AC_ARG_ENABLE(thread-safe,
no) ;;
*) AC_MSG_ERROR([bad value for --enable-thread-safe: yes or no]) ;;
esac])
+AC_ARG_ENABLE(decimal-float,
+ [ --enable-decimal-float build conversion functions from/to decimal floats [[default=no]]],
+ [ case $enableval in
+ yes) AC_DEFINE([MPFR_WANT_DECIMAL_FLOATS],1,[Build decimal float functions]) ;;
+ no) ;;
+ *) AC_MSG_ERROR([bad value for --enable-decimal-float: yes or no]) ;;
+ esac])
test_CFLAGS=${CFLAGS+set}