[566] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Re: Best place to add -D_REENTRANT to build

daemon@ATHENA.MIT.EDU (Ian Main)
Tue Jul 29 15:30:25 1997

Date: Tue, 29 Jul 1997 12:28:49 -0700 (PDT)
From: Ian Main <slow@intergate.bc.ca>
To: gtk-list@redhat.com
In-Reply-To: <87en8hhdjx.fsf@nevermore.csres.utexas.edu>
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com


On 29 Jul 1997, Rob Browning wrote:

> 
> Is there an easy way I can add the flag -D_REENTRANT to all the calls
> to gcc when building gtk+?  I looked through the Makefiles and
> ./configure, and nothing jumped right out at me.
> 
> Thanks
> -- 
> Rob

configure.in is actually the file that's used to create the configure
script.  Makefile.am is the automake makefile template.  If you want
your changes to be proper, you should change these.  This requires that
you have automake and autoconf packages installed to recreate
Makefile.in and the configure script however.

autoconf and automake really are very nice to use, and are a good idea for
any developer to know.  I always use them now.  Once you learn them, it's
actually easier/faster than writing Makefiles the old fashioned way.
The info pages that come with autoconf and automake are a good place to
start if you're interested.

I'm not at my machine right now or I'd take a closer look for you, sorry.


Ian


--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post