From 8d503b536228f5b135123a5a553d716e2e0cbdd3 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 1 Nov 2001 16:46:06 +0000 Subject: check for decl, too --- m4/dirfd.m4 | 1 + 1 file changed, 1 insertion(+) (limited to 'm4') diff --git a/m4/dirfd.m4 b/m4/dirfd.m4 index b62e12a54..e02b401ab 100644 --- a/m4/dirfd.m4 +++ b/m4/dirfd.m4 @@ -6,6 +6,7 @@ dnl From Jim Meyering AC_DEFUN([UTILS_FUNC_DIRFD], [ AC_REPLACE_FUNCS([dirfd]) + AC_CHECK_DECLS([dirfd]) if test $ac_cv_func_dirfd = no; then AC_CACHE_CHECK( [how to get the file descriptor associated with an open DIR*], -- cgit v1.2.3-70-g09d2