X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=configure.ac;h=4d0c7f4131dfcaadcaa679e70c4bde421de0704f;hp=6bf1cb928c3626aa258d7ab776343db31383bec7;hb=1de4df4b770e5e90440008becc5e14a15c75c6e0;hpb=fe999c058bf1c1595890e9d71aacc6decc64bb49 diff --git a/configure.ac b/configure.ac index 6bf1cb9..4d0c7f4 100644 --- a/configure.ac +++ b/configure.ac @@ -2,11 +2,11 @@ # Process this file with autoconf to produce a configure script. -AC_INIT([userspace-rcu],[0.6.7],[mathieu dot desnoyers at efficios dot com]) +AC_INIT([userspace-rcu],[0.7.4],[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 -AC_SUBST([URCU_LIBRARY_VERSION], [1:0:0]) +AC_SUBST([URCU_LIBRARY_VERSION], [2:0:0]) AC_CONFIG_AUX_DIR([config]) AC_CONFIG_MACRO_DIR([config]) @@ -15,6 +15,8 @@ AC_CANONICAL_HOST AM_INIT_AUTOMAKE([foreign dist-bzip2 no-dist-gzip]) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) +m4_include([config/ax_tls.m4]) + AC_CONFIG_SRCDIR([urcu.h]) AC_CONFIG_HEADERS([config.h urcu/config.h]) @@ -24,6 +26,9 @@ AH_TEMPLATE([CONFIG_RCU_HAVE_FENCE], [Defined when on a system that has memory f AH_TEMPLATE([CONFIG_RCU_HAVE_FUTEX], [Defined when on a system with futex support.]) AH_TEMPLATE([CONFIG_RCU_COMPAT_ARCH], [Compatibility mode for i386 which lacks cmpxchg instruction.]) AH_TEMPLATE([CONFIG_RCU_ARM_HAVE_DMB], [Use the dmb instruction if available for use on ARM.]) +AH_TEMPLATE([CONFIG_RCU_TLS], [TLS provided by the compiler.]) + +AX_TLS(AC_DEFINE_UNQUOTED([CONFIG_RCU_TLS], $ac_cv_tls), [:]) # Checks for programs. AC_PROG_CC @@ -58,6 +63,7 @@ AS_CASE([$host_cpu], [alpha*], [ARCHTYPE="alpha"], [ia64], [ARCHTYPE="gcc"], [arm*], [ARCHTYPE="arm"], + [mips*], [ARCHTYPE="mips"], [ARCHTYPE="unknown"] )