From 2d7786cfc3aa8f38326f97fe43b2efc092aacf6f Mon Sep 17 00:00:00 2001 From: William Orr Date: Fri, 19 Sep 2014 22:04:23 -0700 Subject: 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. --- m4/acx_check_suncc.m4 | 1 + 1 file changed, 1 insertion(+) (limited to 'm4') 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 -- cgit v1.2.3