diff options
-rw-r--r-- | configure.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/configure.in b/configure.in index c6385e215bb8..56cbbce43976 100644 --- a/configure.in +++ b/configure.in @@ -1930,6 +1930,15 @@ AC_ARG_WITH(macosx-version-max-allowed, dnl =================================================================== +dnl options for stuff used during cross-compilation build +dnl =================================================================== + +AC_ARG_WITH(system-libxml-for-build, + AS_HELP_STRING([--with-system-libxml-for-build], + [Use libxml/libxslt already on system for build tools (cross-compilation only).])) + + +dnl =================================================================== dnl check for required programs (grep, awk, sed, bash) dnl =================================================================== AC_PROG_EGREP @@ -3151,6 +3160,7 @@ if test "$cross_compiling" = "yes"; then unset CC CXX SYSBASE CFLAGS unset PYTHON_CFLAGS PYTHON_LIBS unset AR NM OBJDUMP PKG_CONFIG RANLIB STRIP + unset LIBXML_CFLAGS LIBXML_LIBS LIBXSLT_CFLAGS LIBXSLT_LIBS XSLTPROC test -n "$CC_FOR_BUILD" && export CC="$CC_FOR_BUILD" test -n "$CXX_FOR_BUILD" && export CXX="$CXX_FOR_BUILD" test -n "$PKG_CONFIG_FOR_BUILD" && export PKG_CONFIG="$PKG_CONFIG_FOR_BUILD" @@ -3160,6 +3170,7 @@ if test "$cross_compiling" = "yes"; then test $with_java = no && sub_conf_opts="$sub_conf_opts --without-java" test $with_junit = no && sub_conf_opts="$sub_conf_opts --without-junit" test -n "$TARFILE_LOCATION" && sub_conf_opts="$sub_conf_opts --with-external-tar=$TARFILE_LOCATION" + test -n "$with_system_libxml_for_build" && sub_conf_opts="$sub_conf_opts --with-system-libxml" ./configure \ --disable-mozilla \ --disable-build-mozilla \ |