aboutsummaryrefslogtreecommitdiffhomepage
path: root/m4
diff options
context:
space:
mode:
authorGravatar William Orr <will@worrbase.com>2014-09-19 22:04:23 -0700
committerGravatar William Orr <will@worrbase.com>2014-09-19 22:04:23 -0700
commit2d7786cfc3aa8f38326f97fe43b2efc092aacf6f (patch)
treeac216cddf3fb619774474ac5259e7c4071642e62 /m4
parent7d50120316b62499d1ec64580acc8ff32fceb147 (diff)
Add support for solaris atomicops
This patch adds support for atomic operations on Solaris, on any platform. It makes use of the atomic functions made available in Solaris' atomic.h header.
Diffstat (limited to 'm4')
-rw-r--r--m4/acx_check_suncc.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/m4/acx_check_suncc.m4 b/m4/acx_check_suncc.m4
index 4e8f9610..89185932 100644
--- a/m4/acx_check_suncc.m4
+++ b/m4/acx_check_suncc.m4
@@ -42,6 +42,7 @@ AC_DEFUN([ACX_CHECK_SUNCC],[
AS_IF([test "x$ac_enable_64bit" = "xyes"],[
+ AC_DEFINE([SOLARIS_64BIT_ENABLED], [1], [64bit enabled])
AS_IF([test "x$libdir" = "x\${exec_prefix}/lib"],[
dnl The user hasn't overridden the default libdir, so we'll
dnl the dir suffix to match solaris 32/64-bit policy