Thread: pgsql: Fix configure's regexp for extracting the Perl version number

pgsql: Fix configure's regexp for extracting the Perl version number

From
tgl@postgresql.org (Tom Lane)
Date:
Log Message:
-----------
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

Modified Files:
--------------
    pgsql/config:
        perl.m4 (r1.8 -> r1.9)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/config/perl.m4?r1=1.8&r2=1.9)
    pgsql:
        configure (r1.675 -> r1.676)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/configure?r1=1.675&r2=1.676)

Re: pgsql: Fix configure's regexp for extracting the Perl version number

From
David Fetter
Date:
On Tue, Feb 23, 2010 at 06:35:14PM +0000, Tom Lane wrote:
> Log Message:
> -----------
> 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
>
> Modified Files:
> --------------
>     pgsql/config:
>         perl.m4 (r1.8 -> r1.9)
>         (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/config/perl.m4?r1=1.8&r2=1.9)
>     pgsql:
>         configure (r1.675 -> r1.676)
>         (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/configure?r1=1.675&r2=1.676)

Shouldn't this patch configure.in instead?

Cheers,
David.
--
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

Re: pgsql: Fix configure's regexp for extracting the Perl version number

From
Tom Lane
Date:
David Fetter <david@fetter.org> writes:
> Shouldn't this patch configure.in instead?

No.  The stuff in config/ is also inputs for building configure.

            regards, tom lane