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
f7411704
Commit
f7411704
authored
Oct 18, 2010
by
Davi Arnaut
Browse files
Options
Browse Files
Download
Plain Diff
Merge of mysql-5.1-bugteam into mysql-5.5-bugteam.
parents
ff72d361
c474fcfa
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
5 deletions
+11
-5
CMakeLists.txt
CMakeLists.txt
+2
-0
config/ac-macros/maintainer.m4
config/ac-macros/maintainer.m4
+2
-1
configure.in
configure.in
+7
-4
No files found.
CMakeLists.txt
View file @
f7411704
...
@@ -61,6 +61,8 @@ SET(BUILDTYPE_DOCSTRING
...
@@ -61,6 +61,8 @@ SET(BUILDTYPE_DOCSTRING
IF
(
WITH_DEBUG
)
IF
(
WITH_DEBUG
)
SET
(
CMAKE_BUILD_TYPE
"Debug"
CACHE STRING
${
BUILDTYPE_DOCSTRING
}
FORCE
)
SET
(
CMAKE_BUILD_TYPE
"Debug"
CACHE STRING
${
BUILDTYPE_DOCSTRING
}
FORCE
)
SET
(
MYSQL_MAINTAINER_MODE ON CACHE BOOL
"MySQL maintainer-specific development environment"
)
SET
(
OLD_WITH_DEBUG 1 CACHE INTERNAL
""
FORCE
)
SET
(
OLD_WITH_DEBUG 1 CACHE INTERNAL
""
FORCE
)
ELSEIF
(
NOT HAVE_CMAKE_BUILD_TYPE OR OLD_WITH_DEBUG
)
ELSEIF
(
NOT HAVE_CMAKE_BUILD_TYPE OR OLD_WITH_DEBUG
)
IF
(
CUSTOM_C_FLAGS
)
IF
(
CUSTOM_C_FLAGS
)
...
...
config/ac-macros/maintainer.m4
View file @
f7411704
...
@@ -8,7 +8,8 @@ AC_DEFUN([MY_MAINTAINER_MODE], [
...
@@ -8,7 +8,8 @@ AC_DEFUN([MY_MAINTAINER_MODE], [
[AS_HELP_STRING([--enable-mysql-maintainer-mode],
[AS_HELP_STRING([--enable-mysql-maintainer-mode],
[Enable a MySQL maintainer-specific development environment])],
[Enable a MySQL maintainer-specific development environment])],
[USE_MYSQL_MAINTAINER_MODE=$enableval],
[USE_MYSQL_MAINTAINER_MODE=$enableval],
[USE_MYSQL_MAINTAINER_MODE=no])
[AS_IF([test "$with_debug" != "no"],
[USE_MYSQL_MAINTAINER_MODE=yes], [USE_MYSQL_MAINTAINER_MODE=no])])
AC_MSG_RESULT([$USE_MYSQL_MAINTAINER_MODE])
AC_MSG_RESULT([$USE_MYSQL_MAINTAINER_MODE])
])
])
...
...
configure.in
View file @
f7411704
...
@@ -118,6 +118,13 @@ AC_SUBST(SHARED_LIB_MAJOR_VERSION)
...
@@ -118,6 +118,13 @@ AC_SUBST(SHARED_LIB_MAJOR_VERSION)
AC_SUBST
(
SHARED_LIB_VERSION
)
AC_SUBST
(
SHARED_LIB_VERSION
)
AC_SUBST
(
AVAILABLE_LANGUAGES
)
AC_SUBST
(
AVAILABLE_LANGUAGES
)
# Check whether a debug mode should be enabled.
AC_ARG_WITH
([
debug],
AS_HELP_STRING
([
--with-debug
@<:@
=
full@:>@],
[
Enable various amounts of debugging support
(
full adds a slow memory checker
)
.]
)
,
[
with_debug
=
$withval
]
,
[
with_debug
=
no]
)
# Whether the maintainer mode should be enabled.
# Whether the maintainer mode should be enabled.
MY_MAINTAINER_MODE
MY_MAINTAINER_MODE
...
@@ -1689,10 +1696,6 @@ then
...
@@ -1689,10 +1696,6 @@ then
DEBUG_OPTIMIZE_CXX
=
""
DEBUG_OPTIMIZE_CXX
=
""
fi
fi
AC_ARG_WITH
(
debug,
[
AS_HELP_STRING
([
--with-debug
]
,
[
Add debug code @<:@default
=
no@:>@]
)]
,
[
with_debug
=
$withval
]
,
[
with_debug
=
no]
)
if
test
"
$with_debug
"
=
"yes"
if
test
"
$with_debug
"
=
"yes"
then
then
AC_DEFINE
([
DBUG_ON],
[
1],
[
Use libdbug]
)
AC_DEFINE
([
DBUG_ON],
[
1],
[
Use libdbug]
)
...
...
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