diff options
author | Michael Stahl <mstahl@redhat.com> | 2017-08-22 22:26:43 +0200 |
---|---|---|
committer | Michael Stahl <Michael.Stahl@cib.de> | 2019-05-07 16:57:42 +0200 |
commit | 5e4ab287427c55bcea4f19db0daaf8f1d4d5cdc3 (patch) | |
tree | 69d36a61c7d046e9eaeb3864a9a5b23d9faa2243 | |
parent | 05b0d54d2d5eb6ca837fdd710da5c74ad08468b2 (diff) |
configure: try to keep PYTHON_VERSION from going stale
Since it was set to 3.5.0, the bundled python was upgraded twice, but
the directory is still named python-core-3.5.0 :(
Reviewed-on: https://gerrit.libreoffice.org/41433
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
(cherry picked from commit ac3a4fe35e873de17eefb46c3f5e792aded6b0a5)
Reviewed-on: https://gerrit.libreoffice.org/56683
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Change-Id: I15eec4148c2436e1f289d9851ce5bd212d4a368a
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 61173260e93a..0e4871ce4142 100644 --- a/configure.ac +++ b/configure.ac @@ -8404,6 +8404,9 @@ internal) PYTHON_VERSION_MAJOR=3 PYTHON_VERSION_MINOR=5 PYTHON_VERSION=${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}.5 + if ! grep -q -i python.*${PYTHON_VERSION} ${SRC_ROOT}/download.lst; then + AC_MSG_ERROR([PYTHON_VERSION ${PYTHON_VERSION} but no matching file in download.lst]) + fi AC_DEFINE_UNQUOTED([PYTHON_VERSION_STRING], [L"${PYTHON_VERSION}"]) BUILD_TYPE="$BUILD_TYPE PYTHON" # Embedded Python dies without Home set |