From 0bc4fab4f6b85b7eef2898aff2ab39f8d0282404 Mon Sep 17 00:00:00 2001 From: Agney Lopes Roth Ferraz Date: Sun, 10 Dec 2006 18:38:14 -0200 Subject: Import Debian changes 0.4.1-6 hardinfo (0.4.1-6) unstable; urgency=low * Changed configure script to reconize m68k machines --- configure | 44 ++++++++++++++++++++------------------------ 1 file changed, 20 insertions(+), 24 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 2b4ad416..dc35332b 100755 --- a/configure +++ b/configure @@ -25,21 +25,21 @@ ## upstream author will put this on package tarball create_links ( ) { -ln -sf ../../../arch/linux/common/alsa.h arch/linux/$1/ -ln -sf ../../../arch/linux/common/filesystem.h arch/linux/$1/ -ln -sf ../../../arch/linux/common/inputdevices.h arch/linux/$1/ -ln -sf ../../../arch/linux/common/loadavg.h arch/linux/$1/ -ln -sf ../../../arch/linux/common/memory.h arch/linux/$1/ -ln -sf ../../../arch/linux/common/modules.h arch/linux/$1/ -ln -sf ../../../arch/linux/common/net.h arch/linux/$1/ -ln -sf ../../../arch/linux/common/nfs.h arch/linux/$1/ -ln -sf ../../../arch/linux/common/os.h arch/linux/$1/ -ln -sf ../../../arch/linux/common/pci.h arch/linux/$1/ -ln -sf ../../../arch/linux/common/samba.h arch/linux/$1/ -ln -sf ../../../arch/linux/common/sensors.h arch/linux/$1/ -ln -sf ../../../arch/linux/common/storage.h arch/linux/$1/ -ln -sf ../../../arch/linux/common/uptime.h arch/linux/$1/ -ln -sf ../../../arch/linux/common/usb.h arch/linux/$1/ +ln -sf arch/linux/common/alsa.h arch/linux/$1/ +ln -sf arch/linux/common/filesystem.h arch/linux/$1/ +ln -sf arch/linux/common/inputdevices.h arch/linux/$1/ +ln -sf arch/linux/common/loadavg.h arch/linux/$1/ +ln -sf arch/linux/common/memory.h arch/linux/$1/ +ln -sf arch/linux/common/modules.h arch/linux/$1/ +ln -sf arch/linux/common/net.h arch/linux/$1/ +ln -sf arch/linux/common/nfs.h arch/linux/$1/ +ln -sf arch/linux/common/os.h arch/linux/$1/ +ln -sf arch/linux/common/pci.h arch/linux/$1/ +ln -sf arch/linux/common/samba.h arch/linux/$1/ +ln -sf arch/linux/common/sensors.h arch/linux/$1/ +ln -sf arch/linux/common/storage.h arch/linux/$1/ +ln -sf arch/linux/common/uptime.h arch/linux/$1/ +ln -sf arch/linux/common/usb.h arch/linux/$1/ } PACKAGE=`basename ${PWD} | cut -d"-" -f1`; @@ -101,17 +101,13 @@ case $PROC in create_links 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 - if [ "$?" == "0" ]; then - ln -sf linux/m68k arch/this - ARCH="ARCH_m68k" - else + m68k) + create_links s390; + ln -sf linux/m68k arch/this + ARCH="ARCH_m68k" ;; + *) echo "Architeture \"$ARCH\" not supported." exit - fi - ;; esac -- cgit v1.2.3