summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2016-09-04 21:23:15 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2016-09-04 21:23:15 +0200
commit4939dd7ad281467d93062106d6d63d928a468614 (patch)
tree542bd45f45522750a5e1d2c3cb8c6acda49020a6 /configure.ac
parent6829fc637615386a62007fa35daafe2ffc557b75 (diff)
Check for the need to link with atomic.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index d8d2c8d..2a6d731 100644
--- a/configure.ac
+++ b/configure.ac
@@ -482,7 +482,7 @@ AC_LINK_IFELSE(
[needs_libatomic=yes],
[needs_libatomic=no])
-if test x$needs_libatomic = xno; then
+if test x$needs_libatomic = xyes; then
AC_HAVE_LIBRARY([atomic],[],[AC_MSG_ERROR(
[Please install the GNU Atomic library])])
fi