LINKGN=bin/obj/hostnamed-gen.o bin/obj/localed-gen.o bin/obj/timedated-gen.o bin/obj/logind-gen.o
LINKHN=bin/systemd-hostnamed bin/systemd-localed bin/systemd-timedated bin/systemd-logind
-GLIBEF=`pkg-config --cflags --libs glib-2.0 gobject-2.0 gio-2.0 gio-unix-2.0`
-GLIBOF=`pkg-config --cflags glib-2.0 gobject-2.0 gio-2.0 gio-unix-2.0`
+GLIBEF=`pkg-config --cflags --libs glib-2.0 gobject-2.0 gio-2.0 gio-unix-2.0 polkit-agent-1`
+GLIBOF=`pkg-config --cflags glib-2.0 gobject-2.0 gio-2.0 gio-unix-2.0 polkit-agent-1`
SANITY=-Wno-unused-variable -Wno-unused-parameter # -Wno-comment
#include <glib/gprintf.h>
#include <glib-unix.h>
-/* #include <gtk/gtk.h> */
+#include <polkit/polkit.h>
#include "hostnamed-gen.h"
#include "hostnamed.h"
ret = TRUE;
}
- hostname1_complete_set_hostname(hn1_passed_interf, invoc);
+ if(ret)
+ hostname1_complete_set_hostname(hn1_passed_interf, invoc);
if(proposed_hostname)
g_free(proposed_hostname);
#include <glib/gprintf.h>
#include <glib-unix.h>
+#include <polkit/polkit.h>
#include "localed-gen.h"
#include "localed.h"
#include <glib/gprintf.h>
#include <glib-unix.h>
+#include <polkit/polkit.h>
#include "logind-gen.h"
#include "logind.h"
#include <glib/gprintf.h>
#include <glib-unix.h>
+#include <polkit/polkit.h>
#include "timedated-gen.h"
#include "timedated.h"