diff options
author | Jim Meyering <jim@meyering.net> | 2005-09-30 15:21:19 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-09-30 15:21:19 +0000 |
commit | 9b1facc61f49e5f4cc5c0b64507550dde3b7dc35 (patch) | |
tree | 95925c40b7f190bb8302535100e3cd16a468d872 /m4 | |
parent | 03866dcfb981ff8d36876331b598cb325bea27d9 (diff) | |
download | coreutils-9b1facc61f49e5f4cc5c0b64507550dde3b7dc35.tar.xz |
(gl_FUNC_OPENAT): Check for fdopendir.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/openat.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/m4/openat.m4 b/m4/openat.m4 index 0f0156e95..15085c97f 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) ;; |