On 4 Jun 2003, Mark Lakata wrote:
>
> Makefile.versiondep: FORCE
> @(perl -e '($$v) = `gmake --version` =~/version (\S+),/; die "old
> make detected, found $v, need 3.78\n" if $$v < 3.78' && touch $@ ) || ( rm
> -f $@; false )
The perl arithmetic comparison is fragile -- what about GNU make version lines
that return as follows?
GNU make 3.80
GNU Make version 3.79.1
Ted
--
Ted Stern Applications Group
Cray Inc. office: 206-701-2182
411 First Avenue South, Suite 600 cell: 206-383-1049
Seattle, WA 98104-2860 FAX: 206-701-2500
Frango ut patefaciam -- I break that I may reveal
(The Paleontological Society motto, equally apropos for debugging)
|