extconf: try harder for gcc atomics in i386-configured systems
authorEric Wong <normalperson@yhbt.net>
Wed, 28 Aug 2013 10:10:29 +0000 (10:10 +0000)
committerEric Wong <normalperson@yhbt.net>
Wed, 28 Aug 2013 10:10:29 +0000 (10:10 +0000)
commitfc690079c889ed5a97359515d75fe9260dd9ea91
tree19ebe83667d6e0365371a039ea38bd1b7893cabc
parentfdda1473240485b7e996e425ed1a46ce0e50174e
extconf: try harder for gcc atomics in i386-configured systems

__sync_lock_test_and_set might not be the correct check after all,
but __sync_val_compare_and_swap probably is.  At least this is
what Ruby 2.0.0 uses to check and attempt -march=i486 on.
ext/raindrops/extconf.rb