summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-11-01 16:46:06 +0000
committerJim Meyering <jim@meyering.net>2001-11-01 16:46:06 +0000
commit8d503b536228f5b135123a5a553d716e2e0cbdd3 (patch)
tree4db11409229cdad1c372650a690e145acfe240de
parent274003219b4d4f07047b06b0b4d682dae0727503 (diff)
downloadcoreutils-8d503b536228f5b135123a5a553d716e2e0cbdd3.tar.xz
check for decl, too
-rw-r--r--m4/dirfd.m41
1 files changed, 1 insertions, 0 deletions
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*],