X-Git-Url: https://git.lttng.org/?p=urcu.git;a=blobdiff_plain;f=configure.ac;h=34c713c1492bb7e338e390b9fecbffff78fbe961;hp=5aa343353ae806de28c22b024a6961fd2e73ab88;hb=f9f870e486f0177fd7d28b5b54a300879099875e;hpb=9a79c612003362a97217613b7906a4782977d373 diff --git a/configure.ac b/configure.ac index 5aa3433..34c713c 100644 --- a/configure.ac +++ b/configure.ac @@ -3,7 +3,7 @@ AC_INIT([userspace-rcu],[0.10.0-pre],[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], [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]) @@ -90,6 +90,8 @@ AS_IF([test "x$ax_cv___attribute__" = "xyes"], AX_PTHREAD(,[AC_MSG_ERROR([Could not configure pthreads support])]) +AM_CFLAGS="$AM_CFLAGS $PTHREAD_CFLAGS" + # Checks for library functions. AC_FUNC_MMAP AC_FUNC_FORK @@ -146,6 +148,7 @@ AS_CASE([$host_cpu], [nios2*], [ARCHTYPE="nios2"], [tile*], [ARCHTYPE="tile"], [hppa*], [ARCHTYPE="hppa"], + [m68k], [ARCHTYPE="m68k"], [ARCHTYPE="unknown"] ) @@ -367,6 +370,7 @@ AC_CHECK_FUNCS([sched_setaffinity],[ AM_CPPFLAGS="-include config.h" AC_SUBST(AM_CPPFLAGS) +AM_CFLAGS="-Wall $AM_CFLAGS" AC_SUBST(AM_CFLAGS) AC_CONFIG_LINKS([