client: Rewrite readline configuration
authorMarkus Armbruster <armbru@pond.sub.org>
Mon, 7 Dec 2015 20:27:42 +0000 (21:27 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 6 Aug 2017 09:22:29 +0000 (11:22 +0200)
commit1cbda2c7dd6159ad29c21c03804659d2ed044523
tree98cec0b7bf0cc3706744746b268f45194f9a94be
parent60fee0e6aef5bfc14151194ce9ec94326387af17
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>
Make.mk
configure.ac
m4/ax_lib_readline.m4 [deleted file]
m4/my_lib_readline.m4 [new file with mode: 0644]
src/client/configure.ac
src/client/main.c
src/client/play.c