Hi,

Priit Laes <[EMAIL PROTECTED]> writes:

> During the build it complained about the missing glib.h file.
>
> I had to do this:
>
> box770 g-wrap-1.9.6 # diff -u configure.ac.orig configure.ac
> --- configure.ac.orig   2006-03-08 14:49:54.000000000 +0200
> +++ configure.ac        2006-03-08 15:13:05.000000000 +0200
> @@ -95,7 +95,7 @@
>  AM_CONDITIONAL(HAVE_SRFI_35, test "$HAVE_SRFI_35" = yes)
>
>  dnl Check for optional libraries
> -PKG_CHECK_MODULES(GLIB, glib, [have_glib=yes], [have_glib=no])
> +PKG_CHECK_MODULES(GLIB, glib-2.0, [have_glib=yes], [have_glib=no])
>  AM_CONDITIONAL(HAVE_GLIB, test "$have_glib" = yes)

I am not a GLib expert, but on my system, I have both `glib.pc' and
`glib-2.0.pc' in `/usr/lib/pkgconfig'.  Of course, they are different
(i.e., the former actually describes GLib 1.2) but according to my
G-Wrap's `config.log', it chose GLib 1.2 at configure-time and
everything worked fine.  This means, I guess, that G-Wrap may be built
with either 1.2 or 2.x.

Maybe more and more people now have only GLib 2 installed, so it would
make sense to apply your patch for this very reason.  Or to augment your
patch in order to keep supporting both versions.

Andreas?

Thanks,
Ludovic.


_______________________________________________
g-wrap-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/g-wrap-dev

Reply via email to