"Markus Ullmann" <mail@markus-ullmann.de> writes:
> The compilation fails when trying to build fat binarys (aka 32bit and 64bit
> in one file).
There are ways to do that, but it's substantially more complicated than
the patch you propose (which doesn't even begin to work, since it's
trying to patch a configure-generated file). Please see the PG
archives for previous discussions of building universal binaries,
eg the thread starting here:
http://archives.postgresql.org/pgsql-hackers/2008-07/msg00884.php
regards, tom lane