# HG changeset patch # User Jim Meyering # Date 1160659566 0 # Node ID 8191ffaeaa2a70c790b10771429fc84585678d77 # Parent d8600d38d977f8ff8b1374272c40535a252167b0 * m4/getloadavg.m4: Revert the change below. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2006-10-12 Jim Meyering + * 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 diff --git a/m4/getloadavg.m4 b/m4/getloadavg.m4 --- a/m4/getloadavg.m4 +++ b/m4/getloadavg.m4 @@ -16,7 +16,7 @@ [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