1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 14:21:48 +02:00

Check for libreadline

This commit is contained in:
Eelco Dolstra 2017-04-28 16:53:56 +02:00
parent a1a5e63e14
commit 73bba12d8b
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
7 changed files with 22 additions and 5 deletions

View file

@ -196,6 +196,14 @@ 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)