[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: checking for specific/minimal Make version in Make code?
From: |
Dave Korn |
Subject: |
RE: checking for specific/minimal Make version in Make code? |
Date: |
Fri, 26 Sep 2008 14:08:35 +0100 |
Stephan Beal wrote on 26 September 2008 12:54:
> Hi, all!
>
> i've got some make code which requires 3.80+. Is there an in-make way
> to be able to say "error out if Make < version XYZ" which will work in
> older versions? That is, i need the check to work in older Makes, but
> after the check succeeds i can safely assume a proper version (whereas
> older versions will stop at the check and won't get to the
> incompatible parts).
$(MAKE_VERSION) has all the info you need toimplement a check. Dunno what
version it was first introduced in, but if it's not defined, it's gotta be
pretty old.
cheers,
DaveK
--
Can't think of a witty .sigline today....