AC_PREREQ(2.59)
-AC_INIT([userspace-rcu],[0.10.0-pre],[mathieu dot desnoyers at efficios dot com], [], [http://liburcu.org/])
+AC_INIT([userspace-rcu],[0.10.1],[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], [5:0:1])
+AC_SUBST([URCU_LIBRARY_VERSION], [6:0:0])
AC_CONFIG_HEADERS([include/config.h include/urcu/config.h])
AC_CONFIG_AUX_DIR([config])
[AC_MSG_ERROR([The compiler does not support __attribute__ extensions])])
AX_PTHREAD(,[AC_MSG_ERROR([Could not configure pthreads support])])
-LIBS="$PTHREAD_LIBS $LIBS"
-CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
-CC="$PTHREAD_CC"
+
+AM_CFLAGS="$AM_CFLAGS $PTHREAD_CFLAGS"
# Checks for library functions.
AC_FUNC_MMAP
[nios2*], [ARCHTYPE="nios2"],
[tile*], [ARCHTYPE="tile"],
[hppa*], [ARCHTYPE="hppa"],
+ [m68k], [ARCHTYPE="m68k"],
[ARCHTYPE="unknown"]
)
])
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
])
])
-DEFAULT_INCLUDES="-include config.h"
-AC_SUBST(DEFAULT_INCLUDES)
+AM_CPPFLAGS="-include config.h"
+AC_SUBST(AM_CPPFLAGS)
+
+AM_CFLAGS="-Wall $AM_CFLAGS"
+AC_SUBST(AM_CFLAGS)
AC_CONFIG_LINKS([
include/urcu/arch.h:$ARCHSRC