() l...@gnu.org (Ludovic Courtès) () Tue, 12 Jan 2010 15:17:06 +0100 So how did ‘configure’ find your libgc?
I've modified configure.ac (see "Don't clobber..." patch) to look like: | dnl See note for PKG_CHECK_MODULES in aclocal.m4. | PKG_PROG_PKG_CONFIG | if test "$BDW_GC_CFLAGS" || test "$BDW_GC_LIBS" ; then : | dnl We don't need to declare those env vars precious; | dnl PKG_CHECK_MODULES does that. | else | PKG_CHECK_MODULES([BDW_GC], [bdw-gc]) | fi Then, i call configure like so: $ .../configure -C \ --with-threads \ --prefix /tmp/a/b/z \ BDW_GC_LIBS='-lgc' \ LDFLAGS='-L/home/ttn/local/lib' (The `LDFLAGS' is incidentally for finding libltdl.) thi