From ace4ec786de07d9bcd6b852fcd3b2ae39cda200f Mon Sep 17 00:00:00 2001 From: "Leandro A. F. Pereira" Date: Mon, 16 Oct 2006 22:28:33 +0000 Subject: Applied patch from Debian package maintainer (Agney Lopes Roth Ferraz ). Add support for IA64, S390 and Alpha. Fixes zlib path. --- hardinfo2/configure | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'hardinfo2/configure') diff --git a/hardinfo2/configure b/hardinfo2/configure index f254de5a..978b476c 100755 --- a/hardinfo2/configure +++ b/hardinfo2/configure @@ -40,7 +40,7 @@ case $OS in Linux) ;; *) - echo " (not supported, yet!)" + echo "$OS (not supported, yet!)" exit ;; esac @@ -64,9 +64,18 @@ case $PROC in sparc*) ln -sf linux/sparc arch/this ARCH="ARCH_SPARC" ;; - armv4l) + armv*) ln -sf linux/armv4l arch/this ARCH="ARCH_ARMV4L" ;; + ia64) + ln -sf linux/ia64 arch/this + ARCH="ARCH_IA64" ;; + alpha) + ln -sf linux/alpha arch/this + ARCH="ARCH_ALPHA" ;; + s390) + ln -sf linux/s390 arch/this + ARCH="ARCH_S390" ;; *) # uname -m on m68k doesn't return anything useful :/ grep "680?0" /proc/cpuinfo > /dev/null -- cgit v1.2.3