summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2002-04-23 02:21:17 +0200
committerKevin Ryde <user42@zip.com.au>2002-04-23 02:21:17 +0200
commit93b4fecd6da2a5420f5e93d7f14e03027128b982 (patch)
treea05cc5661005cb324330742a1692fd473503bcc6 /demos
parent0e7a1d56a7a1cb2fae76209fb280e4ddac659411 (diff)
downloadgmp-93b4fecd6da2a5420f5e93d7f14e03027128b982.tar.gz
* demos/expr/Makefile.am (LDADD): Add $(LIBM) for the benefit of mpfr.
Diffstat (limited to 'demos')
-rw-r--r--demos/expr/Makefile.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/demos/expr/Makefile.in b/demos/expr/Makefile.in
index 96e123e75..dc6ac46bb 100644
--- a/demos/expr/Makefile.in
+++ b/demos/expr/Makefile.in
@@ -151,8 +151,10 @@ libexpr_a_SOURCES = expr.h expr-impl.h \
$(MPFR_SOURCES_OPTION)
+# On SunOS 4, HUGE_VAL used by mpfr infinity handling needs -lm.
+#
EXTRA_PROGRAMS = run-expr t-expr
-LDADD = libexpr.a $(MPFR_LIBADD_OPTION) $(top_builddir)/libgmp.la
+LDADD = libexpr.a $(MPFR_LIBADD_OPTION) $(top_builddir)/libgmp.la $(LIBM)
t_expr_LDADD = $(top_builddir)/tests/libtests.la $(LDADD)
CLEANFILES = $(EXTRA_PROGRAMS) $(EXTRA_LIBRARIES)