Link the test for __sync_add_and_fetch.

AC_TRY_COMPILE doesn't catch undefined symbols because the linker symbol
resolution step hasn't been run yet.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
1 file changed