math: Fix some C++ test errors on Cygwin.
[pspp] / modules / nproc
index 7bdc4ed5d9b441ef7f9cacfad1e92e247415b747..c04d4cd66a097f23b3a1ab8c1992152279123eb3 100644 (file)
@@ -4,14 +4,18 @@ Detect the number of processors
 Files:
 lib/nproc.h
 lib/nproc.c
+m4/nproc.m4
 
 Depends-on:
+c-ctype
+extensions
 unistd
 
 configure.ac:
-AC_LIBOBJ([nproc])
+gl_NPROC
 
 Makefile.am:
+lib_SOURCES += nproc.c
 
 Include:
 "nproc.h"