The new defaults mean that, for example, ia64 support comes for free.
[edit by Mathieu Desnoyers]
defaults -> generic
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
*) 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