tmpfiles: make resolv.conf entry conditional on resolved support

This commit is contained in:
Tom Gundersen
2014-08-27 17:45:41 +02:00
parent 81fc054dc7
commit aeb50ff0bd
5 changed files with 17 additions and 4 deletions
+1
View File
@@ -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"])