From: Darren Chamberlain Date: Thu, 4 Mar 2004 14:38:49 +0000 (+0000) Subject: Make SIGN conditional based on MakeMaker version. X-Git-Tag: v0.06~158 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0ff797ba63f1bf3f7c4bcee129fea32e467f6ded;p=dbsrgits%2FSQL-Translator.git Make SIGN conditional based on MakeMaker version. --- diff --git a/Makefile.PL b/Makefile.PL index 35e7dbe..a9a00ff 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -3,9 +3,14 @@ package SQL::Translator; use strict; use ExtUtils::MakeMaker; +my @SIGN; +if ($ExtUtils::MakeMaker::VERSION >= 6.18) { + @SIGN = (SIGN => 1); +} + WriteMakefile( 'NAME' => __PACKAGE__, - 'SIGN' => 1, + @SIGN, 'VERSION_FROM' => 'lib/SQL/Translator.pm', 'EXE_FILES' => [ 'bin/sqlt-diagram',