From: Karel Zak Date: Tue, 24 Jul 2018 10:35:45 +0000 (+0200) Subject: docs: add note about --disable-all-programs X-Git-Tag: v2.33-rc1~96 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e236f61d7cb030c624408a1e28da56bc5a247a42;p=thirdparty%2Futil-linux.git docs: add note about --disable-all-programs Addresses: https://github.com/karelzak/util-linux/issues/666 Signed-off-by: Karel Zak --- diff --git a/Documentation/howto-compilation.txt b/Documentation/howto-compilation.txt index 4b392461d4..5ae3310967 100644 --- a/Documentation/howto-compilation.txt +++ b/Documentation/howto-compilation.txt @@ -36,6 +36,25 @@ Compiling FIXME: add notes about klib and uClib. + +Compile certain portion + + See ./configure --help and use --disable-* and --enable-* options. + + It's also possible to disable all the programs and enable only wanted. + For example: + + ./configure --disable-all-programs --enable-fallocate + + Note that the configure script tracks dependencies between libs and + tools. Always see warning messages and follow error messages if any + dependence is necessary. For example to compile mount(8) you need also + libmount, libblkid and libuuid: + + ./configure --disable-all-programs --enable-mount --enable-libmount \ + --enable-libblkid --enable-libuuid + + Static linking Use --enable-static-programs[=LIST] configure option when