diff options
author | Bruno Haible <bruno@clisp.org> | 2009-10-18 10:56:30 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-10-18 10:56:30 +0200 |
commit | c1c314994ba1f47f5af0be7600c400841c5d34da (patch) | |
tree | 953d404d76b7547ea8197a9bb829ff9da13a3c79 /m4 | |
parent | 2ea759e2faab0331078b1ea0df244ef781dbd994 (diff) | |
download | gnulib-c1c314994ba1f47f5af0be7600c400841c5d34da.tar.gz |
Implement nproc for IRIX.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/nproc.m4 | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/m4/nproc.m4 b/m4/nproc.m4 index 5bcae8028d..5e80fa6939 100644 --- a/m4/nproc.m4 +++ b/m4/nproc.m4 @@ -1,4 +1,4 @@ -# nproc.m4 serial 2 +# nproc.m4 serial 3 dnl Copyright (C) 2009 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -12,7 +12,8 @@ AC_DEFUN([gl_NPROC], # Prerequisites of lib/nproc.c. AC_DEFUN([gl_PREREQ_NPROC], [ - AC_CHECK_HEADERS([sys/pstat.h sys/param.h],,, [AC_INCLUDES_DEFAULT]) + AC_CHECK_HEADERS([sys/pstat.h sys/sysmp.h sys/param.h],,, + [AC_INCLUDES_DEFAULT]) dnl <sys/sysctl.h> requires <sys/param.h> on OpenBSD 4.0. AC_CHECK_HEADERS([sys/sysctl.h],,, [AC_INCLUDES_DEFAULT @@ -20,5 +21,5 @@ AC_DEFUN([gl_PREREQ_NPROC], # include <sys/param.h> #endif ]) - AC_CHECK_FUNCS([pstat_getdynamic sysctl]) + AC_CHECK_FUNCS([pstat_getdynamic sysmp sysctl]) ]) |