Marcus G. Daniels
2000-Jan-26 01:36 UTC
passing through configure parameters during module installation?
This patch makes it possible do module installs in this way: $ R INSTALL --with-hdf5=/packages . Is there a better/conventional way to do this kind of thing that I'm not seeing? diff -c -r1.29 INSTALL.in *** src/scripts/INSTALL.in 2000/01/24 19:48:48 1.29 --- src/scripts/INSTALL.in 2000/01/26 01:26:11 *************** *** 107,112 **** --- 107,116 ---- lib=${2}; shift ;; --library=*) lib=`echo "${1}" | sed -e 's/[^=]*=//'` ;; + --with-*=*) + configure_args="$configure_args $1";; + --with-*) + configure_args="$configure_args $1=$2"; shift ;; *) if test -f "${1}"; then mkdir -p ${tmpdir} *************** *** 181,187 **** echo "Installing package \`${pkg}' ..." if test -x ./configure ; then ! ./configure fi if test -d src; then --- 185,191 ---- echo "Installing package \`${pkg}' ..." if test -x ./configure ; then ! ./configure $configure_args fi if test -d src; then -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Kurt Hornik
2000-Jan-26 08:34 UTC
passing through configure parameters during module installation?
>>>>> Marcus G Daniels writes:> This patch makes it possible do module installs in this way:> $ R INSTALL --with-hdf5=/packages .> Is there a better/conventional way to do this kind of thing that I'm > not seeing?The idea is very nice, but maybe not general enough. Who knows, but there may be someone who wants to pass an argument to configure that does not start with `--with'. I'd prefer something like --configure-args="..." Would that be o.k. too? -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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._