aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAnthony Towns <aj@erisian.com.au>2016-08-23 16:55:15 +1000
committerAnthony Towns <aj@erisian.com.au>2016-08-23 16:55:15 +1000
commit878faacd7b3daac437cc689b13422f6432fb5cd0 (patch)
treea762a13cd0aae098858c92884ec5821e48b1b246 /configure.ac
parent41d8e78f94c5ad54684f1f15efb0264036418e71 (diff)
Add configure check for -latomic
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index d332f4face..335609f5e5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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])