Re: PL/perl should fail on configure, not make

Andrew Dunstan <andrew@dunslane.net>

From: Andrew Dunstan <andrew@dunslane.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Josh Berkus <josh@agliodbs.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>, Tim Bunce <Tim.Bunce@pobox.com>
Date: 2013-01-09T08:18:08Z
Lists: pgsql-hackers
On 01/08/2013 10:37 PM, Tom Lane wrote:

> We could try adding an AC_TRY_LINK test using perl_embed_ldflags,
> but given the weird stuff happening to redefine that value on Windows
> in plperl/GNUmakefile I think there's a serious risk of breaking Cygwin
> builds.  Since I lack access to either Cygwin or a platform on which
> there's a problem today, I'm not going to be the one to mess with it.
>
> 			


ITYM Mingw - the Makefile doesn't do anything for Cygwin.

If you want to build a configure test, you could make it conditional on 
the PORTNAME not being win32, since we don't seem to have a problem 
there anyway.

cheers

andrew