summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
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