diff options
author | damitha | 2011-06-07 14:58:14 +0000 |
---|---|---|
committer | damitha | 2011-06-07 14:58:14 +0000 |
commit | e65c8f147fa4ab3f9a7f06b8c56187efd6fc8cac (patch) | |
tree | 872def24a142ee3278b18ac070b358258b3fcce8 | |
parent | e648ad90d1793fc3149e069ceb80bdffa7789319 (diff) | |
download | axis2c-e65c8f147fa4ab3f9a7f06b8c56187efd6fc8cac.tar.gz axis2c-e65c8f147fa4ab3f9a7f06b8c56187efd6fc8cac.tar.bz2 |
build support for libntlm
git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@1133034 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | configure.ac | 22 | ||||
-rw-r--r-- | src/core/transport/http/sender/ntlm/test/Makefile.am | 1 |
2 files changed, 22 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 5324d72..a9b0a37 100644 --- a/configure.ac +++ b/configure.ac @@ -233,6 +233,27 @@ AC_ARG_ENABLE(heimdal, [ --enable-heimdal AC_MSG_RESULT(no) ) +AC_MSG_CHECKING(whether to build libntlm ntlm wrapper library) +AC_ARG_ENABLE(libntlm, [ --enable-libntlm + build libntlm 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="libntlm" + NTLM_SAMPLE_DIR="ntlm" + CFLAGS="$CFLAGS -DAXIS2_LIBNTLM_ENABLED -DAXIS2_NTLM_ENABLED" + CPPFLAGS="$CPPFLAGS $NTLM_CFLAGS -DAXIS2_LIBNTLM_ENABLED -DAXIS2_NTLM_ENABLED" + LDFLAGS="$LDFLAGS $NTLM_LDFLAGS" + ;; + esac ], + AC_MSG_RESULT(no) +) + AC_MSG_CHECKING(whether to build tcp transport) @@ -528,6 +549,7 @@ AC_CONFIG_FILES([Makefile \ src/core/transport/http/sender/libcurl/Makefile \ src/core/transport/http/sender/ntlm/Makefile \ src/core/transport/http/sender/ntlm/heimdal/Makefile \ + src/core/transport/http/sender/ntlm/libntlm/Makefile \ src/core/transport/http/sender/ntlm/default/Makefile \ src/core/transport/http/sender/ntlm/test/Makefile \ src/core/transport/http/sender/ntlm/test/mock_server/Makefile \ diff --git a/src/core/transport/http/sender/ntlm/test/Makefile.am b/src/core/transport/http/sender/ntlm/test/Makefile.am index 191106d..56c3b8a 100644 --- a/src/core/transport/http/sender/ntlm/test/Makefile.am +++ b/src/core/transport/http/sender/ntlm/test/Makefile.am @@ -16,7 +16,6 @@ TESTS = SUBDIRS = mock_server noinst_PROGRAMS = test_ntlm mock_client check_PROGRAMS = test_ntlm mock_client -SUBDIRS = AM_CFLAGS = -g -O2 test_ntlm_SOURCES = client.c mock_client_SOURCES = mock_client.c |