projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
centralize definition of BITS_PER_LONG
[urcu.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index 1ce19d0c51b6fbc56ec0a019e3c60cecb2899d57..e33e82131acbd60995bf2c08e2a283fd69a5f254 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-54,11
+54,13
@@
case $host_cpu in
*) ARCHTYPE="unknown";;
esac
*) 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
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
if test "x$ARCHTYPE" != xx86 -a "x$ARCHTYPE" != xppc; then
APISRC=tests/api_gcc.h
else
This page took
0.024605 seconds
and
4
git commands to generate.