Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve conditional build #407

Open
eddelbuettel opened this issue Mar 11, 2025 · 0 comments
Open

Improve conditional build #407

eddelbuettel opened this issue Mar 11, 2025 · 0 comments
Assignees

Comments

@eddelbuettel
Copy link
Member

The change in #406 works but is a little crude and not too self-explanatory. A nice approach might be to

  • use configure as right now to determine 'yay' or 'nay' regarding blp support availability
  • pass the 'yay or nay' state to the Makefile that is src/Makevars
  • use conditional code in the Makefile to differentiate the two states

As added bonus we can then also clearly define a compile-time preprocessor variable indicating the 'yes we do' state rather than relying on the current double negative.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant