diff options
author | Jan Holesovsky <kendy@collabora.com> | 2015-02-17 13:24:00 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2015-02-17 15:27:34 +0100 |
commit | a7a5ba76f43f62c73ed35281178559bdda709ba7 (patch) | |
tree | 9807bff34016ed4aff81e448027bc95ae08d51b4 | |
parent | a1d9b5efb5df35d21384d04893429e48e79ff601 (diff) |
android: Better check for package name when debugging.
Change-Id: Iad29aa8cc47220e5aa33a4991a0c0d265d107152
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
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 |