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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
d938549e
Commit
d938549e
authored
Jan 25, 2007
by
df@kahlann.erinye.com
Browse files
Options
Browse Files
Download
Plain Diff
merge fix
parents
729f0158
fdd8410e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
3 deletions
+24
-3
BUILD/SETUP.sh
BUILD/SETUP.sh
+9
-1
configure.in
configure.in
+15
-2
No files found.
BUILD/SETUP.sh
View file @
d938549e
...
@@ -139,9 +139,17 @@ fi
...
@@ -139,9 +139,17 @@ fi
#
#
base_configs
=
"--prefix=
$prefix
--enable-assembler "
base_configs
=
"--prefix=
$prefix
--enable-assembler "
base_configs
=
"
$base_configs
--with-extra-charsets=complex "
base_configs
=
"
$base_configs
--with-extra-charsets=complex "
base_configs
=
"
$base_configs
--enable-thread-safe-client
--with-readline
"
base_configs
=
"
$base_configs
--enable-thread-safe-client "
base_configs
=
"
$base_configs
--with-big-tables"
base_configs
=
"
$base_configs
--with-big-tables"
if
test
-d
"
$path
/../cmd-line-utils/readline"
then
base_configs
=
"
$base_configs
--with-readline"
elif
test
-d
"
$path
/../cmd-line-utils/libedit"
then
base_configs
=
"
$base_configs
--with-libedit"
fi
static_link
=
"--with-mysqld-ldflags=-all-static "
static_link
=
"--with-mysqld-ldflags=-all-static "
static_link
=
"
$static_link
--with-client-ldflags=-all-static"
static_link
=
"
$static_link
--with-client-ldflags=-all-static"
# we need local-infile in all binaries for rpl000001
# we need local-infile in all binaries for rpl000001
...
...
configure.in
View file @
d938549e
...
@@ -2354,6 +2354,7 @@ readline_basedir=""
...
@@ -2354,6 +2354,7 @@ readline_basedir=""
readline_dir
=
""
readline_dir
=
""
readline_h_ln_cmd
=
""
readline_h_ln_cmd
=
""
readline_link
=
""
readline_link
=
""
want_to_use_readline
=
"no"
if
expr
"
$SYSTEM_TYPE
"
:
".*netware.*"
>
/dev/null
if
expr
"
$SYSTEM_TYPE
"
:
".*netware.*"
>
/dev/null
then
then
...
@@ -2379,6 +2380,7 @@ then
...
@@ -2379,6 +2380,7 @@ then
readline_link
=
"
\$
(top_builddir)/cmd-line-utils/readline/libreadline.a"
readline_link
=
"
\$
(top_builddir)/cmd-line-utils/readline/libreadline.a"
readline_h_ln_cmd
=
"
\$
(LN) -s
\$
(top_srcdir)/cmd-line-utils/readline readline"
readline_h_ln_cmd
=
"
\$
(LN) -s
\$
(top_srcdir)/cmd-line-utils/readline readline"
compile_readline
=
yes
compile_readline
=
yes
want_to_use_readline
=
"yes"
AC_DEFINE_UNQUOTED
(
USE_NEW_READLINE_INTERFACE, 1
)
AC_DEFINE_UNQUOTED
(
USE_NEW_READLINE_INTERFACE, 1
)
else
else
# Use system readline library
# Use system readline library
...
@@ -2388,10 +2390,12 @@ else
...
@@ -2388,10 +2390,12 @@ else
MYSQL_CHECK_NEW_RL_INTERFACE
MYSQL_CHECK_NEW_RL_INTERFACE
MYSQL_CHECK_READLINE_DECLARES_HIST_ENTRY
MYSQL_CHECK_READLINE_DECLARES_HIST_ENTRY
AC_LANG_RESTORE
AC_LANG_RESTORE
if
[
test
"
$mysql_cv_new_rl_interface
"
=
"yes"
]
if
[
test
"
$mysql_cv_new_rl_interface
"
=
"yes"
]
&&
[
test
-d
"./cmd-line-utils/readline"
]
then
then
# Use the new readline interface
# Use the new readline interface, but only if the package includes a bundled libreadline
# this way we avoid linking commercial source with GPL readline
readline_link
=
"-lreadline"
readline_link
=
"-lreadline"
want_to_use_readline
=
"yes"
elif
[
test
"
$mysql_cv_libedit_interface
"
=
"yes"
]
elif
[
test
"
$mysql_cv_libedit_interface
"
=
"yes"
]
then
then
# Use libedit
# Use libedit
...
@@ -2402,6 +2406,15 @@ else
...
@@ -2402,6 +2406,15 @@ else
versions of libedit or readline]
)
versions of libedit or readline]
)
fi
fi
fi
fi
# if there is no readline, but we want to build with readline, we fail
if
[
test
"
$want_to_use_readline
"
=
"yes"
]
&&
[
test
!
-d
"./cmd-line-utils/readline"
]
then
AC_MSG_ERROR
([
This commercially licensed MySQL
source
package can
't
be built with libreadline. Please use --with-libedit to use
the bundled version of libedit instead.])
fi
#
#
# if either readline or libedit is enabled - generate Makefile'
s
for
both
# if either readline or libedit is enabled - generate Makefile'
s
for
both
# (to make sure both are included in 'make dist')
# (to make sure both are included in 'make dist')
...
...
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