Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
81c5cd8a
Commit
81c5cd8a
authored
Apr 27, 2005
by
msvensson@neptunus.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #8162 MySQL cannot be compiled without readline
- Display error if system readline or libedit can't be found
parent
71c7c0d3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
configure.in
configure.in
+9
-2
No files found.
configure.in
View file @
81c5cd8a
...
...
@@ -2405,17 +2405,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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment