--- configure.ac.orig 2017-11-15 21:00:11.000000000 -0600
+++ configure.ac 2017-11-22 22:01:56.000000000 -0600
+dnl ***********************************************
+dnl *** Check for gappinfo implementation (GIO) ***
+dnl ***********************************************
+AC_ARG_WITH(appinfo-impl,
+ [AS_HELP_STRING([--appinfo-impl=@<:@native/generic@:>@],
+ [use appinfo implementation [native]])],
+ [with_appinfo_impl='native'])
+if test "$with_appinfo_impl" != "native" && test "$with_appinfo_impl" != "generic"; then
+ with_appinfo_impl="native"
+AM_CONDITIONAL(APPINFO_IMPL_NATIVE, [test "$with_appinfo_impl" = "native"])
+AM_CONDITIONAL(APPINFO_IMPL_GENERIC, [test "$with_appinfo_impl" = "generic"])
+case $with_appinfo_impl in
+ AC_DEFINE(USE_APPINFO_NATIVE, 1, [Prefer the native application information implementation])
+ AC_DEFINE(USE_APPINFO_GENERIC, 1, [Prefer the generic (freedesktop-based) application information implementation])
dnl ************************
dnl *** check for libelf ***
dnl ************************
--- gio/Makefile.am.orig 2017-11-13 11:02:33.000000000 -0600
+++ gio/Makefile.am 2017-11-22 22:33:07.000000000 -0600
platform_libadd += xdgmime/libxdgmime.la
platform_deps += xdgmime/libxdgmime.la
+appinfo_headers += gosxappinfo.h
appinfo_headers += gdesktopappinfo.h
win32/gwin32filemonitor.c
-appinfo_sources += gwin32appinfo.c gwin32appinfo.h
+appinfo_headers += gwin32appinfo.h
+appinfo_sources += gwin32appinfo.c
+appinfo_headers += gdesktopappinfo.h
+appinfo_sources += gdesktopappinfo.c
contenttype_sources += gcontenttype-win32.c
platform_libadd += -lshlwapi -lws2_32 -ldnsapi -liphlpapi
win32_sources = $(win32_actual_sources)
giowin32include_HEADERS = \
$(xdp_dbus_built_sources) \
contenttype_sources += gosxcontenttype.c