summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2010-09-29 13:15:33 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2010-09-29 13:15:33 +0000
commit9cfe7f7883710e842da212956360ecd79ecc40a6 (patch)
tree88f0421499c911d4d6d0e6a136de9e46907b8cf3 /configure.ac
parent97ef5a0b63e9b160a0966940f54628ffcf6d0989 (diff)
downloadmpfr-9cfe7f7883710e842da212956360ecd79ecc40a6.tar.gz
added new option --enable-gmp-internals to use GMP undocumented function
(at user's own risk). So far only mpn_rootrem is used in mpfr_sqrt. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7182 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index f82ae78fc..1488bfc0d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -90,6 +90,14 @@ AC_ARG_WITH(mulhigh_size,
[ --with-mulhigh-size=NUM internal threshold table for mulhigh],
AC_DEFINE_UNQUOTED([MPFR_MULHIGH_SIZE],$withval, [Mulhigh size]))
+AC_ARG_ENABLE(gmp-internals,
+ [ --enable-gmp-internals enable use of GMP undocumented functions [[default=no]]],
+ [ case $enableval in
+ yes) AC_DEFINE([WANT_GMP_INTERNALS],1,[Want GMP internals]) ;;
+ no) ;;
+ *) AC_MSG_ERROR([bad value for --enable-gmp-internals: yes or no]) ;;
+ esac])
+
AC_ARG_ENABLE(assert,
[ --enable-assert enable ASSERT checking [[default=no]]],
[ case $enableval in