OLD | NEW |
1 dnl Process this file with autoconf to produce a configure script. | 1 dnl Process this file with autoconf to produce a configure script. |
2 | 2 |
3 dnl Copyright (C) 2005, 2007-2012 Free Software Foundation, Inc. | 3 dnl Copyright (C) 2005, 2007-2012 Free Software Foundation, Inc. |
4 dnl Contributed by Red Hat, Inc. | 4 dnl Contributed by Red Hat, Inc. |
5 dnl | 5 dnl |
6 dnl This file is part of the GNU simulators. | 6 dnl This file is part of the GNU simulators. |
7 dnl | 7 dnl |
8 dnl This program is free software; you can redistribute it and/or modify | 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 | 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 | 10 dnl the Free Software Foundation; either version 3 of the License, or |
(...skipping 26 matching lines...) Expand all Loading... |
37 [ --disable-cycle-stats ], | 37 [ --disable-cycle-stats ], |
38 [case "${enableval}" in | 38 [case "${enableval}" in |
39 yes | no) ;; | 39 yes | no) ;; |
40 *) AC_MSG_ERROR(bad value ${enableval} given for --enable-cycle-stats optio
n) ;; | 40 *) AC_MSG_ERROR(bad value ${enableval} given for --enable-cycle-stats optio
n) ;; |
41 esac]) | 41 esac]) |
42 | 42 |
43 echo enable_cycle_accurate is $enable_cycle_accurate | 43 echo enable_cycle_accurate is $enable_cycle_accurate |
44 echo enable_cycle_stats is $enable_cycle_stats | 44 echo enable_cycle_stats is $enable_cycle_stats |
45 | 45 |
46 if test "x${enable_cycle_accurate}" != xno; then | 46 if test "x${enable_cycle_accurate}" != xno; then |
47 AC_DEFINE([CYCLE_ACCURATE]) | 47 AC_DEFINE([CYCLE_ACCURATE], 1, [--enable-cycle-accurate]) |
48 | 48 |
49 if test "x${enable_cycle_stats}" != xno; then | 49 if test "x${enable_cycle_stats}" != xno; then |
50 AC_DEFINE([CYCLE_STATS]) | 50 AC_DEFINE([CYCLE_STATS], 1, [--enable-cycle-stats]) |
51 fi | 51 fi |
52 else | 52 else |
53 if test "x${enable_cycle_stats}" != xno; then | 53 if test "x${enable_cycle_stats}" != xno; then |
54 AC_ERROR([cycle-stats not available without cycle-accurate]) | 54 AC_ERROR([cycle-stats not available without cycle-accurate]) |
55 fi | 55 fi |
56 fi | 56 fi |
57 | 57 |
58 SIM_AC_OUTPUT | 58 SIM_AC_OUTPUT |
OLD | NEW |