Add check for -latomic
authorJames Page <james.page@ubuntu.com>
Thu, 5 Dec 2013 17:29:05 +0000 (17:29 +0000)
committerBen Pfaff <blp@nicira.com>
Thu, 16 Jan 2014 21:44:00 +0000 (13:44 -0800)
commit66ad12231e2d2416a0356283f7662d406895a3ea
treef35925aa3de4a136a531a9110dc1e7beb924705f
parent8ce982127abd15ea0d20e08f8a3fadfe98993645
Add check for -latomic

Later versions of gcc on some architectures push atomic functions
out into a separate atomic library; add a check to see when this
is required and add it to LIBS if need be.

Specifically the problem was observed on GCC 4.8.2 on powerpc
architecture for Ubuntu 14.04:

https://launchpadlibrarian.net/155235096/buildlog_ubuntu-trusty-powerpc.openvswitch_2.0.0-0ubuntu1_FAILEDTOBUILD.txt.gz

Signed-off-by: James Page <james.page@ubuntu.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
configure.ac
m4/openvswitch.m4