From: Jim Meyering Date: Thu, 23 Jan 2003 17:59:15 +0000 (+0000) Subject: (UTILS_FUNC_DIRFD): Correct typo: s/-1/no/ that X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3cd50db3653773699da5011faeb1b063271afd6;p=pspp (UTILS_FUNC_DIRFD): Correct typo: s/-1/no/ that kept this from working on at least Irix and OSF1/Tru64. --- 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])