diff options
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/configure.ac b/configure.ac index 5e655dc..48857f8 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -27,26 +27,11 @@ AC_DEFUN([CHECK_DEBUG], [ | |||
| 27 | ) | 27 | ) |
| 28 | ]) | 28 | ]) |
| 29 | 29 | ||
| 30 | AC_DEFUN([CHECK_FAST_MUTEXES], [ | ||
| 31 | AC_ARG_ENABLE([fast-mutexes], | ||
| 32 | AS_HELP_STRING([--enable-fast-mutexes], [compile with fast mutexes, default: no])) | ||
| 33 | |||
| 34 | AC_MSG_CHECKING(whether to compile with fast mutexes) | ||
| 35 | AS_IF([test "x$enable_fast_mutexes" = "xyes"], | ||
| 36 | [ | ||
| 37 | CPPFLAGS="$CPPFLAGS -DMY_PTHREAD_FASTMUTEX=1" | ||
| 38 | AC_MSG_RESULT(yes) | ||
| 39 | ], | ||
| 40 | [ AC_MSG_RESULT(no) ] | ||
| 41 | ) | ||
| 42 | ]) | ||
| 43 | |||
| 44 | 30 | ||
| 45 | dnl Run tests using C++ compiler | 31 | dnl Run tests using C++ compiler |
| 46 | dnl AC_LANG(C++) | 32 | dnl AC_LANG(C++) |
| 47 | 33 | ||
| 48 | CHECK_DEBUG | 34 | CHECK_DEBUG |
| 49 | CHECK_FAST_MUTEXES | ||
| 50 | 35 | ||
| 51 | #check for mysql src | 36 | #check for mysql src |
| 52 | MYSQL_SRC_TEST | 37 | MYSQL_SRC_TEST |
