diff options
Diffstat (limited to 'hardinfo2/configure')
| -rwxr-xr-x | hardinfo2/configure | 15 | 
1 files changed, 14 insertions, 1 deletions
diff --git a/hardinfo2/configure b/hardinfo2/configure index 2bd91403..f254de5a 100755 --- a/hardinfo2/configure +++ b/hardinfo2/configure @@ -64,6 +64,9 @@ case $PROC in  	sparc*)  		ln -sf linux/sparc arch/this  		ARCH="ARCH_SPARC" ;; +	armv4l) +		ln -sf linux/armv4l arch/this +		ARCH="ARCH_ARMV4L" ;;  	*)  		# uname -m on m68k doesn't return anything useful :/  		grep "680?0" /proc/cpuinfo > /dev/null @@ -78,6 +81,16 @@ case $PROC in  		;;  esac +if [ "x$ARCH" == "x" ]; then +	echo "Your architecture is not supported yet. Please send the" +	echo "output of the following commands to leandro@linuxmag.com.br:" +	echo "" +	echo "  $ cat /proc/cpuinfo" +	echo "  $ uname -a" +	echo "  $ uname -m" +	exit 1 +fi +  # ---------------------------------------------------------------------------  echo "Compiling $PACKAGE for $OS $PROC ($ARCH)." @@ -86,7 +99,7 @@ echo ""  # ---------------------------------------------------------------------------  echo -n "Checking for lspci... " -LSPCIPATH="/sbin/lspci /usr/sbin/lspci /bin/lspci /usr/bin/lspci `which lspci`" +LSPCIPATH="/sbin/lspci /usr/sbin/lspci /bin/lspci /usr/bin/lspci `which lspci 2>/dev/null`"  for i in $LSPCIPATH; do  	if [ -x "$i" ]; then  		LSPCI=$i  | 
