Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zsh 4.3.5-dev-3



Torsten Veller wrote:
> * Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>:
> > I've uploaded the following
> > 
> > ftp://ftp.zsh.org/pub/development/zsh-4.3.5-dev-3.tar.bz2
> 
> zsh-4.3.5-dev-3 % ./configure --with-term-lib='ncursesw ncurses'
> [...]
> checking for pow in -lm... yes
> ./configure: line 6778: test: too many arguments
> checking if the curses library needs _XOPEN_SOURCE_EXTENDED... yes
> [...]

Yes, multiple words should work.

Index: configure.ac
===================================================================
RCS file: /cvsroot/zsh/zsh/configure.ac,v
retrieving revision 1.95
diff -u -r1.95 configure.ac
--- configure.ac	13 Mar 2008 11:11:00 -0000	1.95
+++ configure.ac	28 Mar 2008 11:50:18 -0000
@@ -656,7 +656,7 @@
 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

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070



Messages sorted by: Reverse Date, Date, Thread, Author