3 [https://bugzilla.gnome.org/enter_bug.cgi?product=dconf],
6 AC_CONFIG_SRCDIR([configure.ac])
7 AC_CONFIG_MACRO_DIR([m4])
8 AC_CONFIG_AUX_DIR([aux])
9 AC_CONFIG_HEADERS([config.h])
11 AM_INIT_AUTOMAKE([1.11 -Wno-portability])
12 AM_SILENT_RULES([yes])
16 AM_PROG_VALAC([0.11.7])
22 PKG_CHECK_MODULES(glib, glib-2.0 >= 2.27.2)
23 PKG_CHECK_MODULES(gio, gio-2.0)
24 PKG_CHECK_MODULES(dbus, dbus-1)
27 AC_HELP_STRING([--disable-editor],
28 [Disable the dconf editor]))
29 AM_CONDITIONAL(ENABLE_EDITOR, test "x$enable_editor" != "xno")
31 if test "x$enable_editor" != "xno"; then
32 PKG_CHECK_MODULES(gtk, gtk+-3.0)
33 PKG_CHECK_MODULES(gmodule, gmodule-2.0)
34 PKG_CHECK_MODULES(libxml, libxml-2.0)
37 AC_ARG_WITH(gio_modules_dir, [ --with-gio-modules-dir=PATH choose directory for the GIO module, [default=LIBDIR/gio/modules]], giomodulesdir="$withval", giomodulesdir=${libdir}/gio/modules)
38 AC_SUBST(giomodulesdir)
40 AC_ARG_WITH(dbus_service_dir, [ --with-dbus-service-dir=PATH choose directory for dbus service files, [default=PREFIX/share/dbus-1/services]], dbusservicedir="$withval", dbusservicedir=${datadir}/dbus-1/services)
41 AC_SUBST(dbusservicedir)
43 AC_ARG_WITH(dbus_system_service_dir, [ --with-dbus-system-service-dir=PATH choose directory for dbus system service files, [default=PREFIX/share/dbus-1/system-services]], dbussystemservicedir="$withval", dbussystemservicedir=${datadir}/dbus-1/system-services)
44 AC_SUBST(dbussystemservicedir)
46 AC_SUBST(dconfincludedir, ${includedir}/dconf)
48 AC_PATH_PROG(gio_QUERYMODULES, gio-querymodules, no)
55 dbus-1/dconf-dbus-1.pc
62 editor/dconf-editor.desktop