Commit 46eaf351 authored by Jim Meyering's avatar Jim Meyering

* m4/getloadavg.m4: Revert the change below.

parent f4efd327
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
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment