Hacker News new | ask | show | jobs
by xorcist 805 days ago
That's ... how autoconf works?

If you explicitly set the enable-landlock flag, configure will fail when the feature doesn't compile.

1 comments

A cmake option only has two values: ON or OFF. There is no unset. Because it is a boolean.

See: https://cmake.org/cmake/help/latest/command/option.html

This is not actually true, you can check if variables have been defined in CMake.
Right, but the boolean is set by an autoconf script, is it not?