The ./configure.ac file creates (via autoconf) the ./configure file which is used for Mac/Linux/Unix-alike systems. The ./configure.win file similarly sets the configuration for Windows.
In general, setting variables like CC, CFLAGS, CPPFLAGS, GSL_CFLAGS, and GSL_LIBS occurs in configuration and uses R_HOME. By contrast, setting variables like PKG_CPPFLAGS, PKG_LIBS, and GSL_LIBS occurs in the various Makevars files: ./Makevar.in, ./Makevars.win, and ./Makevars.ucrt. For portability, the Makevars files should not use R_HOME.
All these need to be updated for use with the arma branch, RcppArmadillo, and RcppGSL.
The ./configure.ac file creates (via autoconf) the ./configure file which is used for Mac/Linux/Unix-alike systems. The ./configure.win file similarly sets the configuration for Windows.
In general, setting variables like
CC
,CFLAGS
,CPPFLAGS
,GSL_CFLAGS
, andGSL_LIBS
occurs in configuration and usesR_HOME
. By contrast, setting variables likePKG_CPPFLAGS
,PKG_LIBS
, andGSL_LIBS
occurs in the various Makevars files: ./Makevar.in, ./Makevars.win, and ./Makevars.ucrt. For portability, the Makevars files should not useR_HOME
.All these need to be updated for use with the arma branch, RcppArmadillo, and RcppGSL.