summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-10-05 02:04:50 +0200
committerLennart Poettering <lennart@poettering.net>2010-10-05 02:04:50 +0200
commit2bd272c14ac1be48324a0ec66bf3e519824fc74f (patch)
tree0f03e7d96422f6fecc3f2b449f4c8534cfacedb8
parent53e47a32e490f6f45a0e4382f5e9c6e38a273436 (diff)
systemd: update configure.ac snippetv0.6.28
-rw-r--r--configure.ac6
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([