From 0e6eff633c51e834a7d848383032eb32ddeecb8b Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 12 Jan 2001 20:44:16 +0000 Subject: [PATCH] Check for more atomic operations Original commit message from CVS: Check for more atomic operations --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 796b243c85..284273fd25 100644 --- a/configure.in +++ b/configure.in @@ -248,7 +248,7 @@ dnl Do a compile to check that it has atomic_set (eg, linux 2.0 didn't) if test x$HAVE_ATOMIC_H = xyes; then AC_TRY_RUN([ #include "asm/atomic.h" -main() { atomic_t t; atomic_set(&t,0); return 0;} +main() { atomic_t t; atomic_set(&t,0); atomic_inc(&t); atomic_add(1,&t);return 0;} ],, [ # Not successful if test x$HAVE_ATOMIC_H = xyes; then