Hacker News new | ask | show | jobs
by orf 2184 days ago
Isn’t the whole autoconf stuff supposed to avoid the need for if macro soup, by using feature detection?
1 comments

There would be cleaner ways to achieve this, maybe not specifically autoconf since I think that's more tailored towards "normal" (user space) stuff.

Macros are convenient to quickly check the version in your code without adding another layer of tooling... Until you end up with said macro soup of course.

It's actually a legacy module we're about to phase out for 5.x so don't worry too much. The new and shiny replacement will probably use git branches for whenever something changes.