3 # Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
6 --- pciutils-2.1.11/lib/configure~configure 2003-01-04 07:29:23.000000000 -0500
7 +++ pciutils-2.1.11/lib/configure 2004-01-19 12:33:45.000000000 -0500
9 echo_n "Configuring libpci for your system..."
10 sharedir=${1:-/usr/share}
16 if [ "$sys" = "AIX" -a -x /usr/bin/oslevel -a -x /usr/sbin/lsattr ]
18 rel=`/usr/bin/oslevel`
19 proc=`/usr/sbin/lsdev -C -c processor -S available -F name | head -1`
20 cpu=`/usr/sbin/lsattr -F value -l $proc -a type | sed 's/_.*//'`
22 - cpu=`uname -m | sed 's/^i.86$/i386/;s/^sun4u$/sparc64/'`
23 + cpu=${5:-`uname -m | sed 's/^i.86$/i386/;s/^sun4u$/sparc64/'`}
25 echo " $sys/$cpu $rel"
28 echo_n "Looking for access methods..."
34 2.[1-9]*|[3-9]*) echo_n " proc"
35 echo >>$c '#define HAVE_PM_LINUX_PROC'