NetworkManager/m4
Thomas Haller bf86f51c9e
build: rework libreadline detection in autotools
- `m4/ax_lib_readline.m4` was already aware of "$with_readline".
  Move the entire handling of the parameter inside the AX_LIB_READLINE
  macro.
  This lets our fork of ax_lib_readline.m4 further deviate from upstream
  version, but it's already so different that this is no new problem.

- raise an error if the user requested --with-readline=libreadline|libedit
  but the library was not found.

- only allow yes|no for --with-nmcli argument. But still default to
  "yes", which will always require one libreadline library to be
  detected. In particular, don't automatically disable nmcli if
  libreadline is not available, because building without nmcli
  should be an explicit choice. That is like before.

- update the "$with_readline" variable for the "auto" case to reflect
  what was detected.
2021-07-19 09:08:06 +02:00
..
attributes.m4
ax_lib_readline.m4 build: rework libreadline detection in autotools 2021-07-19 09:08:06 +02:00
ax_pthread.m4 tests: fix undefined references to pthread 2021-04-07 08:29:50 +02:00
compiler_options.m4 build: add comment for disabling "-Wmaybe-uninitialized" with LTO 2021-01-08 12:36:55 +01:00
git-sha-record.m4
gnome-code-coverage.m4
introspection.m4
vapigen.m4