richfitz / diversitree

diversitree: comparative phylogenetic analyses of diversification
http://www.zoology.ubc.ca/prog/diversitree
30 stars 9 forks source link

Remove deprecated autoconf option #21

Closed richfitz closed 4 years ago

richfitz commented 4 years ago

It is no longer necessary to use these in configure scripts, and 'R CMD config CPP' has been deprecated. R does not set CPP so R CMD config CPP is either "$CC -E" or empty, depending on the 'make' program. And autoconf will call AC_PROG_CPP to determine CPP if it needs it.

The only use by a configure.ac script I noticed was in nloptr, which passes it down. If needed, set CPP="${CC} -E".

richfitz commented 4 years ago

Fixed in #24