diff options
author | jan Iversen <jani@libreoffice.org> | 2018-03-01 18:48:31 +0100 |
---|---|---|
committer | jan Iversen <jani@libreoffice.org> | 2018-03-01 18:49:51 +0100 |
commit | a542dba422505942f9c3c2f6e47a394e68b396a7 (patch) | |
tree | 0a82bdb5caa41cfba595956666f8070f271a5fbd /configure.ac | |
parent | 01d9d5b491d03004b3690c2a1ff4d99997e02a5a (diff) |
iOS, do not use LXML
removed LXML from iOS build.
changed false "if -z" to "if test -z"
Change-Id: Icf316392ce972213da039f96a8ec35495cc2ea58
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index f407c743babb..e5fcd807f461 100644 --- a/configure.ac +++ b/configure.ac @@ -8147,13 +8147,17 @@ if test $enable_python = system; then PYTHON_FOR_BUILD=$PYTHON fi -if -z "$PYTHON_FOR_BUILD"; then +if test -z "$PYTHON_FOR_BUILD"; then case $build_os in cygwin) AC_MSG_WARN([No system-provided python lxml, gla11y will only report widget classes and ids]) ;; *) - BUILD_TYPE="$BUILD_TYPE LXML" + if test "$OS" != "IOS"; then + if test "$enable_ios_simulator" != "yes"; then + BUILD_TYPE="$BUILD_TYPE LXML" + fi + fi ;; esac else @@ -8166,8 +8170,12 @@ else AC_MSG_RESULT([no, gla11y will only report widget classes and ids]) ;; *) - BUILD_TYPE="$BUILD_TYPE LXML" - AC_MSG_RESULT([no, using internal lxml]) + if test "$OS" != "IOS"; then + if test "$enable_ios_simulator" != "yes"; then + BUILD_TYPE="$BUILD_TYPE LXML" + AC_MSG_RESULT([no, using internal lxml]) + fi + fi ;; esac fi |