diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2015-03-17 00:19:25 +0000 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2015-03-17 22:37:02 +0000 |
commit | 0e4d5a3a460fd00358132fd4b2391a093c5fe8dd (patch) | |
tree | 67a4551c8c3b265696daaed94d4ecf4f41e0768e /nouveau | |
parent | ffb1e285306ae58f2861debb615047ca384710ba (diff) |
configure.ac: fix host_cpu/atomics detection
Previous code was busted, as it wasn't checking directly for what it was
meant to, and at the end changing the user's selection if host_cpu
heuristics were involved.
Simplify things by adding a macro that does the long message printing
for us, and check for only what we need.
This fixes commit 36cff14bb03(configure: omap, freedreno and tegra
require atomics) which incorrectly assumed that the code was working
fine, and effectively made impossible to enable freedreno due to it's
host_cpu detection.
Cc: Rob Clark <robdclark@gmail.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'nouveau')
0 files changed, 0 insertions, 0 deletions