You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-commits@axis.apache.org by da...@apache.org on 2011/06/07 16:58:14 UTC

svn commit: r1133034 - in /axis/axis2/c/core/trunk: configure.ac src/core/transport/http/sender/ntlm/test/Makefile.am

Author: damitha
Date: Tue Jun  7 14:58:14 2011
New Revision: 1133034

URL: http://svn.apache.org/viewvc?rev=1133034&view=rev
Log:
build support for libntlm

Modified:
    axis/axis2/c/core/trunk/configure.ac
    axis/axis2/c/core/trunk/src/core/transport/http/sender/ntlm/test/Makefile.am

Modified: axis/axis2/c/core/trunk/configure.ac
URL: http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/configure.ac?rev=1133034&r1=1133033&r2=1133034&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/configure.ac (original)
+++ axis/axis2/c/core/trunk/configure.ac Tue Jun  7 14:58:14 2011
@@ -233,6 +233,27 @@ AC_ARG_ENABLE(heimdal, [  --enable-heimd
   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 \

Modified: axis/axis2/c/core/trunk/src/core/transport/http/sender/ntlm/test/Makefile.am
URL: http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/src/core/transport/http/sender/ntlm/test/Makefile.am?rev=1133034&r1=1133033&r2=1133034&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/src/core/transport/http/sender/ntlm/test/Makefile.am (original)
+++ axis/axis2/c/core/trunk/src/core/transport/http/sender/ntlm/test/Makefile.am Tue Jun  7 14:58:14 2011
@@ -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