Mercurial > hg > octave-nkf > gnulib-hg
changeset 3809:5357f5f1afc4
Check for these headers: locale.h unistd.h mach/mach.h fcntl.h.
Check for this function: setlocale.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Wed, 24 Apr 2002 07:49:00 +0000 |
parents | 26419ce57a99 |
children | 9aec15097292 |
files | m4/getloadavg.m4 |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/m4/getloadavg.m4 +++ b/m4/getloadavg.m4 @@ -12,6 +12,9 @@ AC_DEFUN([AC_FUNC_GETLOADAVG], [ac_have_func=no # yes means we've found a way to get the load average. +AC_CHECK_HEADERS(locale.h unistd.h mach/mach.h fcntl.h) +AC_CHECK_FUNCS(setlocale) + # By default, expect to find getloadavg.c in $srcdir/. ac_lib_dir_getloadavg=$srcdir # But if there's an argument, DIR, expect to find getloadavg.c in $srcdir/DIR.