On 10/07/2013 01:38 AM, Michal Privoznik wrote:
On 04.10.2013 20:26, Eric Blake wrote:
> Previously, disabling readline involved uninstalling the development
> library, or else configuring with:
>
> ac_cv_lib_readline_readline=no ac_cv_search_tgetent=no
ac_cv_lib_readline_rl_initialize=no
>
> With this series, it is much easier to test that virsh still works
> without readline support, merely using ./configuire --without-readline.
>
> Eric Blake (2):
> build: move readline check into its own macro
> build: add configure --without-readline
>
> configure.ac | 43 +++----------------------------------------
> m4/virt-readline.m4 | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
> tools/virsh.c | 12 ++++++------
> 3 files changed, 59 insertions(+), 46 deletions(-)
> create mode 100644 m4/virt-readline.m4
>
ACK series.
Thanks; pushed.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org