summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMartin Szulecki <m.szulecki@libimobiledevice.org>2014-10-16 15:05:45 +0200
committerMartin Szulecki <m.szulecki@libimobiledevice.org>2014-10-16 15:05:45 +0200
commit1ba8a9b014a741338ca9f8dc6259c8563aed2ba3 (patch)
tree2f2db8dd041fc8b3ff9c61f732ca7c794387e847 /configure.ac
parent9560572cab15871a8e8160ba5b8c637f561fce11 (diff)
downloadusbmuxd-1ba8a9b014a741338ca9f8dc6259c8563aed2ba3.tar.gz
Set udevrulesdir only for platforms with udev
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
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 ***"