From: Mathieu Desnoyers Date: Wed, 17 Apr 2013 21:26:05 +0000 (-0400) Subject: Add "sparc" host cpu to configure.ac X-Git-Tag: v0.7.7~4 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=f2349708a5aa3999540805985eab63d2f4a661d9;p=userspace-rcu.git Add "sparc" host cpu to configure.ac Some sparc Debian setups advertise a "sparc" host cpu (rather than sparc64). In all cases, I think it should be safe to add a "sparc" entry to userspace RCU configure.ac upstream, e.g. [sparc], [ARCHTYPE="sparc64"], in the event someone would launch the build on an environment not supporting sparc v9, the build would fail because the 32-bit compiler would not be able to generate sparc v9 instructions (unless explicitely instructed to do so by the -m32 -Wa,-Av9a flags). Signed-off-by: Mathieu Desnoyers --- diff --git a/configure.ac b/configure.ac index be664fd..c6b16d5 100644 --- a/configure.ac +++ b/configure.ac @@ -72,6 +72,7 @@ AS_CASE([$host_cpu], [ppc], [ARCHTYPE="ppc"], [s390], [ARCHTYPE="s390"], [s390x], [ARCHTYPE="s390"], + [sparc], [ARCHTYPE="sparc64"], [sparc64], [ARCHTYPE="sparc64"], [alpha*], [ARCHTYPE="alpha"], [ia64], [ARCHTYPE="gcc"],