Author: toshok
Date: 2008-02-05 12:15:53 -0500 (Tue, 05 Feb 2008)
New Revision: 94904

Modified:
   trunk/moon/ChangeLog
   trunk/moon/configure.ac
   trunk/moon/plugin/ChangeLog
   trunk/moon/plugin/moonlight.h
Log:
in .:
2007-12-10  Chris Toshok  <[EMAIL PROTECTED]>

        * configure.ac: add debug support stuff.

in plugin/:
2008-02-05  Chris Toshok  <[EMAIL PROTECTED]>

        * moonlight.h: don't #define DEBUG here.  it's a config.h deal.



Modified: trunk/moon/ChangeLog
===================================================================
--- trunk/moon/ChangeLog        2008-02-05 16:27:12 UTC (rev 94903)
+++ trunk/moon/ChangeLog        2008-02-05 17:15:53 UTC (rev 94904)
@@ -1,3 +1,7 @@
+2007-12-10  Chris Toshok  <[EMAIL PROTECTED]>
+
+       * configure.ac: add debug support stuff.
+       
 2008-01-29  Andrew Jorgensen  <[EMAIL PROTECTED]>
 
        * pixman, cairo: Synced with vendor branches following procedure 
outlined at

Modified: trunk/moon/configure.ac
===================================================================
--- trunk/moon/configure.ac     2008-02-05 16:27:12 UTC (rev 94903)
+++ trunk/moon/configure.ac     2008-02-05 17:15:53 UTC (rev 94904)
@@ -9,6 +9,11 @@
 AC_DISABLE_STATIC
 AC_PROG_LIBTOOL
 
+# from berkman the genius
+changequote(,)dnl
+LIBTOOL="${LIBTOOL} \$(shell echo \"\$(MFLAGS)\" | awk '/^[^ ]*s/ { print 
\"--silent\" }')"
+changequote([,])dnl
+
 PKG_PROG_PKG_CONFIG
 
 AC_DEFINE(__STDC_CONSTANT_MACROS,[],[To make avformat work with C++])
@@ -58,6 +63,23 @@
 fi
 
 #
+# Debugging support
+#
+
+DEBUG=yes
+AC_ARG_WITH(debug, [ --with-debug=yes,no.   If you want to enable debug 
support (default=yes)],[
+       if test x$with_ffmpeg = xyes; then
+               DEBUG=yes
+       fi
+       if test x$with_ffmpeg = xno; then
+               DEBUG=no
+       fi
+])
+if test x$DEBUG = xyes; then
+AC_DEFINE([DEBUG], [1], [Include debugging support])
+fi
+
+#
 # Check for ffmpeg
 #
 

Modified: trunk/moon/plugin/ChangeLog
===================================================================
--- trunk/moon/plugin/ChangeLog 2008-02-05 16:27:12 UTC (rev 94903)
+++ trunk/moon/plugin/ChangeLog 2008-02-05 17:15:53 UTC (rev 94904)
@@ -1,3 +1,7 @@
+2008-02-05  Chris Toshok  <[EMAIL PROTECTED]>
+
+       * moonlight.h: don't #define DEBUG here.  it's a config.h deal.
+
 2008-02-04  Jackson Harper  <[EMAIL PROTECTED]>
 
        * plugin-class.cpp: Fix some of the parameter checking to match

Modified: trunk/moon/plugin/moonlight.h
===================================================================
--- trunk/moon/plugin/moonlight.h       2008-02-05 16:27:12 UTC (rev 94903)
+++ trunk/moon/plugin/moonlight.h       2008-02-05 17:15:53 UTC (rev 94904)
@@ -31,9 +31,6 @@
 
 #include "libmoon.h"
 
-// Definitions
-#define DEBUG
-
 // Plugin information
 #define PLUGIN_NAME         "Silverlight Plug-In"
 #define PLUGIN_VERSION      "0.99.0"

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to