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 da...@apache.org on 2005/01/13 13:29:37 UTC

cvs commit: ws-axis/c/src/transport/axis3 Makefile.am

damitha     2005/01/13 04:29:37

  Modified:    c        configure.ac
               c/src/transport Makefile.am
               c/src/transport/axis2 Axis2Transport.cpp
               c/src/transport/axis3 Makefile.am
  Log:
  Made the axis3 build optional by
  configure --enable-axis3=yes/no by default it is no
  
  Revision  Changes    Path
  1.67      +18 -1     ws-axis/c/configure.ac
  
  Index: configure.ac
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/configure.ac,v
  retrieving revision 1.66
  retrieving revision 1.67
  diff -u -r1.66 -r1.67
  --- configure.ac	12 Jan 2005 11:57:21 -0000	1.66
  +++ configure.ac	13 Jan 2005 12:29:36 -0000	1.67
  @@ -94,6 +94,23 @@
     TSPPBUILD=""
   )
   
  +AC_MSG_CHECKING(whether to build axis3 client transport library)
  +AC_ARG_ENABLE(axis3, [  --enable-axis3    build axis3 client transport library. default=no],
  +[ case "${enableval}" in
  +  no)
  +    AC_MSG_RESULT(no)
  +    AXIS3BUILD=""
  +    ;;
  +  *)
  +    AC_MSG_RESULT(yes)
  +    AXIS3BUILD="axis3"
  +
  +    ;;
  +  esac ],
  +  AC_MSG_RESULT(no)
  +  AXIS3BUILD=""
  +)
  +
   AC_MSG_CHECKING(whether to build test cases)
   AC_ARG_ENABLE(testcases, [  --enable-testcases    build test cases. default=no],
   [ case "${enableval}" in
  @@ -228,7 +245,7 @@
   AC_SUBST(TESTCASESBUILD)
   AC_SUBST(CPPUNITBUILD)
   AC_SUBST(SAMPLESBUILD)
  -AC_SUBST(LIBWWWBUILD)
  +AC_SUBST(AXIS3BUILD)
   AC_SUBST(TSPPBUILD)
   AC_SUBST(SSLBUILD)
   
  
  
  
  1.10      +1 -1      ws-axis/c/src/transport/Makefile.am
  
  Index: Makefile.am
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/transport/Makefile.am,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- Makefile.am	12 Jan 2005 11:57:22 -0000	1.9
  +++ Makefile.am	13 Jan 2005 12:29:36 -0000	1.10
  @@ -1 +1 @@
  -SUBDIRS = axis2 axis3 
  +SUBDIRS = axis2 @AXIS3BUILD@
  
  
  
  1.38      +5 -5      ws-axis/c/src/transport/axis2/Axis2Transport.cpp
  
  Index: Axis2Transport.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/transport/axis2/Axis2Transport.cpp,v
  retrieving revision 1.37
  retrieving revision 1.38
  diff -u -r1.37 -r1.38
  --- Axis2Transport.cpp	11 Jan 2005 15:06:59 -0000	1.37
  +++ Axis2Transport.cpp	13 Jan 2005 12:29:37 -0000	1.38
  @@ -220,11 +220,11 @@
       // NB: This calculation may not necessarily be correct when dealing with SSL
       //     messages as the length of the encoded message is not necessarily the
       //         same as the length of the uncoded message.
  -    char buff[8];
  -
  -    sprintf (buff, "%d", m_strBytesToSend.length ());
  -
  -    this->setTransportProperty ("Content-Length", buff);
  +	char buff[8];
  +	
  +	sprintf (buff, "%d", m_strBytesToSend.length ());
  +	
  +	this->setTransportProperty ("Content-Length", buff);
   
       // The header is now complete.  The message header and message can now be
       // transmitted.
  
  
  
  1.2       +1 -1      ws-axis/c/src/transport/axis3/Makefile.am
  
  Index: Makefile.am
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/transport/axis3/Makefile.am,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Makefile.am	12 Jan 2005 11:57:22 -0000	1.1
  +++ Makefile.am	13 Jan 2005 12:29:37 -0000	1.2
  @@ -1,5 +1,5 @@
   lib_LTLIBRARIES = libaxis3_transport.la
  -SUBDIRS = HTTPChannel HTTPSSLChannel @SSLBUILD@
  +SUBDIRS = HTTPChannel HTTPSSLChannel
   AM_CPPFLAGS = $(CPPFLAGS)
   libaxis3_transport_la_SOURCES = ChannelFactory.cpp \
   				 HTTPTransport.cpp \