Commit 157a6470 authored by unknown's avatar unknown

Merge mysqldev@production.mysql.com:my/mysql-5.1-release

into  mysql.com:/home/dlenev/mysql-5.1-merges

parents 2a60a432 b16ef80f
...@@ -1608,18 +1608,20 @@ else ...@@ -1608,18 +1608,20 @@ else
CXXFLAGS="$OPTIMIZE_CXXFLAGS -DDBUG_OFF $CXXFLAGS" CXXFLAGS="$OPTIMIZE_CXXFLAGS -DDBUG_OFF $CXXFLAGS"
fi fi
if test "$with_debug" = "no" AC_ARG_WITH([fast-mutexes],
then
AC_ARG_WITH([fast-mutexes],
AC_HELP_STRING([--with-fast-mutexes], AC_HELP_STRING([--with-fast-mutexes],
[Compile with fast mutexes (default is disabled)]), [Compile with fast mutexes (default is disabled)]),
[with_fast_mutexes=$withval], [with_fast_mutexes=no]) [with_fast_mutexes=$withval], [with_fast_mutexes=no])
fi
if test "$with_fast_mutexes" = "yes" if test "$with_fast_mutexes" != "no"
then then
if test "$with_debug" != "no"
then
AC_MSG_WARN(['--with-fast-mutexes' ignored when '--with-debug' is given])
else
AC_DEFINE([MY_PTHREAD_FASTMUTEX], [1], AC_DEFINE([MY_PTHREAD_FASTMUTEX], [1],
[Define to 1 if you want to use fast mutexes]) [Define to 1 if you want to use fast mutexes])
fi
fi fi
# Force static compilation to avoid linking problems/get more speed # Force static compilation to avoid linking problems/get more speed
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment