fix atomic ops detection
authorAntoine Jacoutot <antoine@mtier.org>
Wed, 28 Aug 2013 07:35:27 +0000 (09:35 +0200)
committerAntoine Jacoutot <antoine@mtier.org>
Wed, 28 Aug 2013 10:01:44 +0000 (12:01 +0200)
commit996edb0c46356d8a326f886b91a77a6af9a2de3e
treee52730f00113c9e9fa698c33aeec0085c58adedf
parent34e1a537956e85d9d2db2127cd723a6c7456f793
fix atomic ops detection

AC_TRY_LINK should be used instead of AC_TRY_COMPILE because the code
will compile everywhere, either producing ``atomic'' code, or an
external reference to __sync_bool_compare_and_swap.

https://bugzilla.gnome.org/show_bug.cgi?id=706958
configure.ac