diff options
| author | manuel <manuel@mausz.at> | 2017-04-22 02:04:49 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2017-04-22 02:04:49 +0200 |
| commit | f6b1922c313ce1a1cb81b8e84f8f34ecab1ec304 (patch) | |
| tree | de0cf0743f1775cb28b82115fc95653d1579f26d /configure.ac | |
| parent | 95c94b3758bb56457645eaafcd0cc7cb1515d374 (diff) | |
| download | mysql-table_sizes-f6b1922c313ce1a1cb81b8e84f8f34ecab1ec304.tar.gz mysql-table_sizes-f6b1922c313ce1a1cb81b8e84f8f34ecab1ec304.tar.bz2 mysql-table_sizes-f6b1922c313ce1a1cb81b8e84f8f34ecab1ec304.zip | |
fixes for mysql 5.7v5.7
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 |
