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, 5 Dec 2013 17:30:37 +0000 (09:30 -0800)
commitfd2e50cd333324ca18d8186a5c9211aa03c439cf
treee49aa2611ad3323178893c9fd8400bc5bb569984
parentfabbb9797fa5705ba3aadb15891edbad33fb884e
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