Fix glib-compile-resources usage when cross-compiling

Copy the behavior of glib-genmarshal: require an installed copy of it,
and use that rather than the built copy.
This commit is contained in:
Dan Winship
2012-01-18 12:05:07 -05:00
parent 7a0bddd768
commit da9d98728d
2 changed files with 16 additions and 5 deletions

View File

@@ -2577,6 +2577,11 @@ if test $cross_compiling = yes; then
if test x$GLIB_COMPILE_SCHEMAS = xno; then
AC_MSG_ERROR(Could not find a glib-compile-schemas in your PATH)
fi
AC_PATH_PROG(GLIB_COMPILE_RESOURCES, glib-compile-resources, no)
if test x$GLIB_COMPILE_RESOURCES = xno; then
AC_MSG_ERROR(Could not find a glib-compile-resources in your PATH)
fi
fi
dnl **************************