From 4939dd7ad281467d93062106d6d63d928a468614 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 4 Sep 2016 21:23:15 +0200 Subject: Check for the need to link with atomic. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') 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 -- cgit v1.2.3