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)
This commit is contained in:
Vasil Dimov 2010-10-19 17:32:26 +03:00
parent b568369dba
commit e9eeebc517

View file

@ -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 \