about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--configure.ac8
2 files changed, 11 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 773f57eea..f5b6d6bbf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-01-27  Peter Stephenson  <pws@csr.com>
+
+	* users/8433: configure.ac: Latest Cygwin hangs on FIFO test,
+	so tell it explicitly that FIFOs don't work.
+
 2005-01-26  Clint Adams  <clint@zsh.org>
 
 	* 20753: Src/system.h, Src/Zle/zle_params.c: use ZS_memmove
diff --git a/configure.ac b/configure.ac
index 0f256bfd2..1b87dadaf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1635,7 +1635,10 @@ dnl named FIFOs
 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 @@ main()
 ],
   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