From 9b1facc61f49e5f4cc5c0b64507550dde3b7dc35 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 30 Sep 2005 15:21:19 +0000 Subject: [PATCH] (gl_FUNC_OPENAT): Check for fdopendir. --- m4/openat.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/m4/openat.m4 b/m4/openat.m4 index 0f0156e..15085c9 100644 --- a/m4/openat.m4 +++ b/m4/openat.m4 @@ -1,4 +1,4 @@ -#serial 4 +#serial 6 # See if we need to use our replacement for Solaris' openat function. dnl Copyright (C) 2004, 2005 Free Software Foundation, Inc. @@ -13,6 +13,7 @@ AC_DEFUN([gl_FUNC_OPENAT], AC_LIBSOURCES([openat.c, openat.h, openat-die.c]) AC_LIBOBJ([openat-die]) AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) + AC_CHECK_FUNCS_ONCE([fdopendir]) AC_REPLACE_FUNCS(openat) case $ac_cv_func_openat in yes) ;; -- 2.7.4