Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: 4.2.3
- X-seq: zsh-users 8433
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: 4.2.3
- Date: Thu, 27 Jan 2005 11:57:37 +0000
- In-reply-to: <200501271044.j0RAib7l024315@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <41F8B7A8.6020206@xxxxxxxxxxxxxx> <200501271044.j0RAib7l024315@xxxxxxxxxxxxxx>
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@xxxxxxx> 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
**********************************************************************
Messages sorted by:
Reverse Date,
Date,
Thread,
Author