Re: [HACKERS] threads stuff/UnixWare - Mailing list pgsql-patches

From Tom Lane
Subject Re: [HACKERS] threads stuff/UnixWare
Date
Msg-id 13108.1084491960@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] threads stuff/UnixWare  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: [HACKERS] threads stuff/UnixWare
Re: [HACKERS] threads stuff/UnixWare
List pgsql-patches
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.


            regards, tom lane

pgsql-patches by date:

Previous
From: Larry Rosenman
Date:
Subject: Re: [HACKERS] threads stuff/UnixWare
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] threads stuff/UnixWare