diff options
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | systemd/Makefile.am | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 0a99a56..fe0c27f 100644 --- a/configure.ac +++ b/configure.ac @@ -72,7 +72,7 @@ AC_ARG_WITH([systemdsystemunitdir], if test "x$with_systemdsystemunitdir" != xno; then AC_SUBST([systemdsystemunitdir], [$with_systemdsystemunitdir]) fi -AM_CONDITIONAL(HAVE_SYSTEMD, [test -n "$with_systemdsystemunitdir" -a "x$with_systemdsystemunitdir" != xno -a "x$with_systemd" = "xyes" ]) +AM_CONDITIONAL(WANT_SYSTEMD, [test -n "$with_systemdsystemunitdir" -a "x$with_systemdsystemunitdir" != xno -a "x$with_systemd" = "xyes" ]) if test "x$with_systemd" = xyes; then udev_activation_rule="TAG+=\"systemd\", ENV{SYSTEMD_WANTS}=\"usbmuxd.service\"" diff --git a/systemd/Makefile.am b/systemd/Makefile.am index 6626d60..a23f1d1 100644 --- a/systemd/Makefile.am +++ b/systemd/Makefile.am @@ -4,7 +4,7 @@ edit = \ -e 's|@localstatedir[@]|$(localstatedir)|g' \ < $< > $@ || rm $@ -if HAVE_SYSTEMD +if WANT_SYSTEMD systemdsystemunit_DATA = \ usbmuxd.service |