diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2010-02-23 18:35:07 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2010-02-23 18:35:07 +0000 |
| commit | dc43e2f54064504426f7f8d9219608476bd27415 (patch) | |
| tree | 9fc2902e6b0bb20c9d9356c64d59110e70f2ed52 /configure | |
| parent | 1bc8acca252275f11537e871ceb6fcc667982dd1 (diff) | |
| download | postgresql-dc43e2f54064504426f7f8d9219608476bd27415.tar.gz | |
Fix configure's regexp for extracting the Perl version number from perl -v
output. Per bug #5339, Perl 5.11 has changed the format of that output
enough to break the previous coding.
Alex Hunsaker
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6867,7 +6867,7 @@ fi fi if test "$PERL"; then - pgac_perl_version=`$PERL -v 2>/dev/null | sed -n 's/This is perl, v[a-z ]*//p' | sed 's/ .*//'` + 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'` { $as_echo "$as_me:$LINENO: using perl $pgac_perl_version" >&5 $as_echo "$as_me: using perl $pgac_perl_version" >&6;} if echo "$pgac_perl_version" | sed 's/[.a-z_]/ /g' | \ |
