if !LIBC_INCLUDES_PTHREAD
AM_LDFLAGS=-lpthread
endif
-AM_CFLAGS=-I$(top_srcdir) -I$(top_builddir) -I$(top_srcdir)/tests/common -g
+AM_CFLAGS=-I$(top_srcdir) -I$(top_builddir) -I$(top_srcdir)/tests/common -g -ldl
noinst_PROGRAMS = test_uatomic \
test_urcu_multiflavor \