monero/cmake
jethro e1f3dfccc8 Add readline support to cli
This PR adds readline support to the daemon and monero-wallet-cli. Only
GNU readline is supported (e.g. not libedit) and there are cmake checks
to ensure this.

There is a cmake variable, Readline_ROOT_DIR that can specify a
directory to find readline, otherwise some default paths are searched.

There is also a cmake option, USE_READLINE, that defaults to ON. If set
to ON, if readline is not found, the build continues but without
readline support.

One negative side effect of using readline is that the color prompt in
the wallet-cli now has no color and just uses terminal default. I know
how to fix this but it's quite a big change so will tackle another time.
2017-06-18 10:08:37 -04:00
..
32-bit-toolchain.cmake update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
64-bit-toolchain.cmake update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
Doxyfile.in doxygen files 2015-04-01 19:23:15 +02:00
Doxygen.extra.css.in doxygen files 2015-04-01 19:23:15 +02:00
FindBerkeleyDB.cmake BerkeleyDB Blockchain building, not working yet 2015-03-16 09:14:51 -04:00
FindLibunwind.cmake cmake: link against liblzma when found, for libunwind 2016-12-24 00:00:45 +00:00
FindMiniupnpc.cmake year updated in license 2015-01-02 18:52:46 +02:00
FindReadline.cmake Add readline support to cli 2017-06-18 10:08:37 -04:00
FindUnbound.cmake update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
test-static-assert.c update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
test-static-assert.cpp update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00