aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-09-09 08:57:08 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2016-09-09 08:58:39 +0200
commit7f8b677aeb79abe5d52b18afb888d9a82204b276 (patch)
tree2986a1e7b632cc7fe2df6b386d8ecee488853f59 /configure.ac
parent666eaf03cf251832302fa5d358b1a6ca128db7e8 (diff)
parent878faacd7b3daac437cc689b13422f6432fb5cd0 (diff)
Merge #8563: Add configure check for -latomic
878faac Add configure check for -latomic (Anthony Towns)
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 add8d21781..607adec4f4 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])