+echo "...aclocal patches"
+# See http://bugzilla.gnome.org/show_bug.cgi?id=418778
+#
+# The Glib developers are a bit over-eager in their version requirements, requiring
+# an unnecessarily high verison of pkg-config at configure time, when they really
+# only need it at autogen time. This patch resets the version number in the file
+# just generated by aclocal to the version we've been requiring all along.
+sed -e \
+ 's/PKG_PROG_PKG_CONFIG(\[0\.16\])/PKG_PROG_PKG_CONFIG([0.7])/g' \
+ aclocal.m4 > aclocal.m4~ && mv aclocal.m4~ aclocal.m4
+