From e157daeeceaf9ea6aaefca52008486d7ebf23a19 Mon Sep 17 00:00:00 2001 From: damitha Date: Tue, 7 Jun 2011 15:02:26 +0000 Subject: git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@1133035 13f79535-47bb-0310-9956-ffa450edef68 --- samples/configure.ac | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'samples') diff --git a/samples/configure.ac b/samples/configure.ac index 907055b..ee817f4 100644 --- a/samples/configure.ac +++ b/samples/configure.ac @@ -117,6 +117,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(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'. -- cgit v1.1-32-gdbae