Yesterday I had some problem with compiling my Glib application under Mac OS X. I knew that everything worked before on Debian and the problem had to be one of this darwin-specific.
Just to make myself clear. Here is the error I got after executing: ./configure
checking for pkg-config... pkg-config<br />
./configure: line 3489: syntax error near unexpected token `GLIB,'<br />
./configure: line 3489: `PKG_CHECK_MODULES(GLIB, glib-2.0)'<br />