projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tests fix: add missing Cygwin thread id
[userspace-rcu.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index 52b20d841b3124a1ddc95b2b078be47ee89d0af9..ffab33c8799c508c0a3e6761079f01f0d24d7ec9 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-2,11
+2,11
@@
# Process this file with autoconf to produce a configure script.
# Process this file with autoconf to produce a configure script.
-AC_INIT([userspace-rcu],[0.
7.4
],[mathieu dot desnoyers at efficios dot com])
+AC_INIT([userspace-rcu],[0.
8.10
],[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
# 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], [
2:0:0
])
+AC_SUBST([URCU_LIBRARY_VERSION], [
3:0:1
])
AC_CONFIG_AUX_DIR([config])
AC_CONFIG_MACRO_DIR([config])
AC_CONFIG_AUX_DIR([config])
AC_CONFIG_MACRO_DIR([config])
@@
-54,10
+54,12
@@
AC_TYPE_PID_T
AC_TYPE_SIZE_T
# Checks for library functions.
AC_TYPE_SIZE_T
# Checks for library functions.
-AC_FUNC_MALLOC
AC_FUNC_MMAP
AC_CHECK_FUNCS([bzero gettimeofday munmap sched_getcpu strtoul sysconf])
AC_FUNC_MMAP
AC_CHECK_FUNCS([bzero gettimeofday munmap sched_getcpu strtoul sysconf])
+# AC_FUNC_MALLOC causes problems when cross-compiling.
+#AC_FUNC_MALLOC
+
# Find arch type
AS_CASE([$host_cpu],
[i386], [ARCHTYPE="x86" && SUBARCHTYPE="x86compat"],
# Find arch type
AS_CASE([$host_cpu],
[i386], [ARCHTYPE="x86" && SUBARCHTYPE="x86compat"],
@@
-69,6
+71,7
@@
AS_CASE([$host_cpu],
[powerpc], [ARCHTYPE="ppc"],
[ppc64], [ARCHTYPE="ppc"],
[powerpc64], [ARCHTYPE="ppc"],
[powerpc], [ARCHTYPE="ppc"],
[ppc64], [ARCHTYPE="ppc"],
[powerpc64], [ARCHTYPE="ppc"],
+ [powerpc64le], [ARCHTYPE="gcc"],
[ppc], [ARCHTYPE="ppc"],
[s390], [ARCHTYPE="s390"],
[s390x], [ARCHTYPE="s390"],
[ppc], [ARCHTYPE="ppc"],
[s390], [ARCHTYPE="s390"],
[s390x], [ARCHTYPE="s390"],
@@
-77,6
+80,7
@@
AS_CASE([$host_cpu],
[alpha*], [ARCHTYPE="alpha"],
[ia64], [ARCHTYPE="gcc"],
[arm*], [ARCHTYPE="arm"],
[alpha*], [ARCHTYPE="alpha"],
[ia64], [ARCHTYPE="gcc"],
[arm*], [ARCHTYPE="arm"],
+ [aarch64], [ARCHTYPE="gcc"],
[mips*], [ARCHTYPE="mips"],
[tile*], [ARCHTYPE="gcc"],
[ARCHTYPE="unknown"]
[mips*], [ARCHTYPE="mips"],
[tile*], [ARCHTYPE="gcc"],
[ARCHTYPE="unknown"]
@@
-93,7
+97,7
@@
AS_IF([test "x$SUBARCHTYPE" = xx86compat],[
])
AS_IF([test "$host_cpu" = "armv7l"],[
])
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
])
# ARM-specific checks
@@
-201,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.
# 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"],
AC_CHECK_TYPES([cpu_set_t],
[have_cpu_set_t="yes"],
@@
-283,6
+287,7
@@
AC_CHECK_FUNCS([sched_setaffinity],[
])
CFLAGS=$saved_CFLAGS
])
CFLAGS=$saved_CFLAGS
+AC_SUBST(AM_CFLAGS)
AC_CONFIG_LINKS([
urcu/arch.h:$ARCHSRC
AC_CONFIG_LINKS([
urcu/arch.h:$ARCHSRC
@@
-293,6
+298,10
@@
AC_CONFIG_FILES([
doc/Makefile
doc/examples/Makefile
tests/Makefile
doc/Makefile
doc/examples/Makefile
tests/Makefile
+ tests/common/Makefile
+ tests/unit/Makefile
+ tests/benchmark/Makefile
+ tests/regression/Makefile
liburcu.pc
liburcu-bp.pc
liburcu-cds.pc
liburcu.pc
liburcu-bp.pc
liburcu-cds.pc
This page took
0.025578 seconds
and
4
git commands to generate.