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
b51195d6
Commit
b51195d6
authored
Jan 08, 2010
by
vladislav vaintroub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CMake 2.6.2 fix
parent
4da913b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
cmake/readline.cmake
cmake/readline.cmake
+10
-6
No files found.
cmake/readline.cmake
View file @
b51195d6
...
...
@@ -197,12 +197,16 @@ MACRO (MYSQL_CHECK_READLINE)
# Handle mutual exclusion of WITH_READLINE/WITH_LIBEDIT variables
# We save current setting to recognize when user switched between
# WITH_READLINE and WITH_LIBEDIT
IF
(
WITH_READLINE
AND
(
SAVE_READLINE_SETTING MATCHES
"WITH_LIBEDIT"
OR NOT SAVE_READLINE_SETTING
))
SET
(
WITH_LIBEDIT OFF CACHE BOOL
"Use bundled libedit"
FORCE
)
ELSEIF
(
WITH_LIBEDIT
AND
(
SAVE_READLINE_SETTING MATCHES
"WITH_READLINE"
OR NOT SAVE_READLINE_SETTING
))
SET
(
WITH_READLINE OFF CACHE BOOL
"Use bundled readline"
FORCE
)
IF
(
WITH_READLINE
)
IF
(
NOT SAVE_READLINE_SETTING OR SAVE_READLINE_SETTING MATCHES
"WITH_LIBEDIT"
)
SET
(
WITH_LIBEDIT OFF CACHE BOOL
"Use bundled libedit"
FORCE
)
ENDIF
()
ELSEIF
(
WITH_LIBEDIT
)
IF
(
NOT SAVE_READLINE_SETTING OR SAVE_READLINE_SETTING MATCHES
"WITH_READLINE"
)
SET
(
WITH_READLINE OFF CACHE BOOL
"Use bundled readline"
FORCE
)
ENDIF
()
ENDIF
()
IF
(
WITH_READLINE
)
...
...
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