summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-04-29 05:36:32 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-04-29 05:36:32 +0000
commit3c1de3456168d5fb8aaae1b7c58b40a75b0f71ea (patch)
tree2bade69ac6cf13e061a3b7ecd56c17332be6f038
parent4f3f76a4c3dfd687785b80b3505562e4ad83596f (diff)
downloadcoreutils-3c1de3456168d5fb8aaae1b7c58b40a75b0f71ea.tar.xz
(gl_FUNC_LSTAT): Require AC_FUNC_LSTAT instead of calling
it. Don't require AC_HEADER_STAT. (gl_PREREQ_LSTAT): Remove.
-rw-r--r--m4/lstat.m415
1 files changed, 3 insertions, 12 deletions
diff --git a/m4/lstat.m4 b/m4/lstat.m4
index f65f59378..3af1fdff0 100644
--- a/m4/lstat.m4
+++ b/m4/lstat.m4
@@ -1,6 +1,6 @@
-#serial 12
+#serial 13
-# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2003, 2004 Free Software
+# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005 Free Software
# Foundation, Inc.
#
# This file is free software; the Free Software Foundation
@@ -18,16 +18,7 @@ dnl
AC_DEFUN([gl_FUNC_LSTAT],
[
- AC_FUNC_LSTAT
+ AC_REQUIRE([AC_FUNC_LSTAT])
dnl Note: AC_FUNC_LSTAT does AC_LIBOBJ(lstat).
- if test $ac_cv_func_lstat_empty_string_bug = yes; then
- gl_PREREQ_LSTAT
- fi
-])
-
-# Prerequisites of lib/lstat.c.
-AC_DEFUN([gl_PREREQ_LSTAT],
-[
- AC_REQUIRE([AC_HEADER_STAT])
:
])