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
b71a73c7
Commit
b71a73c7
authored
Mar 20, 2009
by
Georgi Kodinov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reverting a bogus fix into 5.1-bugteam
parent
0c163054
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
11 deletions
+9
-11
configure.in
configure.in
+4
-8
include/Makefile.am
include/Makefile.am
+5
-3
No files found.
configure.in
View file @
b71a73c7
...
@@ -1678,17 +1678,14 @@ if test "$with_debug" = "yes"
...
@@ -1678,17 +1678,14 @@ if test "$with_debug" = "yes"
then
then
# Medium debug.
# Medium debug.
AC_DEFINE
([
DBUG_ON],
[
1],
[
Use libdbug]
)
AC_DEFINE
([
DBUG_ON],
[
1],
[
Use libdbug]
)
AC_DEFINE
([
SAFE_MUTEX],
[
1],
[
Use safe mutexes]
)
CFLAGS
=
"
$DEBUG_CFLAGS
$DEBUG_OPTIMIZE_CC
-DSAFE_MUTEX
$CFLAGS
"
CFLAGS
=
"
$DEBUG_CFLAGS
$DEBUG_OPTIMIZE_CC
$CFLAGS
"
CXXFLAGS
=
"
$DEBUG_CXXFLAGS
$DEBUG_OPTIMIZE_CXX
-DSAFE_MUTEX
$CXXFLAGS
"
CXXFLAGS
=
"
$DEBUG_CXXFLAGS
$DEBUG_OPTIMIZE_CXX
$CXXFLAGS
"
elif
test
"
$with_debug
"
=
"full"
elif
test
"
$with_debug
"
=
"full"
then
then
# Full debug. Very slow in some cases
# Full debug. Very slow in some cases
AC_DEFINE
([
DBUG_ON],
[
1],
[
Use libdbug]
)
AC_DEFINE
([
DBUG_ON],
[
1],
[
Use libdbug]
)
AC_DEFINE
([
SAFE_MUTEX],
[
1],
[
Use safe mutexes]
)
CFLAGS
=
"
$DEBUG_CFLAGS
-DSAFE_MUTEX -DSAFEMALLOC
$CFLAGS
"
AC_DEFINE
([
SAFEMALLOC],
[
1],
[
Use safe malloc]
)
CXXFLAGS
=
"
$DEBUG_CXXFLAGS
-DSAFE_MUTEX -DSAFEMALLOC
$CXXFLAGS
"
CFLAGS
=
"
$DEBUG_CFLAGS
$CFLAGS
"
CXXFLAGS
=
"
$DEBUG_CXXFLAGS
$CXXFLAGS
"
else
else
# Optimized version. No debug
# Optimized version. No debug
AC_DEFINE
([
DBUG_OFF],
[
1],
[
Don
't use libdbug])
AC_DEFINE
([
DBUG_OFF],
[
1],
[
Don
't use libdbug])
...
@@ -2815,7 +2812,6 @@ AC_CONFIG_FILES(Makefile extra/Makefile mysys/Makefile dnl
...
@@ -2815,7 +2812,6 @@ AC_CONFIG_FILES(Makefile extra/Makefile mysys/Makefile dnl
include/mysql_version.h plugin/Makefile win/Makefile)
include/mysql_version.h plugin/Makefile win/Makefile)
AC_CONFIG_COMMANDS([default], , test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h)
AC_CONFIG_COMMANDS([default], , test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h)
AC_CONFIG_COMMANDS([my_config.h], cp include/config.h include/my_config.h)
# Ensure that table handlers gets all modifications to CFLAGS/CXXFLAGS
# Ensure that table handlers gets all modifications to CFLAGS/CXXFLAGS
AC_CONFIG_COMMANDS_POST(ac_configure_args="$ac_configure_args CFLAGS='
$CFLAGS
' CXXFLAGS='
$CXXFLAGS
'")
AC_CONFIG_COMMANDS_POST(ac_configure_args="$ac_configure_args CFLAGS='
$CFLAGS
' CXXFLAGS='
$CXXFLAGS
'")
...
...
include/Makefile.am
View file @
b71a73c7
...
@@ -15,8 +15,9 @@
...
@@ -15,8 +15,9 @@
# Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
# Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
# MA 02111-1307, USA
# MA 02111-1307, USA
BUILT_SOURCES
=
link_sources
BUILT_SOURCES
=
$(HEADERS_GEN_MAKE)
link_sources
HEADERS_GEN_CONFIGURE
=
mysql_version.h my_config.h
HEADERS_GEN_CONFIGURE
=
mysql_version.h
HEADERS_GEN_MAKE
=
my_config.h
HEADERS_ABI
=
mysql.h mysql_com.h mysql_time.h
\
HEADERS_ABI
=
mysql.h mysql_com.h mysql_time.h
\
my_list.h my_alloc.h typelib.h mysql/plugin.h
my_list.h my_alloc.h typelib.h mysql/plugin.h
pkginclude_HEADERS
=
$(HEADERS_ABI)
my_dbug.h m_string.h my_sys.h
\
pkginclude_HEADERS
=
$(HEADERS_ABI)
my_dbug.h m_string.h my_sys.h
\
...
@@ -25,7 +26,8 @@ pkginclude_HEADERS = $(HEADERS_ABI) my_dbug.h m_string.h my_sys.h \
...
@@ -25,7 +26,8 @@ pkginclude_HEADERS = $(HEADERS_ABI) my_dbug.h m_string.h my_sys.h \
decimal.h errmsg.h my_global.h my_net.h
\
decimal.h errmsg.h my_global.h my_net.h
\
my_getopt.h sslopt-longopts.h my_dir.h
\
my_getopt.h sslopt-longopts.h my_dir.h
\
sslopt-vars.h sslopt-case.h sql_common.h keycache.h
\
sslopt-vars.h sslopt-case.h sql_common.h keycache.h
\
m_ctype.h my_attribute.h
$(HEADERS_GEN_CONFIGURE)
m_ctype.h my_attribute.h
$(HEADERS_GEN_CONFIGURE)
\
$(HEADERS_GEN_MAKE)
noinst_HEADERS
=
config-win.h config-netware.h my_bit.h
\
noinst_HEADERS
=
config-win.h config-netware.h my_bit.h
\
heap.h my_bitmap.h my_uctype.h
\
heap.h my_bitmap.h my_uctype.h
\
...
...
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