zsh-users
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@csr.com>
To: zsh-users@sunsite.dk
Subject: Re: 4.2.3
Date: Thu, 27 Jan 2005 11:57:37 +0000	[thread overview]
Message-ID: <200501271157.j0RBvb8S017171@news01.csr.com> (raw)
In-Reply-To: <200501271044.j0RAib7l024315@news01.csr.com>

Peter Stephenson wrote:
> djh wrote:
> > I just downloaded zsh-4.2.3 and tried to build it on a new version of 
> > cygwin, but the
> > configure script dies somewhere after printing  a message like,  "Now 
> > checking FIFO"..
> > 
> > Does anyone know of a fix for this yet?
> 
> Meanwhile, if FIFOs are the problem it should be
> possible to doctor the script to tell them they don't work under
                                        ^^^^ it, as we say in English
> Cygwin.

Yes, this works... I upgraded a sacrificial laptop.  FIFOs never worked
anyway and every test that should pass does.  If stout-heartedness
prevails, we may produce a 4.2.4 with this fix and the fix for the
-nt/-ot test problem.

If you apply this to 4.2.3, you'll need autoconf 2.5x.  Otherwise you
can cheat by doctoring configure by hand...

After the lines at around 14722:

echo "$as_me:$LINENO: checking if named FIFOs work" >&5
echo $ECHO_N "checking if named FIFOs work... $ECHO_C" >&6
if test "${zsh_cv_sys_fifo+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

insert:

  if test "$host_os" = cygwin; then
zsh_cv_sys_fifo=no
else

and insert an extra

fi

(there should already be two) before the lines at the end of the same block:

echo "$as_me:$LINENO: result: $zsh_cv_sys_fifo" >&5
echo "${ECHO_T}$zsh_cv_sys_fifo" >&6


Index: configure.ac
===================================================================
RCS file: /cvsroot/zsh/zsh/configure.ac,v
retrieving revision 1.23
diff -u -r1.23 configure.ac
--- configure.ac	19 Jan 2005 13:03:36 -0000	1.23
+++ configure.ac	27 Jan 2005 11:48:56 -0000
@@ -1635,7 +1635,10 @@
 dnl -----------
 AC_CACHE_CHECK(if named FIFOs work,
 zsh_cv_sys_fifo,
-[AC_TRY_RUN([
+[if test "$host_os" = cygwin; then
+zsh_cv_sys_fifo=no
+else
+AC_TRY_RUN([
 #include <fcntl.h>
 #include <signal.h>
 main()
@@ -1665,7 +1668,8 @@
 ],
   zsh_cv_sys_fifo=yes,
   zsh_cv_sys_fifo=no,
-  zsh_cv_sys_fifo=yes)])
+  zsh_cv_sys_fifo=yes)
+fi])
 AH_TEMPLATE([HAVE_FIFOS],
 [Define to 1 if system has working FIFOs.])
 if test $zsh_cv_sys_fifo = yes; then

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


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************


  reply	other threads:[~2005-01-27 11:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-27  9:43 4.2.3 djh
2005-01-27 10:44 ` 4.2.3 Peter Stephenson
2005-01-27 11:57   ` Peter Stephenson [this message]
2005-01-27 17:20 ` 4.2.3 Peter A. Castro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200501271157.j0RBvb8S017171@news01.csr.com \
    --to=pws@csr.com \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).