perl/Makefile.PL: detect MakeMaker versions incompatible with DESTDIR
authorBrandon Casey <drafnel@gmail.com>
Thu, 24 Sep 2009 18:21:03 +0000 (13:21 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Fri, 25 Sep 2009 21:00:04 +0000 (14:00 -0700)
It appears that ExtUtils::MakeMaker versions older than 6.11 do not
implement the DESTDIR mechanism. So add a test to the generated perl.mak
to detect when DESTDIR is used along with a too old ExtUtils::MakeMaker and
abort with a message suggesting the use of NO_PERL_MAKEMAKER.

Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
No differences found