From 2245f28cb38d7401aa99ce7689dbf121d9ccd843 Mon Sep 17 00:00:00 2001 From: Samy Al Bahra Date: Tue, 24 Sep 2013 13:41:43 -0400 Subject: [PATCH] build: Strictify /proc/cpuinfo pattern for SPARC Linux. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 62e1b97..797a49e 100755 --- a/configure +++ b/configure @@ -264,7 +264,7 @@ case "$SYSTEM" in SYSTEM=solaris ;; "Linux"|"uClinux") - DCORES=`egrep '(^processor.*:.*)' /proc/cpuinfo|wc -l` + DCORES=`egrep '(^CPU[0-9]+|^processor.*:.*)' /proc/cpuinfo|wc -l` SYSTEM=linux ;; "FreeBSD"|"GNU/kFreeBSD")