Below is the list of changes that have just been committed into a local
4.1 repository of msvensson. When msvensson does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet
1.2207 05/04/27 11:19:00 msvensson@neptunus.(none) +1 -0
Bug #8162 MySQL cannot be compiled without readline
- Display error if system readline or libedit can't be found
configure.in
1.362 05/04/27 11:18:57 msvensson@neptunus.(none) +9 -2
Display an error if user has selected not to use the bundled libedit or readline, AND
the system readline or libedit can't be found
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: msvensson
# Host: neptunus.(none)
# Root: /home/msvensson/mysql/bug8162
--- 1.361/configure.in 2005-04-13 19:05:00 +02:00
+++ 1.362/configure.in 2005-04-27 11:18:57 +02:00
@@ -2405,17 +2405,24 @@
compile_readline=yes
AC_DEFINE_UNQUOTED(USE_NEW_READLINE_INTERFACE, 1)
else
+ # Use system readline library
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
MYSQL_CHECK_LIBEDIT_INTERFACE
MYSQL_CHECK_NEW_RL_INTERFACE
MYSQL_CHECK_READLINE_DECLARES_HIST_ENTRY
AC_LANG_RESTORE
- if [test "$mysql_cv_new_rl_interface" = "yes"] || [test "$mysql_cv_libedit_interface"
= "no"]
+ if [test "$mysql_cv_new_rl_interface" = "yes"]
then
+ # Use the new readline interface
readline_link="-lreadline"
- else
+ elif [test "$mysql_cv_libedit_interface" = "yes"]; then
+ # Use libedit
readline_link="-ledit"
+ else
+ AC_MSG_ERROR([Could not find system readline or libedit libraries
+ Use --with-readline or --with-libedit to use the bundled
+ versions of libedit or readline])
fi
fi
fi
| Thread |
|---|
| • bk commit into 4.1 tree (msvensson:1.2207) BUG#8162 | msvensson | 27 Apr |