sim: rx: fix warnings with AC_DEFINE
This lets `autoheader` work again. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
ac0aacdffa
commit
abcee8fd25
2 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2012-03-22 Mike Frysinger <vapier@gentoo.org>
|
||||||
|
|
||||||
|
* configure.ac (CYCLE_ACCURATE): Add template with AC_DEFINE call.
|
||||||
|
(CYCLE_STATS): Likewise.
|
||||||
|
|
||||||
2012-03-02 Kevin Buettner <kevinb@redhat.com>
|
2012-03-02 Kevin Buettner <kevinb@redhat.com>
|
||||||
|
|
||||||
* load.h (rx_load): Add `callback' parameter to function prototype.
|
* load.h (rx_load): Add `callback' parameter to function prototype.
|
||||||
|
|
|
@ -44,10 +44,10 @@ echo enable_cycle_accurate is $enable_cycle_accurate
|
||||||
echo enable_cycle_stats is $enable_cycle_stats
|
echo enable_cycle_stats is $enable_cycle_stats
|
||||||
|
|
||||||
if test "x${enable_cycle_accurate}" != xno; then
|
if test "x${enable_cycle_accurate}" != xno; then
|
||||||
AC_DEFINE([CYCLE_ACCURATE])
|
AC_DEFINE([CYCLE_ACCURATE], 1, [--enable-cycle-accurate])
|
||||||
|
|
||||||
if test "x${enable_cycle_stats}" != xno; then
|
if test "x${enable_cycle_stats}" != xno; then
|
||||||
AC_DEFINE([CYCLE_STATS])
|
AC_DEFINE([CYCLE_STATS], 1, [--enable-cycle-stats])
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
if test "x${enable_cycle_stats}" != xno; then
|
if test "x${enable_cycle_stats}" != xno; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue