summaryrefslogtreecommitdiff
path: root/modules/nproc
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2009-10-18 10:13:58 +0200
committerBruno Haible <bruno@clisp.org>2009-10-18 10:13:58 +0200
commite841c33e13f765327b1d2cd98b5934e337ab44d9 (patch)
treeb5799347ac2566683e2d6f1da269dffd6e544607 /modules/nproc
parentbb0465fcf85351b8b7bea0507d9c326319f3b94a (diff)
downloadgnulib-e841c33e13f765327b1d2cd98b5934e337ab44d9.tar.gz
Implement nproc for NetBSD, OpenBSD.
Diffstat (limited to 'modules/nproc')
-rw-r--r--modules/nproc4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/nproc b/modules/nproc
index 7bdc4ed5d9..7b24121c5e 100644
--- a/modules/nproc
+++ b/modules/nproc
@@ -4,14 +4,16 @@ Detect the number of processors
Files:
lib/nproc.h
lib/nproc.c
+m4/nproc.m4
Depends-on:
unistd
configure.ac:
-AC_LIBOBJ([nproc])
+gl_NPROC
Makefile.am:
+lib_SOURCES += nproc.c
Include:
"nproc.h"