* Make-common.in (SIM_ENVIRONMENT): New variable.
authorDoug Evans <dje@google.com>
Thu, 4 Dec 1997 02:04:42 +0000 (02:04 +0000)
committerDoug Evans <dje@google.com>
Thu, 4 Dec 1997 02:04:42 +0000 (02:04 +0000)
commit22469a10e8be365c0c85af41370cf5aa8e33bb51
treedf706e34cfa28efe48b78f89020e079b0f68ac2f
parentb65b4d8b06ade312280a913279d5501180c70992
* Make-common.in (SIM_ENVIRONMENT): New variable.
(CONFIG_CFLAGS): Add it.
* aclocal.m4 (SIM_AC_OPTION_ENVIRONMENT): Handle
--enable-sim-environment option.
* configure: Regenerated.
* sim-config.h (environment support): Rewrite.
* sim-config.c (current_environment): Define as enum, unconditionally.
(current_alignment): Define unconditionally.
(config_environment_to_a): Update.
(config_alignment_to_a): Fix type of argument.  Define unconditionally.
(sim_config): Handle environment and alignment determination
unconditionally.  Delete sanity checks of current_environment,
unnecessary.
(print_sim_config): Update.
* sim-options.c (STANDARD_OPTIONS enum): Add OPTION_ENVIRONMENT.
(standard_options): Add --environment.
(standard_option_handler): Likewise.
sim/common/ChangeLog
sim/common/Make-common.in
sim/common/sim-config.c
sim/common/sim-config.h
sim/common/sim-options.c