pkg-config/glib-patches/cross-compiling.patch

36 lines
1.3 KiB
Diff
Raw Normal View History

diff --git a/glib/configure.ac b/glib/configure.ac
index e73f7f9..e53020c 100644
--- a/glib/configure.ac
+++ b/glib/configure.ac
@@ -2460,30 +2460,6 @@ int error = EILSEQ;
], have_eilseq=yes, have_eilseq=no);
AC_MSG_RESULT($have_eilseq)
-dnl ******************************************************************
-dnl *** If we are cross-compiling, look for glib-genmarshal and ***
-dnl *** glib-compile-schemas in PATH ***
-dnl ******************************************************************
-
-AM_CONDITIONAL(CROSS_COMPILING, test $cross_compiling = yes)
-
-AS_IF([ test $cross_compiling = yes ], [
- AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal, no)
- if test x$GLIB_GENMARSHAL = xno; then
- AC_MSG_ERROR(Could not find a glib-genmarshal in your PATH)
- fi
-
- AC_PATH_PROG(GLIB_COMPILE_SCHEMAS, glib-compile-schemas, no)
- 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
-])
-
dnl ************************************
dnl *** Enable lcov coverage reports ***
dnl ************************************