From 3a6c1f049bb3643c86eb87f6c69cf7c3d3c95c86 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Fri, 24 May 2024 09:37:57 -0400 Subject: configure: Use --with/--without for libraries --- docs/BUILDING.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'docs/BUILDING.md') diff --git a/docs/BUILDING.md b/docs/BUILDING.md index cb33c51..025dadf 100644 --- a/docs/BUILDING.md +++ b/docs/BUILDING.md @@ -16,7 +16,7 @@ Configuration $ ./configure --help Usage: - $ ./configure [--enable-*|--disable-*] [CC=...] [CFLAGS=...] [...] + $ ./configure [--enable-*|--disable-*] [--with-*|--without-*] [CC=...] [...] $ make ... @@ -82,14 +82,14 @@ You can combine multiple profiles (e.g. `./configure --enable-asan --enable-ubsa ### Dependencies `bfs` depends on some system libraries for some of its features. -External dependencies are auto-detected by default, but you can `--enable` or `--disable` them manually: +External dependencies are auto-detected by default, but you can build `--with` or `--without` them explicitly:
---enable-libacl      --disable-libacl
---enable-libcap      --disable-libcap
---enable-libselinux  --disable-libselinux
---enable-liburing    --disable-liburing
---enable-oniguruma   --disable-oniguruma
+--with-libacl      --without-libacl
+--with-libcap      --without-libcap
+--with-libselinux  --without-libselinux
+--with-liburing    --without-liburing
+--with-oniguruma   --without-oniguruma
 
[`pkg-config`] is used, if available, to detect these libraries and any additional build flags they may require. -- cgit v1.2.3