From a7a5ba76f43f62c73ed35281178559bdda709ba7 Mon Sep 17 00:00:00 2001 From: Jan Holesovsky Date: Tue, 17 Feb 2015 13:24:00 +0100 Subject: android: Better check for package name when debugging. Change-Id: Iad29aa8cc47220e5aa33a4991a0c0d265d107152 --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index 1051d20cf9a9..2329ae7bb6e0 100644 --- a/configure.ac +++ b/configure.ac @@ -12347,6 +12347,10 @@ if echo "$host_os" | grep -q linux-android ; then AC_MSG_RESULT([not set, using $ANDROID_PACKAGE_NAME]) else + if test -n "$ENABLE_DEBUG" -a "$with_android_package_name" != "org.libreoffice" ; then + AC_MSG_ERROR([The package name must be set +to org.libreoffice when debugging, please avoid --with-android-package-name.]) + fi ANDROID_PACKAGE_NAME="$with_android_package_name" AC_MSG_RESULT([$ANDROID_PACKAGE_NAME]) fi -- cgit v1.2.3