Skip to content

Implement --enable-* and --disable-* to disable packages #617

Open
@pevik

Description

@pevik

Current configure options --with-{numa,tirpc} are used to disable autotools
detection of presence headers and libraries (+ in case of NUMA it also changes
error message of the compiled binary).
But this confuses users a bit as usually --without-foo usually means that part
of the software is completely excluded (not being compiled). It's also confusing
as --with-open-posix-testsuite and --with-realtime-testsuite options work like users
expect it.
IMHO we compile binaries which only say "compiled without FOO support" because
runtime files expect them, but this could be solved by not installing affected
runtime files. The obvious benefits are smaller size and shorter compiled time.

There could be these configured options (all default on):
--with{,out}-syscalls (or kernel?)
--with{,out}-net
--with{,out}-rpc
--with{,out}-numa
--with{,out}-cve (this one is problematic, as it's also among syscalls)
--with{,out}-commands (or userspace ?)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions