axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dami...@apache.org
Subject cvs commit: ws-axis/c/src/transport/axis3/HTTPSSLChannel Makefile.am
Date Tue, 25 Jan 2005 13:25:36 GMT
damitha     2005/01/25 05:25:36

  Modified:    c        configure.ac
               c/src/transport/axis3 Makefile.am
               c/src/transport/axis3/HTTPSSLChannel Makefile.am
  Log:
  Hi Damitha,
        Yes please.
  
  Regards,
  
  Fred Preston.
  
                        "Damitha
                        Kumarage"                To:       Apache AXIS C Developers List <axis-c-dev@ws.apache.org>
                        <damitha@opensour        cc:
                        ce.lk>                   Subject:  Re: Fw: OpenSSL
  
                        25/01/05 13:19
                        Please respond to
                        "Apache AXIS C
                        Developers List"
  
  Hi,
  
  In GNU buid, currently no option for not building HttpSSL library.
  We need an option like
   --with-axis3-ssl=PATH      build axis3 ssh transport channellibrary.
  User should be able to give this option only if axis3 transport build is
  enabled. Otherwise build sholuld stop.
  
  Shall I commit this change?
  
  regards
  damitha
  
  Revision  Changes    Path
  1.68      +37 -1     ws-axis/c/configure.ac
  
  Index: configure.ac
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/configure.ac,v
  retrieving revision 1.67
  retrieving revision 1.68
  diff -u -r1.67 -r1.68
  --- configure.ac	13 Jan 2005 12:29:36 -0000	1.67
  +++ configure.ac	25 Jan 2005 13:25:34 -0000	1.68
  @@ -191,7 +191,7 @@
     ENABLELOGGING="-DENABLE_AXISTRACE"
   )
   
  -AC_MSG_CHECKING(whether to build ssh transport channellibrary.)
  +AC_MSG_CHECKING(whether to build axis2 ssh transport channellibrary.)
   AC_ARG_WITH(axis2-ssl,
   [  --with-axis2-ssl[=PATH]      build transport channellibrary.],
   [ case "$withval" in
  @@ -216,6 +216,37 @@
     SSLBUILD=""
   )
   
  +AC_MSG_CHECKING(whether to axis3 build ssh transport channellibrary.)
  +AC_ARG_WITH(axis3-ssl,
  +[  --with-axis3-ssl[=PATH]      build axis3 ssh transport channellibrary.],
  +[ case "$withval" in
  +  no)
  +    AC_MSG_RESULT(no)
  +    AXIS3SSLBUILD=""
  +    ;;
  +  *)
  +    AC_MSG_RESULT(yes)
  +    dnl test whether axis3 build enabled
  +    if test  axis3 != "$AXIS3BUILD"; then
  +        AC_MSG_ERROR("Axis3 transport is not enabled. stop")
  +    fi
  +
  +    dnl test for  ssl directory
  +    if test -d $withval; then
  +        axis3sslinc="-I$withval/include"
  +        axis3ssllib="-L$withval/lib -lssl -L$withval/lib -lcrypto -ldl"
  +    else
  +        AC_MSG_ERROR(could not find ssl. stop)
  +    fi
  +    AXIS3SSLBUILD="HTTPSSLChannel"
  +  
  +  ;;
  +  esac ],
  +  AC_MSG_RESULT(no)
  +  AXIS3SSLBUILD=""
  +)
  +
  +
   APACHE2INC=$apache2inc
   APACHEINC=$apacheinc
   XERCESCINC=$xercescinc
  @@ -226,6 +257,8 @@
   EXPATLIB=$expatlib
   SSLINC=$sslinc
   SSLLIB=$ssllib
  +AXIS3SSLINC=$axis3sslinc
  +AXIS3SSLLIB=$axis3ssllib
   LINKCLIENTLIB="-L${AXISCPP_HOME}/src/engine/client -laxiscpp_client -ldl"
   AC_SUBST(APACHE2INC)
   AC_SUBST(APACHEINC)
  @@ -237,6 +270,8 @@
   AC_SUBST(EXPATLIB)
   AC_SUBST(SSLINC)
   AC_SUBST(SSLLIB)
  +AC_SUBST(AXIS3SSLINC)
  +AC_SUBST(AXIS3SSLLIB)
   AC_SUBST(XERCESCBUILD)
   AC_SUBST(EXPATBUILD)
   AC_SUBST(APACHE2BUILD)
  @@ -248,6 +283,7 @@
   AC_SUBST(AXIS3BUILD)
   AC_SUBST(TSPPBUILD)
   AC_SUBST(SSLBUILD)
  +AC_SUBST(AXIS3SSLBUILD)
   
   CFLAGS="-Wall -Wshadow ${ENABLELOGGING}"
   CPPFLAGS="-Wall -Wshadow ${ENABLELOGGING}"
  
  
  
  1.4       +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.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Makefile.am	17 Jan 2005 15:10:56 -0000	1.3
  +++ Makefile.am	25 Jan 2005 13:25:34 -0000	1.4
  @@ -1,5 +1,5 @@
   lib_LTLIBRARIES = libaxis3_transport.la
  -SUBDIRS = HTTPChannel HTTPSSLChannel
  +SUBDIRS = HTTPChannel @AXIS3SSLBUILD@
   AM_CPPFLAGS = $(CPPFLAGS) -DAXISTRACE_LIBRARY
   libaxis3_transport_la_SOURCES = ChannelFactory.cpp \
   				 HTTPTransport.cpp \
  
  
  
  1.5       +2 -2      ws-axis/c/src/transport/axis3/HTTPSSLChannel/Makefile.am
  
  Index: Makefile.am
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/transport/axis3/HTTPSSLChannel/Makefile.am,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Makefile.am	25 Jan 2005 06:19:01 -0000	1.4
  +++ Makefile.am	25 Jan 2005 13:25:34 -0000	1.5
  @@ -5,6 +5,6 @@
   				        HTTPSSLChannelInstantiator.cpp \
   					../URL.cpp \
   					../HTTPTransportException.cpp
  -libaxis3_transport_ssl_channel_la_LIBADD = @SSLLIB@ -lstdc++
  -INCLUDES = -I../../../../include @SSLINC@
  +libaxis3_transport_ssl_channel_la_LIBADD = @AXIS3SSLLIB@ -lstdc++
  +INCLUDES = -I../../../../include @AXIS3SSLINC@
   
  
  
  

Mime
View raw message