0002-use-new-readline-iface.patch 682 B

123456789101112131415161718192021
  1. Tell MySQL to use the new readline interface even when an external
  2. readline is being used.
  3. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  4. ---
  5. configure.in | 1 +
  6. 1 file changed, 1 insertion(+)
  7. Index: mysql-5.1.53/configure.in
  8. ===================================================================
  9. --- mysql-5.1.53.orig/configure.in
  10. +++ mysql-5.1.53/configure.in
  11. @@ -2689,6 +2689,7 @@
  12. # this way we avoid linking commercial source with GPL readline
  13. readline_link="-lreadline"
  14. want_to_use_readline="yes"
  15. + AC_DEFINE_UNQUOTED(USE_NEW_READLINE_INTERFACE, 1)
  16. elif [test "$mysql_cv_libedit_interface" = "yes"]
  17. then
  18. # Use libedit