--- Makefile.am | 3 +++ configure.ac | 8 ++++++++ 2 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/Makefile.am b/Makefile.am index 55ee80a..7cd68d6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -237,7 +237,10 @@ SED_PROCESS = \ < $< > $@ || rm $@ include Makefile-shared.am + +if ENABLE_UDEV include Makefile-udev.am +endif if ENABLE_SYSTEMD include Makefile-systemd.am diff --git a/configure.ac b/configure.ac index dbbb6e0..e13eba2 100644 --- a/configure.ac +++ b/configure.ac @@ -699,6 +699,13 @@ if test "x$enable_systemd" != "xno"; then fi AM_CONDITIONAL(ENABLE_SYSTEMD, [test "$have_systemd" = "yes"]) +have_udev=no +AC_ARG_ENABLE(udev, AS_HELP_STRING([--disable-udev], [Disable building udev])) +if test "x$enable_udev" != "xno"; then + have_udev=yes +fi +AM_CONDITIONAL(ENABLE_UDEV, [test "$have_udev" = "yes"]) + AC_SUBST([dbuspolicydir], [$with_dbuspolicydir]) AC_SUBST([dbussessionservicedir], [$with_dbussessionservicedir]) AC_SUBST([dbussystemservicedir], [$with_dbussystemservicedir]) @@ -742,6 +749,7 @@ AC_MSG_RESULT([ localed: ${have_localed} coredump: ${have_coredump} systemd: ${have_systemd} + udev: ${have_udev} firmware path: ${FIRMWARE_PATH} usb.ids: ${USB_DATABASE} pci.ids: ${PCI_DATABASE} -- 1.7.3.4 _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel