Bug 1220500 - Set ANDROID_PACKAGE_NAME correctly from MOZ_APP_NAME. r?glandium
--- a/configure.in
+++ b/configure.in
@@ -323,19 +323,16 @@ if test -n "$gonkdir" ; then
android_cxx_stl=mozstlport
else
if test "$COMPILE_ENVIRONMENT"; then
MOZ_ANDROID_NDK
fi # COMPILE_ENVIRONMENT
case "$target" in
*-android*|*-linuxandroid*)
- if test -z "$ANDROID_PACKAGE_NAME" ; then
- ANDROID_PACKAGE_NAME='org.mozilla.$(MOZ_APP_NAME)'
- fi
MOZ_CHROME_FILE_FORMAT=omni
ZLIB_DIR=yes
AC_DEFINE(ANDROID)
;;
*-linux*)
AC_PATH_PROG(OBJCOPY,objcopy)
;;
esac
@@ -8743,16 +8740,20 @@ fi
if test -z "$MOZ_APP_REMOTINGNAME"; then
MOZ_APP_REMOTINGNAME=$MOZ_APP_NAME
fi
if test -z "$MOZ_APP_VERSION_DISPLAY"; then
MOZ_APP_VERSION_DISPLAY=$MOZ_APP_VERSION
fi
+if test -z "$ANDROID_PACKAGE_NAME" ; then
+ ANDROID_PACKAGE_NAME="org.mozilla.$MOZ_APP_NAME"
+fi
+
# For extensions and langpacks, we require a max version that is compatible
# across security releases. MOZ_APP_MAXVERSION is our method for doing that.
# 24.0a1 and 24.0a2 aren't affected
# 24.0 becomes 24.*
# 24.1.1 becomes 24.*
IS_ALPHA=`echo $MOZ_APP_VERSION | grep a`
if test -z "$IS_ALPHA"; then
changequote(,)