42
46
AC_SUBST([GSETTINGS_DISABLE_SCHEMAS_COMPILE])
43
47
PKG_PROG_PKG_CONFIG([0.16])
44
48
AC_SUBST(gsettingsschemadir, [${datadir}/glib-2.0/schemas])
50
[PKG_CHECK_VAR([GLIB_COMPILE_SCHEMAS], [gio-2.0], [glib_compile_schemas])],
50
52
AC_SUBST(GLIB_COMPILE_SCHEMAS)
51
53
if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
52
54
ifelse([$2],,[AC_MSG_ERROR([glib-compile-schemas not found.])],[$2])