configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) New commits: commit 2c8350b8a1b8303f1cb4b78e9c5db04e1441a9af Author: Tor Lillqvist <t...@collabora.com> AuthorDate: Mon Nov 4 15:36:06 2019 +0200 Commit: Tor Lillqvist <t...@collabora.com> CommitDate: Mon Nov 4 15:25:38 2019 +0100
Don't require the Python modules unless on Linux When building the iOS app my way, I do the J bits on a Linux box and not on the Mac, thus I don't need any Python stuff on the Mac. Change-Id: Ib8092870598fb3a8f304aefa8fab21fe7e3acc73 Reviewed-on: https://gerrit.libreoffice.org/82018 Reviewed-by: Tor Lillqvist <t...@collabora.com> Tested-by: Tor Lillqvist <t...@collabora.com> diff --git a/configure.ac b/configure.ac index bab2578fa..7980cb0f4 100644 --- a/configure.ac +++ b/configure.ac @@ -57,7 +57,10 @@ for MODULE in lxml polib; do AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) - AC_MSG_ERROR([${MODULE} for python3 is needed. It might be in a package called python3-${MODULE}.]) + AS_IF([test `uname -s` = Linux], + [AC_MSG_ERROR([${MODULE} for python3 is needed. It might be in a package called python3-${MODULE}.])], + [AC_MSG_WARN([${MODULE} for python3 is needed. It might be in a package called python3-${MODULE}. But + if you are building the JS bits on another (Linux) machine, that doesn't matter])]) fi done _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits