Update copyright year range in header of all files managed by GDB
[binutils-gdb.git] / sim / riscv / acinclude.m4
blob22c8ac424c2c574d2583c4f4e736907b4b84c08b
1 dnl Copyright (C) 2022-2023 Free Software Foundation, Inc.
2 dnl
3 dnl This program is free software; you can redistribute it and/or modify
4 dnl it under the terms of the GNU General Public License as published by
5 dnl the Free Software Foundation; either version 3 of the License, or
6 dnl (at your option) any later version.
7 dnl
8 dnl This program is distributed in the hope that it will be useful,
9 dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
10 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11 dnl GNU General Public License for more details.
12 dnl
13 dnl You should have received a copy of the GNU General Public License
14 dnl along with this program.  If not, see <http://www.gnu.org/licenses/>.
15 dnl
16 dnl NB: This file is included in sim/configure, so keep settings namespaced.
17 AC_MSG_CHECKING([riscv bitsize])
18 SIM_RISCV_BITSIZE=64
19 AS_CASE([$target],
20         [riscv32*], [SIM_RISCV_BITSIZE=32])
21 AC_MSG_RESULT([$SIM_RISCV_BITSIZE])
22 AC_SUBST(SIM_RISCV_BITSIZE)