X-Git-Url: https://git.lttng.org/?p=urcu.git;a=blobdiff_plain;f=configure.ac;h=71a7d71f2dd86c634ce0112a8e0006d8206dbec8;hp=e7e300bd4f041793b1444e9be3fae7c47ffb50e3;hb=859050b3088aa3f0cb59d7f51ce24b9a0f18faa5;hpb=1ef9157035cd384b434cba9d9daeac293ccb7b9a diff --git a/configure.ac b/configure.ac index e7e300b..71a7d71 100644 --- a/configure.ac +++ b/configure.ac @@ -103,6 +103,7 @@ AC_CHECK_HEADERS([ \ # Find arch type AS_CASE([$host_cpu], + [k1om], [ARCHTYPE="x86"], [i386], [ARCHTYPE="x86" && SUBARCHTYPE="x86compat"], [i486], [ARCHTYPE="x86"], [i586], [ARCHTYPE="x86"], @@ -123,6 +124,7 @@ AS_CASE([$host_cpu], [arm*], [ARCHTYPE="arm"], [aarch64], [ARCHTYPE="aarch64"], [mips*], [ARCHTYPE="mips"], + [nios2*], [ARCHTYPE="nios2"], [tile*], [ARCHTYPE="tile"], [hppa*], [ARCHTYPE="hppa"], [ARCHTYPE="unknown"] @@ -189,7 +191,7 @@ AS_IF([test "x$ARCHTYPE" = "xx86"],[ # #k1om is the name for the Intel MIC family (Xeon Phi). It is an x86_64 #variant but lacks fence instructions. - AS_IF([test "x$host_cpu" != "xi386" -a "x$host_cpu" != "xi486" -a "x$host_cpu" != "xi586" -a "x$host_cpu" != "xi686" -a "x$host_vendor" != "xk1om"],[ + AS_IF([test "x$host_cpu" != "xi386" -a "x$host_cpu" != "xi486" -a "x$host_cpu" != "xi586" -a "x$host_cpu" != "xi686" -a "x$host_vendor" != "xk1om" -a "x$host_cpu" != "xk1om"],[ AC_MSG_RESULT([yes]) AC_DEFINE([CONFIG_RCU_HAVE_FENCE], [1]) ],[