d/configure: Prepare for execution on other OS #3780
+20
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Somehow I feel like it may possibly not be completely pointless to consider a compilation of LinuxCNC or parts of it on non-Linux Operating Systems. At least we should prepare debian/configure for the event that someone is trying it. Here is what I came up with. My personal immediate motivation is to support writers of the documentation who are likely to have a the source tree on whatever OS their machine may be.
My attempt on MacOS did not complete a configure run. But that is just because of missing packages in brew - nothing technical. Conda may also be worthwhile to have a look, but the libgpiod-dev equivalent for either I fail to find. It may be of interest to come up with a configure option that prepared for the documentation only.