summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2002-04-23 02:14:49 +0200
committerKevin Ryde <user42@zip.com.au>2002-04-23 02:14:49 +0200
commit0e7a1d56a7a1cb2fae76209fb280e4ddac659411 (patch)
treefb40e233c764ef90ea55c22293ea34204e626bde /demos
parent65b22ecdbf661a3d8e09ca4841d283aab5dac484 (diff)
downloadgmp-0e7a1d56a7a1cb2fae76209fb280e4ddac659411.tar.gz
* demos/expr/Makefile.am (LDADD): Add $(LIBM) for the benefit of mpfr.
Diffstat (limited to 'demos')
-rw-r--r--demos/expr/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/demos/expr/Makefile.am b/demos/expr/Makefile.am
index 2e9296e0b..15b84cd2e 100644
--- a/demos/expr/Makefile.am
+++ b/demos/expr/Makefile.am
@@ -37,8 +37,10 @@ libexpr_a_SOURCES = expr.h expr-impl.h \
expr.c exprv.c exprz.c exprza.c exprq.c exprqa.c exprf.c exprfa.c \
$(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)