Besides what Duncan said, relying on user to supply arguments is pretty bad as it more or less guarantees _any_ automated test will not succeed (for lack of involvement of the sage user).
Writing configure scripts feels like yet another painful step, but it really is not that hard if you know a little shell scripting already. You can even do simple things and just loop over a fixed (but hopefully long) list of know locations -- which is what RPostgreSQL does: https://github.com/cran/RPostgreSQL/blob/master/configure.in#L38-L69 Not my proudest moment, but it worked for a few (ten-)thousands of installations and builds ... Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel