From 8f683573410f1ad35e700347c5018c8c4de22258 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sun, 21 Dec 2008 22:34:19 +0100 Subject: [PATCH] Use resolvconf binary found during configuration --- plugins/Makefile.am | 1 + plugins/resolvconf.c | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) 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) { -- 1.7.9.5