summaryrefslogtreecommitdiff
path: root/src/libudev/Makefile.am
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2012-12-01 15:23:06 -0500
committerAnthony G. Basile <blueness@gentoo.org>2012-12-01 15:23:06 -0500
commit0de7e6af114aae2e19af0b3574f91de8df89a4c3 (patch)
tree4a1d37d8d6b7641d9280d64adc00414b7ba96957 /src/libudev/Makefile.am
parent6ea07b48a52babf89d94888b13320bdf6a63a420 (diff)
Include config.h in src/libudev/Makefile.am to provide needed #define's
This commit provides needed #define's that provide structures that are found at configure time. It also reverts commit 91ce21b2d7978837b233e152ac63863a910eaf21 to avoid redefinitions of _GNU_SOURCE. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/libudev/Makefile.am')
-rw-r--r--src/libudev/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libudev/Makefile.am b/src/libudev/Makefile.am
index 3288ab531b..dfc8cb17d6 100644
--- a/src/libudev/Makefile.am
+++ b/src/libudev/Makefile.am
@@ -5,6 +5,7 @@ LIBUDEV_REVISION=0
LIBUDEV_AGE=2
AM_CPPFLAGS = \
+ -include $(top_builddir)/config.h \
-DUDEV_CONF_FILE=\"$(udevconffile)\" \
-DUDEV_HWDB_BIN=\"$(udevhwdbbin)\" \
-I $(top_srcdir)/src/udev