Mercurial > hg > octave-kai > gnulib-hg
changeset 7490:8191ffaeaa2a
* m4/getloadavg.m4: Revert the change below.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Thu, 12 Oct 2006 13:26:06 +0000 |
parents | d8600d38d977 |
children | 49badf7492a0 |
files | ChangeLog m4/getloadavg.m4 |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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
--- 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