Capture return value from __sync_add_and_fetch in the test
commitfe4ebbfe8d1e318edb3f0498c7d2c1fa73a4fd81
authorMagnus Ahltorp <map@kth.se>
Mon, 15 Oct 2012 16:16:53 +0000 (15 09:16 -0700)
committerLove Hornquist Astrand <lha@h5l.org>
Sat, 8 Dec 2012 18:42:02 +0000 (8 10:42 -0800)
treed0e85ac25d810ac7cc4aab8ef9c1d252081b7e79
parenta86d7a9dad2048c3ed9b8d5a95fa25ce701cedd3
Capture return value from __sync_add_and_fetch in the test

__sync_add_and_fetch is treated as a built in function by the compiler if the return value is not used (as in the autoconf test), but it is treated as a regular function when the return value is used

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
configure.ac