Remove stat module & update lstat.
[gnulib.git] / m4 / lstat.m4
1 #serial 13
2
3 # Copyright (C) 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005 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 lstat has the bug that it succeeds when given the
12 dnl zero-length file name argument.  The lstat 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_LSTAT_EMPTY_STRING_BUG and arrange to
16 dnl compile the wrapper function.
17 dnl
18
19 AC_DEFUN([gl_FUNC_LSTAT],
20 [
21   AC_REQUIRE([AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK])
22   dnl Note: AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK does AC_LIBOBJ(lstat).
23   :
24 ])