summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 4623b49..e5a67d7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -249,9 +249,10 @@ AC_ARG_ENABLE(libntlm, [ --enable-libntlm
AC_MSG_RESULT(yes)
NTLM_WRAPPER_DIR="libntlm"
NTLM_DIR="ntlm"
+ PKG_CHECK_MODULES(LIBNTLM, libntlm-1.2)
CFLAGS="$CFLAGS -DAXIS2_LIBNTLM_ENABLED -DAXIS2_NTLM_ENABLED"
- CPPFLAGS="$CPPFLAGS $NTLM_CFLAGS -DAXIS2_LIBNTLM_ENABLED -DAXIS2_NTLM_ENABLED"
- LDFLAGS="$LDFLAGS $NTLM_LDFLAGS"
+ CPPFLAGS="$CPPFLAGS $NTLM_CFLAGS -DAXIS2_LIBNTLM_ENABLED -DAXIS2_NTLM_ENABLED -DLIBNTLM_CFLAGS"
+ LDFLAGS="$LDFLAGS $NTLM_LDFLAGS $LIBNTLM_LIBS"
NTLM_LIB="./ntlm/libntlm/libaxis2_ntlm.la"
;;
esac ],