Author: mhabersack
Date: 2007-03-30 02:30:49 -0500 (Fri, 30 Mar 2007)
New Revision: 75179
Modified:
trunk/xsp/ChangeLog
trunk/xsp/configure.in
trunk/xsp/src/Makefile.am
trunk/xsp/src/Mono.WebServer/Makefile.am
Log:
2007-03-30 Marek Habersack <[EMAIL PROTECTED]>
* src/Mono.WebServer/Makefile.am (MCSFLAGS): support tracing if
enabled.
* src/Makefile.am (MCSFLAGS): support tracing if enabled
* configure.in: add a parameter to enable conditional tracing.
Modified: trunk/xsp/ChangeLog
===================================================================
--- trunk/xsp/ChangeLog 2007-03-30 05:38:33 UTC (rev 75178)
+++ trunk/xsp/ChangeLog 2007-03-30 07:30:49 UTC (rev 75179)
@@ -1,3 +1,12 @@
+2007-03-30 Marek Habersack <[EMAIL PROTECTED]>
+
+ * src/Mono.WebServer/Makefile.am (MCSFLAGS): support tracing if
+ enabled.
+
+ * src/Makefile.am (MCSFLAGS): support tracing if enabled
+
+ * configure.in: add a parameter to enable conditional tracing.
+
2007-03-29 Miguel de Icaza <[EMAIL PROTECTED]>
* src/ModMonoApplicationHost.cs: Do not try to call Close on a
Modified: trunk/xsp/configure.in
===================================================================
--- trunk/xsp/configure.in 2007-03-30 05:38:33 UTC (rev 75178)
+++ trunk/xsp/configure.in 2007-03-30 07:30:49 UTC (rev 75179)
@@ -11,6 +11,23 @@
AC_MSG_ERROR([You need to install pkg-config])
fi
+#
+# --enable-tracing
+#
+AC_MSG_CHECKING([if tracing is requested])
+AC_ARG_ENABLE([tracing],
+ AC_HELP_STRING([--enable-tracing],[enable producing XSP tracing messages]),
+ [enable_tracing=$withval],
+ [enable_tracing=no])
+
+if test "x$enable_tracing" != "xno" ; then
+ AC_MSG_RESULT([yes])
+ WEBTRACING="-define:WEBTRACE"
+else
+ AC_MSG_RESULT([no])
+ WEBTRACING=""
+fi
+
AC_PATH_PROG(CSC, csc, no)
AC_PATH_PROG(MCS, mcs, no)
AC_PATH_PROG(GMCS, gmcs, no)
@@ -58,6 +75,7 @@
GACUTIL_FLAGS='-root $(DESTDIR)$(prefix)/lib'
+AC_SUBST(WEBTRACING)
AC_SUBST(MCS)
AC_SUBST(GMCS)
AC_SUBST(RUNTIME)
Modified: trunk/xsp/src/Makefile.am
===================================================================
--- trunk/xsp/src/Makefile.am 2007-03-30 05:38:33 UTC (rev 75178)
+++ trunk/xsp/src/Makefile.am 2007-03-30 07:30:49 UTC (rev 75179)
@@ -1,7 +1,7 @@
SUBDIRS=Mono.WebServer
builddir=$(top_builddir)/src
-MCSFLAGS= -debug+ -debug:full -nologo -nowarn:618
+MCSFLAGS= -debug+ -debug:full -nologo -nowarn:618 $(WEBTRACING)
xspdir = $(prefix)/lib/xsp/1.0
modmonoserverdir = $(prefix)/lib/xsp/1.0
Modified: trunk/xsp/src/Mono.WebServer/Makefile.am
===================================================================
--- trunk/xsp/src/Mono.WebServer/Makefile.am 2007-03-30 05:38:33 UTC (rev
75178)
+++ trunk/xsp/src/Mono.WebServer/Makefile.am 2007-03-30 07:30:49 UTC (rev
75179)
@@ -1,6 +1,6 @@
pkgconfigdir=$(libdir)/pkgconfig
builddir=$(top_builddir)/src/Mono.WebServer
-MCSFLAGS= -debug+ -debug:full -nologo -unsafe -nowarn:618
+MCSFLAGS= -debug+ -debug:full -nologo -unsafe -nowarn:618 $(WEBTRACING)
monowebserverdir = $(prefix)/lib/xsp/1.0
monowebserver2dir = $(prefix)/lib/xsp/2.0
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches