autoconf: Use `uname -p` instead of $HOST_CPU for ctf tools 75/13275/4
authorMarcio Barbosa <mbarbosa@sinenomine.net>
Mon, 10 Sep 2018 18:14:55 +0000 (18:14 +0000)
committerBenjamin Kaduk <kaduk@mit.edu>
Fri, 14 Sep 2018 13:17:31 +0000 (09:17 -0400)
commit93fd6d31ce441c5ab394f31355584d17ef6e455a
treea2b3f779197c67965a98ebe2bf3acb60a55a12d6
parentfa55a3fe77b4adfce4071fe73f02687e65d4e027
autoconf: Use `uname -p` instead of $HOST_CPU for ctf tools

Currently, we check if the ctf tools are present searching for them in
a few directories. One of these directories (/opt/onbld/bin/$HOST_CPU) looks at
the $HOST_CPU variable, which on x86 can be 'x86_64' or 'i386', but the only
valid directories for the onbld tools are 'i386' and 'sparc'. So instead of
$HOST_CPU, just use $(uname -p), which is only ever 'i386' on x86, and 'sparc'
on sparc.

[adeason@sinenomine.net: reword commit message]

Change-Id: I972cf1cc0dda81f5ee454b14ddbe2830c82c838d
Reviewed-on: https://gerrit.openafs.org/13275
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
src/cf/ctf-tools.m4