aboutsummaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2009-03-18 16:51:41 +0200
committerLasse Collin <lasse.collin@tukaani.org>2009-03-18 16:51:41 +0200
commit390e69887fc5e0a108eb41203bed9acd100a3d76 (patch)
tree194b00fba1ed125bb48032ff84807a1645fa1b5c /m4
parentTest for Linux-specific sysinfo() only on Linux systems. (diff)
downloadxz-390e69887fc5e0a108eb41203bed9acd100a3d76.tar.xz
Fix wrong macro names in lc_cpucores.m4 and cpucores.h.
Thanks to Bert Wesarg.
Diffstat (limited to 'm4')
-rw-r--r--m4/lc_cpucores.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/lc_cpucores.m4 b/m4/lc_cpucores.m4
index 5e4e02d7..2fae953a 100644
--- a/m4/lc_cpucores.m4
+++ b/m4/lc_cpucores.m4
@@ -26,7 +26,7 @@ main(void)
return 0;
}
]])], [
- AC_DEFINE([HAVE_NCPU_SYSCONF], [1],
+ AC_DEFINE([HAVE_CPUCORES_SYSCONF], [1],
[Define to 1 if the number of available CPU cores can be
detected with sysconf(_SC_NPROCESSORS_ONLN).])
AC_MSG_RESULT([sysconf])
@@ -47,7 +47,7 @@ main(void)
return 0;
}
]])], [
- AC_DEFINE([HAVE_NCPU_SYSCTL], [1],
+ AC_DEFINE([HAVE_CPUCORES_SYSCTL], [1],
[Define to 1 if the number of available CPU cores can be
detected with sysctl().])
AC_MSG_RESULT([sysctl])