From 1ba8a9b014a741338ca9f8dc6259c8563aed2ba3 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Thu, 16 Oct 2014 15:05:45 +0200 Subject: Set udevrulesdir only for platforms with udev --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 6a775c8..60ac6a9 100644 --- a/configure.ac +++ b/configure.ac @@ -55,7 +55,6 @@ if test "x$with_udevrulesdir" = "xauto"; then with_udevrulesdir=$prefix/lib/udev/rules.d fi fi -AC_SUBST([udevrulesdir], [$with_udevrulesdir]) AC_ARG_WITH([systemd], [AS_HELP_STRING([--without-systemd], @@ -119,6 +118,8 @@ case ${host_os} in win32=false AC_MSG_RESULT([no]) UDEV_SUB=udev + AC_SUBST([udevrulesdir], [$with_udevrulesdir]) + AC_DEFINE(HAVE_UDEV, 1, [Define to enable udev support]) activation_method="systemd" if test "x$with_systemd" != "xyes"; then echo "*** Note: support for systemd activation has been disabled, using udev activation instead ***" -- cgit v1.1-32-gdbae