summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2014-01-22 15:02:42 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2014-01-22 15:02:42 +0000
commit5173403cae7b272ac70f1f192f07c5d033392725 (patch)
treea340a21d6bd810c42a5fbf4531409fe5869ba55d
parent6197f028f19608fbb24602b112f02f298ce03145 (diff)
downloadmpfr-5173403cae7b272ac70f1f192f07c5d033392725.tar.gz
changes for MPFRbench
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8860 280ebfd0-de03-0410-8827-d642c229c3f4
-rw-r--r--configure.ac5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 1185d479e..196fafd29 100644
--- a/configure.ac
+++ b/configure.ac
@@ -599,6 +599,9 @@ dnl (see above).
dnl Same for __gmpn_sbpi1_divappr_q.
AC_CHECK_FUNCS([__gmpn_rootrem __gmpn_sbpi1_divappr_q])
+dnl The getrusage function is needed for MPFR bench (cf tools/bench)
+AC_CHECK_FUNCS([getrusage])
+
dnl Remove also many MACROS (AC_DEFINE) which are unused by MPFR
dnl and polluate (and slow down because libtool has to parse them) the build.
if test -f confdefs.h; then
@@ -629,7 +632,7 @@ if $EGREP -q -e '-dev$' $srcdir/VERSION; then
fi
dnl Output
-AC_CONFIG_FILES([Makefile doc/Makefile src/Makefile tests/Makefile tune/Makefile src/mparam.h:src/mparam_h.in])
+AC_CONFIG_FILES([Makefile doc/Makefile src/Makefile tests/Makefile tune/Makefile src/mparam.h:src/mparam_h.in tools/bench/Makefile])
AC_OUTPUT
dnl NEWS README AUTHORS Changelog