diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2005-01-27 12:00:57 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2005-01-27 12:00:57 +0000 |
commit | 82e24bad6aa09b756e146b5bdc52999c7c33654f (patch) | |
tree | d753fd842bf8d2399a20f7a12baf3b382cb1fbab | |
parent | efab84931049b714049b5b6ddc8bc7aa61196f34 (diff) | |
download | zsh-82e24bad6aa09b756e146b5bdc52999c7c33654f.tar.gz zsh-82e24bad6aa09b756e146b5bdc52999c7c33654f.tar.xz zsh-82e24bad6aa09b756e146b5bdc52999c7c33654f.zip |
users/8433: fix hang in configure on latest Cygwin
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | configure.ac | 8 |
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 |