<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -470,6 +470,11 @@ PKG_CHECK_MODULES(GLIB, $GLIB_MODULES, :,
 *** Glib $GLIB_REQUIRED_VERSION or better is required. The latest version of 
 *** Glib is always available from ftp://ftp.gtk.org/.]))
 
+# Setup GLIB_MKENUMS to use glib-mkenums even if GLib is uninstalled.
+GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
+AC_SUBST(GLIB_MKENUMS)
+
+
 # Add in gthread-2.0 to CFLAGS but not to LIBS so we get any
 # necesary defines for thread-safety.
 GLIB_CFLAGS=`$PKG_CONFIG --cflags $GLIB_MODULES gthread-2.0`</diff>
      <filename>configure.in</filename>
    </modified>
    <modified>
      <diff>@@ -133,7 +133,7 @@ pangoinclude_HEADERS =	   \
 pango-enum-types.h: s-enum-types-h
 	$(AM_V_GEN) true
 s-enum-types-h: @REBUILD@ $(pango_headers) Makefile
-	$(AM_V_GEN) ( cd $(srcdir) &amp;&amp; glib-mkenums \
+	$(AM_V_GEN) ( cd $(srcdir) &amp;&amp; $(GLIB_MKENUMS) \
 			--fhead &quot;#ifndef __PANGO_ENUM_TYPES_H__\n#define __PANGO_ENUM_TYPES_H__\n\n#include &lt;glib-object.h&gt;\n\nG_BEGIN_DECLS\n&quot; \
 			--fprod &quot;/* enumerations from \&quot;@filename@\&quot; */\n&quot; \
 			--vhead &quot;GType @enum_name@_get_type (void);\n#define @ENUMPREFIX@_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n&quot; 	\
@@ -146,7 +146,7 @@ s-enum-types-h: @REBUILD@ $(pango_headers) Makefile
 pango-enum-types.c: s-enum-types-c
 	$(AM_V_GEN) true
 s-enum-types-c: @REBUILD@ $(pango_headers) Makefile
-	$(AM_V_GEN) ( cd $(srcdir) &amp;&amp; glib-mkenums \
+	$(AM_V_GEN) ( cd $(srcdir) &amp;&amp; $(GLIB_MKENUMS) \
 			--fhead &quot;#include &lt;pango.h&gt;&quot; \
 			--fprod &quot;\n/* enumerations from \&quot;@filename@\&quot; */&quot; \
 			--vhead &quot;GType\n@enum_name@_get_type (void)\n{\n  static GType etype = 0;\n  if (etype == 0) {\n    static const G@Type@Value values[] = {&quot; 	\</diff>
      <filename>pango/Makefile.am</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>72b3642ec8f689eee5463ae8675323d91496238e</id>
    </parent>
  </parents>
  <author>
    <name>Behdad Esfahbod</name>
    <email>behdad@behdad.org</email>
  </author>
  <url>http://github.com/phuang/pango/commit/1038b7959944dd25d7c2a76a3c769eb26b5fd6a2</url>
  <id>1038b7959944dd25d7c2a76a3c769eb26b5fd6a2</id>
  <committed-date>2009-10-22T14:24:21-07:00</committed-date>
  <authored-date>2009-10-22T14:24:21-07:00</authored-date>
  <message>Allow using uninstalled glib

Reported by mpsuzuki on gtk-i18n-list on 2009-10-09.</message>
  <tree>edcf29ea49fd04154c54f7cd0ef5a6b272bca69e</tree>
  <committer>
    <name>Behdad Esfahbod</name>
    <email>behdad@behdad.org</email>
  </committer>
</commit>
