From 9d1540e5864ff9781c74769b78e75a68c7481f58 Mon Sep 17 00:00:00 2001 From: Samy Al Bahra Date: Mon, 17 Sep 2012 13:32:57 -0400 Subject: [PATCH] build: Add core count detection for Linux on non-x86 targets. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 5e04969..ae14e02 100755 --- a/configure +++ b/configure @@ -224,7 +224,7 @@ case "$SYSTEM" in SYSTEM=solaris ;; "Linux"|"uClinux") - DCORES=`grep '^processor.*:.*' /proc/cpuinfo|wc -l` + DCORES=`egrep '(^CPU|processor.*:.*)' /proc/cpuinfo|wc -l` SYSTEM=linux ;; "FreeBSD"|"GNU/kFreeBSD")