This patch allow to the builder to include the advanced info panel
in the binary file.
---
 configure.ac     | 8 ++++++++
 src/wconfig.h.in | 2 --
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 3224f6a..2b01a47 100644
--- a/configure.ac
+++ b/configure.ac
@@ -757,6 +757,14 @@ if test "$enableval" = yes; then
 fi
 )
 
+dnl Advanced info panel
+dnl ===============
+AC_ARG_ENABLE(advinfopanel, AS_HELP_STRING([--enable-advinfopanel], [enable 
advanced info panel]),
+if test "$enableval" = yes; then
+       AC_DEFINE(SILLYNESS, 1, [define if you want advanced info panel])
+fi
+)
+
 gl_LD_VERSION_SCRIPT
 
 AC_OUTPUT(Makefile po/Makefile util/Makefile util/po/Makefile test/Makefile \
diff --git a/src/wconfig.h.in b/src/wconfig.h.in
index 9f9c426..f444a19 100644
--- a/src/wconfig.h.in
+++ b/src/wconfig.h.in
@@ -97,8 +97,6 @@
  */
 #undef IGNORE_PPOSITION
 
-#define SILLYNESS
-
 /*
  * The following options WILL NOT BE MADE RUN-TIME. Please do not request.
  * They will only add unneeded bloat.
-- 
1.8.5.2


-- 
To unsubscribe, send mail to [email protected].

Reply via email to