[R-pkg-devel] Alternative to ifeq for Makevars

Ivan Krylov |kry|ov @end|ng |rom d|@root@org
Fri Nov 8 21:04:14 CET 2024


В Fri, 8 Nov 2024 11:44:15 -0800
Josiah Parry <josiah.parry using gmail.com> пишет:

> Do you know of any good documentation on the use of Makevars.in with
> configure?

A configure script for an R package could be any POSIX-compatible shell
script, including a hand-written one that substitutes strings using sed
[*], or even one that delegates to R [**]. If you do want to use GNU
Autoconf, the relevant sections of the manual are 4.8 and 7.2:
https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.72/html_node/Makefile-Substitutions.html
https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.72/html_node/Setting-Output-Variables.html

-- 
Best regards,
Ivan

[*] https://github.com/jeroen/V8/blob/master/configure
[**] https://github.com/kevinushey/configure



More information about the R-package-devel mailing list