Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > *** src/Makefile.global.in 11 May 2004 21:57:14 -0000 1.182
> > --- src/Makefile.global.in 13 May 2004 23:03:12 -0000
> > ***************
> > *** 177,182 ****
> > --- 177,188 ----
> > CFLAGS += -Wall -Wmissing-prototypes -Wmissing-declarations
> > endif
>
> > + # Unixware needs threads for everything that uses libpq
> > + ifeq ($(PORTNAME),unixware)
> > + CFLAGS += "$PTHREAD_CFLAGS"
> > + endif
> > +
> > +
> > # Kind-of compilers
>
> > YACC = @YACC@
>
>
> Yech. Isn't this what the Makefile.port files are for? Makefile.global
> should never contain any "#ifdef port" junk.
So we just add the thing in the template file? Yea, I can do that. I
did it there because Win32 already had something for libs. Does the
template file get included in Makefile.global? I didn't think so.
Part of the problem is we don't know if they have asked for threads at
the time we load the template file from configure, no?
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073