plugindir = $(libdir)/connman/plugins
-plugin_LTLIBRARIES = ethernet.la bluetooth.la \
- ipv4.la dnsproxy.la resolvconf.la
+plugin_LTLIBRARIES = ethernet.la bluetooth.la ipv4.la dnsproxy.la
if LOOPBACK
plugin_LTLIBRARIES += loopback.la
dnsproxy_la_SOURCES = dnsproxy.c
+if RESOLVCONF
+plugin_LTLIBRARIES += resolvconf.la
+
resolvconf_la_SOURCES = resolvconf.c
resolvconf_la_CFLAGS = @GLIB_CFLAGS@ -DRESOLVCONF=\"@RESOLVCONF@\"
+endif
if POLKIT
plugin_LTLIBRARIES += polkit.la