--- a/configure Thu Apr 17 11:01:29 2008 +0000 +++ b/configure Sun May 25 20:59:29 2008 +0000 @@ -1375,6 +1375,7 @@ performance) --enable-watch Enable watchpoints in the debugger (warning: hurts performance) + --enable-sh4stats Enable statistics on executed sh4 instructions Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] @@ -5734,6 +5735,17 @@ fi fi +# Check whether --enable-sh4stats was given. +if test "${enable_sh4stats+set}" = set; then + enableval=$enable_sh4stats; if test "$enableval" == "yes"; then + +cat >>confdefs.h <<\_ACEOF +#define ENABLE_SH4STATS 1 +_ACEOF + + fi +fi + # Check whether --with-osmesa was given. if test "${with_osmesa+set}" = set; then