summaryrefslogtreecommitdiff
path: root/m4/getloadavg.m4
Commit message (Collapse)AuthorAgeFilesLines
* * m4/getloadavg.m4: Revert the change below.Jim Meyering2006-10-121-1/+1
|
* * m4/getloadavg.m4 (gl_GETLOADAVG): Test for the existence ofJim Meyering2006-10-121-1/+1
| | | | | | lib/getloadavg.c using "ls -L", not "test -f". The latter would fail with a symlink, which is what coreutils' ./bootstrap now creates by default.
* Oops, update error message also.Bruno Haible2006-09-251-1/+1
|
* Pass to the gl_GETLOADAVG macro the $gl_source_base from gnulib-tool.Bruno Haible2006-09-221-4/+4
|
* * lib/getloadavg.c: Use CONFIGURING_GETLOADAVG, not gl_GETLOADAVG.Paul Eggert2006-09-011-55/+54
| | | | | | | | | | | Problem reported by Ralf Wildenhues in <http://lists.gnu.org/archive/html/bug-gnulib/2006-09/msg00000.html>. * m4/getloadavg.m4 (gl_GETLOADAVG): Use CONFIGURING_GETLOADAVG, not gl_GETLOADAVG. Omit unneeded semicolons. Problems reported by Ralf Wildenhues in <http://lists.gnu.org/archive/html/bug-gnulib/2006-09/msg00000.html>. (gl_PREREQ_GETLOADAVG): Use AC_DEFUN, not m4_define. Put at the end, which is the usual gnulib style.
* * modules/getloadavg (Files): Add m4/getloadavg.m4.Paul Eggert2006-08-311-0/+156
| | | | | | | | | | | (configure.ac): AC_FUNC_GETLOADAVG -> gl_GETLOADAVG, as the former is now obsolescent. * lib/getloadavg.c [defined gl_GETLOADAVG]: Don't include config.h or stdbool.h, because they might not exist while configuring. * m4/fnmatch.m4: Add comment that Autoconf AC_FUNC_FNMATCH is obsolescent, and programs should use gnulib instead. * m4/getloadavg.m4: New file, with contents taken from Autoconf but with prefixes changed.
* Sync from coreutils.Paul Eggert2005-01-281-125/+0
| | | | | | | | | | * modules/getloadavg (Files): Remove m4/getloadavg.m4. (Depends-on): Add c-strtod. (configure.ac): Replace gl_FUNC_GETLOADAVG with AC_FUNC_GETLOADAVG. * m4/getloadavg.m4, m4/glibc.m4, m4/search-libs.m4: Remove. * m4/check-decl.m4, m4/jm-macros.m4, m4/lib-check.m4, m4/prereq.m4: Remove files that are specific to coreutils.
* Use [\t ], not [ \t] (where \t is a literal TAB).Jim Meyering2003-08-181-2/+2
|
* An independent .m4 file for each module.Bruno Haible2002-12-311-2/+19
|
* bump serial # to 9Jim Meyering2002-04-241-1/+1
|
* Check for these headers: locale.h unistd.h mach/mach.h fcntl.h.Jim Meyering2002-04-241-0/+3
| | | | Check for this function: setlocale.
* s/ifval/m4_ifval/ to accommodate new autoconf.Jim Meyering2000-11-301-2/+2
|
* (AC_FUNC_GETLOADAVG): Restore the initial value of LIBS.Jim Meyering2000-09-181-0/+2
| | | | | Otherwise, everyone ends up linking with -lelf for some configurations. Reported by Mike Stone.
* (AM_FUNC_GETLOADAVG): Replace with AC_FUNC_GETLOADAVGJim Meyering2000-06-171-76/+52
| | | | from autoconf, and tweak the latter to accept an optional argument.
* (AM_FUNC_GETLOADAVG): Use AC_CHECK_HEADERS, notJim Meyering2000-04-121-2/+2
| | | | | `AC_CHECK_HEADER' to check for locale.h. Thanks to a report from Christian Krackowizer.
* (AM_FUNC_GETLOADAVG): Remove now-unnecessary use of changequote.Jim Meyering2000-02-081-6/+3
|
* Add `, 1, [FIXME]' to each use of AC_DEFINE.Jim Meyering1999-11-071-9/+9
|
* Check for locale.h and the function, setlocale.Jim Meyering1999-01-311-1/+4
|
* use 3-arg form of AC_DEFINE_UNQUOTEDJim Meyering1999-01-301-1/+1
|
* (AM_FUNC_GETLOADAVG): Check for pstat_getdynamic.Jim Meyering1997-01-171-1/+4
|
* broken out of ../acinclude.m4Jim Meyering1996-12-211-0/+124