Lines Matching refs:CPU_COUNT
14 # The value is placed in the CPU_COUNT variable.
34 CPU_COUNT="0"
41 CPU_COUNT=`/usr/sbin/sysctl -n hw.ncpu`
45 AS_IF([test "x$CPU_COUNT" = "x0" -a -e /proc/cpuinfo],[
46 AS_IF([test "x$CPU_COUNT" = "x0" -a -e /proc/cpuinfo],[
47 CPU_COUNT=`$EGREP -c '^processor' /proc/cpuinfo`
52 CPU_COUNT="$NUMBER_OF_PROCESSORS"
56 CPU_COUNT="$NUMBER_OF_PROCESSORS"
60 AS_IF([test "x$CPU_COUNT" = "x0"],[
61 CPU_COUNT="1"
64 AC_MSG_RESULT( $CPU_COUNT )