]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/pciutils/pciutils-2.1.11/configure.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / pciutils / pciutils-2.1.11 / configure.patch
1
2 #
3 # Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4 #
5
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
8 @@ -12,15 +12,15 @@
9  echo_n "Configuring libpci for your system..."
10  sharedir=${1:-/usr/share}
11  version=${2:-0.0}
12 -sys=`uname -s`
13 -rel=`uname -r`
14 +sys=${3:-`uname -s`}
15 +rel=${4:-`uname -r`}
16  if [ "$sys" = "AIX" -a -x /usr/bin/oslevel -a -x /usr/sbin/lsattr ]
17  then
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/_.*//'`
21  else
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/'`}
24  fi
25  echo " $sys/$cpu $rel"
26  
27 @@ -31,7 +31,7 @@
28  echo_n "Looking for access methods..."
29  
30  case $sys in
31 -       Linux)
32 +       [lL]inux)
33                 case $rel in
34                         2.[1-9]*|[3-9]*)        echo_n " proc"
35                                                 echo >>$c '#define HAVE_PM_LINUX_PROC'