[569] in The GTK GIMP ToolKit mailing list archive
[gtk-list] Re: Best place to add -D_REENTRANT to build
daemon@ATHENA.MIT.EDU (owt1@cornell.edu)
Tue Jul 29 16:09:26 1997
From: owt1@cornell.edu
Date: Tue, 29 Jul 1997 16:08:21 -0400 (EDT)
To: gtk-list@redhat.com
In-Reply-To: <"iRlhU.0.4Q7.cXatp"@mail2.redhat.com>
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com
On Tue, 29 Jul 1997, Peter Mattis wrote:
> You should be able to do (using sh):
>
> # CFLAGS="-D_REENTRANT" ./configure
I don't have access to the source right now ... but IIRC, this used
to replace the default flags (i.e., -g, -O2, etc.) I generally have
used:
CPPFLAGS="-D_REENTRANT" ./configure
which might not be "proper", but seemed to work better for me.
Also, it probably isn't necessary to initialize X to be thread safe -
since gtk isn't thread safe anyways.
Regards,
Owen
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null