configure: Add configure-time check for GCC 4.0+ atomic built-ins.
authorBen Pfaff <blp@nicira.com>
Mon, 15 Jul 2013 21:13:53 +0000 (14:13 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 31 Jul 2013 15:56:36 +0000 (08:56 -0700)
commit15248032ea9e3e88849310e8f2cef9db618fce1a
tree5a2e5edb12f003848dbe122df9a5551c57eb9735
parent97be153858b4cd175cbe7862b8e1624bf22ab98a
configure: Add configure-time check for GCC 4.0+ atomic built-ins.

We found out earlier that GCC sometimes produces an error only at link time
for atomic built-ins that are not supported on a platform.  This actually
tries the link at configure time and should thus reliably detect whether
the atomic built-ins are really supported.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Ethan Jackson <ethan@nicira.com>
configure.ac
lib/ovs-atomic.h
m4/openvswitch.m4