Use an all-permissive copyright notice, recommended by RMS.
[gnulib.git] / m4 / stat.m4
1 #serial 11
2
3 # Copyright (C) 1997, 1998, 1999, 2000, 2001, 2003, 2004 Free Software
4 # Foundation, Inc.
5 #
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.
9
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.
14 dnl
15 dnl If it does, then define HAVE_STAT_EMPTY_STRING_BUG and arrange to
16 dnl compile the wrapper function.
17 dnl
18
19 AC_DEFUN([gl_FUNC_STAT],
20 [
21   AC_FUNC_STAT
22   dnl Note: AC_FUNC_STAT does AC_LIBOBJ(stat).
23   if test $ac_cv_func_stat_empty_string_bug = yes; then
24     gl_PREREQ_STAT
25   fi
26 ])
27
28 # Prerequisites of lib/stat.c.
29 AC_DEFUN([gl_PREREQ_STAT],
30 [
31   :
32 ])