summaryrefslogtreecommitdiff
path: root/demos/expr
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2004-05-12 00:18:21 +0200
committerKevin Ryde <user42@zip.com.au>2004-05-12 00:18:21 +0200
commit0ff99c6ca39bbbb3d0ffafcff65c15cbd9027fe8 (patch)
tree3eb191cb84f0a9e0ee2ad6af3a1d80ebe778fb6c /demos/expr
parent611fcd7269bd4ecade02dce84dabbae7874c45e3 (diff)
downloadgmp-0ff99c6ca39bbbb3d0ffafcff65c15cbd9027fe8.tar.gz
* demos/expr/Makefile.am (ARFLAGS): Add a default setting, to
workaround an automake bug.
Diffstat (limited to 'demos/expr')
-rw-r--r--demos/expr/Makefile.am7
1 files changed, 7 insertions, 0 deletions
diff --git a/demos/expr/Makefile.am b/demos/expr/Makefile.am
index bc0c8f568..c4f3909e1 100644
--- a/demos/expr/Makefile.am
+++ b/demos/expr/Makefile.am
@@ -22,6 +22,13 @@
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/tests
+# FIXME: This is a workaround for a bug in automake 1.8.4. When the only
+# library is in EXTRA_LIBRARIES, $(ARFLAGS) is used but no default setting
+# for that variable is established. We give an explicit ARFLAGS=cru the
+# same as generated for lib_LIBRARIES or noinst_LIBRARIES.
+#
+ARFLAGS = cru
+
EXTRA_LIBRARIES = libexpr.a
libexpr_a_SOURCES = expr.h expr-impl.h \
expr.c exprv.c exprz.c exprza.c exprq.c exprqa.c exprf.c exprfa.c