diff options
author | Martin Szulecki <m.szulecki@libimobiledevice.org> | 2014-10-16 15:05:45 +0200 |
---|---|---|
committer | Martin Szulecki <m.szulecki@libimobiledevice.org> | 2014-10-16 15:05:45 +0200 |
commit | 1ba8a9b014a741338ca9f8dc6259c8563aed2ba3 (patch) | |
tree | 2f2db8dd041fc8b3ff9c61f732ca7c794387e847 /configure.ac | |
parent | 9560572cab15871a8e8160ba5b8c637f561fce11 (diff) | |
download | usbmuxd-1ba8a9b014a741338ca9f8dc6259c8563aed2ba3.tar.gz |
Set udevrulesdir only for platforms with udev
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
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 ***" |