You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sa...@apache.org on 2006/02/10 06:44:55 UTC

svn commit: r376566 - in /webservices/axis2/trunk/c: build.sh configure.ac

Author: samisa
Date: Thu Feb  9 21:44:54 2006
New Revision: 376566

URL: http://svn.apache.org/viewcvs?rev=376566&view=rev
Log:
now we have the configure option --enable-trace. by default this no.
added --enable-trace=yes to build.sh

Modified:
    webservices/axis2/trunk/c/build.sh
    webservices/axis2/trunk/c/configure.ac

Modified: webservices/axis2/trunk/c/build.sh
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/build.sh?rev=376566&r1=376565&r2=376566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/build.sh (original)
+++ webservices/axis2/trunk/c/build.sh Thu Feb  9 21:44:54 2006
@@ -1,6 +1,6 @@
 #!/bin/bash
 ./autogen.sh
 AXIS2C_HOME=`pwd`/deploy
-./configure --prefix=${AXIS2C_HOME} --enable-tests=yes --enable-samples=yes
+./configure --prefix=${AXIS2C_HOME} --enable-tests=yes --enable-samples=yes --enable-trace=yes
 make
 make install

Modified: webservices/axis2/trunk/c/configure.ac
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/configure.ac?rev=376566&r1=376565&r2=376566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/configure.ac (original)
+++ webservices/axis2/trunk/c/configure.ac Thu Feb  9 21:44:54 2006
@@ -112,6 +112,22 @@
   SAMPLES=""
 )
 
+AC_MSG_CHECKING(whether to enable trace)
+AC_ARG_ENABLE(tests, [  --enable-trace    enable trace. default=no],
+[ case "${enableval}" in
+  no)
+    AC_MSG_RESULT(no)
+    CFLAGS=""
+    ;;
+  *)
+    AC_MSG_RESULT(yes)
+    CFLAGS="$CFLAGS -DAXIS2_TRACE"
+    ;;
+  esac ],
+  AC_MSG_RESULT(no)
+  CFLAGS=""
+)
+
 PKG_CHECK_MODULES(XML2, libxml-2.0)
 AC_SUBST(XML2_CFLAGS)
 AC_SUBST(XML2_LIBS)