Re: Reentrant libraries
On Fri, Oct 06, 2000 at 04:05:32PM +0200, Josip Rodin wrote:
> On Thu, Oct 05, 2000 at 11:10:51PM -0400, Ben Collins wrote:
> > On Thu, Oct 05, 2000 at 09:58:08PM -0400, H. S. Teoh wrote:
> > > I've been skimming the recent thread about reentrant libraries... just a
> > > quick question: *where* do you put the -DREENTRANT flag? The library I'm
> > > maintaining right now (libsndfile) uses autoconf... so should I modify the
> > > makefile or makefile.in or ...?
> > >
> > > Thanks in advance... excuse my ignorance; autoconf isn't exactly something
> > > I'm familiar with.
> >
> > CFLAGS="-DREENTRANT -O2 -Wall" ./configure
>
> BTW shouldn't that be -D_REENTRANT?
Can anybody tell me, where it is written, that it should be?
--
Alexander Kotelnikov
Saint-Petersburg, Russia
Reply to: