[xmlroff] g_option_context_set_summary and BSDs
Tony Graham
Tony.Graham at MenteithConsulting.com
Wed Jul 9 16:47:52 UTC 2008
On Wed, Jul 09 2008 15:56:18 +0100, asmodai at in-nomine.org wrote:
> I am afraid we cannot escape some LIBS stuff:
I think that's always going to be true.
> configure:20143: checking for g_option_context_set_summary in -lglib-2.0
> configure:20178: gcc -o conftest -g -O2 conftest.c -lglib-2.0 >&5
> /usr/bin/ld: cannot find -lglib-2.0
>
> Unless we can get away with using something like:
>
> pkg-config --cflags glib-2.0
> pkg-config --libs glib-2.0
That is, or should be, $GLIB_LIBS after PKG_CHECK_MODULES has run.
> Since the BSDs typically install in either /usr/local or /usr/pkg.
>
> Looking how to get that done.
Just add $GLIB_LIBS to $LIBS before doing the test?
Require 2.12 as the minimum version?
Set GLIB_LIBS in the environment before running configure?
Regards,
Tony.
More information about the xmlroff-list
mailing list