diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2017-04-28T14·53+0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2017-04-28T14·53+0200 |
commit | 73bba12d8ba1bff2b2c0266a7fdbe1ee8ab0ad6a (patch) | |
tree | 111b155d26ef6398afcd40205dab9d4f6cf5f6c8 /src/nix/repl.cc | |
parent | a1a5e63e1456b5905b73065f635a324f3c309a5d (diff) |
Check for libreadline
Diffstat (limited to 'src/nix/repl.cc')
-rw-r--r-- | src/nix/repl.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nix/repl.cc b/src/nix/repl.cc index 17203d3c299f..13488bf1dbd4 100644 --- a/src/nix/repl.cc +++ b/src/nix/repl.cc @@ -1,3 +1,5 @@ +#if HAVE_LIBREADLINE + #include <iostream> #include <cstdlib> @@ -726,3 +728,5 @@ struct CmdRepl : StoreCommand static RegisterCommand r1(make_ref<CmdRepl>()); } + +#endif |