Fix __sync_val_compare_and_swap detection
author <shinichiro.hamaji@gmail.com> <>
Thu, 12 Jan 2012 06:15:52 +0000 (06:15 +0000)
committer <shinichiro.hamaji@gmail.com> <>
Thu, 12 Jan 2012 06:15:52 +0000 (06:15 +0000)
commit6232847ecb73144658450f2c09968595a0abca65
tree0518f34a867e7a1bacf5e6c1c53c2c7bd4b2a135
parent6febec361e73860cc77d9cb0c6c14013c0e36ef0
Fix __sync_val_compare_and_swap detection

We should use the second argument of AC_TRY_LINK.
Otherwise, the main function defined twice and this test does never succeed.

git-svn-id: https://google-glog.googlecode.com/svn/trunk@102 eb4d4688-79bd-11dd-afb4-1d65580434c0
configure
m4/ac_have_sync_val_compare_and_swap.m4