diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2021-01-22 19:14:46 +0100 |
---|---|---|
committer | Christian Göttsche <cgzones@googlemail.com> | 2021-01-25 17:54:37 +0100 |
commit | 5e103ff9d1aab9d57241641d40021339ad3f042e (patch) | |
tree | be125678182e04b880e4460fbab33cb01643a07d /README | |
parent | 0f04714a035e2024385237d5698ee9488f88a22e (diff) |
configure: overhaul option handling
Switch Linux capabilities default from "no" to "check"
Document default settings
Use more readable formatting
Diffstat (limited to 'README')
-rw-r--r-- | README | 53 |
1 files changed, 53 insertions, 0 deletions
@@ -44,6 +44,59 @@ install the header files for `ncurses` (libncursesw*-dev) and other required dev By default `make install` will install into `/usr/local`, for changing the path use `./configure --prefix=/some/path`. +### Build Options + +`htop` has several build-time options to enable/disable additional features. + +#### Generic + + * `--enable-unicode`: + enable Unicode support + dependency: *libncursesw* + default: *yes* + * `--enable-hwloc`: + enable hwloc support for CPU affinity; disables Linux affinity + dependency: *libhwloc* + default: *no* + * `--enable-setuid`: + enable setuid support for privilege dropping + default: *no* + * `--enable-debug`: + Enable asserts and internal sanity checks; implies a performance penalty + default: *no* + +#### Linux + + * `--enable-sensors`: + enable libsensors(3) support for reading temperature data + dependencies: *libsensors-dev*(build-time), at runtime *libsensors* is loaded via `dlopen(3)` if available + default: *check* + * `--enable-capabilities`: + enable Linux capabilities support + dependency: *libcap* + default: *check* + * `--with-proc`: + location of a Linux-compatible proc filesystem + default: */proc* + * `--enable-openvz`: + enable OpenVZ support + default: *no* + * `--enable-vserver`: + enable VServer support + default: *no* + * `--enable-ancient-vserver`: + enable ancient VServer support (implies `--enable-vserver`) + default: *no* + * `--enable-linux-affinity`: + enable Linux `sched_setaffinity(2)` and `sched_getaffinity(2)` for affinity support; conflicts with hwloc + default: *check* + * `--enable-delayacct`: + enable Linux delay accounting support + dependencies: *pkg-config*(build-time), *libnl-3* and *libnl-genl-3* + default: *check* + +## Usage + See the manual page (`man htop`) or the on-line help ('F1' or 'h' inside `htop`) for a list of supported key commands. ## Support |