configure for packages

Friedrich Leisch Friedrich.Leisch@ci.tuwien.ac.at
Wed, 28 Apr 1999 17:31:47 +0200 (CEST)


when I get a working connection to auckland again I will commit a new
version of the INSTALL script which allows packages to run configure
befor anything else is done (hence create Makefiles and patch R code
depending on if some lib's are found etc.)

R INSTALL now works as follows:

	cd pkgdir
	if ./configure exists run it
	do everything as has been done until now
	if ./cleanup exists and flag --clean was used, run ./cleanup 

i.e., you can add 2 execs to the top-level directory of a package
which perform pre-installation configuration and post-installation
cleanup. cleanup should remove all files that were created by
configure.

the configure script may be created by autoconf but of course must
not.

I have put a new version of the e1071 package onto CRAN which uses
configure to search for the netpbm library. It currently only looks
for libnetpbm (correct for debian linux sytems). If the functions
pnm_readpnm & friends are contained in another lib on your system,
please let me know such that I can modify configure.in accordingly (or
better: send me the patched version :-))

.f







-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._