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

Re: Zsh 4.38



Elbert Pol wrote:
> I tried today to port Zsh to os/2
> I run ./configure and @ the end i see this error.

Please could you send this sort of message to zsh-workers@xxxxxxxxxx so
anyone else can comment on the problem.  Thanks.

> zsh configuration
> -----------------
> zsh version               : 4.3.8
> host operating system     : i386-pc-os2-emx
> source code location      : .
> compiler                  : gcc
> preprocessor flags        :
> executable compiler flags : -D__EMX__ -DOS2  -D__ST_MT_ERRNO__ -O3 
> -mtune=pentiu
> m3
> executable linker flags   : -Zexe -Zomf -Zmap -Zargs-wild -Zbin-files 
> -D__ST_MT_
> ERRNO__  -s -rdynamic
> library flags             : -lgdbm -lsocket -ldl -lncurses -lm  -lc
> installation basename     : zsh
> binary install path       : /Zsh438/bin
> man page install path     : ${prefix}/share/man
> info install path         : ${prefix}/share/info
> functions install path    : ${prefix}/share/zsh/4.3.8/functions
> See config.modules for installed modules and functions.
> 
> ./configure.lineno: 21259: Syntax error: word unexpected (expecting ")")
> 
> Any ideas?

I think this might be just a cosmetic problem outputting the
information and configure actually ran OK apart from that.  I have no
idea how much luck you will have with the main compilation.

Index: configure.ac
===================================================================
RCS file: /cvsroot/zsh/zsh/configure.ac,v
retrieving revision 1.109
diff -u -r1.109 configure.ac
--- configure.ac	10 Oct 2008 16:32:28 -0000	1.109
+++ configure.ac	30 Oct 2008 09:49:23 -0000
@@ -2919,13 +2919,13 @@
 compiler                  : ${CC}
 preprocessor flags        : ${CPPFLAGS}
 executable compiler flags : ${CFLAGS}"
-if test "$dynamic" = yes; then
+if test "x$dynamic" = yes; then
   echo "\
 module compiler flags     : ${CFLAGS} ${DLCFLAGS}"
 fi
 echo "\
 executable linker flags   : ${LDFLAGS} ${EXELDFLAGS} ${EXTRA_LDFLAGS}"
-if test "$dynamic" = yes; then
+if test "x$dynamic" = yes; then
   echo "\
 module linker flags       : ${LDFLAGS} ${LIBLDFLAGS} ${DLLDFLAGS}"
 fi


-- 
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