diff options
Diffstat (limited to 'dev-libs/g-wrap/files/g-wrap-1.9.7_glib_automagic.patch')
-rw-r--r-- | dev-libs/g-wrap/files/g-wrap-1.9.7_glib_automagic.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-libs/g-wrap/files/g-wrap-1.9.7_glib_automagic.patch b/dev-libs/g-wrap/files/g-wrap-1.9.7_glib_automagic.patch new file mode 100644 index 000000000000..676fb4a589b4 --- /dev/null +++ b/dev-libs/g-wrap/files/g-wrap-1.9.7_glib_automagic.patch @@ -0,0 +1,16 @@ +--- configure.ac.old 2007-01-18 17:54:08.000000000 +0100 ++++ configure.ac 2007-01-18 17:57:38.000000000 +0100 +@@ -119,11 +119,8 @@ + AC_SUBST(GW_LANGUAGES) + + dnl Check for optional libraries +-AC_CHECK_PROG(have_glib, glib-config, yes, no) +-if test "$have_glib" = yes; then +- PKG_CHECK_MODULES(GLIB, glib, [echo building GLib 1.2 support]) +-else +- echo Not building Glib 1.2 support ++if test "x$with_glib" != "xno"; then ++ PKG_CHECK_MODULES([GLIB], [glib-2.0], [have_glib=yes], [have_glib=no]) + fi + AM_CONDITIONAL(HAVE_GLIB, test "$have_glib" = yes) + |