On Mon, Nov 3, 2008 at 4:24 PM, Greg Chicares <[EMAIL PROTECTED]> wrote: > On 2008-11-03 13:46Z, Stephan Beal wrote: >> >> i know we've discussed the topic of "how to check if the user is >> running Make version XYZ or higher" before, but i just had another >> idea for helping to solve this... > > What's wrong with the solutions already discussed?
They're quite verbose. > If you don't want to write the test in a makefile, then run > `make --version` and parse the output; you could write a wrapper > script to do that. The output isn't in a uniform format, so the parsing isn't as trivial. A wrapper script would be platform-specific, >> In this invokation, make would refuse to run if its version is less >> than 3.80. If its an older make, it would probably puke on the unknown >> -R flag and die anyway, so we're protected either way. > > How would you distinguish that mode of failure from other modes? i see no need to differentiate. ? -- ----- stephan beal http://wanderinghorse.net/home/stephan/ _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
