[configure] Add failsafe for missing submodules (#13957)
commit5a1c1281511c0a7ea087d124b4c40113ebae52bc
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Wed, 10 Apr 2019 13:26:28 +0000 (10 15:26 +0200)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Wed, 10 Apr 2019 13:26:53 +0000 (10 15:26 +0200)
treeedddeadc7714320de4cb987bc4314c4df4dda797
parent0b6dbfa34965351b3e0a3fd52739479df62896a0
[configure] Add failsafe for missing submodules (#13957)

GitHub provides a way to download a .zip/.tar.gz of the repository content in their UI, however the archive doesn't contain git submodules.

The mono build then fails with confusing "missing file" errors.

Since GitHub doesn't let us disable the archive download we should at least add some logic to detect this broken case and bail out.

(cherry picked from commit e8caaa1dbd880767bcf07ccfa8b9f695377ddd8d)
Makefile.am
scripts/update_submodules.sh