summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2001-12-21 17:10:10 +0100
committerKevin Ryde <user42@zip.com.au>2001-12-21 17:10:10 +0100
commitec2305e456a192dcdfd141e6adb9a7f2e3b38245 (patch)
treefa69a34791f9ade1e2ed42c9f9edafadedcd87db /configure.in
parent39cb73a95a405c637cf3a2814947753df74783a7 (diff)
downloadgmp-ec2305e456a192dcdfd141e6adb9a7f2e3b38245.tar.gz
* configure.in: Put demos/expr configs in expr-config.h.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in10
1 files changed, 3 insertions, 7 deletions
diff --git a/configure.in b/configure.in
index 64974e193..287790ded 100644
--- a/configure.in
+++ b/configure.in
@@ -1703,12 +1703,10 @@ AC_SUBST(TUNE_SQR_OBJ)
# Configs for demos/expr directory
+AM_CONFIG_HEADER(demos/expr/expr-config.h:demos/expr/expr-config-h.in)
if test $enable_mpfr = yes; then
- HAVE_MPFR=1
-else
- HAVE_MPFR=0
+ AC_DEFINE(HAVE_MPFR, 1, [Whether mpfr functions and headers are available.])
fi
-AC_SUBST(HAVE_MPFR)
# Create config.m4.
@@ -1728,6 +1726,4 @@ AC_OUTPUT(Makefile \
mpfr/Makefile mpfr/tests/Makefile \
tune/Makefile \
demos/Makefile demos/calc/Makefile demos/expr/Makefile \
- gmp.h:gmp-h.in mp.h:mp-h.in \
- demos/expr/expr-impl.h:demos/expr/expr-impl-h.in)
-
+ gmp.h:gmp-h.in mp.h:mp-h.in)