... > 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