summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2004-01-10 21:55:47 +0100
committerKevin Ryde <user42@zip.com.au>2004-01-10 21:55:47 +0100
commita1734673f48d1e18139e94004fad900bd0432b78 (patch)
tree952c833711caea88dae4610ff7b8d1eec0e6e91e /demos
parentdd8901881e0ee850e1379d0d30d55cef5bad44ba (diff)
downloadgmp-a1734673f48d1e18139e94004fad900bd0432b78.tar.gz
* configure.in, demos/calc/Makefile.am: Use -lcurses or -lncurses with
readline, when available.
Diffstat (limited to 'demos')
-rw-r--r--demos/calc/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/calc/Makefile.am b/demos/calc/Makefile.am
index cdcd40b11..8407c0db2 100644
--- a/demos/calc/Makefile.am
+++ b/demos/calc/Makefile.am
@@ -1,6 +1,6 @@
## Process this file with automake to generate Makefile.in
-# Copyright 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
+# Copyright 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
#
# This file is part of the GNU MP Library.
#
@@ -26,7 +26,7 @@ INCLUDES = -I$(top_srcdir)
# calclex.c), but it's included here for the benefit of anyone rebuilding
# with some other lex.
#
-LDADD = $(top_builddir)/libgmp.la $(LIBREADLINE) $(LEXLIB)
+LDADD = $(top_builddir)/libgmp.la $(LIBREADLINE) $(LIBCURSES) $(LEXLIB)
EXTRA_PROGRAMS = calc
AM_YFLAGS = -d