diff options
author | Ben Pfaff <blp@nicira.com> | 2013-07-15 14:13:53 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2013-07-31 08:56:36 -0700 |
commit | 15248032ea9e3e88849310e8f2cef9db618fce1a (patch) | |
tree | 5a2e5edb12f003848dbe122df9a5551c57eb9735 /configure.ac | |
parent | 97be153858b4cd175cbe7862b8e1624bf22ab98a (diff) | |
download | openvswitch-15248032ea9e3e88849310e8f2cef9db618fce1a.tar.gz |
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>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 70fc9df25..89541aaef 100644 --- a/configure.ac +++ b/configure.ac @@ -83,6 +83,7 @@ OVS_CHECK_GROFF OVS_CHECK_GNU_MAKE OVS_CHECK_CACHE_TIME OVS_CHECK_TLS +OVS_CHECK_GCC4_ATOMICS OVS_CHECK_ATOMIC_ALWAYS_LOCK_FREE(1) OVS_CHECK_ATOMIC_ALWAYS_LOCK_FREE(2) OVS_CHECK_ATOMIC_ALWAYS_LOCK_FREE(4) |