summaryrefslogtreecommitdiff
path: root/src/libudev/Makefile.am
diff options
context:
space:
mode:
authorIan Stakenvicius <axs@gentoo.org>2013-04-02 15:59:28 -0400
committerAnthony G. Basile <blueness@gentoo.org>2013-04-04 10:14:46 -0400
commit9315b3d16fe2fd451414095a5829786f42d1fb23 (patch)
tree98d91ceab35700052d1292c4b1831fa80bda9068 /src/libudev/Makefile.am
parent45f9def27267be94265487df03ea3cccfd10f622 (diff)
Add support for legacy behaviour in udev_device_get_sysattr_value()
Wraps the changes made in systemd commits 5ae18ddc and 53726349 with a #if's on LIBUDEV_LEGACY_VERSION so that old behaviour can be chosen at build-time if users find it necessary to support legacy software dependent on the original behaviour Original Authors: Kay Sievers Signed-off-by: Ian Stakenvicius <axs@gentoo.org> 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 f497995056..98d6e4e0f8 100644
--- a/src/libudev/Makefile.am
+++ b/src/libudev/Makefile.am
@@ -18,6 +18,7 @@ AM_CPPFLAGS = \
-include $(top_builddir)/config.h \
-DUDEV_CONF_FILE=\"$(udevconffile)\" \
-DUDEV_HWDB_BIN=\"$(udevhwdbbin)\" \
+ -DUDEV_VERSION=$(UDEV_VERSION) \
-I $(top_srcdir)/src/udev
lib_LTLIBRARIES = \