On Fri, 13 Feb 2004, Dominic Dunlop wrote:

> Umm, this may be a dumb question, but how can I tell in a hints file
> what version of perl is being built? Looking at the shell variables
> that are defined when the file is sourced, I can see nothing with the
> version number in it, except tmppwd -- and it's only there because of
> what I happened to call the top-level directory. Should I parse what I
> need out of patchlevel.h?

You've probably already figured this out (which means I'm going to do this
all from memory without actually checking anything), but you're right.
Configure extracts the version info from patchlevel.h, but it does so
later on, after the hints files are sourced.  I don't recall any
dependencies requiring it to come out that way.  In any case, you can
obviously just copy the code from Configure and put it into your hint
file, which is probably what you already did.

-- 
    Andy Dougherty              [EMAIL PROTECTED]

Reply via email to