about summary refs log tree commit diff
path: root/configure.ac
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2005-01-27 12:00:57 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2005-01-27 12:00:57 +0000
commit82e24bad6aa09b756e146b5bdc52999c7c33654f (patch)
treed753fd842bf8d2399a20f7a12baf3b382cb1fbab /configure.ac
parentefab84931049b714049b5b6ddc8bc7aa61196f34 (diff)
downloadzsh-82e24bad6aa09b756e146b5bdc52999c7c33654f.tar.gz
zsh-82e24bad6aa09b756e146b5bdc52999c7c33654f.tar.xz
zsh-82e24bad6aa09b756e146b5bdc52999c7c33654f.zip
users/8433: fix hang in configure on latest Cygwin
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 6 insertions, 2 deletions
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