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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux