diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-10-05 02:04:50 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-10-05 02:04:50 +0200 |
commit | 2bd272c14ac1be48324a0ec66bf3e519824fc74f (patch) | |
tree | 0f03e7d96422f6fecc3f2b449f4c8534cfacedb8 | |
parent | 53e47a32e490f6f45a0e4382f5e9c6e38a273436 (diff) |
systemd: update configure.ac snippetv0.6.28
-rw-r--r-- | configure.ac | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 2d0c079..f2377b7 100644 --- a/configure.ac +++ b/configure.ac @@ -1080,8 +1080,10 @@ AC_ARG_WITH([systemdsystemunitdir], AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [Directory for systemd service files]), [], [with_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)]) -AC_SUBST([systemdsystemunitdir], [$with_systemdsystemunitdir]) -AM_CONDITIONAL(HAVE_SYSTEMD, [test -n "$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 ]) # ========================================================================== AC_CONFIG_FILES([ |