configure.ac: Test for __atomic_add_fetch in atomic checks
authorAndrew Galante <spock128@gmail.com>
Mon, 11 Jun 2018 22:05:25 +0000 (15:05 -0700)
committerMatt Turner <mattst88@gmail.com>
Wed, 13 Jun 2018 17:09:46 +0000 (10:09 -0700)
commitbaf16b2ea3a72d01712d4e16fae97606ac68dff0
tree1f6826a7cb0ddab085bea359c582b21ad5bd07d8
parent9d547a7617fbcbc29f75ed85ff774807ddca5ce0
configure.ac: Test for __atomic_add_fetch in atomic checks

Some platforms have 64-bit __atomic_load_n but not 64-bit
__atomic_add_fetch, so test for both of them.

Bug: https://bugs.gentoo.org/655616
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
configure.ac