|
|
|
@ -40,6 +40,11 @@ dnl the ability to specify the location of the libxml
|
|
|
|
|
dnl library during linking and compilation.
|
|
|
|
|
dnl Mathieu Lacage 30/03/2000
|
|
|
|
|
dnl
|
|
|
|
|
|
|
|
|
|
KDE_PKG_CHECK_MODULES(LIBXML, libxml-2.0,
|
|
|
|
|
have_libxml=yes, have_libxml=no)
|
|
|
|
|
|
|
|
|
|
if test "x$have_libxml" != "xyes"; then
|
|
|
|
|
LIBXML_PREFIX=""
|
|
|
|
|
AC_ARG_WITH(libxml-prefix,
|
|
|
|
|
[ --with-libxml-prefix=[PFX] Specify location of libxml],
|
|
|
|
@ -51,9 +56,6 @@ then
|
|
|
|
|
AC_MSG_RESULT(Using a libxml prefix of ${LIBXML_PREFIX})
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
AC_SUBST(LIBXML_LIBS)
|
|
|
|
|
|
|
|
|
|
dnl Test for libxml2 version
|
|
|
|
|
XML_CONFIG="xml2-config"
|
|
|
|
|
AC_MSG_CHECKING(for libxml libraries >= "2.6.0")
|
|
|
|
@ -99,14 +101,16 @@ then
|
|
|
|
|
!!Warning!! using xml2-config in default path
|
|
|
|
|
)
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
LIBXML_PREFIX_DIR="`$XML_CONFIG --prefix`"
|
|
|
|
|
|
|
|
|
|
AC_SUBST(XML_CONFIG)
|
|
|
|
|
AC_SUBST(LIBXML_PREFIX)
|
|
|
|
|
AC_SUBST(LIBXML_LIBS)
|
|
|
|
|
AC_SUBST(LIBXML_CFLAGS)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
KDE_PKG_CHECK_MODULES(LIBXSLT, libexslt,
|
|
|
|
|
have_libexslt=yes, have_libexslt=no)
|
|
|
|
|
|
|
|
|
|
if test "x$have_libexslt" != "xyes"; then
|
|
|
|
|
LIBXSLT_PREFIX=""
|
|
|
|
|
AC_ARG_WITH(libxslt-prefix,
|
|
|
|
|
[ --with-libxslt-prefix=[PFX] Specify location of libxslt],
|
|
|
|
@ -175,9 +179,8 @@ then
|
|
|
|
|
!!Warning!! using xslt-config in default path
|
|
|
|
|
)
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
AC_SUBST(XSLT_CONFIG)
|
|
|
|
|
AC_SUBST(LIBXSLT_PREFIX)
|
|
|
|
|
AC_SUBST(LIBXSLT_LIBS)
|
|
|
|
|
AC_SUBST(LIBXSLT_CFLAGS)
|
|
|
|
|
|
|
|
|
|