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