update makefiles
authorSam Hartman <hartmans@painless-security.com>
Wed, 18 Jan 2012 01:31:14 +0000 (20:31 -0500)
committerSam Hartman <hartmans@painless-security.com>
Wed, 18 Jan 2012 01:31:57 +0000 (20:31 -0500)
Makefile.in
configure

index 53e0b37..b0977ef 100644 (file)
@@ -40,42 +40,55 @@ host_triplet = @host@
 bin_PROGRAMS = src/moonshot$(EXEEXT) src/moonshot-webp$(EXEEXT)
 @OS_WIN32_TRUE@am__append_1 = -DOS_WIN32
 @OS_WIN32_TRUE@am__append_2 = --define=OS_WIN32
-@IPC_MSRPC_TRUE@am__append_3 = -Isrc
-@IPC_MSRPC_TRUE@am__append_4 = \
+@OS_MACOS_TRUE@am__append_3 = -DOS_MACOS $(MAC_CFLAGS)
+@OS_MACOS_TRUE@am__append_4 = --define=OS_MACOS --pkg gtk-mac-integration
+@OS_MACOS_TRUE@am__append_5 = $(MAC_LIBS)
+@OS_MACOS_TRUE@am__append_6 = $(MAC_LIBS)
+@IPC_MSRPC_TRUE@am__append_7 = -Isrc
+@IPC_MSRPC_TRUE@am__append_8 = \
 @IPC_MSRPC_TRUE@       --pkg msrpc-1.0 \
 @IPC_MSRPC_TRUE@       --define=IPC_MSRPC
 
-@IPC_MSRPC_TRUE@am__append_5 = \
+@IPC_MSRPC_TRUE@am__append_9 = \
 @IPC_MSRPC_TRUE@        libmoonshot/libmoonshot-msrpc.c
 
-@IPC_MSRPC_TRUE@am__append_6 = \
+@IPC_MSRPC_TRUE@am__append_10 = \
 @IPC_MSRPC_TRUE@        src/moonshot-msrpc.vapi
 
-@IPC_DBUS_TRUE@am__append_7 = \
-@IPC_DBUS_TRUE@        --pkg dbus-glib-1 \
-@IPC_DBUS_TRUE@        --define=IPC_DBUS
+@IPC_DBUS_TRUE@am__append_11 = libmoonshot/libmoonshot-dbus.c
+@IPC_DBUS_GLIB_TRUE@@IPC_DBUS_TRUE@am__append_12 = \
+@IPC_DBUS_GLIB_TRUE@@IPC_DBUS_TRUE@    --pkg dbus-glib-1 \
+@IPC_DBUS_GLIB_TRUE@@IPC_DBUS_TRUE@    --define=IPC_DBUS_GLIB \
+@IPC_DBUS_GLIB_TRUE@@IPC_DBUS_TRUE@    --define=IPC_DBUS
+
+@IPC_DBUS_GLIB_FALSE@@IPC_DBUS_TRUE@am__append_13 = \
+@IPC_DBUS_GLIB_FALSE@@IPC_DBUS_TRUE@   --pkg gio-2.0 \
+@IPC_DBUS_GLIB_FALSE@@IPC_DBUS_TRUE@   --define=IPC_GDBUS \
+@IPC_DBUS_GLIB_FALSE@@IPC_DBUS_TRUE@   --define=IPC_DBUS
 
-@IPC_DBUS_TRUE@am__append_8 = libmoonshot/libmoonshot-dbus.c
 noinst_PROGRAMS = examples/client$(EXEEXT) \
        examples/service-selection$(EXEEXT) tests/basic$(EXEEXT)
 subdir = .
 DIST_COMMON = $(am__configure_deps) $(include_HEADERS) \
        $(noinst_HEADERS) $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
-       $(srcdir)/config.h.in $(srcdir)/moonshot-webp.desktop.in \
+       $(srcdir)/config.h.in $(srcdir)/moonshot-ui.spec.in \
+       $(srcdir)/moonshot-webp.desktop.in \
        $(srcdir)/moonshot.desktop.in $(top_srcdir)/configure \
-       ABOUT-NLS ChangeLog INSTALL build-aux/compile \
-       build-aux/config.guess build-aux/config.rpath \
-       build-aux/config.sub build-aux/depcomp build-aux/install-sh \
-       build-aux/ltmain.sh build-aux/missing \
+       ABOUT-NLS INSTALL build-aux/compile build-aux/config.guess \
+       build-aux/config.rpath build-aux/config.sub build-aux/depcomp \
+       build-aux/install-sh build-aux/ltmain.sh build-aux/missing \
        examples_client_vala.stamp \
        examples_service_selection_vala.stamp \
        libmoonshot_libmoonshot_la_vala.stamp \
        src/moonshot-add-dialog.c src/moonshot-custom-vbox.c \
-       src/moonshot-id.c src/moonshot-idcard-widget.c \
-       src/moonshot-identities-manager.c \
-       src/moonshot-identity-request.c src/moonshot-password-dialog.c \
-       src/moonshot-server.c src/moonshot-utils.c \
-       src/moonshot-webp-parser.c src/moonshot-window.c \
+       src/moonshot-id.c src/moonshot-idcard-store.c \
+       src/moonshot-idcard-widget.c src/moonshot-identities-manager.c \
+       src/moonshot-identity-management-view.c \
+       src/moonshot-identity-manager-app.c \
+       src/moonshot-identity-request.c \
+       src/moonshot-local-flat-file-store.c \
+       src/moonshot-password-dialog.c src/moonshot-server.c \
+       src/moonshot-utils.c src/moonshot-webp-parser.c \
        src_moonshot_vala.stamp src_moonshot_webp_vala.stamp \
        tests_basic_vala.stamp
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
@@ -94,7 +107,8 @@ am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
  configure.lineno config.status.lineno
 mkinstalldirs = $(install_sh) -d
 CONFIG_HEADER = config.h
-CONFIG_CLEAN_FILES = moonshot.desktop moonshot-webp.desktop
+CONFIG_CLEAN_FILES = moonshot.desktop moonshot-webp.desktop \
+       moonshot-ui.spec
 CONFIG_CLEAN_VPATH_FILES =
 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
 am__vpath_adj = case $$p in \
@@ -152,31 +166,42 @@ examples_client_DEPENDENCIES =  \
 am_examples_service_selection_OBJECTS = examples/examples_service_selection-service-selection.$(OBJEXT)
 examples_service_selection_OBJECTS =  \
        $(am_examples_service_selection_OBJECTS)
+@OS_MACOS_TRUE@am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1)
+am__DEPENDENCIES_3 = $(am__DEPENDENCIES_2)
 examples_service_selection_DEPENDENCIES =  \
        ${top_builddir}/libmoonshot/libmoonshot.la \
-       $(am__DEPENDENCIES_1)
-am__src_moonshot_SOURCES_DIST = src/moonshot-id.vala \
+       $(am__DEPENDENCIES_3)
+am__src_moonshot_SOURCES_DIST =  \
+       src/moonshot-identity-manager-app.vala \
+       src/moonshot-identity-management-view.vala \
+       src/moonshot-local-flat-file-store.vala \
+       src/moonshot-idcard-store.vala src/moonshot-id.vala \
        src/moonshot-add-dialog.vala src/moonshot-idcard-widget.vala \
        src/moonshot-custom-vbox.vala \
        src/moonshot-identities-manager.vala \
        src/moonshot-identity-request.vala src/moonshot-server.vala \
-       src/moonshot-window.vala src/moonshot-password-dialog.vala \
-       src/moonshot-utils.vala src/moonshot-msrpc.vapi
+       src/moonshot-password-dialog.vala src/moonshot-utils.vala \
+       src/moonshot-msrpc.vapi
 am__objects_3 =
-am_src_moonshot_OBJECTS = src/src_moonshot-moonshot-id.$(OBJEXT) \
+am_src_moonshot_OBJECTS =  \
+       src/src_moonshot-moonshot-identity-manager-app.$(OBJEXT) \
+       src/src_moonshot-moonshot-identity-management-view.$(OBJEXT) \
+       src/src_moonshot-moonshot-local-flat-file-store.$(OBJEXT) \
+       src/src_moonshot-moonshot-idcard-store.$(OBJEXT) \
+       src/src_moonshot-moonshot-id.$(OBJEXT) \
        src/src_moonshot-moonshot-add-dialog.$(OBJEXT) \
        src/src_moonshot-moonshot-idcard-widget.$(OBJEXT) \
        src/src_moonshot-moonshot-custom-vbox.$(OBJEXT) \
        src/src_moonshot-moonshot-identities-manager.$(OBJEXT) \
        src/src_moonshot-moonshot-identity-request.$(OBJEXT) \
        src/src_moonshot-moonshot-server.$(OBJEXT) \
-       src/src_moonshot-moonshot-window.$(OBJEXT) \
        src/src_moonshot-moonshot-password-dialog.$(OBJEXT) \
        src/src_moonshot-moonshot-utils.$(OBJEXT) $(am__objects_3)
 @IPC_MSRPC_TRUE@nodist_src_moonshot_OBJECTS = libmoonshot/src_moonshot-moonshot-msrpc_s.$(OBJEXT)
 src_moonshot_OBJECTS = $(am_src_moonshot_OBJECTS) \
        $(nodist_src_moonshot_OBJECTS)
-src_moonshot_DEPENDENCIES = $(am__DEPENDENCIES_1)
+src_moonshot_DEPENDENCIES = $(am__DEPENDENCIES_3) \
+       $(am__DEPENDENCIES_2)
 src_moonshot_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
        $(LIBTOOLFLAGS) --mode=link $(CCLD) $(src_moonshot_CFLAGS) \
        $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
@@ -184,7 +209,7 @@ am_src_moonshot_webp_OBJECTS =  \
        src/src_moonshot_webp-moonshot-webp-parser.$(OBJEXT) \
        src/src_moonshot_webp-moonshot-id.$(OBJEXT)
 src_moonshot_webp_OBJECTS = $(am_src_moonshot_webp_OBJECTS)
-src_moonshot_webp_DEPENDENCIES = $(am__DEPENDENCIES_1) \
+src_moonshot_webp_DEPENDENCIES = $(am__DEPENDENCIES_3) \
        ${top_builddir}/libmoonshot/libmoonshot.la
 src_moonshot_webp_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
        $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
@@ -193,7 +218,7 @@ src_moonshot_webp_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
 am_tests_basic_OBJECTS = tests/tests_basic-basic.$(OBJEXT)
 tests_basic_OBJECTS = $(am_tests_basic_OBJECTS)
 tests_basic_DEPENDENCIES = ${top_builddir}/libmoonshot/libmoonshot.la \
-       $(am__DEPENDENCIES_1)
+       $(am__DEPENDENCIES_3)
 DEFAULT_INCLUDES = -I.@am__isrc@
 depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
 am__depfiles_maybe = depfiles
@@ -318,11 +343,15 @@ ECHO_T = @ECHO_T@
 EGREP = @EGREP@
 EXEEXT = @EXEEXT@
 FGREP = @FGREP@
+GDBUS_CFLAGS = @GDBUS_CFLAGS@
+GDBUS_LIBS = @GDBUS_LIBS@
 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
 GMSGFMT = @GMSGFMT@
 GMSGFMT_015 = @GMSGFMT_015@
 GREP = @GREP@
+GTK_CFLAGS = @GTK_CFLAGS@
+GTK_LIBS = @GTK_LIBS@
 IMAGEMAGICK_CONVERT = @IMAGEMAGICK_CONVERT@
 INSTALL = @INSTALL@
 INSTALL_DATA = @INSTALL_DATA@
@@ -343,6 +372,8 @@ LN_S = @LN_S@
 LTLIBICONV = @LTLIBICONV@
 LTLIBINTL = @LTLIBINTL@
 LTLIBOBJS = @LTLIBOBJS@
+MAC_CFLAGS = @MAC_CFLAGS@
+MAC_LIBS = @MAC_LIBS@
 MAINT = @MAINT@
 MAKEINFO = @MAKEINFO@
 MIDL = @MIDL@
@@ -431,7 +462,7 @@ lt_ECHO = @lt_ECHO@
 mandir = @mandir@
 mkdir_p = @mkdir_p@
 moonshot_CFLAGS = @moonshot_CFLAGS@
-moonshot_LIBS = @moonshot_LIBS@
+moonshot_LIBS = @moonshot_LIBS@ $(am__append_5)
 oldincludedir = @oldincludedir@
 pdfdir = @pdfdir@
 prefix = @prefix@
@@ -450,33 +481,38 @@ SUBDIRS = po
 lib_LTLIBRARIES = libmoonshot/libmoonshot.la
 AM_CFLAGS = 
 AM_CPPFLAGS = -include config.h -DLOCALEDIR=\""$(localedir)"\" \
-       -I$(top_srcdir)/libmoonshot $(am__append_1) $(am__append_3)
-AM_VALAFLAGS = config.vapi --pkg gio-2.0 $(am__append_2) \
-       $(am__append_4) $(am__append_7)
+       -I$(top_srcdir)/libmoonshot -I$(top_builddir)/libmoonshot \
+       $(am__append_1) $(am__append_3) $(am__append_7)
+AM_VALAFLAGS = config.vapi --vapidir=$(top_srcdir)/vapi --pkg gio-2.0 \
+       $(am__append_2) $(am__append_4) $(am__append_8) \
+       $(am__append_12) $(am__append_13)
 libmoonshot_libmoonshot_la_CPPFLAGS = \
         $(libmoonshot_CFLAGS) \
-        $(AM_CPPFLAGS)
+        $(AM_CPPFLAGS) 
 
 libmoonshot_libmoonshot_la_SOURCES = libmoonshot/libmoonshot-common.c \
-       $(am__append_5) $(am__append_8)
+       $(am__append_9) $(am__append_11)
 libmoonshot_libmoonshot_la_LIBADD = $(libmoonshot_LIBS)
 include_HEADERS = libmoonshot/libmoonshot.h
 noinst_HEADERS = libmoonshot/libmoonshot-common.h
-src_moonshot_SOURCES = src/moonshot-id.vala \
+src_moonshot_SOURCES = src/moonshot-identity-manager-app.vala \
+       src/moonshot-identity-management-view.vala \
+       src/moonshot-local-flat-file-store.vala \
+       src/moonshot-idcard-store.vala src/moonshot-id.vala \
        src/moonshot-add-dialog.vala src/moonshot-idcard-widget.vala \
        src/moonshot-custom-vbox.vala \
        src/moonshot-identities-manager.vala \
        src/moonshot-identity-request.vala src/moonshot-server.vala \
-       src/moonshot-window.vala src/moonshot-password-dialog.vala \
-       src/moonshot-utils.vala $(am__append_6)
+       src/moonshot-password-dialog.vala src/moonshot-utils.vala \
+       $(am__append_10)
 src_moonshot_webp_SOURCES = \
         src/moonshot-webp-parser.vala \
         src/moonshot-id.vala
 
-src_moonshot_VALAFLAGS = --pkg gdk-2.0 --pkg gtk+-2.0 $(AM_VALAFLAGS)
-src_moonshot_CPPFLAGS = $(moonshot_CFLAGS) $(AM_CPPFLAGS)
-src_moonshot_LDADD = $(moonshot_LIBS)
-src_moonshot_webp_VALAFLAGS = --vapidir=$(top_srcdir)/libmoonshot --pkg gdk-2.0 --pkg libmoonshot $(AM_VALAFLAGS)
+src_moonshot_VALAFLAGS = --pkg gdk-2.0 --pkg gtk+-2.0 --pkg gee-1.0 $(AM_VALAFLAGS)
+src_moonshot_CPPFLAGS = $(moonshot_CFLAGS) $(AM_CPPFLAGS)  
+src_moonshot_LDADD = $(moonshot_LIBS) $(am__append_6)
+src_moonshot_webp_VALAFLAGS = --vapidir=$(top_srcdir)/libmoonshot  --pkg gtk+-2.0 --pkg gdk-2.0 --pkg libmoonshot $(AM_VALAFLAGS)
 src_moonshot_webp_CPPFLAGS = $(moonshot_CFLAGS) $(AM_CPPFLAGS)
 src_moonshot_webp_LDADD = $(moonshot_LIBS) ${top_builddir}/libmoonshot/libmoonshot.la
 @OS_WIN32_TRUE@libmoonshot_libmoonshot_la_LDFLAGS = -no-undefined
@@ -504,7 +540,9 @@ src_moonshot_webp_LDADD = $(moonshot_LIBS) ${top_builddir}/libmoonshot/libmoonsh
 @IPC_DBUS_TRUE@dbusservice_in_files = org.janet.Moonshot.service.in
 @IPC_DBUS_TRUE@dbusservice_DATA = $(dbusservice_in_files:.service.in=.service)
 @IPC_DBUS_TRUE@CLEANFILES = $(dbusservice_DATA)
-EXTRA_DIST = webprovisioning/moonshot.xml $(dbusservice_in_files)
+EXTRA_DIST = webprovisioning/moonshot.xml $(dbusservice_in_files) \
+       moonshot-ui.spec
+
 examples_service_selection_SOURCES = examples/service-selection.c
 examples_service_selection_CPPFLAGS = $(moonshot_CFLAGS) $(AM_CPPFLAGS)
 examples_service_selection_LDADD = ${top_builddir}/libmoonshot/libmoonshot.la $(moonshot_LIBS)
@@ -514,6 +552,7 @@ examples_client_LDADD = ${top_builddir}/libmoonshot/libmoonshot.la
 tests_basic_SOURCES = tests/basic.c
 tests_basic_CPPFLAGS = $(moonshot_CFLAGS) $(AM_CPPFLAGS)
 tests_basic_LDADD = ${top_builddir}/libmoonshot/libmoonshot.la $(moonshot_LIBS)
+@OS_MACOS_TRUE@installerdir = $(HOME)/moonshot/mac-client-installer
 all: $(BUILT_SOURCES) config.h
        $(MAKE) $(AM_MAKEFLAGS) all-recursive
 
@@ -574,6 +613,8 @@ moonshot.desktop: $(top_builddir)/config.status $(srcdir)/moonshot.desktop.in
        cd $(top_builddir) && $(SHELL) ./config.status $@
 moonshot-webp.desktop: $(top_builddir)/config.status $(srcdir)/moonshot-webp.desktop.in
        cd $(top_builddir) && $(SHELL) ./config.status $@
+moonshot-ui.spec: $(top_builddir)/config.status $(srcdir)/moonshot-ui.spec.in
+       cd $(top_builddir) && $(SHELL) ./config.status $@
 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
        @$(NORMAL_INSTALL)
        test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
@@ -699,6 +740,14 @@ src/$(am__dirstamp):
 src/$(DEPDIR)/$(am__dirstamp):
        @$(MKDIR_P) src/$(DEPDIR)
        @: > src/$(DEPDIR)/$(am__dirstamp)
+src/src_moonshot-moonshot-identity-manager-app.$(OBJEXT):  \
+       src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp)
+src/src_moonshot-moonshot-identity-management-view.$(OBJEXT):  \
+       src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp)
+src/src_moonshot-moonshot-local-flat-file-store.$(OBJEXT):  \
+       src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp)
+src/src_moonshot-moonshot-idcard-store.$(OBJEXT): src/$(am__dirstamp) \
+       src/$(DEPDIR)/$(am__dirstamp)
 src/src_moonshot-moonshot-id.$(OBJEXT): src/$(am__dirstamp) \
        src/$(DEPDIR)/$(am__dirstamp)
 src/src_moonshot-moonshot-add-dialog.$(OBJEXT): src/$(am__dirstamp) \
@@ -713,8 +762,6 @@ src/src_moonshot-moonshot-identity-request.$(OBJEXT):  \
        src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp)
 src/src_moonshot-moonshot-server.$(OBJEXT): src/$(am__dirstamp) \
        src/$(DEPDIR)/$(am__dirstamp)
-src/src_moonshot-moonshot-window.$(OBJEXT): src/$(am__dirstamp) \
-       src/$(DEPDIR)/$(am__dirstamp)
 src/src_moonshot-moonshot-password-dialog.$(OBJEXT):  \
        src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp)
 src/src_moonshot-moonshot-utils.$(OBJEXT): src/$(am__dirstamp) \
@@ -760,13 +807,16 @@ mostlyclean-compile:
        -rm -f src/src_moonshot-moonshot-add-dialog.$(OBJEXT)
        -rm -f src/src_moonshot-moonshot-custom-vbox.$(OBJEXT)
        -rm -f src/src_moonshot-moonshot-id.$(OBJEXT)
+       -rm -f src/src_moonshot-moonshot-idcard-store.$(OBJEXT)
        -rm -f src/src_moonshot-moonshot-idcard-widget.$(OBJEXT)
        -rm -f src/src_moonshot-moonshot-identities-manager.$(OBJEXT)
+       -rm -f src/src_moonshot-moonshot-identity-management-view.$(OBJEXT)
+       -rm -f src/src_moonshot-moonshot-identity-manager-app.$(OBJEXT)
        -rm -f src/src_moonshot-moonshot-identity-request.$(OBJEXT)
+       -rm -f src/src_moonshot-moonshot-local-flat-file-store.$(OBJEXT)
        -rm -f src/src_moonshot-moonshot-password-dialog.$(OBJEXT)
        -rm -f src/src_moonshot-moonshot-server.$(OBJEXT)
        -rm -f src/src_moonshot-moonshot-utils.$(OBJEXT)
-       -rm -f src/src_moonshot-moonshot-window.$(OBJEXT)
        -rm -f src/src_moonshot_webp-moonshot-id.$(OBJEXT)
        -rm -f src/src_moonshot_webp-moonshot-webp-parser.$(OBJEXT)
        -rm -f tests/tests_basic-basic.$(OBJEXT)
@@ -784,13 +834,16 @@ distclean-compile:
 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/src_moonshot-moonshot-add-dialog.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/src_moonshot-moonshot-custom-vbox.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/src_moonshot-moonshot-id.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/src_moonshot-moonshot-idcard-store.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/src_moonshot-moonshot-idcard-widget.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/src_moonshot-moonshot-identities-manager.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/src_moonshot-moonshot-identity-management-view.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/src_moonshot-moonshot-identity-manager-app.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/src_moonshot-moonshot-identity-request.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/src_moonshot-moonshot-local-flat-file-store.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/src_moonshot-moonshot-password-dialog.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/src_moonshot-moonshot-server.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/src_moonshot-moonshot-utils.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/src_moonshot-moonshot-window.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/src_moonshot_webp-moonshot-id.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/src_moonshot_webp-moonshot-webp-parser.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/tests_basic-basic.Po@am__quote@
@@ -886,6 +939,70 @@ examples/examples_service_selection-service-selection.obj: examples/service-sele
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(examples_service_selection_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o examples/examples_service_selection-service-selection.obj `if test -f 'examples/service-selection.c'; then $(CYGPATH_W) 'examples/service-selection.c'; else $(CYGPATH_W) '$(srcdir)/examples/service-selection.c'; fi`
 
+src/src_moonshot-moonshot-identity-manager-app.o: src/moonshot-identity-manager-app.c
+@am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_moonshot_CPPFLAGS) $(CPPFLAGS) $(src_moonshot_CFLAGS) $(CFLAGS) -MT src/src_moonshot-moonshot-identity-manager-app.o -MD -MP -MF src/$(DEPDIR)/src_moonshot-moonshot-identity-manager-app.Tpo -c -o src/src_moonshot-moonshot-identity-manager-app.o `test -f 'src/moonshot-identity-manager-app.c' || echo '$(srcdir)/'`src/moonshot-identity-manager-app.c
+@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/$(DEPDIR)/src_moonshot-moonshot-identity-manager-app.Tpo src/$(DEPDIR)/src_moonshot-moonshot-identity-manager-app.Po
+@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/moonshot-identity-manager-app.c' object='src/src_moonshot-moonshot-identity-manager-app.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_moonshot_CPPFLAGS) $(CPPFLAGS) $(src_moonshot_CFLAGS) $(CFLAGS) -c -o src/src_moonshot-moonshot-identity-manager-app.o `test -f 'src/moonshot-identity-manager-app.c' || echo '$(srcdir)/'`src/moonshot-identity-manager-app.c
+
+src/src_moonshot-moonshot-identity-manager-app.obj: src/moonshot-identity-manager-app.c
+@am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_moonshot_CPPFLAGS) $(CPPFLAGS) $(src_moonshot_CFLAGS) $(CFLAGS) -MT src/src_moonshot-moonshot-identity-manager-app.obj -MD -MP -MF src/$(DEPDIR)/src_moonshot-moonshot-identity-manager-app.Tpo -c -o src/src_moonshot-moonshot-identity-manager-app.obj `if test -f 'src/moonshot-identity-manager-app.c'; then $(CYGPATH_W) 'src/moonshot-identity-manager-app.c'; else $(CYGPATH_W) '$(srcdir)/src/moonshot-identity-manager-app.c'; fi`
+@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/$(DEPDIR)/src_moonshot-moonshot-identity-manager-app.Tpo src/$(DEPDIR)/src_moonshot-moonshot-identity-manager-app.Po
+@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/moonshot-identity-manager-app.c' object='src/src_moonshot-moonshot-identity-manager-app.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_moonshot_CPPFLAGS) $(CPPFLAGS) $(src_moonshot_CFLAGS) $(CFLAGS) -c -o src/src_moonshot-moonshot-identity-manager-app.obj `if test -f 'src/moonshot-identity-manager-app.c'; then $(CYGPATH_W) 'src/moonshot-identity-manager-app.c'; else $(CYGPATH_W) '$(srcdir)/src/moonshot-identity-manager-app.c'; fi`
+
+src/src_moonshot-moonshot-identity-management-view.o: src/moonshot-identity-management-view.c
+@am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_moonshot_CPPFLAGS) $(CPPFLAGS) $(src_moonshot_CFLAGS) $(CFLAGS) -MT src/src_moonshot-moonshot-identity-management-view.o -MD -MP -MF src/$(DEPDIR)/src_moonshot-moonshot-identity-management-view.Tpo -c -o src/src_moonshot-moonshot-identity-management-view.o `test -f 'src/moonshot-identity-management-view.c' || echo '$(srcdir)/'`src/moonshot-identity-management-view.c
+@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/$(DEPDIR)/src_moonshot-moonshot-identity-management-view.Tpo src/$(DEPDIR)/src_moonshot-moonshot-identity-management-view.Po
+@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/moonshot-identity-management-view.c' object='src/src_moonshot-moonshot-identity-management-view.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_moonshot_CPPFLAGS) $(CPPFLAGS) $(src_moonshot_CFLAGS) $(CFLAGS) -c -o src/src_moonshot-moonshot-identity-management-view.o `test -f 'src/moonshot-identity-management-view.c' || echo '$(srcdir)/'`src/moonshot-identity-management-view.c
+
+src/src_moonshot-moonshot-identity-management-view.obj: src/moonshot-identity-management-view.c
+@am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_moonshot_CPPFLAGS) $(CPPFLAGS) $(src_moonshot_CFLAGS) $(CFLAGS) -MT src/src_moonshot-moonshot-identity-management-view.obj -MD -MP -MF src/$(DEPDIR)/src_moonshot-moonshot-identity-management-view.Tpo -c -o src/src_moonshot-moonshot-identity-management-view.obj `if test -f 'src/moonshot-identity-management-view.c'; then $(CYGPATH_W) 'src/moonshot-identity-management-view.c'; else $(CYGPATH_W) '$(srcdir)/src/moonshot-identity-management-view.c'; fi`
+@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/$(DEPDIR)/src_moonshot-moonshot-identity-management-view.Tpo src/$(DEPDIR)/src_moonshot-moonshot-identity-management-view.Po
+@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/moonshot-identity-management-view.c' object='src/src_moonshot-moonshot-identity-management-view.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_moonshot_CPPFLAGS) $(CPPFLAGS) $(src_moonshot_CFLAGS) $(CFLAGS) -c -o src/src_moonshot-moonshot-identity-management-view.obj `if test -f 'src/moonshot-identity-management-view.c'; then $(CYGPATH_W) 'src/moonshot-identity-management-view.c'; else $(CYGPATH_W) '$(srcdir)/src/moonshot-identity-management-view.c'; fi`
+
+src/src_moonshot-moonshot-local-flat-file-store.o: src/moonshot-local-flat-file-store.c
+@am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_moonshot_CPPFLAGS) $(CPPFLAGS) $(src_moonshot_CFLAGS) $(CFLAGS) -MT src/src_moonshot-moonshot-local-flat-file-store.o -MD -MP -MF src/$(DEPDIR)/src_moonshot-moonshot-local-flat-file-store.Tpo -c -o src/src_moonshot-moonshot-local-flat-file-store.o `test -f 'src/moonshot-local-flat-file-store.c' || echo '$(srcdir)/'`src/moonshot-local-flat-file-store.c
+@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/$(DEPDIR)/src_moonshot-moonshot-local-flat-file-store.Tpo src/$(DEPDIR)/src_moonshot-moonshot-local-flat-file-store.Po
+@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/moonshot-local-flat-file-store.c' object='src/src_moonshot-moonshot-local-flat-file-store.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_moonshot_CPPFLAGS) $(CPPFLAGS) $(src_moonshot_CFLAGS) $(CFLAGS) -c -o src/src_moonshot-moonshot-local-flat-file-store.o `test -f 'src/moonshot-local-flat-file-store.c' || echo '$(srcdir)/'`src/moonshot-local-flat-file-store.c
+
+src/src_moonshot-moonshot-local-flat-file-store.obj: src/moonshot-local-flat-file-store.c
+@am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_moonshot_CPPFLAGS) $(CPPFLAGS) $(src_moonshot_CFLAGS) $(CFLAGS) -MT src/src_moonshot-moonshot-local-flat-file-store.obj -MD -MP -MF src/$(DEPDIR)/src_moonshot-moonshot-local-flat-file-store.Tpo -c -o src/src_moonshot-moonshot-local-flat-file-store.obj `if test -f 'src/moonshot-local-flat-file-store.c'; then $(CYGPATH_W) 'src/moonshot-local-flat-file-store.c'; else $(CYGPATH_W) '$(srcdir)/src/moonshot-local-flat-file-store.c'; fi`
+@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/$(DEPDIR)/src_moonshot-moonshot-local-flat-file-store.Tpo src/$(DEPDIR)/src_moonshot-moonshot-local-flat-file-store.Po
+@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/moonshot-local-flat-file-store.c' object='src/src_moonshot-moonshot-local-flat-file-store.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_moonshot_CPPFLAGS) $(CPPFLAGS) $(src_moonshot_CFLAGS) $(CFLAGS) -c -o src/src_moonshot-moonshot-local-flat-file-store.obj `if test -f 'src/moonshot-local-flat-file-store.c'; then $(CYGPATH_W) 'src/moonshot-local-flat-file-store.c'; else $(CYGPATH_W) '$(srcdir)/src/moonshot-local-flat-file-store.c'; fi`
+
+src/src_moonshot-moonshot-idcard-store.o: src/moonshot-idcard-store.c
+@am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_moonshot_CPPFLAGS) $(CPPFLAGS) $(src_moonshot_CFLAGS) $(CFLAGS) -MT src/src_moonshot-moonshot-idcard-store.o -MD -MP -MF src/$(DEPDIR)/src_moonshot-moonshot-idcard-store.Tpo -c -o src/src_moonshot-moonshot-idcard-store.o `test -f 'src/moonshot-idcard-store.c' || echo '$(srcdir)/'`src/moonshot-idcard-store.c
+@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/$(DEPDIR)/src_moonshot-moonshot-idcard-store.Tpo src/$(DEPDIR)/src_moonshot-moonshot-idcard-store.Po
+@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/moonshot-idcard-store.c' object='src/src_moonshot-moonshot-idcard-store.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_moonshot_CPPFLAGS) $(CPPFLAGS) $(src_moonshot_CFLAGS) $(CFLAGS) -c -o src/src_moonshot-moonshot-idcard-store.o `test -f 'src/moonshot-idcard-store.c' || echo '$(srcdir)/'`src/moonshot-idcard-store.c
+
+src/src_moonshot-moonshot-idcard-store.obj: src/moonshot-idcard-store.c
+@am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_moonshot_CPPFLAGS) $(CPPFLAGS) $(src_moonshot_CFLAGS) $(CFLAGS) -MT src/src_moonshot-moonshot-idcard-store.obj -MD -MP -MF src/$(DEPDIR)/src_moonshot-moonshot-idcard-store.Tpo -c -o src/src_moonshot-moonshot-idcard-store.obj `if test -f 'src/moonshot-idcard-store.c'; then $(CYGPATH_W) 'src/moonshot-idcard-store.c'; else $(CYGPATH_W) '$(srcdir)/src/moonshot-idcard-store.c'; fi`
+@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/$(DEPDIR)/src_moonshot-moonshot-idcard-store.Tpo src/$(DEPDIR)/src_moonshot-moonshot-idcard-store.Po
+@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/moonshot-idcard-store.c' object='src/src_moonshot-moonshot-idcard-store.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_moonshot_CPPFLAGS) $(CPPFLAGS) $(src_moonshot_CFLAGS) $(CFLAGS) -c -o src/src_moonshot-moonshot-idcard-store.obj `if test -f 'src/moonshot-idcard-store.c'; then $(CYGPATH_W) 'src/moonshot-idcard-store.c'; else $(CYGPATH_W) '$(srcdir)/src/moonshot-idcard-store.c'; fi`
+
 src/src_moonshot-moonshot-id.o: src/moonshot-id.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_moonshot_CPPFLAGS) $(CPPFLAGS) $(src_moonshot_CFLAGS) $(CFLAGS) -MT src/src_moonshot-moonshot-id.o -MD -MP -MF src/$(DEPDIR)/src_moonshot-moonshot-id.Tpo -c -o src/src_moonshot-moonshot-id.o `test -f 'src/moonshot-id.c' || echo '$(srcdir)/'`src/moonshot-id.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/$(DEPDIR)/src_moonshot-moonshot-id.Tpo src/$(DEPDIR)/src_moonshot-moonshot-id.Po
@@ -998,22 +1115,6 @@ src/src_moonshot-moonshot-server.obj: src/moonshot-server.c
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_moonshot_CPPFLAGS) $(CPPFLAGS) $(src_moonshot_CFLAGS) $(CFLAGS) -c -o src/src_moonshot-moonshot-server.obj `if test -f 'src/moonshot-server.c'; then $(CYGPATH_W) 'src/moonshot-server.c'; else $(CYGPATH_W) '$(srcdir)/src/moonshot-server.c'; fi`
 
-src/src_moonshot-moonshot-window.o: src/moonshot-window.c
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_moonshot_CPPFLAGS) $(CPPFLAGS) $(src_moonshot_CFLAGS) $(CFLAGS) -MT src/src_moonshot-moonshot-window.o -MD -MP -MF src/$(DEPDIR)/src_moonshot-moonshot-window.Tpo -c -o src/src_moonshot-moonshot-window.o `test -f 'src/moonshot-window.c' || echo '$(srcdir)/'`src/moonshot-window.c
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/$(DEPDIR)/src_moonshot-moonshot-window.Tpo src/$(DEPDIR)/src_moonshot-moonshot-window.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/moonshot-window.c' object='src/src_moonshot-moonshot-window.o' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_moonshot_CPPFLAGS) $(CPPFLAGS) $(src_moonshot_CFLAGS) $(CFLAGS) -c -o src/src_moonshot-moonshot-window.o `test -f 'src/moonshot-window.c' || echo '$(srcdir)/'`src/moonshot-window.c
-
-src/src_moonshot-moonshot-window.obj: src/moonshot-window.c
-@am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_moonshot_CPPFLAGS) $(CPPFLAGS) $(src_moonshot_CFLAGS) $(CFLAGS) -MT src/src_moonshot-moonshot-window.obj -MD -MP -MF src/$(DEPDIR)/src_moonshot-moonshot-window.Tpo -c -o src/src_moonshot-moonshot-window.obj `if test -f 'src/moonshot-window.c'; then $(CYGPATH_W) 'src/moonshot-window.c'; else $(CYGPATH_W) '$(srcdir)/src/moonshot-window.c'; fi`
-@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/$(DEPDIR)/src_moonshot-moonshot-window.Tpo src/$(DEPDIR)/src_moonshot-moonshot-window.Po
-@am__fastdepCC_FALSE@  $(AM_V_CC) @AM_BACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/moonshot-window.c' object='src/src_moonshot-moonshot-window.obj' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_moonshot_CPPFLAGS) $(CPPFLAGS) $(src_moonshot_CFLAGS) $(CFLAGS) -c -o src/src_moonshot-moonshot-window.obj `if test -f 'src/moonshot-window.c'; then $(CYGPATH_W) 'src/moonshot-window.c'; else $(CYGPATH_W) '$(srcdir)/src/moonshot-window.c'; fi`
-
 src/src_moonshot-moonshot-password-dialog.o: src/moonshot-password-dialog.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_moonshot_CPPFLAGS) $(CPPFLAGS) $(src_moonshot_CFLAGS) $(CFLAGS) -MT src/src_moonshot-moonshot-password-dialog.o -MD -MP -MF src/$(DEPDIR)/src_moonshot-moonshot-password-dialog.Tpo -c -o src/src_moonshot-moonshot-password-dialog.o `test -f 'src/moonshot-password-dialog.c' || echo '$(srcdir)/'`src/moonshot-password-dialog.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) src/$(DEPDIR)/src_moonshot-moonshot-password-dialog.Tpo src/$(DEPDIR)/src_moonshot-moonshot-password-dialog.Po
@@ -1128,6 +1229,26 @@ tests_basic_vala.stamp: $(tests_basic_SOURCES)
 examples_service_selection_vala.stamp: $(examples_service_selection_SOURCES)
        $(AM_V_VALAC)$(VALAC) $(AM_VALAFLAGS) $(VALAFLAGS) -C $(examples_service_selection_SOURCES)
        $(AM_V_at)touch $@
+$(srcdir)/src/moonshot-identity-manager-app.c: $(srcdir)/src_moonshot_vala.stamp
+       @if test -f $@; then :; else \
+         rm -f $(srcdir)/src_moonshot_vala.stamp; \
+         $(am__cd) $(srcdir) && $(MAKE) $(AM_MAKEFLAGS) src_moonshot_vala.stamp; \
+       fi
+$(srcdir)/src/moonshot-identity-management-view.c: $(srcdir)/src_moonshot_vala.stamp
+       @if test -f $@; then :; else \
+         rm -f $(srcdir)/src_moonshot_vala.stamp; \
+         $(am__cd) $(srcdir) && $(MAKE) $(AM_MAKEFLAGS) src_moonshot_vala.stamp; \
+       fi
+$(srcdir)/src/moonshot-local-flat-file-store.c: $(srcdir)/src_moonshot_vala.stamp
+       @if test -f $@; then :; else \
+         rm -f $(srcdir)/src_moonshot_vala.stamp; \
+         $(am__cd) $(srcdir) && $(MAKE) $(AM_MAKEFLAGS) src_moonshot_vala.stamp; \
+       fi
+$(srcdir)/src/moonshot-idcard-store.c: $(srcdir)/src_moonshot_vala.stamp
+       @if test -f $@; then :; else \
+         rm -f $(srcdir)/src_moonshot_vala.stamp; \
+         $(am__cd) $(srcdir) && $(MAKE) $(AM_MAKEFLAGS) src_moonshot_vala.stamp; \
+       fi
 $(srcdir)/src/moonshot-id.c: $(srcdir)/src_moonshot_vala.stamp
        @if test -f $@; then :; else \
          rm -f $(srcdir)/src_moonshot_vala.stamp; \
@@ -1163,11 +1284,6 @@ $(srcdir)/src/moonshot-server.c: $(srcdir)/src_moonshot_vala.stamp
          rm -f $(srcdir)/src_moonshot_vala.stamp; \
          $(am__cd) $(srcdir) && $(MAKE) $(AM_MAKEFLAGS) src_moonshot_vala.stamp; \
        fi
-$(srcdir)/src/moonshot-window.c: $(srcdir)/src_moonshot_vala.stamp
-       @if test -f $@; then :; else \
-         rm -f $(srcdir)/src_moonshot_vala.stamp; \
-         $(am__cd) $(srcdir) && $(MAKE) $(AM_MAKEFLAGS) src_moonshot_vala.stamp; \
-       fi
 $(srcdir)/src/moonshot-password-dialog.c: $(srcdir)/src_moonshot_vala.stamp
        @if test -f $@; then :; else \
          rm -f $(srcdir)/src_moonshot_vala.stamp; \
@@ -1644,14 +1760,17 @@ maintainer-clean-generic:
        -rm -f src/moonshot-add-dialog.c
        -rm -f src/moonshot-custom-vbox.c
        -rm -f src/moonshot-id.c
+       -rm -f src/moonshot-idcard-store.c
        -rm -f src/moonshot-idcard-widget.c
        -rm -f src/moonshot-identities-manager.c
+       -rm -f src/moonshot-identity-management-view.c
+       -rm -f src/moonshot-identity-manager-app.c
        -rm -f src/moonshot-identity-request.c
+       -rm -f src/moonshot-local-flat-file-store.c
        -rm -f src/moonshot-password-dialog.c
        -rm -f src/moonshot-server.c
        -rm -f src/moonshot-utils.c
        -rm -f src/moonshot-webp-parser.c
-       -rm -f src/moonshot-window.c
        -rm -f src_moonshot_vala.stamp
        -rm -f src_moonshot_webp_vala.stamp
        -rm -f tests_basic_vala.stamp
@@ -1762,8 +1881,10 @@ uninstall-am: uninstall-binPROGRAMS uninstall-dbusserviceDATA \
        uninstall-libLTLIBRARIES uninstall-mimeDATA
 
 
+# Build the MSVC lib. The sed hack fixes execution in the case that
+# the MSVC toolchain isn't in the PATH.
 @OS_WIN32_TRUE@libmoonshot/libmoonshot.lib: libmoonshot/libmoonshot.def
-@OS_WIN32_TRUE@        "${MSVC_LIB}" -def:$< -out:$@ -machine:x86
+@OS_WIN32_TRUE@        PATH="$(shell echo "${MSVC_LIB}" | sed -e s,/VC/bin/lib,/Common7/IDE,)":$$PATH "${MSVC_LIB}" -def:$< -out:$@ -machine:x86
 
 @IPC_MSRPC_TRUE@libmoonshot/moonshot-msrpc.h: libmoonshot/moonshot-msrpc.idl libmoonshot/moonshot-msrpc.acf
 @IPC_MSRPC_TRUE@       ${AM_V_GEN} ${MIDL_WRAPPER} -o libmoonshot -m "${MIDL}" $^
@@ -1777,15 +1898,24 @@ uninstall-am: uninstall-binPROGRAMS uninstall-dbusserviceDATA \
 
 @OS_WIN32_TRUE@icons:
 @OS_WIN32_TRUE@        mkdir -p share/icons
-@OS_WIN32_TRUE@        cp c:/build/share/icons/gnome/48x48/status/avatar-default.png share/icons
-@OS_WIN32_TRUE@        "${IMAGEMAGICK_CONVERT}" -background none c:/build/share/icons/gnome/scalable/actions/edit-clear-symbolic.svg -size 13x13 share/icons/edit-clear-symbolic.png
-@OS_WIN32_TRUE@        "${IMAGEMAGICK_CONVERT}" -background none c:/build/share/icons/gnome/scalable/actions/edit-find-symbolic.svg -size 13x13 share/icons/edit-find-symbolic.png
+@OS_WIN32_TRUE@        cp ${prefix}/share/icons/gnome/48x48/status/avatar-default.png share/icons
+@OS_WIN32_TRUE@        "${IMAGEMAGICK_CONVERT}" -background none ${prefix}/share/icons/gnome/scalable/actions/edit-clear-symbolic.svg -size 13x13 share/icons/edit-clear-symbolic.png
+@OS_WIN32_TRUE@        "${IMAGEMAGICK_CONVERT}" -background none ${prefix}/share/icons/gnome/scalable/actions/edit-find-symbolic.svg -size 13x13 share/icons/edit-find-symbolic.png
 
 @OS_WIN32_TRUE@installer: moonshot.msi
 
 @OS_WIN32_TRUE@moonshot.msi: windows/app.wxs windows/config.wxi $(bin_PROGRAMS)
 @OS_WIN32_TRUE@        "${WIX_CANDLE}" $<
-@OS_WIN32_TRUE@        "${WIX_LIGHT}" -b c:/build -b c:/tools/mingw -o moonshot.msi app.wixobj
+@OS_WIN32_TRUE@        "${WIX_LIGHT}" -b ${prefix} -b ${prefix}/mingw -o moonshot.msi app.wixobj
+
+@OS_MACOS_TRUE@icons:
+@OS_MACOS_TRUE@        mkdir -p share/icons
+@OS_MACOS_TRUE@        cp mac/icons/process-stop.png share/icons
+@OS_MACOS_TRUE@        cp mac/icons/edit-find.png share/icons
+@OS_MACOS_TRUE@        cp mac/icons/avatar-default.png share/icons
+
+@OS_MACOS_TRUE@app-bundle:
+@OS_MACOS_TRUE@        gtk-mac-bundler ./mac/moonshot-ui.bundle
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
index 8a5fef4..6879ad4 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,8 +1,8 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.67 for Moonshot 0.0.1.
+# Generated by GNU Autoconf 2.67 for Moonshot-ui 0.1.
 #
-# Report bugs to <BUG-REPORT-ADDRESS>.
+# Report bugs to <moonshot-community@jiscmail.ac.uk>.
 #
 #
 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -230,11 +230,11 @@ fi
     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
   else
-    $as_echo "$0: Please tell bug-autoconf@gnu.org and BUG-REPORT-ADDRESS
-$0: about your system, including any error possibly output
-$0: before this message. Then install a modern shell, or
-$0: manually run the script under such a shell if you do
-$0: have one."
+    $as_echo "$0: Please tell bug-autoconf@gnu.org and
+$0: moonshot-community@jiscmail.ac.uk about your system,
+$0: including any error possibly output before this
+$0: message. Then install a modern shell, or manually run
+$0: the script under such a shell if you do have one."
   fi
   exit 1
 fi
@@ -759,11 +759,11 @@ MFLAGS=
 MAKEFLAGS=
 
 # Identity of this package.
-PACKAGE_NAME='Moonshot'
-PACKAGE_TARNAME='moonshot'
-PACKAGE_VERSION='0.0.1'
-PACKAGE_STRING='Moonshot 0.0.1'
-PACKAGE_BUGREPORT='BUG-REPORT-ADDRESS'
+PACKAGE_NAME='Moonshot-ui'
+PACKAGE_TARNAME='moonshot-ui'
+PACKAGE_VERSION='0.1'
+PACKAGE_STRING='Moonshot-ui 0.1'
+PACKAGE_BUGREPORT='moonshot-community@jiscmail.ac.uk'
 PACKAGE_URL=''
 
 ac_unique_file="configure.ac"
@@ -842,15 +842,27 @@ MIDL
 MIDL_WRAPPER
 MSRPC_LIBS
 MSRPC_CFLAGS
-VALAC
+IPC_GDBUS_FALSE
+IPC_GDBUS_TRUE
+IPC_DBUS_GLIB_FALSE
+IPC_DBUS_GLIB_TRUE
 IPC_DBUS_FALSE
 IPC_DBUS_TRUE
 IPC_MSRPC_FALSE
 IPC_MSRPC_TRUE
+OS_MACOS_FALSE
+OS_MACOS_TRUE
 OS_WIN32_FALSE
 OS_WIN32_TRUE
 OS_LINUX_FALSE
 OS_LINUX_TRUE
+MAC_LIBS
+MAC_CFLAGS
+GDBUS_LIBS
+GDBUS_CFLAGS
+GTK_LIBS
+GTK_CFLAGS
+VALAC
 PKG_CONFIG_LIBDIR
 PKG_CONFIG_PATH
 PKG_CONFIG
@@ -995,6 +1007,12 @@ CPP
 PKG_CONFIG
 PKG_CONFIG_PATH
 PKG_CONFIG_LIBDIR
+GTK_CFLAGS
+GTK_LIBS
+GDBUS_CFLAGS
+GDBUS_LIBS
+MAC_CFLAGS
+MAC_LIBS
 moonshot_CFLAGS
 moonshot_LIBS
 libmoonshot_CFLAGS
@@ -1541,7 +1559,7 @@ if test "$ac_init_help" = "long"; then
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures Moonshot 0.0.1 to adapt to many kinds of systems.
+\`configure' configures Moonshot-ui 0.1 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1589,7 +1607,7 @@ Fine tuning of the installation directories:
   --infodir=DIR           info documentation [DATAROOTDIR/info]
   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   --mandir=DIR            man documentation [DATAROOTDIR/man]
-  --docdir=DIR            documentation root [DATAROOTDIR/doc/moonshot]
+  --docdir=DIR            documentation root [DATAROOTDIR/doc/moonshot-ui]
   --htmldir=DIR           html documentation [DOCDIR]
   --dvidir=DIR            dvi documentation [DOCDIR]
   --pdfdir=DIR            pdf documentation [DOCDIR]
@@ -1611,7 +1629,7 @@ fi
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of Moonshot 0.0.1:";;
+     short | recursive ) echo "Configuration of Moonshot-ui 0.1:";;
    esac
   cat <<\_ACEOF
 
@@ -1659,6 +1677,13 @@ Some influential environment variables:
               directories to add to pkg-config's search path
   PKG_CONFIG_LIBDIR
               path overriding pkg-config's built-in search path
+  GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
+  GTK_LIBS    linker flags for GTK, overriding pkg-config
+  GDBUS_CFLAGS
+              C compiler flags for GDBUS, overriding pkg-config
+  GDBUS_LIBS  linker flags for GDBUS, overriding pkg-config
+  MAC_CFLAGS  C compiler flags for MAC, overriding pkg-config
+  MAC_LIBS    linker flags for MAC, overriding pkg-config
   moonshot_CFLAGS
               C compiler flags for moonshot, overriding pkg-config
   moonshot_LIBS
@@ -1671,7 +1696,7 @@ Some influential environment variables:
 Use these variables to override the choices made by `configure' or to help
 it to find libraries and programs with nonstandard names/locations.
 
-Report bugs to <BUG-REPORT-ADDRESS>.
+Report bugs to <moonshot-community@jiscmail.ac.uk>.
 _ACEOF
 ac_status=$?
 fi
@@ -1734,7 +1759,7 @@ fi
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-Moonshot configure 0.0.1
+Moonshot-ui configure 0.1
 generated by GNU Autoconf 2.67
 
 Copyright (C) 2010 Free Software Foundation, Inc.
@@ -2012,7 +2037,7 @@ cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by Moonshot $as_me 0.0.1, which was
+It was created by Moonshot-ui $as_me 0.1, which was
 generated by GNU Autoconf 2.67.  Invocation command line was
 
   $ $0 $@
@@ -2833,8 +2858,8 @@ fi
 
 
 # Define the identity of the package.
- PACKAGE='moonshot'
- VERSION='0.0.1'
+ PACKAGE='moonshot-ui'
+ VERSION='0.1'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -4651,13 +4676,13 @@ if test "${lt_cv_nm_interface+set}" = set; then :
 else
   lt_cv_nm_interface="BSD nm"
   echo "int some_variable = 0;" > conftest.$ac_ext
-  (eval echo "\"\$as_me:4654: $ac_compile\"" >&5)
+  (eval echo "\"\$as_me:4679: $ac_compile\"" >&5)
   (eval "$ac_compile" 2>conftest.err)
   cat conftest.err >&5
-  (eval echo "\"\$as_me:4657: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
+  (eval echo "\"\$as_me:4682: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   cat conftest.err >&5
-  (eval echo "\"\$as_me:4660: output\"" >&5)
+  (eval echo "\"\$as_me:4685: output\"" >&5)
   cat conftest.out >&5
   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
     lt_cv_nm_interface="MS dumpbin"
@@ -5860,7 +5885,7 @@ ia64-*-hpux*)
   ;;
 *-*-irix6*)
   # Find out which ABI we are using.
-  echo '#line 5863 "configure"' > conftest.$ac_ext
+  echo '#line 5888 "configure"' > conftest.$ac_ext
   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
@@ -7687,11 +7712,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:7690: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:7715: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:7694: \$? = $ac_status" >&5
+   echo "$as_me:7719: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
@@ -8026,11 +8051,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:8029: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:8054: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:8033: \$? = $ac_status" >&5
+   echo "$as_me:8058: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
@@ -8131,11 +8156,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:8134: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:8159: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?
    cat out/conftest.err >&5
-   echo "$as_me:8138: \$? = $ac_status" >&5
+   echo "$as_me:8163: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then
      # The compiler can only warn and ignore the option if not recognized
@@ -8186,11 +8211,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:8189: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:8214: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?
    cat out/conftest.err >&5
-   echo "$as_me:8193: \$? = $ac_status" >&5
+   echo "$as_me:8218: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then
      # The compiler can only warn and ignore the option if not recognized
@@ -10570,7 +10595,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 10573 "configure"
+#line 10598 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -10666,7 +10691,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 10669 "configure"
+#line 10694 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -10894,6 +10919,7 @@ CC="$lt_save_CC"
 
 
 
+# Checks for programs.
 
 
 
@@ -11002,7 +11028,7 @@ fi
 
 fi
 if test -n "$PKG_CONFIG"; then
-       _pkg_min_version=0.24
+       _pkg_min_version=0.23
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
@@ -11014,57 +11040,6 @@ $as_echo "no" >&6; }
                PKG_CONFIG=""
        fi
 fi
-
-# Platform checks
-
-
-case "$host" in
-  *-*-mingw*)
-    win32=yes
-    SERVER_IPC_MODULE="msrpc-glib2-1.0"
-    CLIENT_IPC_MODULE="msrpc-mingw-1.0"
-    ;;
-  *)
-    win32=no
-    SERVER_IPC_MODULE="dbus-glib-1"
-    CLIENT_IPC_MODULE="dbus-glib-1"
-    ;;
-esac
-
- if test "$win32" != "yes"; then
-  OS_LINUX_TRUE=
-  OS_LINUX_FALSE='#'
-else
-  OS_LINUX_TRUE='#'
-  OS_LINUX_FALSE=
-fi
-
- if test "$win32" = "yes"; then
-  OS_WIN32_TRUE=
-  OS_WIN32_FALSE='#'
-else
-  OS_WIN32_TRUE='#'
-  OS_WIN32_FALSE=
-fi
-
- if test "$SERVER_IPC_MODULE" = "msrpc-glib2-1.0"; then
-  IPC_MSRPC_TRUE=
-  IPC_MSRPC_FALSE='#'
-else
-  IPC_MSRPC_TRUE='#'
-  IPC_MSRPC_FALSE=
-fi
-
- if test "$SERVER_IPC_MODULE" = "dbus-glib-1"; then
-  IPC_DBUS_TRUE=
-  IPC_DBUS_FALSE='#'
-else
-  IPC_DBUS_TRUE='#'
-  IPC_DBUS_FALSE=
-fi
-
-
-# Checks for programs.
 ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 fi
 
 
-if test "$SERVER_IPC_MODULE" = "msrpc-glib2-1.0"; then
-  # MS RPC utilities
-
-  pkg_config_args="msrpc-mingw-1.0"
+# Platform checks
 
 
+case "$host" in
+  *-*-mingw*)
+    win32=yes
+    macos=no
+    linux=no
+    SERVER_IPC_MODULE="msrpc-glib2-1.0"
+    CLIENT_IPC_MODULE="msrpc-mingw-1.0"
 
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
+$as_echo_n "checking for GTK... " >&6; }
 
+if test -n "$GTK_CFLAGS"; then
+    pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
+  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; then
+  pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.18" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
+else
+  pkg_failed=yes
+fi
+ else
+    pkg_failed=untried
+fi
+if test -n "$GTK_LIBS"; then
+    pkg_cv_GTK_LIBS="$GTK_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
+  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; then
+  pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.18" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
+else
+  pkg_failed=yes
+fi
+ else
+    pkg_failed=untried
+fi
 
 
 
+if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
-if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
-       if test -n "$ac_tool_prefix"; then
-  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
-set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
-  $as_echo_n "(cached) " >&6
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+        _pkg_short_errors_supported=yes
 else
-  case $PKG_CONFIG in
-  [\\/]* | ?:[\\/]*)
-  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
-  ;;
-  *)
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-  ;;
-esac
+        _pkg_short_errors_supported=no
 fi
-PKG_CONFIG=$ac_cv_path_PKG_CONFIG
-if test -n "$PKG_CONFIG"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
-$as_echo "$PKG_CONFIG" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+        if test $_pkg_short_errors_supported = yes; then
+               GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
+        else
+               GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
+        fi
+       # Put the nasty error message in config.log where it belongs
+       echo "$GTK_PKG_ERRORS" >&5
+
+       as_fn_error $? "Package requirements (gtk+-2.0 >= 2.18) were not met:
+
+$GTK_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables GTK_CFLAGS
+and GTK_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details." "$LINENO" 5
+elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 $as_echo "no" >&6; }
-fi
+       { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
 
+Alternatively, you may set the environment variables GTK_CFLAGS
+and GTK_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
 
-fi
-if test -z "$ac_cv_path_PKG_CONFIG"; then
-  ac_pt_PKG_CONFIG=$PKG_CONFIG
-  # Extract the first word of "pkg-config", so it can be a program name with args.
-set dummy pkg-config; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
-  $as_echo_n "(cached) " >&6
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+See \`config.log' for more details" "$LINENO" 5 ; }
 else
-  case $ac_pt_PKG_CONFIG in
-  [\\/]* | ?:[\\/]*)
-  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
-  ;;
-  *)
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
+       GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
+       GTK_LIBS=$pkg_cv_GTK_LIBS
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+       GTK_VERSION="gtk+-2.0"
 
-  ;;
-esac
-fi
-ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
-if test -n "$ac_pt_PKG_CONFIG"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
-$as_echo "$ac_pt_PKG_CONFIG" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
 fi
+    ;;
 
-  if test "x$ac_pt_PKG_CONFIG" = x; then
-    PKG_CONFIG=""
-  else
-    case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
-    PKG_CONFIG=$ac_pt_PKG_CONFIG
-  fi
+  *darwin*)
+    win32=no
+    macos=yes
+    linux=no
+
+    # We require dbus-glib for the client library even if we are using GDBus
+    # in the server. The reason we can't always use dbus-glib in the server is
+    # because Vala drops support for it, but as it ships with DBus there is very
+    # little danger of it being dropped by distros any time soon.
+    CLIENT_IPC_MODULE="dbus-glib-1"
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDBUS" >&5
+$as_echo_n "checking for GDBUS... " >&6; }
+
+if test -n "$GDBUS_CFLAGS"; then
+    pkg_cv_GDBUS_CFLAGS="$GDBUS_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26\""; } >&5
+  ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26") 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; then
+  pkg_cv_GDBUS_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.26" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
-  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
+  pkg_failed=yes
 fi
-
+ else
+    pkg_failed=untried
 fi
-if test -n "$PKG_CONFIG"; then
-       _pkg_min_version=0.16
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
-$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
-       if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
-       else
-               { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-               PKG_CONFIG=""
-       fi
+if test -n "$GDBUS_LIBS"; then
+    pkg_cv_GDBUS_LIBS="$GDBUS_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26\""; } >&5
+  ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26") 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; then
+  pkg_cv_GDBUS_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.26" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
+else
+  pkg_failed=yes
+fi
+ else
+    pkg_failed=untried
 fi
 
-  no_msrpc=""
 
-  if test "x$PKG_CONFIG" = x ; then
-    no_msrpc=yes
-    PKG_CONFIG=no
-  fi
 
-  min_msrpc_mingw_version=0.1.0
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for msrpc-mingw - version >= $min_msrpc_version" >&5
-$as_echo_n "checking for msrpc-mingw - version >= $min_msrpc_version... " >&6; }
+if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
-  if test x$PKG_CONFIG != xno ; then
-    if $PKG_CONFIG --uninstalled $pkg_config_args; then
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+        _pkg_short_errors_supported=yes
+else
+        _pkg_short_errors_supported=no
+fi
+        if test $_pkg_short_errors_supported = yes; then
+               GDBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.26" 2>&1`
+        else
+               GDBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.26" 2>&1`
+        fi
+       # Put the nasty error message in config.log where it belongs
+       echo "$GDBUS_PKG_ERRORS" >&5
+
+       SERVER_IPC_MODULE="dbus-glib-1"
+
+elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+       SERVER_IPC_MODULE="dbus-glib-1"
+
+else
+       GDBUS_CFLAGS=$pkg_cv_GDBUS_CFLAGS
+       GDBUS_LIBS=$pkg_cv_GDBUS_LIBS
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+       SERVER_IPC_MODULE="gio-2.0"
+fi
+
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAC" >&5
+$as_echo_n "checking for MAC... " >&6; }
+
+if test -n "$MAC_CFLAGS"; then
+    pkg_cv_MAC_CFLAGS="$MAC_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-mac-integration >= 1.0.1
+       \""; } >&5
+  ($PKG_CONFIG --exists --print-errors "gtk-mac-integration >= 1.0.1
+       ") 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; then
+  pkg_cv_MAC_CFLAGS=`$PKG_CONFIG --cflags "gtk-mac-integration >= 1.0.1
+       " 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
+else
+  pkg_failed=yes
+fi
+ else
+    pkg_failed=untried
+fi
+if test -n "$MAC_LIBS"; then
+    pkg_cv_MAC_LIBS="$MAC_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-mac-integration >= 1.0.1
+       \""; } >&5
+  ($PKG_CONFIG --exists --print-errors "gtk-mac-integration >= 1.0.1
+       ") 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; then
+  pkg_cv_MAC_LIBS=`$PKG_CONFIG --libs "gtk-mac-integration >= 1.0.1
+       " 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
+else
+  pkg_failed=yes
+fi
+ else
+    pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+        _pkg_short_errors_supported=yes
+else
+        _pkg_short_errors_supported=no
+fi
+        if test $_pkg_short_errors_supported = yes; then
+               MAC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk-mac-integration >= 1.0.1
+       " 2>&1`
+        else
+               MAC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk-mac-integration >= 1.0.1
+       " 2>&1`
+        fi
+       # Put the nasty error message in config.log where it belongs
+       echo "$MAC_PKG_ERRORS" >&5
+
+       as_fn_error $? "Package requirements (gtk-mac-integration >= 1.0.1
+       ) were not met:
+
+$MAC_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables MAC_CFLAGS
+and MAC_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details." "$LINENO" 5
+elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+       { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+Alternatively, you may set the environment variables MAC_CFLAGS
+and MAC_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+See \`config.log' for more details" "$LINENO" 5 ; }
+else
+       MAC_CFLAGS=$pkg_cv_MAC_CFLAGS
+       MAC_LIBS=$pkg_cv_MAC_LIBS
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+fi
+
+# TODO: Move to GTK+-3
+#            [gtk+-3.0 >= 2.0],
+#            [GTK_VERSION="gtk+-3.0"]
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
+$as_echo_n "checking for GTK... " >&6; }
+
+if test -n "$GTK_CFLAGS"; then
+    pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
+  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; then
+  pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.18" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
+else
+  pkg_failed=yes
+fi
+ else
+    pkg_failed=untried
+fi
+if test -n "$GTK_LIBS"; then
+    pkg_cv_GTK_LIBS="$GTK_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
+  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; then
+  pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.18" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
+else
+  pkg_failed=yes
+fi
+ else
+    pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+        _pkg_short_errors_supported=yes
+else
+        _pkg_short_errors_supported=no
+fi
+        if test $_pkg_short_errors_supported = yes; then
+               GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
+        else
+               GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
+        fi
+       # Put the nasty error message in config.log where it belongs
+       echo "$GTK_PKG_ERRORS" >&5
+
+       as_fn_error $? "Package requirements (gtk+-2.0 >= 2.18) were not met:
+
+$GTK_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables GTK_CFLAGS
+and GTK_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details." "$LINENO" 5
+elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+       { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+Alternatively, you may set the environment variables GTK_CFLAGS
+and GTK_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+See \`config.log' for more details" "$LINENO" 5 ; }
+else
+       GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
+       GTK_LIBS=$pkg_cv_GTK_LIBS
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+       GTK_VERSION="gtk+-2.0"
+
+fi
+
+    ;;
+  *)
+    macos=no
+    win32=no
+    linux=yes
+
+    # We require dbus-glib for the client library even if we are using GDBus
+    # in the server. The reason we can't always use dbus-glib in the server is
+    # because Vala drops support for it, but as it ships with DBus there is very
+    # little danger of it being dropped by distros any time soon.
+    CLIENT_IPC_MODULE="dbus-glib-1"
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDBUS" >&5
+$as_echo_n "checking for GDBUS... " >&6; }
+
+if test -n "$GDBUS_CFLAGS"; then
+    pkg_cv_GDBUS_CFLAGS="$GDBUS_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26\""; } >&5
+  ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26") 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; then
+  pkg_cv_GDBUS_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.26" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
+else
+  pkg_failed=yes
+fi
+ else
+    pkg_failed=untried
+fi
+if test -n "$GDBUS_LIBS"; then
+    pkg_cv_GDBUS_LIBS="$GDBUS_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26\""; } >&5
+  ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26") 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; then
+  pkg_cv_GDBUS_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.26" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
+else
+  pkg_failed=yes
+fi
+ else
+    pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+        _pkg_short_errors_supported=yes
+else
+        _pkg_short_errors_supported=no
+fi
+        if test $_pkg_short_errors_supported = yes; then
+               GDBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.26" 2>&1`
+        else
+               GDBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.26" 2>&1`
+        fi
+       # Put the nasty error message in config.log where it belongs
+       echo "$GDBUS_PKG_ERRORS" >&5
+
+       SERVER_IPC_MODULE="dbus-glib-1"
+
+elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+       SERVER_IPC_MODULE="dbus-glib-1"
+
+else
+       GDBUS_CFLAGS=$pkg_cv_GDBUS_CFLAGS
+       GDBUS_LIBS=$pkg_cv_GDBUS_LIBS
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+       SERVER_IPC_MODULE="gio-2.0"
+fi
+# TODO: Move to GTK+-3
+#            [gtk+-3.0 >= 2.0],
+#            [GTK_VERSION="gtk+-3.0"]
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
+$as_echo_n "checking for GTK... " >&6; }
+
+if test -n "$GTK_CFLAGS"; then
+    pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
+  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; then
+  pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.18" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
+else
+  pkg_failed=yes
+fi
+ else
+    pkg_failed=untried
+fi
+if test -n "$GTK_LIBS"; then
+    pkg_cv_GTK_LIBS="$GTK_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
+  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; then
+  pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.18" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
+else
+  pkg_failed=yes
+fi
+ else
+    pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+        _pkg_short_errors_supported=yes
+else
+        _pkg_short_errors_supported=no
+fi
+        if test $_pkg_short_errors_supported = yes; then
+               GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
+        else
+               GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
+        fi
+       # Put the nasty error message in config.log where it belongs
+       echo "$GTK_PKG_ERRORS" >&5
+
+       as_fn_error $? "Package requirements (gtk+-2.0 >= 2.18) were not met:
+
+$GTK_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables GTK_CFLAGS
+and GTK_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details." "$LINENO" 5
+elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+       { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+Alternatively, you may set the environment variables GTK_CFLAGS
+and GTK_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+See \`config.log' for more details" "$LINENO" 5 ; }
+else
+       GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
+       GTK_LIBS=$pkg_cv_GTK_LIBS
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+       GTK_VERSION="gtk+-2.0"
+
+fi
+
+    ;;
+esac
+
+ if test "$linux" = "yes"; then
+  OS_LINUX_TRUE=
+  OS_LINUX_FALSE='#'
+else
+  OS_LINUX_TRUE='#'
+  OS_LINUX_FALSE=
+fi
+
+ if test "$win32" = "yes"; then
+  OS_WIN32_TRUE=
+  OS_WIN32_FALSE='#'
+else
+  OS_WIN32_TRUE='#'
+  OS_WIN32_FALSE=
+fi
+
+ if test "$macos" = "yes"; then
+  OS_MACOS_TRUE=
+  OS_MACOS_FALSE='#'
+else
+  OS_MACOS_TRUE='#'
+  OS_MACOS_FALSE=
+fi
+
+
+ if test "$SERVER_IPC_MODULE" = "msrpc-glib2-1.0"; then
+  IPC_MSRPC_TRUE=
+  IPC_MSRPC_FALSE='#'
+else
+  IPC_MSRPC_TRUE='#'
+  IPC_MSRPC_FALSE=
+fi
+
+ if test "$SERVER_IPC_MODULE" != "msrpc-glib2-1.0"; then
+  IPC_DBUS_TRUE=
+  IPC_DBUS_FALSE='#'
+else
+  IPC_DBUS_TRUE='#'
+  IPC_DBUS_FALSE=
+fi
+
+ if test "$SERVER_IPC_MODULE" = "dbus-glib-1"; then
+  IPC_DBUS_GLIB_TRUE=
+  IPC_DBUS_GLIB_FALSE='#'
+else
+  IPC_DBUS_GLIB_TRUE='#'
+  IPC_DBUS_GLIB_FALSE=
+fi
+
+ if test "$SERVER_IPC_MODULE" = "gio-2.0"; then
+  IPC_GDBUS_TRUE=
+  IPC_GDBUS_FALSE='#'
+else
+  IPC_GDBUS_TRUE='#'
+  IPC_GDBUS_FALSE=
+fi
+
+
+if test "$SERVER_IPC_MODULE" = "dbus-glib-1"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VALAC is no greater than 0.12.1" >&5
+$as_echo_n "checking $VALAC is no greater than 0.12.1... " >&6; }
+  vala_version=`$VALAC --version | sed 's/Vala  *//'`
+  as_arg_v1=0.12.1
+as_arg_v2="$vala_version"
+awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
+case $? in #(
+  1) :
+    vala_supports_dbus_glib="no" ;; #(
+  0) :
+    vala_supports_dbus_glib="no" ;; #(
+  2) :
+    vala_supports_dbus_glib="yes" ;; #(
+  *) :
+     ;;
+esac
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vala_supports_dbus_glib" >&5
+$as_echo "$vala_supports_dbus_glib" >&6; }
+  if test "$vala_supports_dbus_glib" = "no"; then
+    as_fn_error $? "
+*** Vala 0.12.1 or earlier is required for dbus-glib support. Newer versions
+*** require that you have GLib 2.26 or newer (for GDBus support)." "$LINENO" 5
+  fi
+fi
+
+if test "$SERVER_IPC_MODULE" = "msrpc-glib2-1.0"; then
+  # MS RPC utilities
+
+  pkg_config_args="msrpc-mingw-1.0"
+
+
+
+
+
+
+
+
+if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
+       if test -n "$ac_tool_prefix"; then
+  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
+set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
+  $as_echo_n "(cached) " >&6
+else
+  case $PKG_CONFIG in
+  [\\/]* | ?:[\\/]*)
+  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
+  ;;
+  *)
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+  ;;
+esac
+fi
+PKG_CONFIG=$ac_cv_path_PKG_CONFIG
+if test -n "$PKG_CONFIG"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
+$as_echo "$PKG_CONFIG" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_path_PKG_CONFIG"; then
+  ac_pt_PKG_CONFIG=$PKG_CONFIG
+  # Extract the first word of "pkg-config", so it can be a program name with args.
+set dummy pkg-config; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
+  $as_echo_n "(cached) " >&6
+else
+  case $ac_pt_PKG_CONFIG in
+  [\\/]* | ?:[\\/]*)
+  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
+  ;;
+  *)
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+  ;;
+esac
+fi
+ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
+if test -n "$ac_pt_PKG_CONFIG"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
+$as_echo "$ac_pt_PKG_CONFIG" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+  if test "x$ac_pt_PKG_CONFIG" = x; then
+    PKG_CONFIG=""
+  else
+    case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+    PKG_CONFIG=$ac_pt_PKG_CONFIG
+  fi
+else
+  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
+fi
+
+fi
+if test -n "$PKG_CONFIG"; then
+       _pkg_min_version=0.16
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
+$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
+       if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
+               { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+       else
+               { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+               PKG_CONFIG=""
+       fi
+fi
+
+  no_msrpc=""
+
+  if test "x$PKG_CONFIG" = x ; then
+    no_msrpc=yes
+    PKG_CONFIG=no
+  fi
+
+  min_msrpc_mingw_version=0.1.0
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for msrpc-mingw - version >= $min_msrpc_version" >&5
+$as_echo_n "checking for msrpc-mingw - version >= $min_msrpc_version... " >&6; }
+
+  if test x$PKG_CONFIG != xno ; then
+    if $PKG_CONFIG --uninstalled $pkg_config_args; then
       echo "Will use uninstalled version of msrpc-mingw found in PKG_CONFIG_PATH"
     fi
 
@@ -12174,7 +12802,7 @@ else
   ;;
   *)
   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /c/Program\ Files/Microsoft\ Visual\ Studio\ 9.0/VC/bin$PATH_SEPARATOR$PATH
+for as_dir in /c/Program\ Files/Microsoft\ Visual\ Studio\ 9.0/VC/bin$PATH_SEPARATOR/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio\ 9.0/VC/bin$PATH_SEPARATOR$PATH
 do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
@@ -12217,8 +12845,8 @@ $as_echo "$as_me: WARNING:
   fi
 
 
-  # ImageMagick for the 'make icons' target. Watch that it doesn't pick up
-  # c:/windows/system32/convert.exe, which is nothing to do with ImageMagick
+  # ImageMagick for the 'make icons' target. Note that
+  # c:/windows/system32/convert.exe is nothing to do with ImageMagick.
   # Extract the first word of "convert", so it can be a program name with args.
 set dummy convert; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
@@ -12232,7 +12860,7 @@ else
   ;;
   *)
   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /c/Program\ Files/ImageMagick$PATH_SEPARATOR$PATH
+for as_dir in /c/Program\ Files/ImageMagick$PATH_SEPARATOR/c/Program\ Files\ \(x86\)/ImageMagick$PATH_SEPARATOR$PATH
 do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
@@ -12261,7 +12889,7 @@ fi
 
 
 
-  if test "$IMAGEMAGICK_CONVERT" = "no"; then
+  if test "$IMAGEMAGICK_CONVERT" = "no" || test "$IMAGEMAGICK_CONVERT" = "/c/windows/system32/convert"; then
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
 *** Could not find ImageMagick convert.exe. This is required for the
 *** 'make icons' target. Use the IMAGEMAGICK_CONVERT environment
@@ -12287,7 +12915,7 @@ else
   ;;
   *)
   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /c/Program\ Files/Windows\ Installer\ XML\ v3.5/bin$PATH_SEPARATOR$PATH
+for as_dir in /c/Program\ Files/Windows\ Installer\ XML\ v3.5/bin$PATH_SEPARATOR/c/Program\ Files\ \(x86\)/Windows\ Installer\ XML\ v3.5/bin$PATH_SEPARATOR$PATH
 do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
@@ -12328,7 +12956,7 @@ else
   ;;
   *)
   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /c/Program\ Files/Windows\ Installer\ XML\ v3.5/bin$PATH_SEPARATOR$PATH
+for as_dir in /c/Program\ Files/Windows\ Installer\ XML\ v3.5/bin$PATH_SEPARATOR/c/Program\ Files\ \(x86\)/Windows\ Installer\ XML\ v3.5/bin$PATH_SEPARATOR$PATH
 do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
@@ -12371,7 +12999,7 @@ $as_echo "$as_me: WARNING:
   fi
 fi
 
-if test "$win32" != "yes"; then
+if test "$linux" = "yes"; then
   # Extract the first word of "update-mime-database", so it can be a program name with args.
 set dummy update-mime-database; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
@@ -12491,27 +13119,33 @@ if test -n "$moonshot_CFLAGS"; then
     if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
         atk >= 1.20
-        glib-2.0 >= 2.24
-        gobject-2.0 >= 2.24
-        gtk+-2.0 >= 2.20
+        glib-2.0 >= 2.22
+        gobject-2.0 >= 2.22
+        \$GTK_VERSION
+        gee-1.0 >= 0.5
         \$SERVER_IPC_MODULE
+               \$MAC
 \""; } >&5
   ($PKG_CONFIG --exists --print-errors "
         atk >= 1.20
-        glib-2.0 >= 2.24
-        gobject-2.0 >= 2.24
-        gtk+-2.0 >= 2.20
+        glib-2.0 >= 2.22
+        gobject-2.0 >= 2.22
+        $GTK_VERSION
+        gee-1.0 >= 0.5
         $SERVER_IPC_MODULE
+               $MAC
 ") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_moonshot_CFLAGS=`$PKG_CONFIG --cflags "
         atk >= 1.20
-        glib-2.0 >= 2.24
-        gobject-2.0 >= 2.24
-        gtk+-2.0 >= 2.20
+        glib-2.0 >= 2.22
+        gobject-2.0 >= 2.22
+        $GTK_VERSION
+        gee-1.0 >= 0.5
         $SERVER_IPC_MODULE
+               $MAC
 " 2>/dev/null`
                      test "x$?" != "x0" && pkg_failed=yes
 else
@@ -12526,27 +13160,33 @@ if test -n "$moonshot_LIBS"; then
     if test -n "$PKG_CONFIG" && \
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
         atk >= 1.20
-        glib-2.0 >= 2.24
-        gobject-2.0 >= 2.24
-        gtk+-2.0 >= 2.20
+        glib-2.0 >= 2.22
+        gobject-2.0 >= 2.22
+        \$GTK_VERSION
+        gee-1.0 >= 0.5
         \$SERVER_IPC_MODULE
+               \$MAC
 \""; } >&5
   ($PKG_CONFIG --exists --print-errors "
         atk >= 1.20
-        glib-2.0 >= 2.24
-        gobject-2.0 >= 2.24
-        gtk+-2.0 >= 2.20
+        glib-2.0 >= 2.22
+        gobject-2.0 >= 2.22
+        $GTK_VERSION
+        gee-1.0 >= 0.5
         $SERVER_IPC_MODULE
+               $MAC
 ") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_moonshot_LIBS=`$PKG_CONFIG --libs "
         atk >= 1.20
-        glib-2.0 >= 2.24
-        gobject-2.0 >= 2.24
-        gtk+-2.0 >= 2.20
+        glib-2.0 >= 2.22
+        gobject-2.0 >= 2.22
+        $GTK_VERSION
+        gee-1.0 >= 0.5
         $SERVER_IPC_MODULE
+               $MAC
 " 2>/dev/null`
                      test "x$?" != "x0" && pkg_failed=yes
 else
         if test $_pkg_short_errors_supported = yes; then
                moonshot_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
         atk >= 1.20
-        glib-2.0 >= 2.24
-        gobject-2.0 >= 2.24
-        gtk+-2.0 >= 2.20
+        glib-2.0 >= 2.22
+        gobject-2.0 >= 2.22
+        $GTK_VERSION
+        gee-1.0 >= 0.5
         $SERVER_IPC_MODULE
+               $MAC
 " 2>&1`
         else
                moonshot_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
         atk >= 1.20
-        glib-2.0 >= 2.24
-        gobject-2.0 >= 2.24
-        gtk+-2.0 >= 2.20
+        glib-2.0 >= 2.22
+        gobject-2.0 >= 2.22
+        $GTK_VERSION
+        gee-1.0 >= 0.5
         $SERVER_IPC_MODULE
+               $MAC
 " 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
 
        as_fn_error $? "Package requirements (
         atk >= 1.20
-        glib-2.0 >= 2.24
-        gobject-2.0 >= 2.24
-        gtk+-2.0 >= 2.20
+        glib-2.0 >= 2.22
+        gobject-2.0 >= 2.22
+        $GTK_VERSION
+        gee-1.0 >= 0.5
         $SERVER_IPC_MODULE
+               $MAC
 ) were not met:
 
 $moonshot_PKG_ERRORS
@@ -14764,7 +15410,7 @@ GETTEXT_PACKAGE=PACKAGE_TARNAME
 $as_echo "#define GETTEXT_PACKAGE PACKAGE_TARNAME" >>confdefs.h
 
 
-ac_config_files="$ac_config_files Makefile po/Makefile.in moonshot.desktop moonshot-webp.desktop"
+ac_config_files="$ac_config_files Makefile po/Makefile.in moonshot.desktop moonshot-webp.desktop moonshot-ui.spec"
 
 
 cat >confcache <<\_ACEOF
@@ -14885,6 +15531,10 @@ if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
+if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
+  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
 if test -z "${OS_LINUX_TRUE}" && test -z "${OS_LINUX_FALSE}"; then
   as_fn_error $? "conditional \"OS_LINUX\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
@@ -14893,6 +15543,10 @@ if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
   as_fn_error $? "conditional \"OS_WIN32\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
+if test -z "${OS_MACOS_TRUE}" && test -z "${OS_MACOS_FALSE}"; then
+  as_fn_error $? "conditional \"OS_MACOS\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
 if test -z "${IPC_MSRPC_TRUE}" && test -z "${IPC_MSRPC_FALSE}"; then
   as_fn_error $? "conditional \"IPC_MSRPC\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
@@ -14901,8 +15555,12 @@ if test -z "${IPC_DBUS_TRUE}" && test -z "${IPC_DBUS_FALSE}"; then
   as_fn_error $? "conditional \"IPC_DBUS\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
-  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
+if test -z "${IPC_DBUS_GLIB_TRUE}" && test -z "${IPC_DBUS_GLIB_FALSE}"; then
+  as_fn_error $? "conditional \"IPC_DBUS_GLIB\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${IPC_GDBUS_TRUE}" && test -z "${IPC_GDBUS_FALSE}"; then
+  as_fn_error $? "conditional \"IPC_GDBUS\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 
@@ -15313,7 +15971,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by Moonshot $as_me 0.0.1, which was
+This file was extended by Moonshot-ui $as_me 0.1, which was
 generated by GNU Autoconf 2.67.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -15373,13 +16031,13 @@ $config_headers
 Configuration commands:
 $config_commands
 
-Report bugs to <BUG-REPORT-ADDRESS>."
+Report bugs to <moonshot-community@jiscmail.ac.uk>."
 
 _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-Moonshot config.status 0.0.1
+Moonshot-ui config.status 0.1
 configured by $0, generated by GNU Autoconf 2.67,
   with options \\"\$ac_cs_config\\"
 
@@ -15779,6 +16437,7 @@ do
     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
     "moonshot.desktop") CONFIG_FILES="$CONFIG_FILES moonshot.desktop" ;;
     "moonshot-webp.desktop") CONFIG_FILES="$CONFIG_FILES moonshot-webp.desktop" ;;
+    "moonshot-ui.spec") CONFIG_FILES="$CONFIG_FILES moonshot-ui.spec" ;;
 
   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
   esac