diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 5f7f613a..004d9213 100644 --- a/configure.in +++ b/configure.in @@ -96,7 +96,7 @@ dnl AC_MSG_CHECKING([for native atomic primitives]) cairo_atomic_primitives="none" -AC_TRY_COMPILE([int atomic_add(int i) { return __sync_fetch_and_add (&i, 1); }], [], +AC_TRY_LINK([int atomic_add(int i) { return __sync_fetch_and_add (&i, 1); }], [], AC_DEFINE(CAIRO_HAS_INTEL_ATOMIC_PRIMITIVES, 1, [Enable if your compiler supports the Intel __sync_* atomic primitives]) cairo_atomic_primitives="Intel" ) |