changeset 4205:bdd1f9cba2af

(UTILS_FUNC_DIRFD): Correct typo: s/-1/no/ that kept this from working on at least Irix and OSF1/Tru64.
author Jim Meyering <jim@meyering.net>
date Thu, 23 Jan 2003 17:59:15 +0000
parents 8b0b14f7d07b
children 20a6a0a8a1b9
files m4/dirfd.m4
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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_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])