summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-08-27 17:45:41 +0200
committerTom Gundersen <teg@jklm.no>2014-08-27 18:17:16 +0200
commitaeb50ff0bd4bbbca74c4695072232348351d512d (patch)
treeda9ccc62028fcaac678bb614561cf0471c92f36c /configure.ac
parent81fc054dc7c365545bca86d78bf36a12658cedb3 (diff)
tmpfiles: make resolv.conf entry conditional on resolved support
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 18b719856..08a8a105f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1023,6 +1023,7 @@ have_resolved=no
AC_ARG_ENABLE(resolved, AS_HELP_STRING([--disable-resolved], [disable resolve daemon]))
if test "x$enable_resolved" != "xno"; then
have_resolved=yes
+ M4_DEFINES="$M4_DEFINES -DENABLE_RESOLVED"
fi
AM_CONDITIONAL(ENABLE_RESOLVED, [test "$have_resolved" = "yes"])