• E
    build: add configure --without-readline · e5f46105
    Eric Blake 提交于
    Make it much easier to test a configuration built without readline
    support, by reusing our existing library probe machinery.  It gets
    a bit tricky with readline, which does not provide a pkg-config
    snippet, and which on some platforms requires one of several
    terminal libraries as a prerequiste, but the end result should be
    the same default behavior but now with the option to disable things.
    
    * m4/virt-readline.m4 (LIBVIRT_CHECK_READLINE): Simplify by using
    LIBVIRT_CHECK_LIB.
    * tools/virsh.c: Convert USE_READLINE to WITH_READLINE.
    Signed-off-by: NEric Blake <eblake@redhat.com>
    e5f46105
virsh.c 85.0 KB