summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar damitha2011-06-07 15:02:26 +0000
committerGravatar damitha2011-06-07 15:02:26 +0000
commite157daeeceaf9ea6aaefca52008486d7ebf23a19 (patch)
tree91dba7bb18d877b56abfe6b319721c2faa1a385d
parente65c8f147fa4ab3f9a7f06b8c56187efd6fc8cac (diff)
downloadaxis2c-e157daeeceaf9ea6aaefca52008486d7ebf23a19.tar.gz
axis2c-e157daeeceaf9ea6aaefca52008486d7ebf23a19.tar.bz2
git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@1133035 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--samples/configure.ac21
1 files changed, 21 insertions, 0 deletions
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'.