mysql_client-5.1.47-use-new-readline-iface.patch 715 B

1234567891011121314151617
  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. Index: mysql_client-5.1.47/configure.in
  5. ===================================================================
  6. --- mysql_client-5.1.47.orig/configure.in 2010-07-15 23:49:35.000000000 +0200
  7. +++ mysql_client-5.1.47/configure.in 2010-07-15 23:50:03.000000000 +0200
  8. @@ -2700,6 +2700,7 @@
  9. # this way we avoid linking commercial source with GPL readline
  10. readline_link="-lreadline"
  11. want_to_use_readline="yes"
  12. + AC_DEFINE_UNQUOTED(USE_NEW_READLINE_INTERFACE, 1)
  13. elif [test "$mysql_cv_libedit_interface" = "yes"]
  14. then
  15. # Use libedit