about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--configure.ac2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3ae57347c..3e2435c50 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2008-03-28  Peter Stephenson  <pws@csr.com>
 
+	* users/12739: configure.ac: multiple arguments to --with-term-lib
+	weren't handled properly.
+
 	* 24768: Completion/Unix/Type/_canonical_paths,
 	Doc/Zsh/builtins.yo, Etc/relnotes_4.3.6.txt, Src/builtin.c:
 	add -q option to cd, chdir, pushd, popd; use in _canonical_paths;
diff --git a/configure.ac b/configure.ac
index 88a7d836d..c14f6562d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -656,7 +656,7 @@ dnl On HPUX, Hcurses is reported to work better than curses.
 dnl Prefer ncurses to curses on all systems.  tinfo isn't very common now.
 AC_ARG_WITH(term-lib,
 AC_HELP_STRING([--with-term-lib=LIBS], [search space-separated LIBS for terminal handling]),
-[if test x$withval != xno && test x$withval != x ; then
+[if test "x$withval" != xno && test "x$withval" != x ; then
   termcap_curses_order="$withval"
   AC_SEARCH_LIBS(tigetstr, [$termcap_curses_order])
 else