sim: fix sim-hardware configure option
authorMike Frysinger <vapier@gentoo.org>
Tue, 24 Mar 2015 02:19:41 +0000 (22:19 -0400)
committerMike Frysinger <vapier@gentoo.org>
Tue, 24 Mar 2015 04:13:57 +0000 (00:13 -0400)
commit30452bbe7e68581cdb0cd5004e6c4d4d5c9536e8
treea52d39c1a9b5466475a60418a6ca495a74307cf2
parent64dd13dfc267b1d13f42519f220e89a4386591fd
sim: fix sim-hardware configure option

The current default handling for the --enable-sim-hardware option ends up
forcing the value to whatever is set as the first argument when calling
the macro (by virtue of how autoconf works).  Relocate the setup code to
the 4th parameter of the AC_ARG_ENABLE macro to fix it.

This was caused by the simplification work in 1517bd274290e06af498ef7e49.

Reported-by: Hans-Peter Nilsson <hans-peter.nilsson@axis.com>
22 files changed:
sim/bfin/ChangeLog
sim/bfin/configure
sim/common/ChangeLog
sim/common/acinclude.m4
sim/cris/ChangeLog
sim/cris/configure
sim/frv/ChangeLog
sim/frv/configure
sim/iq2000/ChangeLog
sim/iq2000/configure
sim/lm32/ChangeLog
sim/lm32/configure
sim/m32r/ChangeLog
sim/m32r/configure
sim/m68hc11/ChangeLog
sim/m68hc11/configure
sim/mips/ChangeLog
sim/mips/configure
sim/mn10300/ChangeLog
sim/mn10300/configure
sim/sh64/ChangeLog
sim/sh64/configure