X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=configure.ac;h=f92240e02700a628a36b5f3e8e0f75953c08d75a;hp=1ce19d0c51b6fbc56ec0a019e3c60cecb2899d57;hb=0ecb3fde04135d76545ce55d80abea9aef465b54;hpb=6f9d9b49672c1b5d55e7937149c7ca692442bf4d diff --git a/configure.ac b/configure.ac index 1ce19d0..f92240e 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. -AC_INIT([userspace-rcu], [0.4.1], [mathieu dot desnoyers at efficios dot com]) +AC_INIT([userspace-rcu], [0.4.3], [mathieu dot desnoyers at efficios dot com]) AC_CONFIG_AUX_DIR([config]) AC_CANONICAL_TARGET AC_CANONICAL_HOST @@ -54,11 +54,13 @@ case $host_cpu in *) ARCHTYPE="unknown";; esac -if test "$ARCHTYPE" = "unknown"; then - AC_MSG_ERROR([Unable to detect the architecture.]) +if test "$ARCHTYPE" != "unknown"; then + UATOMICSRC=urcu/uatomic_arch_$ARCHTYPE.h + ARCHSRC=urcu/arch_$ARCHTYPE.h +else + UATOMICSRC=urcu/uatomic_generic.h + ARCHSRC=urcu/arch_generic.h fi -UATOMICSRC=urcu/uatomic_arch_$ARCHTYPE.h -ARCHSRC=urcu/arch_$ARCHTYPE.h if test "x$ARCHTYPE" != xx86 -a "x$ARCHTYPE" != xppc; then APISRC=tests/api_gcc.h else