[Top][All Lists]

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

Re: [Bug-gnubg] Multiprocessing and GDK

From: Joern Thyssen
Subject: Re: [Bug-gnubg] Multiprocessing and GDK
Date: Wed, 4 Jun 2003 18:30:28 +0000
User-agent: Mutt/1.4.1i

On Wed, Jun 04, 2003 at 05:01:54PM +0200, Olivier Baur wrote
> Hi all!
> I've added the g_thread_init() and gdk_threads_enter() calls to 
> real_main() in gnubg.c, and now gnubg doesn't crash/lock up anymore 
> when using threads.
> However, gnubg must be linked with lib gthread-2.0 (or, actually, with 
> the libraries that the command pkg-config --libs gthread-2.0 outputs); 
> I'm quite new to the GNU make/configure mechanism, so where do we add 
> this lib requirement in the configure.in/config.h/.h.in/Makefile.in/.am 
> "jungle"? :-)

I've added some autoconf magic.

> Also, I need to add a Mac specific arg for the linker ("-framework 
> Carbon"). Where should I do this?

Usually it's done by

./configure CFLAGS=-O2 -framework Carbon


reply via email to

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