diff options
author | damitha | 2011-05-31 09:08:18 +0000 |
---|---|---|
committer | damitha | 2011-05-31 09:08:18 +0000 |
commit | bcaf5833f0b73566937ad9629d01c943b553abe7 (patch) | |
tree | e68a6bfe6ede138f714a43066041995c384e277a /samples | |
parent | 1d2fcf87bcc73e697198fb07493174df550d71c5 (diff) | |
download | axis2c-bcaf5833f0b73566937ad9629d01c943b553abe7.tar.gz axis2c-bcaf5833f0b73566937ad9629d01c943b553abe7.tar.bz2 |
Initial checkin of ntlm auth code
git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@1129580 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'samples')
-rw-r--r-- | samples/client/Makefile.am | 2 | ||||
-rw-r--r-- | samples/configure.ac | 24 |
2 files changed, 25 insertions, 1 deletions
diff --git a/samples/client/Makefile.am b/samples/client/Makefile.am index 63573e8..2eefd75 100644 --- a/samples/client/Makefile.am +++ b/samples/client/Makefile.am @@ -12,5 +12,5 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -SUBDIRS = echo math google notify mtom yahoo amqp version mtom_callback session +SUBDIRS = echo math google notify mtom yahoo amqp version mtom_callback session $(NTLM_SAMPLE_DIR) EXTRA_DIST= Makefile.am diff --git a/samples/configure.ac b/samples/configure.ac index 181c13f..907055b 100644 --- a/samples/configure.ac +++ b/samples/configure.ac @@ -95,6 +95,28 @@ AC_ARG_ENABLE(diclient, [ --enable-diclient build diclient. default=no], DICLIENT_DIR="" ) +AC_MSG_CHECKING(whether to build heimdal ntlm wrapper library) +AC_ARG_ENABLE(heimdal, [ --enable-heimdal + build heimdal ntlm library wrapper (default=no)], +[ case "${enableval}" in + no) + AC_MSG_RESULT(no) + NTLM_WRAPPER_DIR="default" + NTLM_SAMPLE_DIR="" + ;; + *) + AC_MSG_RESULT(yes) + NTLM_WRAPPER_DIR="heimdal" + NTLM_SAMPLE_DIR="ntlm" + #PKG_CHECK_MODULES(HEIMDAL, heimdal-1.4) + CFLAGS="$CFLAGS -DAXIS2_HEIMDAL_ENABLED -DAXIS2_NTLM_ENABLED" + CPPFLAGS="$CPPFLAGS $NTLM_CFLAGS -DAXIS2_HEIMDAL_ENABLED -DAXIS2_NTLM_ENABLED" + LDFLAGS="$LDFLAGS $NTLM_LDFLAGS" + ;; + esac ], + AC_MSG_RESULT(no) +) + AC_MSG_CHECKING(To Use Axis2 C . This is a compulsory module to build Axis2 C samples) AC_ARG_WITH(axis2, [ --with-axis2[=PATH] Find the AXIS2 header files in 'PATH'. @@ -133,6 +155,7 @@ AC_SUBST(APRINC) AC_SUBST(AXIS2INC) AC_SUBST(GUTHTHILA_DIR) AC_SUBST(GUTHTHILA_LIBS) +AC_SUBST(NTLM_SAMPLE_DIR) AC_SUBST(DICLIENT_DIR) AC_CONFIG_FILES([Makefile \ @@ -162,6 +185,7 @@ AC_CONFIG_FILES([Makefile \ client/amqp/mtom/Makefile \ client/amqp/mtom/resources/Makefile \ client/session/Makefile \ + client/ntlm/Makefile \ user_guide/Makefile \ user_guide/clients/Makefile \ mtom_caching_callback/Makefile \ |