AM_LDFLAGS=-lpthread
-SUBDIRS = tests
+SUBDIRS = . tests
include_HEADERS = urcu.h $(top_srcdir)/urcu-*.h
nobase_dist_include_HEADERS = urcu/compiler.h urcu/hlist.h urcu/list.h \
fi
aclocal
libtoolize --force --copy
-autoheader
automake --add-missing --copy
autoconf
AH_TEMPLATE([CONFIG_HAVE_FENCE], [Defined when on a system that has memory fence
instructions.])
AH_TEMPLATE([CONFIG_HAVE_FUTEX], [Defined when on a system with futex support.])
-AC_CONFIG_HEADERS([config.h])
+AC_CONFIG_HEADERS([urcu/config.h])
# Checks for programs.
AC_PROG_CC
AM_LDFLAGS=-lpthread
-AM_CFLAGS=-I$(top_srcdir)
+AM_CFLAGS=-I$(top_srcdir) -I$(top_builddir)
noinst_PROGRAMS = test_urcu test_urcu_dynamic_link test_urcu_timing \
test_rwlock_timing test_rwlock test_perthreadlock_timing \
*/
#include <urcu/compiler.h>
-#include "config.h"
+#include <urcu/config.h>
#define CONFIG_HAVE_FENCE 1
#define CONFIG_HAVE_MEM_COHERENCY
*/
#include <compiler.h>
-#include "config.h"
+#include <config/config.h>
#define CONFIG_HAVE_MEM_COHERENCY
*/
#include <urcu/compiler.h>
-#include "config.h"
+#include <urcu/config.h>
#define CONFIG_HAVE_MEM_COHERENCY