X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=autogen;h=cdb2735ca87a4a60195f066c05fba8c481b0fc7e;hb=310f275b0ad9bb19d2a75f325b668e973c5de484;hp=2e6bf5a19a32bdc5d0896669215420c6d8d9e74b;hpb=94a044f90357edefa6f4ae9f0b1d5885b0e34aee;p=debian%2Famanda diff --git a/autogen b/autogen index 2e6bf5a..cdb2735 100755 --- a/autogen +++ b/autogen @@ -12,7 +12,7 @@ rm -rf autom4te*.cache rm -f configure die() { - echo x"${@}" | sed s/^x// + echo x"${@}" | sed 's/^x//' exit 1 } @@ -35,6 +35,17 @@ echo "..creating file lists" echo "..aclocal" aclocal $includes || die "aclocal failed" +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 --in-place -e \ + 's/PKG_PROG_PKG_CONFIG(\[0\.16\])/PKG_PROG_PKG_CONFIG([0.7])/g' \ + aclocal.m4 + echo "..autoconf" autoconf || die "autoconf failed"