diff options
author | Oliver Kiddle <opk@zsh.org> | 2023-12-13 11:45:38 +0100 |
---|---|---|
committer | Oliver Kiddle <opk@zsh.org> | 2023-12-13 11:45:38 +0100 |
commit | 0b5850c162161512a7faceb7a8acad1c119c5630 (patch) | |
tree | da5b8c32646a81fca8323cc7abaead64f2b21db1 /configure.ac | |
parent | 10c3ed20c7068a0564a812ddc232c8f35500813d (diff) | |
download | zsh-0b5850c162161512a7faceb7a8acad1c119c5630.tar.gz zsh-0b5850c162161512a7faceb7a8acad1c119c5630.tar.xz zsh-0b5850c162161512a7faceb7a8acad1c119c5630.zip |
52394: alter form of /dev/fd test to work where /bin/sh is ksh such as on Solaris 11
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 9cb6e032b..2a8221e1f 100644 --- a/configure.ac +++ b/configure.ac @@ -2016,7 +2016,7 @@ AH_TEMPLATE([PATH_DEV_FD], [Define to the path of the /dev/fd filesystem.]) AC_CACHE_CHECK(for /dev/fd filesystem, zsh_cv_sys_path_dev_fd, [for zsh_cv_sys_path_dev_fd in /proc/self/fd /dev/fd no; do - test x`echo ok|(exec 3<&0; cat $zsh_cv_sys_path_dev_fd/3 2>/dev/null;)` = xok && break + (exec 3<&0; test -e $zsh_cv_sys_path_dev_fd/3;) && break done]) if test x$zsh_cv_sys_path_dev_fd != xno; then AC_DEFINE_UNQUOTED(PATH_DEV_FD, "$zsh_cv_sys_path_dev_fd") |