From 70336ce1430a857029e972942d1ba0d9019c7cb6 Mon Sep 17 00:00:00 2001 From: Morgan Deters Date: Mon, 2 May 2011 21:22:13 +0000 Subject: [PATCH] fix for configure --- README | 1 + config/readline.m4 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README b/README index aaa36ff67..f3c38d2cb 100644 --- a/README +++ b/README @@ -31,6 +31,7 @@ GMP v4.2 (GNU Multi-Precision arithmetic library) libantlr3c v3.2 (ANTLR parser generator) Optional: CLN v1.3 (Class Library for Numbers) Optional: CUDD v2.4.2 (Colorado University Decision Diagram package) +Optional: GNU Readline library (for an improved interactive experience) CUDD, if desired, must be installed in a special manner. The default distribution from vlsi.colorado.edu doesn't build shared objects, diff --git a/config/readline.m4 b/config/readline.m4 index 5535a45f4..70f36bc79 100644 --- a/config/readline.m4 +++ b/config/readline.m4 @@ -20,7 +20,7 @@ else [if test "$with_readline" != check; then AC_MSG_FAILURE([cannot find libreadline!]) fi], -lncurses) - if [ -z "$READLINE_LDFLAGS" ]; then with_readline=no; else with_readline=yes; fi + if test -z "$READLINE_LDFLAGS"; then with_readline=no; else with_readline=yes; fi fi ])# CVC4_CHECK_FOR_READLINE -- 2.30.2