(UTILS_FUNC_DIRFD): Correct typo: s/-1/no/ that
authorJim Meyering <jim@meyering.net>
Thu, 23 Jan 2003 17:59:15 +0000 (17:59 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 23 Jan 2003 17:59:15 +0000 (17:59 +0000)
kept this from working on at least Irix and OSF1/Tru64.

m4/dirfd.m4

index 27914de..0e1090e 100644 (file)
@@ -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])