build: Strictify /proc/cpuinfo pattern for SPARC Linux.

ck_pring 0.3.1
Samy Al Bahra 11 years ago
parent 2d3e754a5c
commit 2245f28cb3

2
configure vendored

@ -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")

Loading…
Cancel
Save