mirror of
https://github.com/MariaDB/server.git
synced 2025-09-02 09:41:40 +03:00
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:
@@ -137,10 +137,11 @@ MYSQL_PLUGIN_ACTIONS(innodb_plugin, [
|
|||||||
|
|
||||||
AC_MSG_CHECKING(whether Solaris libc atomic functions are available)
|
AC_MSG_CHECKING(whether Solaris libc atomic functions are available)
|
||||||
# either define HAVE_IB_SOLARIS_ATOMICS or not
|
# 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_32 \
|
||||||
atomic_cas_64 \
|
atomic_cas_64 \
|
||||||
atomic_cas_ulong,
|
atomic_add_long_nv \
|
||||||
|
atomic_swap_uchar,
|
||||||
|
|
||||||
AC_DEFINE([HAVE_IB_SOLARIS_ATOMICS], [1],
|
AC_DEFINE([HAVE_IB_SOLARIS_ATOMICS], [1],
|
||||||
[Define to 1 if Solaris libc atomic functions \
|
[Define to 1 if Solaris libc atomic functions \
|
||||||
|
Reference in New Issue
Block a user