[libvirt] [PATCH 3/6] m4: readline: Stop looking for rl_completion_quote_character()

Andrea Bolognani abologna at redhat.com
Tue Apr 9 13:10:20 UTC 2019


The function was introduced in readline 5.0, and all our target
platforms ship with at least 6.0 these days.

The check is also used as part of the extra_LIBS machinery, but
we're going to drop that too next anyway.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>
---
 m4/virt-readline.m4 | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/m4/virt-readline.m4 b/m4/virt-readline.m4
index ffaeacef75..09d5d820ea 100644
--- a/m4/virt-readline.m4
+++ b/m4/virt-readline.m4
@@ -38,19 +38,6 @@ AC_DEFUN([LIBVIRT_CHECK_READLINE],[
     LIBS="$lv_saved_libs $extra_LIBS"
   fi
 
-  AC_CHECK_DECLS([rl_completion_quote_character],
-                 [], [],
-                 [[#include <stdio.h>
-                  #include <readline/readline.h>]])
-
-  if test "$ac_cv_have_decl_rl_completion_quote_character" = "no" ; then
-    if test "$with_readline" = "yes" ; then
-      AC_MSG_ERROR([readline is missing rl_completion_quote_character])
-    else
-      with_readline=no;
-    fi
-  fi
-
   # The normal library check...
   LIBVIRT_CHECK_LIB([READLINE], [readline], [readline], [readline/readline.h])
 
-- 
2.20.1




More information about the libvir-list mailing list