summaryrefslogtreecommitdiff
path: root/extras/usb_id
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-09-19 23:03:49 -0700
committerKay Sievers <kay.sievers@vrfy.org>2008-09-19 23:03:49 -0700
commit38f27948cdafd8a4b90a6b4f1f54b89891983506 (patch)
tree1d4f2483572bc71e68bd44b6097aa1940551dcd3 /extras/usb_id
parenta4354f9385fa6854360729678491da64be996f03 (diff)
always include config.h from Makefile
Diffstat (limited to 'extras/usb_id')
-rw-r--r--extras/usb_id/Makefile.am7
-rw-r--r--extras/usb_id/usb_id.c2
2 files changed, 2 insertions, 7 deletions
diff --git a/extras/usb_id/Makefile.am b/extras/usb_id/Makefile.am
index c8d743b5f4..89d59657fb 100644
--- a/extras/usb_id/Makefile.am
+++ b/extras/usb_id/Makefile.am
@@ -1,12 +1,9 @@
+include $(top_srcdir)/Makefile.am.inc
+
udevhomedir = $(udev_prefix)/lib/udev
udevhome_PROGRAMS = \
usb_id
-AM_CPPFLAGS = \
- -DSYSCONFDIR=\""$(sysconfdir)"\" \
- -DUDEV_PREFIX=\""$(udev_prefix)"\" \
- -D_LIBUDEV_COMPILATION
-
usb_id_SOURCES = \
usb_id.c \
../../udev/lib/libudev.h \
diff --git a/extras/usb_id/usb_id.c b/extras/usb_id/usb_id.c
index 9938dc00ef..f482147b68 100644
--- a/extras/usb_id/usb_id.c
+++ b/extras/usb_id/usb_id.c
@@ -11,8 +11,6 @@
* Free Software Foundation version 2 of the License.
*/
-#include <config.h>
-
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>