From: Pierre-Marc Fournier Date: Thu, 8 Oct 2009 20:40:15 +0000 (-0400) Subject: move config.h to urcu/config.h and install it X-Git-Tag: v0.2.3~15 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=c96a37267efd57cddf7a30f472f9e56f2ecddddc;p=userspace-rcu.git move config.h to urcu/config.h and install it Signed-off-by: Mathieu Desnoyers --- diff --git a/Makefile.am b/Makefile.am index 28e414c..df67b1e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3,7 +3,7 @@ INCLUDES = -I$(top_builddir)/urcu 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 \ diff --git a/bootstrap b/bootstrap index c507425..530ec0a 100755 --- a/bootstrap +++ b/bootstrap @@ -6,7 +6,6 @@ if [ ! -e config ]; then fi aclocal libtoolize --force --copy -autoheader automake --add-missing --copy autoconf diff --git a/configure.ac b/configure.ac index 2c1b6c0..e7cc181 100644 --- a/configure.ac +++ b/configure.ac @@ -13,7 +13,7 @@ AH_TEMPLATE([CONFIG_SMP], [Enable SMP support. With SMP support enabled, uniproc 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 diff --git a/tests/Makefile.am b/tests/Makefile.am index fdc82b1..748e770 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,5 +1,5 @@ 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 \ diff --git a/urcu/arch_ppc.h b/urcu/arch_ppc.h index 40a4359..2f9460b 100644 --- a/urcu/arch_ppc.h +++ b/urcu/arch_ppc.h @@ -23,7 +23,7 @@ */ #include -#include "config.h" +#include #define CONFIG_HAVE_FENCE 1 #define CONFIG_HAVE_MEM_COHERENCY diff --git a/urcu/arch_s390.h b/urcu/arch_s390.h index 1a43c6c..aec91b9 100644 --- a/urcu/arch_s390.h +++ b/urcu/arch_s390.h @@ -29,7 +29,7 @@ */ #include -#include "config.h" +#include #define CONFIG_HAVE_MEM_COHERENCY diff --git a/urcu/arch_x86.h b/urcu/arch_x86.h index 7d3d76d..a72ef06 100644 --- a/urcu/arch_x86.h +++ b/urcu/arch_x86.h @@ -23,7 +23,7 @@ */ #include -#include "config.h" +#include #define CONFIG_HAVE_MEM_COHERENCY