Kaydet (Commit) a1c23a44 authored tarafından Jan Holesovsky's avatar Jan Holesovsky

Fix the --disable-xmlsec build.

üst e53ac998
...@@ -4862,12 +4862,11 @@ if test -n "$with_system_libxml" -o -n "$with_system_libs" -o \ ...@@ -4862,12 +4862,11 @@ if test -n "$with_system_libxml" -o -n "$with_system_libs" -o \
else else
PKG_CHECK_MODULES(LIBXML, libxml-2.0 >= 2.0) PKG_CHECK_MODULES(LIBXML, libxml-2.0 >= 2.0)
fi fi
BUILD_TYPE="$BUILD_TYPE LIBXMLSEC"
MINGW_EXTERNAL_DLLS="$MINGW_EXTERNAL_DLLS zlib1.dll libxml2-2.dll" MINGW_EXTERNAL_DLLS="$MINGW_EXTERNAL_DLLS zlib1.dll libxml2-2.dll"
else else
AC_MSG_RESULT([internal]) AC_MSG_RESULT([internal])
SYSTEM_LIBXML=NO SYSTEM_LIBXML=NO
BUILD_TYPE="$BUILD_TYPE LIBXML2 LIBXMLSEC" BUILD_TYPE="$BUILD_TYPE LIBXML2"
fi fi
AC_SUBST(SYSTEM_LIBXML) AC_SUBST(SYSTEM_LIBXML)
AC_SUBST(LIBXML_CFLAGS) AC_SUBST(LIBXML_CFLAGS)
...@@ -5697,9 +5696,10 @@ fi ...@@ -5697,9 +5696,10 @@ fi
AC_MSG_CHECKING([whether to build XML Security support]) AC_MSG_CHECKING([whether to build XML Security support])
if test "$enable_xmlsec" = "no"; then if test "$enable_xmlsec" = "no"; then
AC_MSG_RESULT([no]) AC_MSG_RESULT([no])
ENABLE_XMLSEC=no ENABLE_XMLSEC=
else else
ENABLE_XMLSEC=yes ENABLE_XMLSEC="YES"
BUILD_TYPE="$BUILD_TYPE LIBXMLSEC"
AC_MSG_RESULT([yes]) AC_MSG_RESULT([yes])
fi fi
AC_SUBST(ENABLE_XMLSEC) AC_SUBST(ENABLE_XMLSEC)
......
...@@ -35,7 +35,7 @@ EXTERNAL_WARNINGS_NOT_ERRORS := TRUE ...@@ -35,7 +35,7 @@ EXTERNAL_WARNINGS_NOT_ERRORS := TRUE
.INCLUDE : settings.mk .INCLUDE : settings.mk
.IF "$(ENABLE_XMLSEC)" == "NO" .IF "$(ENABLE_XMLSEC)" != "YES"
@all: @all:
@echo "XMLSec module disabled" @echo "XMLSec module disabled"
.ENDIF .ENDIF
......
...@@ -32,7 +32,7 @@ $(eval $(call gb_Module_add_targets,xmlsecurity,\ ...@@ -32,7 +32,7 @@ $(eval $(call gb_Module_add_targets,xmlsecurity,\
AllLangResTarget_xsec \ AllLangResTarget_xsec \
Library_xmlsecurity \ Library_xmlsecurity \
Library_xsec_fw \ Library_xsec_fw \
Library_xsec_xmlsec \ $(if $(filter YES,$(ENABLE_XMLSEC)),Library_xsec_xmlsec) \
)) ))
# failing # failing
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment