From 06fee274b0741bf2a09fde93fb375226d35cb658 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 26 Feb 2009 03:50:35 +0100 Subject: add autoconf logic to find usb.ids/pci.ids --- usb-db/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usb-db') diff --git a/usb-db/Makefile.am b/usb-db/Makefile.am index 82d8fe6..fb13d10 100644 --- a/usb-db/Makefile.am +++ b/usb-db/Makefile.am @@ -6,11 +6,11 @@ udevhome_PROGRAMS = usb-db pci-db COMMON_CPPFLAGS = $(AM_CPPFLAGS) $(LIBUDEV_CFLAGS) usb_db_SOURCES = usb-db.c -usb_db_CPPFLAGS = $(COMMON_CPPFLAGS) -DUSB_DATABASE=\"/usr/share/hwdata/usb.ids\" -DBUILD_FOR_USB +usb_db_CPPFLAGS = $(COMMON_CPPFLAGS) -DUSB_DATABASE=\"$(USB_DATABASE)\" -DBUILD_FOR_USB usb_db_LDADD = $(LIBUDEV_LIBS) pci_db_SOURCES = $(usb_db_SOURCES) -pci_db_CPPFLAGS = $(COMMON_CPPFLAGS) -DPCI_DATABASE=\"/usr/share/hwdata/pci.ids\" -DBUILD_FOR_PCI +pci_db_CPPFLAGS = $(COMMON_CPPFLAGS) -DPCI_DATABASE=\"$(PCI_DATABASE)\" -DBUILD_FOR_PCI pci_db_LDADD = $(usb_db_LDADD) #udevrulesdir = $(udev_prefix)/lib/udev/rules.d -- cgit