Patch from Aleksej Saushev to properly only check for /proc/cpuinfo on Linux-based systems
This commit was SVN r22417.
Этот коммит содержится в:
родитель
6dc506c9de
Коммит
596473e7ca
@ -10,6 +10,7 @@
|
|||||||
# University of Stuttgart. All rights reserved.
|
# University of Stuttgart. All rights reserved.
|
||||||
# Copyright (c) 2004-2005 The Regents of the University of California.
|
# Copyright (c) 2004-2005 The Regents of the University of California.
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
|
# Copyright (c) 2010 Cisco Systems, Inc. All rights reserved.
|
||||||
# $COPYRIGHT$
|
# $COPYRIGHT$
|
||||||
#
|
#
|
||||||
# Additional copyrights may follow
|
# Additional copyrights may follow
|
||||||
@ -23,7 +24,7 @@
|
|||||||
AC_DEFUN([MCA_pstat_linux_CONFIG],[
|
AC_DEFUN([MCA_pstat_linux_CONFIG],[
|
||||||
|
|
||||||
case "${host}" in
|
case "${host}" in
|
||||||
i?86-*|x86_64*|ia64-*|powerpc-*|powerpc64-*|sparc*-*)
|
i?86-*linux*|x86_64*linux*|ia64-*linux*|powerpc-*linux*|powerpc64-*linux*|sparc*-*linux*)
|
||||||
AS_IF([test -r "/proc/cpuinfo"],
|
AS_IF([test -r "/proc/cpuinfo"],
|
||||||
[pstat_linux_happy="yes"],
|
[pstat_linux_happy="yes"],
|
||||||
[pstat_linux_happy="no"])
|
[pstat_linux_happy="no"])
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user