]> mj.ucw.cz Git - pciutils.git/blobdiff - lib/configure
Fixed 64 bit addresses and released as 2.2.0.
[pciutils.git] / lib / configure
index 8521d202b3f0482b816c4f1bd878b227cf8d803a..ecd350352d444fac3d1ddcc5b67b41c2cc5b8feb 100755 (executable)
@@ -10,7 +10,7 @@ echo_n() {
 }
 
 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`
@@ -52,10 +52,8 @@ case $sys in
                                                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
@@ -103,6 +101,6 @@ echo " dump"
 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