summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasil Dimov <vasil.dimov@oracle.com>2010-10-19 17:32:26 +0300
committerVasil Dimov <vasil.dimov@oracle.com>2010-10-19 17:32:26 +0300
commite9eeebc517db28b7c8632323513d2a79f7ff0d2f (patch)
treea9697b3b58f75098104d215261cd9779e5b7b9e7
parentb568369dba30a196d12eeb314127219c7f93a4f2 (diff)
downloadmariadb-git-e9eeebc517db28b7c8632323513d2a79f7ff0d2f.tar.gz
Fix Bug#53916 storage/innodb_plugin does not compile on NetBSD/sparc64
Just check for all the functions that we are going to use, not a subset of them. Reviewed by: Davi (via IRC)
-rw-r--r--storage/innodb_plugin/plug.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/storage/innodb_plugin/plug.in b/storage/innodb_plugin/plug.in
index e638332d74a..2ee45389e9c 100644
--- a/storage/innodb_plugin/plug.in
+++ b/storage/innodb_plugin/plug.in
@@ -137,10 +137,11 @@ MYSQL_PLUGIN_ACTIONS(innodb_plugin, [
AC_MSG_CHECKING(whether Solaris libc atomic functions are available)
# either define HAVE_IB_SOLARIS_ATOMICS or not
- AC_CHECK_FUNCS(atomic_add_long \
+ AC_CHECK_FUNCS(atomic_cas_ulong \
atomic_cas_32 \
atomic_cas_64 \
- atomic_cas_ulong,
+ atomic_add_long_nv \
+ atomic_swap_uchar,
AC_DEFINE([HAVE_IB_SOLARIS_ATOMICS], [1],
[Define to 1 if Solaris libc atomic functions \