From fe52c0d1c1fd03de59be5f15047b2f23207e32fb Mon Sep 17 00:00:00 2001 From: Agney Lopes Roth Ferraz Date: Wed, 11 Oct 2006 23:56:11 -0300 Subject: Import Debian changes 0.4.1-3 hardinfo (0.4.1-3) unstable; urgency=low * Changed libz path (Closes: #391963) * added support to alpha arm ia64 m68k s390 --- configure | 36 +++++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index f254de5a..92b3f005 100755 --- a/configure +++ b/configure @@ -20,6 +20,28 @@ # # --------------------------------------------------------------------------- +## hack created to avoid dpkg-source error +## I did not put this on rules because if everything works fine +## 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/ +} + PACKAGE=`basename ${PWD} | cut -d"-" -f1`; VERSION=`basename ${PWD} | cut -d"-" -f2`; @@ -64,9 +86,21 @@ 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) + create_links ia64; + ln -sf linux/ia64 arch/this + ARCH="ARCH_IA64" ;; + alpha) + create_links alpha; + ln -sf linux/alpha arch/this + ARCH="ARCH_ALPHA" ;; + s390) + 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 -- cgit v1.2.3