Due to the mutual dependence between glib and pkg-config, there ought to be a way to build pkg-config against the bundled glib-1.2.8. This should, however, by no means imply the pkg-config cannot by built against an installed glib-2.x (if this library and thus pkg-config -- presumably some older version -- are present). Attached is a sequence of 5 patches, introducing a configure option --with-installed-glib, allowing to do this. Since this requires to run autoreconf (automake, autoconf, etc.) the first four patches are required to upgrade the input files for automake-1.10 and autoconf-2.61a; the final fifth patch introduces then the new configure option.
Created attachment 8446 [details] [review] fix configure.in for autoreconf (from automake-1.10)
Created attachment 8447 [details] [review] fix glib-1.2.8/Makefile.am to avoid automake (1.10) warnings
Created attachment 8448 [details] [review] fix glib-1.2.8/configure.in to avoid autoconf (2.61a) warning
Created attachment 8449 [details] [review] don't distribute files that are removed by "make distclean"
Created attachment 8450 [details] [review] introduce the configure option --with-installed-glib This patch is to be applied after #8446, and #8449 is to be applied after #8446.
2007-02-25 Tollef Fog Heen <tfheen@err.no> * Makefile.am: Add support for using the system glib. Thanks to Peter Breitenlohner for the bug and the patch. Freedesktop #9708 * configure.in: Add support for using the system glib. * glib-patches/no-dist-distclean-files.diff, glib-patches/automake-warning.diff, glib-patches/autoconf-warning.diff: Get rid of some warnings when configuring glib.
This got fixed for 0.23
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.