projects
/
connman
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add option for selecting resolvconf support
[connman]
/
plugins
/
Makefile.am
diff --git
a/plugins/Makefile.am
b/plugins/Makefile.am
index
1d9c85a
..
4f72e8a
100644
(file)
--- a/
plugins/Makefile.am
+++ b/
plugins/Makefile.am
@@
-1,8
+1,7
@@
plugindir = $(libdir)/connman/plugins
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
if LOOPBACK
plugin_LTLIBRARIES += loopback.la
@@
-66,8
+65,12
@@
endif
dnsproxy_la_SOURCES = dnsproxy.c
dnsproxy_la_SOURCES = dnsproxy.c
+if RESOLVCONF
+plugin_LTLIBRARIES += resolvconf.la
+
resolvconf_la_SOURCES = resolvconf.c
resolvconf_la_CFLAGS = @GLIB_CFLAGS@ -DRESOLVCONF=\"@RESOLVCONF@\"
resolvconf_la_SOURCES = resolvconf.c
resolvconf_la_CFLAGS = @GLIB_CFLAGS@ -DRESOLVCONF=\"@RESOLVCONF@\"
+endif
if POLKIT
plugin_LTLIBRARIES += polkit.la
if POLKIT
plugin_LTLIBRARIES += polkit.la