sim: drop configure scripts for simple ports
[deliverable/binutils-gdb.git] / sim / rx / configure.ac
CommitLineData
4f8d4a38
DD
1dnl Process this file with autoconf to produce a configure script.
2
3666a048 3dnl Copyright (C) 2005-2021 Free Software Foundation, Inc.
4f8d4a38
DD
4dnl Contributed by Red Hat, Inc.
5dnl
6dnl This file is part of the GNU simulators.
7dnl
8dnl This program is free software; you can redistribute it and/or modify
9dnl it under the terms of the GNU General Public License as published by
10dnl the Free Software Foundation; either version 3 of the License, or
11dnl (at your option) any later version.
12dnl
13dnl This program is distributed in the hope that it will be useful,
14dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
15dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16dnl GNU General Public License for more details.
17dnl
18dnl You should have received a copy of the GNU General Public License
19dnl along with this program. If not, see <http://www.gnu.org/licenses/>.
20dnl
4f8d4a38 21AC_INIT(Makefile.in)
760b3e8b 22AC_CONFIG_MACRO_DIRS([../m4 ../.. ../../config])
4f8d4a38 23
4488e43c
MF
24AC_MSG_CHECKING([whether sim rx should be cycle accurate])
25AC_ARG_ENABLE(sim-rx-cycle-accurate,
26[AS_HELP_STRING([--disable-sim-rx-cycle-accurate],
8d0978fb 27 [Disable cycle accurate simulation (faster runtime)])],
93378652
DD
28[case "${enableval}" in
29yes | no) ;;
4488e43c 30*) AC_MSG_ERROR(bad value ${enableval} given for --enable-sim-rx-cycle-accurate option) ;;
93378652 31esac])
4488e43c
MF
32if test "x${enable_sim_rx_cycle_accurate}" != xno; then
33 sim_rx_cycle_accurate_flags="-DCYCLE_ACCURATE"
34 AC_MSG_RESULT([yes])
35else
36 AC_MSG_RESULT([no])
93378652 37fi
4488e43c 38AC_SUBST(sim_rx_cycle_accurate_flags)
93378652 39
4f8d4a38 40SIM_AC_OUTPUT
This page took 0.625571 seconds and 4 git commands to generate.