summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-03-28 11:56:46 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-03-28 11:56:46 +0000
commit0db1d3f8396945324208dea0ef01ad828c149932 (patch)
tree39e7c780a41e1a8d60a2cce76243e85b874834c6
parent50d9cdeae4a63a9a628ed9ec218206e660322e68 (diff)
downloadzsh-0db1d3f8396945324208dea0ef01ad828c149932.tar.gz
zsh-0db1d3f8396945324208dea0ef01ad828c149932.tar.xz
zsh-0db1d3f8396945324208dea0ef01ad828c149932.zip
users/12739: fix multiple arguments to --with-term-lib
-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