diff options
Diffstat (limited to 'm4/ctng_cpu_count.m4')
-rw-r--r-- | m4/ctng_cpu_count.m4 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/m4/ctng_cpu_count.m4 b/m4/ctng_cpu_count.m4 index 4ea50d81..c10ae8bb 100644 --- a/m4/ctng_cpu_count.m4 +++ b/m4/ctng_cpu_count.m4 @@ -1,10 +1,10 @@ # Find out how to count CPUs AC_DEFUN([CTNG_CPU_COUNT], [AC_CACHE_CHECK([whether to use getconf or sysctl to count CPUs], - [acx_cv_cpu_count], + [ctng_cv_cpu_count], [getconf _NPROCESSORS_ONLN >/dev/null 2>&1 && \ - acx_cv_cpu_count="getconf _NPROCESSORS_ONLN" + ctng_cv_cpu_count="getconf _NPROCESSORS_ONLN" sysctl -n hw.ncpu >/dev/null 2>&1 && \ - acx_cv_cpu_count="sysctl -n hw.ncpu"]) - AC_SUBST(CPU_COUNT, "$acx_cv_cpu_count") + ctng_cv_cpu_count="sysctl -n hw.ncpu"]) + AC_SUBST(CPU_COUNT, "$ctng_cv_cpu_count") ]) |