Re: Problem with 7.1.3 and -DUSE_AUSTRALIAN_RULES

From: Justin <aa2(at)bigpond(dot)net(dot)au>
To: lockhart(at)fourpalms(dot)org, Justin Clift <justin(at)postgresql(dot)org>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Problem with 7.1.3 and -DUSE_AUSTRALIAN_RULES
Date: 2001-11-19 06:01:16
Message-ID: 200111190604.fAJ64Jm14943@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi Thomas,

Thanks for this. Just used CFLAGS='-DUSE_AUSTRALIAN_RULES=1' and it compiled
fine.

:-)

Regards and best wishes,

Justin Clift

On Wed, 14 Nov 2001 18:38, Thomas Lockhart wrote:
> ...
>
> > Is there no way to get this working?
>
> Sure there is. The code in 7.1.x needs to have USE_AUSTRALIAN_RULES
> evaluate to "true" (there is an #if, not #ifdef), so you should set it
> equal to one (rather than just have it exist).
>
> I think that "-DUSE_AUSTRALIAN_RULES=1" should work; you can set it as
> CFLAGS+=... in Makefile.local, or continue to try to get an environment
> variable to do what you want (I do not use that technique myself, so
> can't help with the nuances, but maybe export CFLAGS="..." with some
> quotes will do it).
>
> - Thomas
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2001-11-19 19:11:55 Re:
Previous Message Yuri Gulyaev 2001-11-18 19:11:58 Can't compile PosgreSql