summaryrefslogtreecommitdiff
path: root/ltoptions.m4
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-03-26 18:00:03 +0000
committerMike Frysinger <vapier@gentoo.org>2013-03-26 18:00:03 +0000
commitad39e0ec36b790b5a89561020696bbd6a710ccd2 (patch)
tree85794634944fd2a89c0efb71c146001575826b83 /ltoptions.m4
parent65d3c8db4b5e4607207ff13b78eb2abcc2142a3c (diff)
downloadgdb-ad39e0ec36b790b5a89561020696bbd6a710ccd2.tar.gz
sim: rewrite SIM_AC_OPTION_HARDWARE a bit to simplify things
There's no need to put the majority of the logic into the 3rd arg of the AC_ARG_ENABLE. Coupled with the lack of indentation, it makes it hard to follow, error prone to update, and duplicates code (with the 4th arg). So pull the logic out of the 3rd arg and outside of the AC_ARG_ENABLE macro. This allows us to gut the 4th arg entirely, merge with the code that followed the macro, and fix bugs related to the new dv-sockser in the process. Hopefully building the various sims with the default sim-hardware settings, as well as with explicit --{dis,en}able-sim-hardware flags, should all just work now.
Diffstat (limited to 'ltoptions.m4')
0 files changed, 0 insertions, 0 deletions