diff options
Diffstat (limited to 'config/perl.m4')
-rw-r--r-- | config/perl.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/perl.m4 b/config/perl.m4 index 059e31c4766..c823fc8cf07 100644 --- a/config/perl.m4 +++ b/config/perl.m4 @@ -11,11 +11,11 @@ if test "$PERL"; then pgac_perl_version=`$PERL -v 2>/dev/null | sed -n ['s/This is perl.*v[a-z ]*\([0-9]\.[0-9][0-9.]*\).*$/\1/p']` AC_MSG_NOTICE([using perl $pgac_perl_version]) if echo "$pgac_perl_version" | sed ['s/[.a-z_]/ /g'] | \ - $AWK '{ if ([$]1 == 5 && [$]2 >= 8) exit 1; else exit 0;}' + $AWK '{ if ([$]1 == 5 && ([$]2 > 8 || ($[2] == 8 && [$]3 >= 3))) exit 1; else exit 0;}' then AC_MSG_WARN([ *** The installed version of Perl, $PERL, is too old to use with PostgreSQL. -*** Perl version 5.8 or later is required, but this is $pgac_perl_version.]) +*** Perl version 5.8.3 or later is required, but this is $pgac_perl_version.]) PERL="" fi fi |