I wrote:
> Done, but it's really pretty ugly. I am thinking it'd make more sense
> for Makefile.global to define a macro for the libraries libpq depends
> on ...
I went ahead and did this as per discussion here:
http://archives.postgresql.org/pgsql-bugs/2006-08/msg00200.php
Please see if I managed to break AIX ;-). It'd be a good idea to
compile with every configure option you can find turned on.
regards, tom lane