From: Marcel Holtmann Date: Sun, 21 Dec 2008 21:34:19 +0000 (+0100) Subject: Use resolvconf binary found during configuration X-Git-Tag: accepted/2.0alpha-wayland/20121110.002834~4374 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8f683573410f1ad35e700347c5018c8c4de22258;p=profile%2Fivi%2Fconnman.git Use resolvconf binary found during configuration --- diff --git a/plugins/Makefile.am b/plugins/Makefile.am index 25ec356..7178e02 100644 --- a/plugins/Makefile.am +++ b/plugins/Makefile.am @@ -30,6 +30,7 @@ rtnllink_la_SOURCES = rtnllink.c inet.h inet.c dnsproxy_la_SOURCES = dnsproxy.c resolvconf_la_SOURCES = resolvconf.c +resolvconf_la_CFLAGS = @GLIB_CFLAGS@ -DRESOLVCONF=\"@RESOLVCONF@\" resolvfile_la_SOURCES = resolvfile.c diff --git a/plugins/resolvconf.c b/plugins/resolvconf.c index 0a1c036..7dc1205 100644 --- a/plugins/resolvconf.c +++ b/plugins/resolvconf.c @@ -33,8 +33,6 @@ #include -#define RESOLVCONF "/sbin/resolvconf" - static int resolvconf_append(const char *interface, const char *domain, const char *server) {