summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2015-10-14 14:02:14 +0200
committerTomaž Vajngerl <tomaz.vajngerl@collabora.com>2015-10-19 14:30:17 +0200
commit6406d0b2bcdd69293f2553c7a73d9fb404df524e (patch)
tree8f64cdce51649fad7dd53ec087bd033f45d87058
parent3140e1b17d9f8dc50d8eb1c8789462f2a1b51a48 (diff)
add warning with install command when android support repository is missing
Change-Id: I21f4bc6fe6cb10e57c45880a4b6d1be2e4fb88d2 (cherry picked from commit 7df1b63be25d7b7eaeccb3b13a81b4370240bc10)
-rw-r--r--configure.ac8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 7710d8fcdb4a..e33c888ec973 100644
--- a/configure.ac
+++ b/configure.ac
@@ -815,6 +815,14 @@ if echo "$host_os" | grep -q linux-android ; then
add_warning " $ANDROID_SDK_HOME/tools/android update sdk -u --all --filter build-tools-$BUILD_TOOLS_VERSION"
add_warning "or adjust $SRC_ROOT/android/source/build.gradle accordingly"
fi
+ if test ! -f "$ANDROID_SDK_HOME/extras/android/m2repository/source.properties"; then
+ AC_MSG_WARN([android support repository not found - install with
+ $ANDROID_SDK_HOME/tools/android update sdk -u --filter extra-android-m2repository
+ to allow the build to download the specified version of the android support libraries])
+ add_warning "android support repository not found - install with"
+ add_warning " $ANDROID_SDK_HOME/tools/android update sdk -u --filter extra-android-m2repository"
+ add_warning "to allow the build to download the specified version of the android support libraries"
+ fi
fi
if test "$_os" = "AIX"; then