[Libreoffice-commits] core.git: configure.ac

Christian Lohmaier lohmaier+LibreOffice at googlemail.com
Wed Oct 14 05:04:47 PDT 2015


 configure.ac |    8 ++++++++
 1 file changed, 8 insertions(+)

New commits:
commit 7df1b63be25d7b7eaeccb3b13a81b4370240bc10
Author: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
Date:   Wed Oct 14 14:02:14 2015 +0200

    add warning with install command when android support repository is missing
    
    Change-Id: I21f4bc6fe6cb10e57c45880a4b6d1be2e4fb88d2

diff --git a/configure.ac b/configure.ac
index 5aed6eb..98c2253 100644
--- a/configure.ac
+++ b/configure.ac
@@ -858,6 +858,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


More information about the Libreoffice-commits mailing list