From 0b5850c162161512a7faceb7a8acad1c119c5630 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Wed, 13 Dec 2023 11:45:38 +0100 Subject: 52394: alter form of /dev/fd test to work where /bin/sh is ksh such as on Solaris 11 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') 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") -- cgit 1.4.1