configure: add -w and -W flags for selecting libraries to support

-wreadline will build in support for libreadline, for example
This commit is contained in:
Jeremy Baxter 2024-02-27 18:04:18 +13:00
parent b41bec792a
commit e86912a601
3 changed files with 46 additions and 6 deletions

View file

@ -46,8 +46,9 @@ This means that the same binary will likely work across different Linux
distributions/versions. The only strictly required library is libc
which is available on all systems.
*libreadline support is automatically enabled by the configure script
if the system supports it. Otherwise support for it is turned off.
*libreadline support can be enabled at build time, but is disabled by
default. To force building with libreadline support, pass the
`-wreadline` flag to the configure script.
## Installation