Followup bustage fix for Bug 569058 - don't use a cached var.
This commit is contained in:
Родитель
88dcafa57d
Коммит
59a8dfd6fd
|
@ -177,7 +177,7 @@ JAR="@JAR@"
|
||||||
|
|
||||||
TAR=@TAR@
|
TAR=@TAR@
|
||||||
|
|
||||||
MAKENSIS=@MAKENSIS@
|
MAKENSISU=@MAKENSISU@
|
||||||
|
|
||||||
RM = rm -f
|
RM = rm -f
|
||||||
|
|
||||||
|
|
22
configure.in
22
configure.in
|
@ -6433,26 +6433,26 @@ if test -n "$MOZ_INSTALLER" -a "$OS_ARCH" = "WINNT"; then
|
||||||
# the path.
|
# the path.
|
||||||
REQ_NSIS_MAJOR_VER=2
|
REQ_NSIS_MAJOR_VER=2
|
||||||
MIN_NSIS_MINOR_VER=33
|
MIN_NSIS_MINOR_VER=33
|
||||||
MOZ_PATH_PROGS(MAKENSIS, $MAKENSIS makensisu-2.46 makensisu makensis)
|
MOZ_PATH_PROGS(MAKENSISU, $MAKENSISU makensisu-2.46 makensisu makensis)
|
||||||
if test -z "$MAKENSIS" || test "$MAKENSIS" = ":"; then
|
if test -z "$MAKENSISU" || test "$MAKENSISU" = ":"; then
|
||||||
AC_MSG_ERROR([To build the installer you must have the latest MozillaBuild or Unicode NSIS with a major version of $REQ_NSIS_MAJOR_VER and a minimum minor version of $MIN_NSIS_MINOR_VER in your path. To build without the installer reconfigure using --disable-installer.])
|
AC_MSG_ERROR([To build the installer you must have the latest MozillaBuild or Unicode NSIS with a major version of $REQ_NSIS_MAJOR_VER and a minimum minor version of $MIN_NSIS_MINOR_VER in your path. To build without the installer reconfigure using --disable-installer.])
|
||||||
fi
|
fi
|
||||||
changequote(,)
|
changequote(,)
|
||||||
MAKENSIS_VER=`"$MAKENSIS" -version 2>/dev/null | sed -e '/-Unicode/!s/.*//g' -e 's/^v\([0-9]\+\.[0-9]\+\)\-Unicode$/\1/g'`
|
MAKENSISU_VER=`"$MAKENSISU" -version 2>/dev/null | sed -e '/-Unicode/!s/.*//g' -e 's/^v\([0-9]\+\.[0-9]\+\)\-Unicode$/\1/g'`
|
||||||
changequote([,])
|
changequote([,])
|
||||||
if test ! "$MAKENSIS_VER" == ""; then
|
if test ! "$MAKENSISU_VER" == ""; then
|
||||||
MAKENSIS_MAJOR_VER=`echo $MAKENSIS_VER | $AWK -F\. '{ print $1 }'`
|
MAKENSISU_MAJOR_VER=`echo $MAKENSISU_VER | $AWK -F\. '{ print $1 }'`
|
||||||
MAKENSIS_MINOR_VER=`echo $MAKENSIS_VER | $AWK -F\. '{ print $2 }'`
|
MAKENSISU_MINOR_VER=`echo $MAKENSISU_VER | $AWK -F\. '{ print $2 }'`
|
||||||
fi
|
fi
|
||||||
AC_MSG_CHECKING([for Unicode NSIS with major version == $REQ_NSIS_MAJOR_VER and minor version >= $MIN_NSIS_MINOR_VER])
|
AC_MSG_CHECKING([for Unicode NSIS with major version == $REQ_NSIS_MAJOR_VER and minor version >= $MIN_NSIS_MINOR_VER])
|
||||||
if test "$MAKENSIS_VER" == "" ||
|
if test "$MAKENSISU_VER" == "" ||
|
||||||
test ! "$MAKENSIS_MAJOR_VER" == "$REQ_NSIS_MAJOR_VER" ||
|
test ! "$MAKENSISU_MAJOR_VER" == "$REQ_NSIS_MAJOR_VER" ||
|
||||||
test ! "$MAKENSIS_MINOR_VER" -ge $MIN_NSIS_MINOR_VER; then
|
test ! "$MAKENSISU_MINOR_VER" -ge $MIN_NSIS_MINOR_VER; then
|
||||||
AC_MSG_RESULT([no])
|
AC_MSG_RESULT([no])
|
||||||
AC_MSG_ERROR([To build the installer you must have the latest MozillaBuild or Unicode NSIS with a major version of $REQ_NSIS_MAJOR_VER and a minimum minor version of $MIN_NSIS_MINOR_VER in your path. To build without the installer reconfigure using --disable-installer.])
|
AC_MSG_ERROR([To build the installer you must have the latest MozillaBuild or Unicode NSIS with a major version of $REQ_NSIS_MAJOR_VER and a minimum minor version of $MIN_NSIS_MINOR_VER in your path. To build without the installer reconfigure using --disable-installer.])
|
||||||
fi
|
fi
|
||||||
AC_MSG_RESULT([yes])
|
AC_MSG_RESULT([yes])
|
||||||
MAKENSIS="${CYGWIN_WRAPPER} $MAKENSIS"
|
MAKENSISU="${CYGWIN_WRAPPER} $MAKENSISU"
|
||||||
|
|
||||||
# The Windows build for NSIS requires the iconv command line utility to
|
# The Windows build for NSIS requires the iconv command line utility to
|
||||||
# convert the charset of the locale files.
|
# convert the charset of the locale files.
|
||||||
|
@ -8717,7 +8717,7 @@ AC_SUBST(CYGWIN_WRAPPER)
|
||||||
AC_SUBST(AS_PERL)
|
AC_SUBST(AS_PERL)
|
||||||
AC_SUBST(WIN32_REDIST_DIR)
|
AC_SUBST(WIN32_REDIST_DIR)
|
||||||
AC_SUBST(PYTHON)
|
AC_SUBST(PYTHON)
|
||||||
AC_SUBST(MAKENSIS)
|
AC_SUBST(MAKENSISU)
|
||||||
|
|
||||||
AC_SUBST(WINCE)
|
AC_SUBST(WINCE)
|
||||||
AC_SUBST(WINCE_SDK_DIR)
|
AC_SUBST(WINCE_SDK_DIR)
|
||||||
|
|
|
@ -69,10 +69,10 @@ $(CONFIG_DIR)/setup.exe::
|
||||||
done
|
done
|
||||||
$(INSTALL) $(addprefix $(MOZILLA_DIR)/other-licenses/nsis/Plugins/,$(CUSTOM_NSIS_PLUGINS)) $(CONFIG_DIR)
|
$(INSTALL) $(addprefix $(MOZILLA_DIR)/other-licenses/nsis/Plugins/,$(CUSTOM_NSIS_PLUGINS)) $(CONFIG_DIR)
|
||||||
$(INSTALL) $(MOZILLA_DIR)/toolkit/mozapps/installer/windows/nsis/setup.ico $(CONFIG_DIR)
|
$(INSTALL) $(MOZILLA_DIR)/toolkit/mozapps/installer/windows/nsis/setup.ico $(CONFIG_DIR)
|
||||||
cd $(CONFIG_DIR) && $(MAKENSIS) installer.nsi
|
cd $(CONFIG_DIR) && $(MAKENSISU) installer.nsi
|
||||||
# Support for building the uninstaller when repackaging locales
|
# Support for building the uninstaller when repackaging locales
|
||||||
ifeq ($(CONFIG_DIR),l10ngen)
|
ifeq ($(CONFIG_DIR),l10ngen)
|
||||||
cd $(CONFIG_DIR) && $(MAKENSIS) uninstaller.nsi
|
cd $(CONFIG_DIR) && $(MAKENSISU) uninstaller.nsi
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(CONFIG_DIR)/7zSD.sfx:
|
$(CONFIG_DIR)/7zSD.sfx:
|
||||||
|
@ -95,6 +95,6 @@ uninstaller::
|
||||||
done
|
done
|
||||||
$(INSTALL) $(addprefix $(MOZILLA_DIR)/other-licenses/nsis/Plugins/,$(CUSTOM_NSIS_PLUGINS)) $(CONFIG_DIR)
|
$(INSTALL) $(addprefix $(MOZILLA_DIR)/other-licenses/nsis/Plugins/,$(CUSTOM_NSIS_PLUGINS)) $(CONFIG_DIR)
|
||||||
$(INSTALL) $(MOZILLA_DIR)/toolkit/mozapps/installer/windows/nsis/setup.ico $(CONFIG_DIR)
|
$(INSTALL) $(MOZILLA_DIR)/toolkit/mozapps/installer/windows/nsis/setup.ico $(CONFIG_DIR)
|
||||||
cd $(CONFIG_DIR) && $(MAKENSIS) uninstaller.nsi
|
cd $(CONFIG_DIR) && $(MAKENSISU) uninstaller.nsi
|
||||||
$(NSINSTALL) -D $(DIST)/bin/uninstall
|
$(NSINSTALL) -D $(DIST)/bin/uninstall
|
||||||
cp $(CONFIG_DIR)/helper.exe $(DIST)/bin/uninstall
|
cp $(CONFIG_DIR)/helper.exe $(DIST)/bin/uninstall
|
||||||
|
|
Загрузка…
Ссылка в новой задаче