* m4/getloadavg.m4: Revert the change below.
authorJim Meyering <jim@meyering.net>
Thu, 12 Oct 2006 13:26:06 +0000 (13:26 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 12 Oct 2006 13:26:06 +0000 (13:26 +0000)
ChangeLog
m4/getloadavg.m4

index a0ef726482a86cfb78b38f2d3acbe63987555f35..83cec365cc306dbf35dfe9a3c9a39c54c6eca543 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2006-10-12  Jim Meyering  <jim@meyering.net>
 
+       * m4/getloadavg.m4: Revert the change below.
+
        * m4/getloadavg.m4 (gl_GETLOADAVG): Test for the existence of
        lib/getloadavg.c using "ls -L", not "test -f".  The latter would
        fail with a symlink, which is what coreutils' ./bootstrap now
index a32d5c8edc6d97814ccbdb25924cba2f35b3745e..8243729197ccd8d95b6433745a93629f2fe84b3f 100644 (file)
@@ -16,7 +16,7 @@ AC_DEFUN([gl_GETLOADAVG],
 [gl_have_func=no # yes means we've found a way to get the load average.
 
 # Make sure getloadavg.c is where it belongs, at configure-time.
-ls -L "$srcdir/$1/getloadavg.c" >/dev/null ||
+test -f "$srcdir/$1/getloadavg.c" ||
   AC_MSG_ERROR([$srcdir/$1/getloadavg.c is missing])
 
 gl_save_LIBS=$LIBS