[hipl-dev] [Branch ~hipl-core/hipl/trunk] Rev 5147: Remove completely unsused and near-empty --enable-demo configure option.

  • From: noreply@xxxxxxxxxxxxx
  • To: HIPL core team <hipl-dev@xxxxxxxxxxxxx>
  • Date: Fri, 12 Nov 2010 15:52:33 -0000

------------------------------------------------------------
revno: 5147
committer: Diego Biurrun <diego@xxxxxxxxxx>
branch nick: trunk
timestamp: Fri 2010-11-12 16:50:17 +0100
message:
  Remove completely unsused and near-empty --enable-demo configure option.
modified:
  configure.ac
  lib/core/debug.h
  tools/hipl_autobuild.sh


--
lp:hipl
https://code.launchpad.net/~hipl-core/hipl/trunk

Your team HIPL core team is subscribed to branch lp:hipl.
To unsubscribe from this branch go to 
https://code.launchpad.net/~hipl-core/hipl/trunk/+edit-subscription
=== modified file 'configure.ac'
--- configure.ac        2010-11-12 15:47:12 +0000
+++ configure.ac        2010-11-12 15:50:17 +0000
@@ -201,19 +201,6 @@
 fi
 AM_CONDITIONAL(HIP_PERFORMANCE, test x"$ac_cv_use_performance" = x"yes")
 
-AC_ARG_ENABLE(demo,
-               AS_HELP_STRING([--enable-demo],
-                              [Demo output (default is NO)]),
-               [ac_cv_use_demo=$enableval],
-               [ac_cv_use_demo=no])
-AC_CACHE_CHECK([whether to print output for demos],
-               [ac_cv_use_demo],
-               [ac_cv_use_demo=no])
-if test x"$ac_cv_use_demo" = x"yes"; then
-    AC_DEFINE(CONFIG_HIP_DEMO)
-    AH_TEMPLATE(CONFIG_HIP_DEMO, [Defined to 1 if demo is enabled.])
-fi
-
 AC_ARG_WITH(nomodules,
             AS_HELP_STRING([--with-nomodules=list],
                            [comma-separated list of disabled modules]))

=== modified file 'lib/core/debug.h'
--- lib/core/debug.h    2010-10-15 15:29:14 +0000
+++ lib/core/debug.h    2010-11-12 15:50:17 +0000
@@ -261,11 +261,6 @@
 #define HIP_DEBUG_GL(debug_group, debug_level, ...) do {} while (0)
 #endif
 
-#ifdef CONFIG_HIP_DEMO
-#define HIP_DEMO(...) printf(__VA_ARGS__);
-#else
-#define HIP_DEMO(...) do {} while (0)
-#endif
 /* @} */
 
 /* Debug groups define groups of debug messages which belong to the

=== modified file 'tools/hipl_autobuild.sh'
--- tools/hipl_autobuild.sh     2010-11-05 08:46:43 +0000
+++ tools/hipl_autobuild.sh     2010-11-12 15:50:17 +0000
@@ -143,10 +143,10 @@
 run_program "make -j check"
 
 # PISA configuration
-compile --enable-firewall --disable-rvs --disable-opportunistic 
--disable-profiling --enable-debug --enable-midauth --disable-performance 
--disable-demo
+compile --enable-firewall --disable-rvs --disable-opportunistic 
--disable-profiling --enable-debug --enable-midauth --disable-performance
 
 # Max compile coverage configuration
-FEATURES_ALL="--enable-firewall --enable-rvs --enable-opportunistic 
--enable-profiling --disable-debug --enable-midauth --enable-performance 
--enable-demo"
+FEATURES_ALL="--enable-firewall --enable-rvs --enable-opportunistic 
--enable-profiling --disable-debug --enable-midauth --enable-performance"
 compile $FEATURES_ALL
 
 # Max compile coverage configuration without optimization

Other related posts:

  • » [hipl-dev] [Branch ~hipl-core/hipl/trunk] Rev 5147: Remove completely unsused and near-empty --enable-demo configure option. - noreply