+AC_ARG_ENABLE(activity-console,
+[ --enable-activity-console Gather and send extended statistics to the activity console],
+[enableval2=$enableval],
+[enableval2=no])
+if test $enableval2 = yes; then
+ ACTIVITY_ONLY=
+ AC_DEFINE(FEATURE_ACTIVITY_CONSOLE,1,
+ [ Enables sending statistics to the activity console. This is currently
+ experimental, and will require some porting work for a few more platforms. ])
+ else
+ ACTIVITY_ONLY=#
+fi
+AC_SUBST(ACTIVITY_ONLY)
+