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

From Larry Rosenman
Subject Re: [HACKERS] threads stuff/UnixWare
Date
Msg-id 7A5ADCF7D48EA21D25965AFD@lerlaptop.lerctr.org
Whole thread Raw
In response to Re: [HACKERS] threads stuff/UnixWare  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches

--On Thursday, May 13, 2004 19:46:00 -0400 Tom Lane <tgl@sss.pgh.pa.us>
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.
>
>
>             regards, tom lane

It also appears from testing, that this does NOT fix the initdb issue.

LER


--
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

Attachment

pgsql-patches by date:

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