mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 12:01:42 +01:00
Merge mysqldev@production.mysql.com:my/mysql-5.1-release
into mysql.com:/home/dlenev/mysql-5.1-merges
This commit is contained in:
commit
56e415a512
1 changed files with 12 additions and 10 deletions
22
configure.in
22
configure.in
|
@ -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_HELP_STRING([--with-fast-mutexes],
|
||||||
AC_ARG_WITH([fast-mutexes],
|
[Compile with fast mutexes (default is disabled)]),
|
||||||
AC_HELP_STRING([--with-fast-mutexes],
|
[with_fast_mutexes=$withval], [with_fast_mutexes=no])
|
||||||
[Compile with fast mutexes (default is disabled)]),
|
|
||||||
[with_fast_mutexes=$withval], [with_fast_mutexes=no])
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test "$with_fast_mutexes" = "yes"
|
if test "$with_fast_mutexes" != "no"
|
||||||
then
|
then
|
||||||
AC_DEFINE([MY_PTHREAD_FASTMUTEX], [1],
|
if test "$with_debug" != "no"
|
||||||
[Define to 1 if you want to use fast mutexes])
|
then
|
||||||
|
AC_MSG_WARN(['--with-fast-mutexes' ignored when '--with-debug' is given])
|
||||||
|
else
|
||||||
|
AC_DEFINE([MY_PTHREAD_FASTMUTEX], [1],
|
||||||
|
[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
|
||||||
|
|
Loading…
Add table
Reference in a new issue