zsh-workers
 help / color / mirror / code / Atom feed
* Re: Zsh 4.38
       [not found] <4908C6B8.3080400@chell.nl>
@ 2008-10-30  9:51 ` Peter Stephenson
  2008-10-30 10:37   ` Stephane Chazelas
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Stephenson @ 2008-10-30  9:51 UTC (permalink / raw)
  To: Elbert Pol, Zsh hackers list

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@sunsite.dk 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@csr.com>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Zsh 4.38
  2008-10-30  9:51 ` Zsh 4.38 Peter Stephenson
@ 2008-10-30 10:37   ` Stephane Chazelas
  0 siblings, 0 replies; 2+ messages in thread
From: Stephane Chazelas @ 2008-10-30 10:37 UTC (permalink / raw)
  To: Peter Stephenson; +Cc: Elbert Pol, Zsh hackers list

On Thu, Oct 30, 2008 at 09:51:20AM +0000, Peter Stephenson wrote:
[...]
> -if test "$dynamic" = yes; then
> +if test "x$dynamic" = yes; then

ITYM:

if test "x$dynamic" = xyes; then

or

if test yes = "$dynamic"; then

or

case $dynamic in
  yes) ...

>    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

Same here.

-- 
Stéphane


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-10-30 10:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <4908C6B8.3080400@chell.nl>
2008-10-30  9:51 ` Zsh 4.38 Peter Stephenson
2008-10-30 10:37   ` Stephane Chazelas

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).