X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fgetloadavg.m4;h=567245ea8bc495fa47b0eff942f2c1356dcca072;hb=4a897bdaceccb835ad74d452c8631f43859b2cea;hp=08ec0149bb47d35dd067709f46bc231f05399fd1;hpb=e059c2358aad79ce8dfd9581dd6f12ce8503dc63;p=gnulib.git diff --git a/m4/getloadavg.m4 b/m4/getloadavg.m4 index 08ec0149b..567245ea8 100644 --- a/m4/getloadavg.m4 +++ b/m4/getloadavg.m4 @@ -1,4 +1,4 @@ -#serial 10 +#serial 11 # A replacement for autoconf's macro by the same name. This version # accepts an optional argument specifying the name of the $srcdir-relative @@ -92,7 +92,7 @@ if test $ac_cv_func_getloadavg_setgid = yes; then # If we got an error (system does not support symlinks), try without -L. test -z "$ac_ls_output" && ac_ls_output=`ls -lg /dev/kmem` ac_cv_group_kmem=`echo $ac_ls_output \ - | sed -ne ['s/[ ][ ]*/ /g; + | sed -ne ['s/[ ][ ]*/ /g; s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/; / /s/.* //;p;']` ])