Also skip BFD_PLUGIN when setting stack_flags.
[deliverable/binutils-gdb.git] / sim / rx / configure.in
... / ...
CommitLineData
1dnl Process this file with autoconf to produce a configure script.
2
3dnl Copyright (C) 2005, 2007, 2008, 2009, 2010, 2011
4Free Software Foundation, Inc.
5dnl Contributed by Red Hat, Inc.
6dnl
7dnl This file is part of the GNU simulators.
8dnl
9dnl This program is free software; you can redistribute it and/or modify
10dnl it under the terms of the GNU General Public License as published by
11dnl the Free Software Foundation; either version 3 of the License, or
12dnl (at your option) any later version.
13dnl
14dnl This program is distributed in the hope that it will be useful,
15dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
16dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17dnl GNU General Public License for more details.
18dnl
19dnl You should have received a copy of the GNU General Public License
20dnl along with this program. If not, see <http://www.gnu.org/licenses/>.
21dnl
22AC_PREREQ(2.5)dnl
23AC_INIT(Makefile.in)
24AC_CONFIG_HEADER(config.h:config.in)
25AC_CHECK_HEADERS(getopt.h)
26
27sinclude(../common/aclocal.m4)
28
29AC_ARG_ENABLE(cycle-accurate,
30[ --disable-cycle-accurate ],
31[case "${enableval}" in
32yes | no) ;;
33*) AC_MSG_ERROR(bad value ${enableval} given for --enable-cycle-accurate option) ;;
34esac])
35
36AC_ARG_ENABLE(cycle-stats,
37[ --disable-cycle-stats ],
38[case "${enableval}" in
39yes | no) ;;
40*) AC_MSG_ERROR(bad value ${enableval} given for --enable-cycle-stats option) ;;
41esac])
42
43echo enable_cycle_accurate is $enable_cycle_accurate
44echo enable_cycle_stats is $enable_cycle_stats
45
46if test "x${enable_cycle_accurate}" != xno; then
47AC_DEFINE([CYCLE_ACCURATE])
48
49 if test "x${enable_cycle_stats}" != xno; then
50 AC_DEFINE([CYCLE_STATS])
51 fi
52else
53 if test "x${enable_cycle_stats}" != xno; then
54 AC_ERROR([cycle-stats not available without cycle-accurate])
55 fi
56fi
57
58
59# Bugs in autoconf 2.59 break the call to SIM_AC_COMMON, hack around
60# it by inlining the macro's contents.
61sinclude(../common/common.m4)
62
63SIM_AC_OUTPUT
This page took 0.025561 seconds and 4 git commands to generate.