client: Rewrite readline configuration
AX_LIB_READLINE tries to cope with systems where readline lacks history support, or lacks headers, or needs headers included in unorthodox ways. It puts six HAVE_ macros into config.h, and its usage example takes 24 lines of code just to include two headers. Way too complicated for my taste. Replace with new MY_LIB_READLINE, which succeeds only when you have a sane readline, and then defines *one* macro: HAVE_LIBREADLINE. Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
60fee0e6ae
commit
1cbda2c7dd
7 changed files with 35 additions and 140 deletions
|
@ -73,7 +73,7 @@ LIBS_util="$LIBS"
|
|||
LIBS="$LIBS_SOCKETS $LIBS"
|
||||
AX_LIB_SOCKET_NSL
|
||||
LIBS_server="$LIBS"
|
||||
AX_LIB_READLINE
|
||||
MY_LIB_READLINE
|
||||
|
||||
|
||||
### Checks for header files
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue