/* Define if subproject MCPPBS_SPROJ_NORM is enabled */
#undef SPIKE_MAIN_ENABLED
+/* Defined to 1 if SimpleV support is wanted */
+#undef SPIKE_SIMPLEV
+
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
ac_user_opts='
enable_option_checking
enable_stow
+enable_simplev
enable_optional_subprojects
with_isa
with_fesvr
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--enable-stow Enable stow-based install
+ --disable-simplev Support for SimpleV (default enabled)
--enable-optional-subprojects
Enable all optional subprojects
--enable-commitlog Enable commit log generation
CXXFLAGS="-Wall -Wno-unused -g -O2 -std=c++11"
+#-------------------------------------------------------------------------
+# Enable Simple-V
+#-------------------------------------------------------------------------
+
+simplev="no"
+
+# Check whether --enable-simplev was given.
+if test "${enable_simplev+set}" = set; then :
+ enableval=$enable_simplev; simplev=$enableval
+else
+ simplev=yes
+
+fi
+
+if test "x$simplev" = xyes; then
+
+$as_echo "#define SPIKE_SIMPLEV 1" >>confdefs.h
+
+fi
+AM_CONDITIONAL(HAS_SIMPLEV, test x$simplev = xyes)
+
#-------------------------------------------------------------------------
# MCPPBS subproject list
#-------------------------------------------------------------------------
AC_SUBST([CFLAGS], ["-Wall -Wno-unused -g -O2"])
AC_SUBST([CXXFLAGS],["-Wall -Wno-unused -g -O2 -std=c++11"])
+#-------------------------------------------------------------------------
+# Enable Simple-V
+#-------------------------------------------------------------------------
+
+simplev="no"
+
+AC_ARG_ENABLE([simplev],
+ [AC_HELP_STRING([--disable-simplev],[Support for SimpleV (default enabled)])],
+ [simplev=$enableval],
+ [simplev=yes]
+ )
+if test "x$simplev" = xyes; then
+ AC_DEFINE([SPIKE_SIMPLEV], [1], [Defined to 1 if SimpleV support is wanted])
+fi
+AM_CONDITIONAL([HAS_SIMPLEV], [test x$simplev = xyes])
+
#-------------------------------------------------------------------------
# MCPPBS subproject list
#-------------------------------------------------------------------------