Fix the --disable-xmlsec build.
This commit is contained in:
parent
e53ac9984c
commit
a1c23a44b9
@ -4862,12 +4862,11 @@ if test -n "$with_system_libxml" -o -n "$with_system_libs" -o \
|
||||
else
|
||||
PKG_CHECK_MODULES(LIBXML, libxml-2.0 >= 2.0)
|
||||
fi
|
||||
BUILD_TYPE="$BUILD_TYPE LIBXMLSEC"
|
||||
MINGW_EXTERNAL_DLLS="$MINGW_EXTERNAL_DLLS zlib1.dll libxml2-2.dll"
|
||||
else
|
||||
AC_MSG_RESULT([internal])
|
||||
SYSTEM_LIBXML=NO
|
||||
BUILD_TYPE="$BUILD_TYPE LIBXML2 LIBXMLSEC"
|
||||
BUILD_TYPE="$BUILD_TYPE LIBXML2"
|
||||
fi
|
||||
AC_SUBST(SYSTEM_LIBXML)
|
||||
AC_SUBST(LIBXML_CFLAGS)
|
||||
@ -5697,9 +5696,10 @@ fi
|
||||
AC_MSG_CHECKING([whether to build XML Security support])
|
||||
if test "$enable_xmlsec" = "no"; then
|
||||
AC_MSG_RESULT([no])
|
||||
ENABLE_XMLSEC=no
|
||||
ENABLE_XMLSEC=
|
||||
else
|
||||
ENABLE_XMLSEC=yes
|
||||
ENABLE_XMLSEC="YES"
|
||||
BUILD_TYPE="$BUILD_TYPE LIBXMLSEC"
|
||||
AC_MSG_RESULT([yes])
|
||||
fi
|
||||
AC_SUBST(ENABLE_XMLSEC)
|
||||
|
@ -35,7 +35,7 @@ EXTERNAL_WARNINGS_NOT_ERRORS := TRUE
|
||||
|
||||
.INCLUDE : settings.mk
|
||||
|
||||
.IF "$(ENABLE_XMLSEC)" == "NO"
|
||||
.IF "$(ENABLE_XMLSEC)" != "YES"
|
||||
@all:
|
||||
@echo "XMLSec module disabled"
|
||||
.ENDIF
|
||||
|
@ -32,7 +32,7 @@ $(eval $(call gb_Module_add_targets,xmlsecurity,\
|
||||
AllLangResTarget_xsec \
|
||||
Library_xmlsecurity \
|
||||
Library_xsec_fw \
|
||||
Library_xsec_xmlsec \
|
||||
$(if $(filter YES,$(ENABLE_XMLSEC)),Library_xsec_xmlsec) \
|
||||
))
|
||||
|
||||
# failing
|
||||
|
Loading…
x
Reference in New Issue
Block a user