bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Declare `GC_dump' ourselves if <gc/gc.h> doesn't.


From: Thien-Thi Nguyen
Subject: Re: [PATCH] Declare `GC_dump' ourselves if <gc/gc.h> doesn't.
Date: Tue, 12 Jan 2010 16:36:26 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux)

() address@hidden (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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]