}
echo_n "Configuring libpci for your system..."
-prefix=${1:-/usr}
+sharedir=${1:-/usr/share}
version=${2:-0.0}
sys=`uname -s`
rel=`uname -r`
if [ -z "$ok" ] ; then
echo "WARNING: No real configuration access method is available."
fi
-echo >>$c "#define PATH_PCI_IDS \"$prefix/share/pci.ids\""
+echo >>$c "#define PATH_PCI_IDS \"$sharedir/pci.ids\""
echo >>$c "#define PCILIB_VERSION \"$version\""
sed '/^#define [^ ]*$/!d;s/^#define \(.*\)/\1=1/' <$c >config.mk