diff options
author | Leandro A. F. Pereira <leandro@hardinfo.org> | 2006-10-16 22:28:33 +0000 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2006-10-16 22:28:33 +0000 |
commit | ace4ec786de07d9bcd6b852fcd3b2ae39cda200f (patch) | |
tree | fdb15819db2a4f5881c24a6be604de4f936fe939 /hardinfo2/configure | |
parent | e46568349c49cadc870f5c0fc84dcce2f7c461b1 (diff) |
Applied patch from Debian package maintainer (Agney Lopes Roth Ferraz <agney@debian.org>).
Add support for IA64, S390 and Alpha.
Fixes zlib path.
Diffstat (limited to 'hardinfo2/configure')
-rwxr-xr-x | hardinfo2/configure | 13 |
1 files changed, 11 insertions, 2 deletions
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 |