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