Commit cd1f6a9b authored by David Zeuthen's avatar David Zeuthen
Browse files

Build examples by default and fix compiler warnings


Signed-off-by: default avatarDavid Zeuthen <davidz@redhat.com>
parent 302d2b6a
......@@ -383,7 +383,7 @@ GOBJECT_INTROSPECTION_CHECK([0.6.2])
AC_ARG_ENABLE([examples],
AS_HELP_STRING([--enable-examples], [Build the example programs]),,
[enable_examples=no])
[enable_examples=yes])
AM_CONDITIONAL(BUILD_EXAMPLES, test "x$enable_examples" = "xyes")
......@@ -459,6 +459,7 @@ echo "
Building verbose mode: ${enable_verbose_mode}
Building api docs: ${enable_gtk_doc}
Building man pages: ${enable_man_pages}
Building examples: ${enable_examples}
"
......
......@@ -112,7 +112,7 @@ main (int argc, char *argv[])
loop = g_main_loop_new (NULL, FALSE);
authority = polkit_authority_get ();
authority = polkit_authority_get_sync (NULL, NULL);
/* Typically mechanisms will use a PolkitSystemBusName since most
* clients communicate with the mechanism via D-Bus. However for
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment