aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlib/configure3
-rw-r--r--lspci.man4
2 files changed, 5 insertions, 2 deletions
diff --git a/lib/configure b/lib/configure
index 3df057a..d02160b 100755
--- a/lib/configure
+++ b/lib/configure
@@ -208,6 +208,9 @@ case $sys in
echo >>$c '#define PCI_PATH_DEVMEM_DEVICE "/dev/misc/mem"'
echo >>$c '#define PCI_PATH_ACPI_MCFG ""'
echo >>$c '#define PCI_PATH_EFI_SYSTAB ""'
+ if [ "$sys" != "beos" ] ; then
+ LIBRESOLV=-lnetwork
+ fi
;;
sylixos)
echo >>$c '#define PCI_PATH_SYLIXOS_DEVICE "/proc/pci"'
diff --git a/lspci.man b/lspci.man
index 624404e..7907aeb 100644
--- a/lspci.man
+++ b/lspci.man
@@ -116,7 +116,7 @@ Show PCI vendor and device codes as both numbers and names.
Use DNS to query the central PCI ID database if a device is not found in the local
.B pci.ids
file. If the DNS query succeeds, the result is cached in
-.B ~/.pciids-cache
+.B $XDG_CACHE_HOME/pci-ids
and it is recognized in subsequent runs even if
.B -q
is not given any more. Please use this switch inside automated scripts only
@@ -345,7 +345,7 @@ utility to download the most recent version.
.B @IDSDIR@/pci.ids.gz
If lspci is compiled with support for compression, this file is tried before pci.ids.
.TP
-.B ~/.pciids-cache
+.B $XDG_CACHE_HOME/pci-ids
All ID's found in the DNS query mode are cached in this file.
.SH BUGS