From: Jim Meyering Date: Fri, 30 Sep 2005 15:21:19 +0000 (+0000) Subject: (gl_FUNC_OPENAT): Check for fdopendir. X-Git-Tag: v5.91~94 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b1facc61f49e5f4cc5c0b64507550dde3b7dc35;p=thirdparty%2Fcoreutils.git (gl_FUNC_OPENAT): Check for fdopendir. --- diff --git a/m4/openat.m4 b/m4/openat.m4 index 0f0156e952..15085c97f9 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) ;;