Add configure check for -latomic

This commit is contained in:
Anthony Towns
2016-08-23 16:55:15 +10:00
committed by Jack Grigg
parent 15472b7d84
commit d812d95a8f
2 changed files with 43 additions and 0 deletions

View File

@@ -57,6 +57,9 @@ case $host in
esac
dnl Require C++11 compiler (no GNU extensions)
AX_CXX_COMPILE_STDCXX([11], [noext], [mandatory])
dnl Check if -latomic is required for <std::atomic>
CHECK_ATOMIC
dnl Libtool init checks.
LT_INIT([pic-only])