diff options
author | msvensson@neptunus.(none) <> | 2005-04-27 12:24:17 +0200 |
---|---|---|
committer | msvensson@neptunus.(none) <> | 2005-04-27 12:24:17 +0200 |
commit | 30caa4a32d4160ca06d56b191d1172791ea95acb (patch) | |
tree | 2b1dd4bcbd782210cb0ea196deb176f4c35915d1 /configure.in | |
parent | b5e96531a7e26d6bbce62724a5ff1d40a201fe5f (diff) | |
parent | 81c5cd8aed2c433659ef8539278c23b9144b3837 (diff) | |
download | mariadb-git-30caa4a32d4160ca06d56b191d1172791ea95acb.tar.gz |
Merge neptunus.(none):/home/msvensson/mysql/bug8162
into neptunus.(none):/home/msvensson/mysql/mysql-4.1
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/configure.in b/configure.in index c9143d21a0f..bc058265b9a 100644 --- a/configure.in +++ b/configure.in @@ -2407,17 +2407,24 @@ then 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 |