summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-01-23 17:59:15 +0000
committerJim Meyering <jim@meyering.net>2003-01-23 17:59:15 +0000
commita3cd50db3653773699da5011faeb1b063271afd6 (patch)
treed206d94ad775617c290a566ec938f4dc749a31c9
parent5da9c7d257f59b649229040d95fd86c8d830868c (diff)
downloadgnulib-a3cd50db3653773699da5011faeb1b063271afd6.tar.gz
(UTILS_FUNC_DIRFD): Correct typo: s/-1/no/ that
kept this from working on at least Irix and OSF1/Tru64.
-rw-r--r--m4/dirfd.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/dirfd.m4 b/m4/dirfd.m4
index 27914ded34..0e1090ed2a 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])