From a3cd50db3653773699da5011faeb1b063271afd6 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 23 Jan 2003 17:59:15 +0000 Subject: [PATCH] (UTILS_FUNC_DIRFD): Correct typo: s/-1/no/ that kept this from working on at least Irix and OSF1/Tru64. --- m4/dirfd.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/m4/dirfd.m4 b/m4/dirfd.m4 index 27914ded3..0e1090ed2 100644 --- a/m4/dirfd.m4 +++ b/m4/dirfd.m4 @@ -1,4 +1,4 @@ -#serial 3 +#serial 4 dnl Find out how to get the file descriptor associated with an open DIR*. dnl From Jim Meyering @@ -65,7 +65,7 @@ AC_DEFUN([UTILS_FUNC_DIRFD], ac_cv_sys_dir_fd_member_name=$ac_expr ] ) - if test $ac_cv_have_decl_dirfd = -1; then + if test $ac_cv_have_decl_dirfd = no; then AC_DEFINE_UNQUOTED(DIR_FD_MEMBER_NAME, $ac_cv_sys_dir_fd_member_name, [the name of the file descriptor member of DIR]) -- 2.11.0