bootstrap: fix handling of various perl --version formats
authorPádraig Brady <P@draigBrady.com>
Mon, 30 Nov 2009 12:29:03 +0000 (12:29 +0000)
committerJim Meyering <meyering@redhat.com>
Mon, 30 Nov 2009 12:45:06 +0000 (13:45 +0100)
commitacf2fa819ee5f1c5acb832dd4b9ebe52a3985699
treede89c4e2a4908a880732df16aadcf5122a64bdce
parentf203a8f4fe82853424a873bffb16de1700e23fcc
bootstrap: fix handling of various perl --version formats

* build-aux/bootstrap (get_version): Don't use perl's $] special
variable, as that requires updating all bootstrap.conf files to
use perl's x.yyyzzz version format.  Instead make the regular
expression more general to support version formats from older
perl-5.005_002 (5.5.2) and perl-5.11 which has other numbers
in the version line.
build-aux/bootstrap