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

Figure out how to set the HAVE_ macros when using YARP in JRuby & TruffleRuby #1041

Closed
eregon opened this issue Jun 22, 2023 · 3 comments
Closed
Assignees
Labels
enhancement New feature or request

Comments

@eregon
Copy link
Member

eregon commented Jun 22, 2023

See #979 (comment)
cc @enebo

@eregon eregon self-assigned this Jun 22, 2023
@kddnewton
Copy link
Collaborator

I think this is going to be very much dependent on how you build it in your repository, but you can set them via the -DHAVE_* flags for C compilers. I'm not sure if there's anything to be done on the YARP side here.

@eregon
Copy link
Member Author

eregon commented Jun 22, 2023

Yeah, it's more of a self-reminder than something to change in YARP, and a way to share how it was done when we have a solution. Maybe we can run the ./configure too, that would probably be the nicest.
Maybe there is also a way for autotools to produce a file with all the defs?

@eregon
Copy link
Member Author

eregon commented Jun 29, 2023

I found a way, by reusing YARP's Makefile and the static library it generates: #1051 (comment)

@eregon eregon closed this as completed Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants