Add ia64 architecture based on gcc primitives
[urcu.git] / configure.ac
index ab6f3a2920f5a5d25676d30728c0da2f67b8b501..61a0d7613a9fb887d7bdd998b78f07e00a82c095 100644 (file)
@@ -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.4], [mathieu dot desnoyers at efficios dot com])
 AC_CONFIG_AUX_DIR([config])
 AC_CANONICAL_TARGET
 AC_CANONICAL_HOST
@@ -50,14 +50,18 @@ case $host_cpu in
        s390) ARCHTYPE="s390" ;;
        s390x) ARCHTYPE="s390" ;;
        sparc64) ARCHTYPE="sparc64" ;;
+       alpha*) ARCHTYPE="alpha" ;;
+       ia64) ARCHTYPE="gcc" ;;
        *) 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
This page took 0.022585 seconds and 4 git commands to generate.