X-Git-Url: https://git.lttng.org/?p=urcu.git;a=blobdiff_plain;f=configure.ac;h=df3fb7ce2d9ff3ba831c4428025f6c1dde4ba927;hp=017da5a552508718201642785f0fb9d1b0c80450;hb=5b46e39d0e4d2592853c7bfc11add02b1101c04b;hpb=d7c76f85442125bcfef40f58b1c6fc1bd5ce4ffd diff --git a/configure.ac b/configure.ac index 017da5a..df3fb7c 100644 --- a/configure.ac +++ b/configure.ac @@ -1,9 +1,9 @@ AC_PREREQ(2.59) -AC_INIT([userspace-rcu],[0.11.0-pre],[mathieu dot desnoyers at efficios dot com], [], [http://liburcu.org/]) +AC_INIT([userspace-rcu],[0.11.0],[mathieu dot desnoyers at efficios dot com], [], [http://liburcu.org/]) # 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], [6:0:0]) +AC_SUBST([URCU_LIBRARY_VERSION], [7:0:1]) AC_CONFIG_HEADERS([include/config.h include/urcu/config.h]) AC_CONFIG_AUX_DIR([config]) @@ -12,7 +12,7 @@ AC_CONFIG_MACRO_DIR([m4]) AC_CANONICAL_TARGET AC_CANONICAL_HOST -AM_INIT_AUTOMAKE([foreign dist-bzip2 no-dist-gzip nostdinc]) +AM_INIT_AUTOMAKE([1.12 foreign dist-bzip2 no-dist-gzip nostdinc]) AM_MAINTAINER_MODE([enable]) # Enable silent rules if available (Introduced in AM 1.11) @@ -45,6 +45,11 @@ AC_ARG_ENABLE([compiler-tls], [def_compiler_tls=$enableval], [def_compiler_tls="yes"]) +# Checks for C compiler +AC_USE_SYSTEM_EXTENSIONS +AC_PROG_CC +AC_PROG_CC_STDC + # If not overridden, use ax_tls.m4 to check if TLS is available. AS_IF([test "x$def_compiler_tls" = "xyes"], [AX_TLS([def_tls_detect=$ac_cv_tls], [:])], @@ -54,11 +59,6 @@ AS_IF([test "x$def_tls_detect" = "x"], [:], [AC_DEFINE_UNQUOTED([CONFIG_RCU_TLS], $def_tls_detect)]) -# Checks for C compiler -AC_USE_SYSTEM_EXTENSIONS -AC_PROG_CC -AC_PROG_CC_STDC - # Checks for programs. AC_PROG_AWK AC_PROG_MAKE_SET @@ -332,7 +332,7 @@ AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ #include int main() { - cpu_set_t foo, mask; CPU_SET(0, &foo); + cpu_set_t foo; CPU_SET(0, &foo); return 0; } ]]) @@ -381,7 +381,7 @@ AC_CHECK_FUNCS([sched_setaffinity],[ AM_CPPFLAGS="-include config.h" AC_SUBST(AM_CPPFLAGS) -AM_CFLAGS="-Wall -Wextra -Wno-unused-parameter -Wno-sign-compare $AM_CFLAGS" +AM_CFLAGS="-Wall -Wextra -Wno-unused-parameter $AM_CFLAGS" AC_SUBST(AM_CFLAGS) AC_CONFIG_LINKS([