|
From: <sv...@va...> - 2009-05-31 16:21:27
|
Author: bart
Date: 2009-05-31 17:21:23 +0100 (Sun, 31 May 2009)
New Revision: 10183
Log:
The conditional HAVE_BUILTIN_ATOMIC is now available in the various Makefile.am files.
Modified:
trunk/configure.in
Modified: trunk/configure.in
===================================================================
--- trunk/configure.in 2009-05-31 16:17:22 UTC (rev 10182)
+++ trunk/configure.in 2009-05-31 16:21:23 UTC (rev 10183)
@@ -1819,16 +1819,20 @@
&& __sync_add_and_fetch(&variable, 1) ? 1 : 0)
],
[
+ ac_have_builtin_atomic=yes
AC_MSG_RESULT([yes])
AC_DEFINE(HAVE_BUILTIN_ATOMIC, 1, [Define to 1 if gcc supports __sync_bool_compare_and_swap() a.o.])
],
[
+ ac_have_builtin_atomic=no
AC_MSG_RESULT([no])
])
CFLAGS=$safe_CFLAGS
+AM_CONDITIONAL([HAVE_BUILTIN_ATOMIC], [test x$ac_have_builtin_atomic = xyes])
+
#----------------------------------------------------------------------------
# Ok. We're done checking.
#----------------------------------------------------------------------------
|