autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: AC_PROG_PERL (macro, docs, used in configure.in)


From: Tim Van Holder
Subject: RE: AC_PROG_PERL (macro, docs, used in configure.in)
Date: Sat, 27 Jan 2001 10:32:11 +0100

> > +The optional argument to this macro specifies a minimum version to find;
> > address@hidden will not be set if too old a perl is found. Make sure you use
> > +perl's version numbering conventions though: '5.6' is seen as version 5,
> > +subversion 600 (not 6); you need to use 5.006 to require perl 5.6.0.
> Please make sure that it's what you meant. I would say "you need to use
> 5.600 to require perl 5.6.0", but maybe I don't understand this well.
No - perl 5.6.0 has internal version number 5.006 (and 5.7.0 will be 5.007).
And perl's "require" statement indeed expects this internal version number.
So using 'require 5.6;' to request perl 5.6.0 or better may seem correct, but
actually requires perl 5.600 (5.600.0 I suppose) which won't be released for
a long, long time.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]