X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=configure.ac;h=95dfa78a8e2c591fb627dbd11c7122f052bbfe71;hb=refs%2Fheads%2Fstable-0.8;hp=1f41cf3205c409d50f3afa79f88d6ce7115b94fd;hpb=6303a62a6f1d8879b64986328a6c4d051c919b77;p=userspace-rcu.git diff --git a/configure.ac b/configure.ac index 1f41cf3..95dfa78 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. -AC_INIT([userspace-rcu],[0.8.9],[mathieu dot desnoyers at efficios dot com]) +AC_INIT([userspace-rcu],[0.8.11],[mathieu dot desnoyers at efficios dot com]) # Following the numbering scheme proposed by libtool for the library version # http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html @@ -97,7 +97,7 @@ AS_IF([test "x$SUBARCHTYPE" = xx86compat],[ ]) AS_IF([test "$host_cpu" = "armv7l"],[ - CFLAGS="$CFLAGS -mcpu=cortex-a9 -mtune=cortex-a9 -O1" + AM_CFLAGS="$AM_CFLAGS -mcpu=cortex-a9 -mtune=cortex-a9 -O1" ]) # ARM-specific checks @@ -205,8 +205,8 @@ AS_IF([test "x$def_smp_support" = "xyes"], [AC_DEFINE([CONFIG_RCU_SMP], [1])]) # Since we define _GNU_SOURCE in the sources, must do so too in the # autoconf tests, as defining _GNU_SOURCE or not exposes # sched_setaffinity bits differently. -saved_CFLAGS=$CFLAGS -CFLAGS="$CFLAGS -D_GNU_SOURCE" +saved_CFLAGS="$CFLAGS" +CFLAGS="$CFLAGS $AM_CFLAGS -D_GNU_SOURCE" AC_CHECK_TYPES([cpu_set_t], [have_cpu_set_t="yes"], @@ -287,6 +287,7 @@ AC_CHECK_FUNCS([sched_setaffinity],[ ]) CFLAGS=$saved_CFLAGS +AC_SUBST(AM_CFLAGS) AC_CONFIG_LINKS([ urcu/arch.h:$ARCHSRC