1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 01:51:47 +02:00

Replace readline by linenoise

Using linenoise avoids a license compatibility issue (#1356), is a lot
smaller and doesn't pull in ncurses.
This commit is contained in:
Eelco Dolstra 2017-05-10 18:34:18 +02:00
parent 82a9c93c7f
commit c5f23f10a8
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
10 changed files with 1379 additions and 134 deletions

View file

@ -196,14 +196,6 @@ if test "$gc" = yes; then
fi
# Check for readline, needed by "nix repl".
AX_LIB_READLINE
if test "$ax_cv_lib_readline" != "no"; then
have_readline=1
fi
AC_SUBST(HAVE_READLINE, [$have_readline])
AC_ARG_ENABLE(init-state, AC_HELP_STRING([--disable-init-state],
[do not initialise DB etc. in `make install']),
init_state=$enableval, init_state=yes)