[Rd] INSTALL script

Kurt Hornik Kurt.Hornik@ci.tuwien.ac.at
Thu, 3 Feb 2000 08:12:51 +0100 (CET)


>>>>> Timothy H Keitt writes:

> The current INSTALL script calls ./configure if it exists when
> installing packages, but does not check the return value from
> configure.  I have my configure script abort under certain conditions
> and it would be nice if the INSTALL script would stop at that point.

Good idea.  I'll try to have something like this in after 0.99.0 is out
(currently in feature freeze).

> Also, is there an autoconf macro for testing for gnu make?

No macro, and I would have my doubts whether you'd really want to test
for that (we've been working very hard not to require GNU make for
building R).  But you could simply do

	moutput=`make -v 2>&1 | grep GNU`
	if test -n "${moutput}"; then
	  GMAKE=yes
	else
	  GMAKE=no
	fi

-k
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._