}
echo_n "Configuring libpci for your system..."
-sharedir=${1:-/usr/share}
+idsdir=${1:-/usr/share}
version=${2:-0.0}
sys=`uname -s`
rel=`uname -r`
echo >>$c '#define PCI_HAVE_PM_INTEL_CONF'
ok=1
;;
- alpha|ia64|sparc|sparc64|ppc|ppc64|x86_64)
- echo >>$c '#define PCI_HAVE_64BIT_ADDRESS'
- ;;
esac
+ echo >>$c '#define PCI_HAVE_64BIT_ADDRESS'
;;
sunos)
case $cpu in
if [ -z "$ok" ] ; then
echo "WARNING: No real configuration access method is available."
fi
-echo >>$c "#define PCI_PATH_IDS \"$sharedir/pci.ids\""
+echo >>$c "#define PCI_PATH_IDS \"$idsdir/pci.ids\""
echo >>$c "#define PCILIB_VERSION \"$version\""
sed '/^#define [^ ]*$/!d;s/^#define \(.*\)/\1=1/' <$c >config.mk