projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17db64e
)
Check for these headers: locale.h unistd.h mach/mach.h fcntl.h.
author
Jim Meyering
<jim@meyering.net>
Wed, 24 Apr 2002 07:49:00 +0000
(07:49 +0000)
committer
Jim Meyering
<jim@meyering.net>
Wed, 24 Apr 2002 07:49:00 +0000
(07:49 +0000)
Check for this function: setlocale.
m4/getloadavg.m4
patch
|
blob
|
history
diff --git
a/m4/getloadavg.m4
b/m4/getloadavg.m4
index 9116738e9487dd2079ef3744689e52abf3e52c30..73c60c536ddd42f6cdc6e676040d6b27a4dfad23 100644
(file)
--- a/
m4/getloadavg.m4
+++ b/
m4/getloadavg.m4
@@
-12,6
+12,9
@@
undefine([AC_FUNC_GETLOADAVG])
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.