From 397d46f9779ee3b529d098c4eb9197a299b1b8e7 Mon Sep 17 00:00:00 2001 From: pnenzi Date: Sat, 23 Aug 2003 19:44:55 +0000 Subject: [PATCH] Added PZDEBUG symbol. This triggers the debug code of pole zero analysis. --- acconfig.h | 3 +++ configure.in | 10 +++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/acconfig.h b/acconfig.h index db94477cb..84bc5306d 100644 --- a/acconfig.h +++ b/acconfig.h @@ -50,6 +50,9 @@ /* We do not want spurios debug info into non-developer code */ #undef FTEDEBUG +/* Define if you want to debug pole-zero analysis */ +#undef PZDEBUG + /* Do not trigger unwanted traps by default */ #undef NEWTRUNC diff --git a/configure.in b/configure.in index f42e8e4cd..097d541bb 100644 --- a/configure.in +++ b/configure.in @@ -69,7 +69,11 @@ AC_ARG_ENABLE(sensedebug, dnl --enable-stepdebug : define STEPDEBUG for the code AC_ARG_ENABLE(stepdebug, - [ --enable-stepdebug Unkown debug option]) + [ --enable-stepdebug Unknown debug option]) + +dnl --enable-pzdebug : define PZDEBUG for the code +AC_ARG_ENABLE(pzdebug, + [ --enable-pzdebug Debug pole/zero code]) dnl --enable-intnoise : define INT_NOISE for the code AC_ARG_ENABLE(intnoise, @@ -366,6 +370,10 @@ if test "$enable_stepdebug" = "yes"; then AC_DEFINE(STEPDEBUG) AC_MSG_RESULT(WARNING: STEPDEBUG debug is enabled) fi +if test "$enable_pzdebug" = "yes"; then + AC_DEFINE(PZDEBUG) + AC_MSG_RESULT(WARNING: Pole/Zero analysis debug is enabled) +fi if test "$enable_ekv" = "yes"; then AC_MSG_RESULT(Model EKV included)