зеркало из https://github.com/mozilla/gecko-dev.git
Since we build a program called nsinstall in the tree, make sure that uwe use the full path to the nsinstall.exe found in wintools.zip.
Bug #123294 r=bryner
This commit is contained in:
Родитель
cb926125b8
Коммит
eddc5fef3f
|
@ -376,3 +376,4 @@ MOZ_PROFILE = @MOZ_PROFILE@
|
|||
MOZ_COVERAGE = @MOZ_COVERAGE@
|
||||
MOZ_MAPINFO = @MOZ_MAPINFO@
|
||||
MOZ_BROWSE_INFO = @MOZ_BROWSE_INFO@
|
||||
MOZ_TOOLS_DIR = @MOZ_TOOLS_DIR@
|
||||
|
|
|
@ -714,7 +714,11 @@ endif
|
|||
GARBAGE += $(DEPENDENCIES) $(MKDEPENDENCIES) $(MKDEPENDENCIES).bak core $(wildcard core.[0-9]*) $(wildcard *.err) $(wildcard *.pure) $(wildcard *_pure_*.o) Templates.DB
|
||||
|
||||
ifeq (,$(filter-out WINNT, $(OS_ARCH)))
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
NSINSTALL = $(MOZ_TOOLS_DIR)/bin/nsinstall
|
||||
else
|
||||
NSINSTALL = nsinstall
|
||||
endif
|
||||
INSTALL = $(NSINSTALL)
|
||||
else
|
||||
NSINSTALL = $(CONFIG_TOOLS)/nsinstall
|
||||
|
|
|
@ -2816,7 +2816,7 @@ else
|
|||
echo "$ac_t""no" 1>&6
|
||||
fi
|
||||
|
||||
for ac_prog in gawk mawk nawk awk
|
||||
for ac_prog in mawk gawk nawk awk
|
||||
do
|
||||
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
||||
set dummy $ac_prog; ac_word=$2
|
||||
|
@ -4773,15 +4773,15 @@ EOF
|
|||
fi
|
||||
|
||||
if test "$MOZ_TOOLS"; then
|
||||
_MOZTOOLS=`cd $MOZ_TOOLS && pwd`
|
||||
if test "$?" != "0" || test -z "$_MOZTOOLS"; then
|
||||
MOZ_TOOLS_DIR=`cd $MOZ_TOOLS && pwd`
|
||||
if test "$?" != "0" || test -z "$MOZ_TOOLS_DIR"; then
|
||||
{ echo "configure: error: cd \$MOZ_TOOLS failed. MOZ_TOOLS ==? $MOZ_TOOLS" 1>&2; exit 1; }
|
||||
fi
|
||||
_MOZTOOLS=`echo $_MOZTOOLS | sed -e 's|^/cygdrive/||' -e 's|/|:/|'`
|
||||
GLIB_CFLAGS="-I${_MOZTOOLS}/include"
|
||||
GLIB_LIBS="${_MOZTOOLS}/lib/glib-1.2.lib"
|
||||
LIBIDL_CFLAGS="-I${_MOZTOOLS}/include"
|
||||
LIBIDL_LIBS="${_MOZTOOLS}/lib/libidl-0.6.lib ${_MOZTOOLS}/lib/glib-1.2.lib"
|
||||
MOZ_TOOLS_DIR=`echo $MOZ_TOOLS_DIR | sed -e 's|^/cygdrive/||' -e 's|/|:/|'`
|
||||
GLIB_CFLAGS='-I$(MOZ_TOOLS_DIR)/include'
|
||||
GLIB_LIBS='$(MOZ_TOOLS_DIR)/lib/glib-1.2.lib'
|
||||
LIBIDL_CFLAGS='-I$(MOZ_TOOLS_DIR)/include'
|
||||
LIBIDL_LIBS='$(MOZ_TOOLS_DIR)/lib/libidl-0.6.lib $(MOZ_TOOLS_DIR)/lib/glib-1.2.lib'
|
||||
else
|
||||
{ echo "configure: error: MOZ_TOOLS is not set" 1>&2; exit 1; }
|
||||
fi
|
||||
|
@ -13044,6 +13044,7 @@ EOF
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
if test "$MOZ_BYPASS_PROFILE_AT_STARTUP"; then
|
||||
|
@ -13661,6 +13662,7 @@ s%@MOZ_PROFILE@%$MOZ_PROFILE%g
|
|||
s%@MOZ_COVERAGE@%$MOZ_COVERAGE%g
|
||||
s%@MOZ_MAPINFO@%$MOZ_MAPINFO%g
|
||||
s%@MOZ_BROWSE_INFO@%$MOZ_BROWSE_INFO%g
|
||||
s%@MOZ_TOOLS_DIR@%$MOZ_TOOLS_DIR%g
|
||||
s%@SYSTEM_JPEG@%$SYSTEM_JPEG%g
|
||||
s%@SYSTEM_PNG@%$SYSTEM_PNG%g
|
||||
s%@SYSTEM_MNG@%$SYSTEM_MNG%g
|
||||
|
|
15
configure.in
15
configure.in
|
@ -966,15 +966,15 @@ case "$target" in
|
|||
fi
|
||||
|
||||
if test "$MOZ_TOOLS"; then
|
||||
_MOZTOOLS=`cd $MOZ_TOOLS && pwd`
|
||||
if test "$?" != "0" || test -z "$_MOZTOOLS"; then
|
||||
MOZ_TOOLS_DIR=`cd $MOZ_TOOLS && pwd`
|
||||
if test "$?" != "0" || test -z "$MOZ_TOOLS_DIR"; then
|
||||
AC_MSG_ERROR([cd \$MOZ_TOOLS failed. MOZ_TOOLS ==? $MOZ_TOOLS])
|
||||
fi
|
||||
_MOZTOOLS=`echo $_MOZTOOLS | sed -e 's|^/cygdrive/||' -e 's|/|:/|'`
|
||||
GLIB_CFLAGS="-I${_MOZTOOLS}/include"
|
||||
GLIB_LIBS="${_MOZTOOLS}/lib/glib-1.2.lib"
|
||||
LIBIDL_CFLAGS="-I${_MOZTOOLS}/include"
|
||||
LIBIDL_LIBS="${_MOZTOOLS}/lib/libidl-0.6.lib ${_MOZTOOLS}/lib/glib-1.2.lib"
|
||||
MOZ_TOOLS_DIR=`echo $MOZ_TOOLS_DIR | sed -e 's|^/cygdrive/||' -e 's|/|:/|'`
|
||||
GLIB_CFLAGS='-I$(MOZ_TOOLS_DIR)/include'
|
||||
GLIB_LIBS='$(MOZ_TOOLS_DIR)/lib/glib-1.2.lib'
|
||||
LIBIDL_CFLAGS='-I$(MOZ_TOOLS_DIR)/include'
|
||||
LIBIDL_LIBS='$(MOZ_TOOLS_DIR)/lib/libidl-0.6.lib $(MOZ_TOOLS_DIR)/lib/glib-1.2.lib'
|
||||
else
|
||||
AC_MSG_ERROR([MOZ_TOOLS is not set])
|
||||
fi
|
||||
|
@ -4213,6 +4213,7 @@ AC_SUBST(MOZ_PROFILE)
|
|||
AC_SUBST(MOZ_COVERAGE)
|
||||
AC_SUBST(MOZ_MAPINFO)
|
||||
AC_SUBST(MOZ_BROWSE_INFO)
|
||||
AC_SUBST(MOZ_TOOLS_DIR)
|
||||
|
||||
dnl Disable profile at startup, hack for tinderbox.
|
||||
if test "$MOZ_BYPASS_PROFILE_AT_STARTUP"; then
|
||||
|
|
Загрузка…
Ссылка в новой задаче