Added PC histogram option.
[riscv-isa-sim.git] / configure
index 4a1bf3d334984b7e7e8c383d951d7d666204e108..6eae9bf0d92c3171516d931347f978f082358b3a 100755 (executable)
--- a/configure
+++ b/configure
@@ -650,6 +650,7 @@ with_fesvr
 enable_fpu
 enable_64bit
 enable_commitlog
+enable_histogram
 '
       ac_precious_vars='build_alias
 host_alias
@@ -1286,6 +1287,7 @@ Optional Features:
   --disable-fpu           Disable floating-point
   --disable-64bit         Disable 64-bit mode
   --enable-commitlog      Enable commit log generation
+  --enable-histogram      Enable PC histogram generation
 
 Optional Packages:
   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
@@ -4214,6 +4216,19 @@ if test "x$enable_commitlog" = "xyes"; then :
 $as_echo "#define RISCV_ENABLE_COMMITLOG /**/" >>confdefs.h
 
 
+fi
+
+# Check whether --enable-histogram was given.
+if test "${enable_histogram+set}" = set; then :
+  enableval=$enable_histogram;
+fi
+
+if test "x$enable_histogram" = "xyes"; then :
+
+
+$as_echo "#define RISCV_ENABLE_HISTOGRAM /**/" >>confdefs.h
+
+
 fi