summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authormonty@mashka.mysql.fi <>2003-01-05 20:18:49 +0200
committermonty@mashka.mysql.fi <>2003-01-05 20:18:49 +0200
commit9ecf9645ebab531ce5aa29514b6b9457968f9946 (patch)
treece42417ba1ab6dac8c367a9ae180ea377956e95a /configure.in
parent5e77a27182fe6a2544e3e4b0ad23399c9fb2ca48 (diff)
downloadmariadb-git-9ecf9645ebab531ce5aa29514b6b9457968f9946.tar.gz
A lot of portability fixes.
Added rename table for BDB. This fixes a bug in ALTER TABLE with BDB tables.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 9e3a8ffc516..0375cc61235 100644
--- a/configure.in
+++ b/configure.in
@@ -879,6 +879,7 @@ int main()
#
MAX_C_OPTIMIZE="-O3"
+MAX_CXX_OPTIMIZE="-O3"
case $SYSTEM_TYPE in
*solaris2.7*)
@@ -946,6 +947,8 @@ case $SYSTEM_TYPE in
then
CFLAGS="$CFLAGS +DD64 -DHAVE_BROKEN_INLINE"
CXXFLAGS="$CXXFLAGS +DD64 +O2"
+ MAX_C_OPTIMIZE=""
+ MAX_CXX_OPTIMIZE=""
fi
;;
*rhapsody*)
@@ -1404,7 +1407,7 @@ if test "$ac_cv_prog_cxx_g" = "yes"
then
DEBUG_CXXFLAGS="-g"
DEBUG_OPTIMIZE_CXX="-O"
- OPTIMIZE_CXXFLAGS="-O3"
+ OPTIMIZE_CXXFLAGS="$MAX_CXX_OPTIMIZE"
else
DEBUG_CXXFLAGS="-g"
DEBUG_OPTIMIZE_CXX=""