3 # Copyright (C) 1997, 1998, 1999, 2000, 2001, 2003, 2004 Free Software
6 # This file is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
10 dnl From Jim Meyering.
11 dnl Determine whether stat has the bug that it succeeds when given the
12 dnl zero-length file name argument. The stat from SunOS 4.1.4 and the Hurd
13 dnl (as of 1998-11-01) do this.
15 dnl If it does, then define HAVE_STAT_EMPTY_STRING_BUG and arrange to
16 dnl compile the wrapper function.
19 AC_DEFUN([gl_FUNC_STAT],
22 dnl Note: AC_FUNC_STAT does AC_LIBOBJ(stat).
23 if test $ac_cv_func_stat_empty_string_bug = yes; then
28 # Prerequisites of lib/stat.c.
29 AC_DEFUN([gl_PREREQ_STAT],