]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(gl_FUNC_LSTAT): Require AC_FUNC_LSTAT instead of calling
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 29 Apr 2005 05:36:32 +0000 (05:36 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 29 Apr 2005 05:36:32 +0000 (05:36 +0000)
it.  Don't require AC_HEADER_STAT.
(gl_PREREQ_LSTAT): Remove.

m4/lstat.m4

index f65f59378041b1ae4e6fd9dcd4284a4059a5b350..3af1fdff073f911b28127bc1e18e9edb156fdfc5 100644 (file)
@@ -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])
   :
 ])