mirror of
https://github.com/libvirt/libvirt.git
synced 2025-01-08 07:03:19 -06:00
m4: Don't enable bash-completion by default
Due to the way that check logic was written we basically enabled bash completion whenever readline was enabled. This is not right because it made bash-completion pkg-config module required. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
b1afeda98d
commit
72ac507f42
@ -30,14 +30,10 @@ AC_DEFUN([LIBVIRT_CHECK_BASH_COMPLETION], [
|
||||
AC_REQUIRE([LIBVIRT_CHECK_READLINE])
|
||||
|
||||
if test "x$with_readline" != "xyes" ; then
|
||||
if test "x$with_bash_completion" != "xyes" ; then
|
||||
with_bash_completion=no
|
||||
else
|
||||
if test "x$with_bash_completion" = "xyes" ; then
|
||||
AC_MSG_ERROR([readline is required for bash completion support])
|
||||
fi
|
||||
else
|
||||
if test "x$with_bash_completion" = "xcheck" ; then
|
||||
with_bash_completion=yes
|
||||
else
|
||||
with_bash_completion=no
|
||||
fi
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user