When supplying an alternate path to glib-config via GLIB_CONFIG during configure, the loader/Makefile apparantly
uses a hardcoded value of `glib-config --libs gmodule` instead of set properly.
The result being (near the end of building):
/bin/sh ../libtool --mode=link cc -O -pipe -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include/SDL11 -D_REENTRANT -D_THREAD_SAFE -o xtheater close.o get_setting.o load_symbols.o load_ui.o main.o open.o parse_config.o player_iface.o set_assoc.o set_setting.o util.o write_config.o `glib-config --libs gmodule`
glib-config: not found
As you can see, GLIB_CONFIG (and GTK_CONFIG also) are respected wrt the include paths.
(This is for a FreeBSD Port, hence the dependancy on *_CONFIG working properly.)
- Jeremy Shaffner
jeremy@external.org