mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset 72f014c66fe8 (bug 1237040) for breaking builds on windows 8
This commit is contained in:
parent
a3d07c47da
commit
3e4ce8dc5a
34
configure.in
34
configure.in
@ -6278,49 +6278,41 @@ dnl minimum minor version of Unicode NSIS isn't in the path
|
|||||||
dnl (unless in case of cross compiling, for which Unicode
|
dnl (unless in case of cross compiling, for which Unicode
|
||||||
dnl is not yet sufficient).
|
dnl is not yet sufficient).
|
||||||
if test "$OS_ARCH" = "WINNT"; then
|
if test "$OS_ARCH" = "WINNT"; then
|
||||||
MIN_NSIS_MAJOR_VER=3
|
MIN_NSIS_MAJOR_VER=2
|
||||||
MIN_NSIS_MINOR_VER=0
|
MIN_NSIS_MINOR_VER=46
|
||||||
MIN_NSIS_PRERELEASE_TYPE=b
|
MOZ_PATH_PROGS(MAKENSISU, $MAKENSISU makensis-3.0b1.exe makensisu-3.0a2.exe makensisu-2.46.exe makensis)
|
||||||
MIN_NSIS_PRERELEASE_VER=1
|
|
||||||
MOZ_PATH_PROGS(MAKENSISU, $MAKENSISU makensis-3.0b3.exe makensis-3.0b1.exe makensis)
|
|
||||||
if test -n "$MAKENSISU" -a "$MAKENSISU" != ":"; then
|
if test -n "$MAKENSISU" -a "$MAKENSISU" != ":"; then
|
||||||
AC_MSG_RESULT([yes])
|
AC_MSG_RESULT([yes])
|
||||||
MAKENSISU_VER=`"$MAKENSISU" -version 2>/dev/null`
|
MAKENSISU_VER=`"$MAKENSISU" -version 2>/dev/null`
|
||||||
|
changequote(,)
|
||||||
|
MAKENSISU_PARSED_VER=`echo "$MAKENSISU_VER" | sed -e '/-Unicode/!s/.*//g' -e 's/^v\([0-9]\+\.[0-9]\+\).*\-Unicode$/\1/g'`
|
||||||
|
changequote([,])
|
||||||
|
if test "$MAKENSISU_PARSED_VER" = ""; then
|
||||||
changequote(,)
|
changequote(,)
|
||||||
MAKENSISU_PARSED_VER=`echo "$MAKENSISU_VER" | sed -e 's/^v\([0-9]\+\.[0-9]\+\).*$/\1/g'`
|
MAKENSISU_PARSED_VER=`echo "$MAKENSISU_VER" | sed -e 's/^v\([0-9]\+\.[0-9]\+\).*$/\1/g'`
|
||||||
changequote([,])
|
changequote([,])
|
||||||
|
fi
|
||||||
MAKENSISU_MAJOR_VER=0
|
MAKENSISU_MAJOR_VER=0
|
||||||
MAKENSISU_MINOR_VER=0
|
MAKENSISU_MINOR_VER=0
|
||||||
MAKENSISU_PRERELEASE_TYPE=$MIN_NSIS_PRERELEASE_TYPE
|
|
||||||
MAKENSISU_PRERELEASE_VER=$MIN_NSIS_PRERELEASE_VER
|
|
||||||
if test ! "$MAKENSISU_PARSED_VER" = ""; then
|
if test ! "$MAKENSISU_PARSED_VER" = ""; then
|
||||||
MAKENSISU_MAJOR_VER=`echo $MAKENSISU_PARSED_VER | $AWK -F\. '{ print $1 }'`
|
MAKENSISU_MAJOR_VER=`echo $MAKENSISU_PARSED_VER | $AWK -F\. '{ print $1 }'`
|
||||||
MAKENSISU_MINOR_VER=`echo $MAKENSISU_PARSED_VER | $AWK -F\. '{ print $2 }'`
|
MAKENSISU_MINOR_VER=`echo $MAKENSISU_PARSED_VER | $AWK -F\. '{ print $2 }'`
|
||||||
changequote(,)
|
|
||||||
MAKENSISU_PARSED_PRERELEASE=`echo "$MAKENSISU_VER" | sed -e 's/^v[0-9]\+\.[0-9]\+\([^0-9]\+\)\([0-9]\+\).*$/\1.\2/g'`
|
|
||||||
changequote([,])
|
|
||||||
if test ! "$MAKENSISU_PARSED_PRERELEASE" = "$MAKENSISU_VER"; then
|
|
||||||
MAKENSISU_PRERELEASE_TYPE=`echo $MAKENSISU_PARSED_PRERELEASE | $AWK -F\. '{ print $1 }'`
|
|
||||||
MAKENSISU_PRERELEASE_VER=`echo $MAKENSISU_PARSED_PRERELEASE | $AWK -F\. '{ print $2 }'`
|
|
||||||
fi
|
fi
|
||||||
fi
|
AC_MSG_CHECKING([for Unicode NSIS version $MIN_NSIS_MAJOR_VER.$MIN_NSIS_MINOR_VER or greater])
|
||||||
AC_MSG_CHECKING([for NSIS version $MIN_NSIS_MAJOR_VER.$MIN_NSIS_MINOR_VER$MIN_NSIS_PRERELEASE_TYPE$MIN_NSIS_PRERELEASE_VER or greater])
|
|
||||||
if test "$MAKENSISU_MAJOR_VER" -eq $MIN_NSIS_MAJOR_VER -a \
|
if test "$MAKENSISU_MAJOR_VER" -eq $MIN_NSIS_MAJOR_VER -a \
|
||||||
"$MAKENSISU_MINOR_VER" -ge $MIN_NSIS_MINOR_VER -a \
|
"$MAKENSISU_MINOR_VER" -ge $MIN_NSIS_MINOR_VER ||
|
||||||
"$MAKENSISU_PRERELEASE_TYPE" = "$MIN_NSIS_PRERELEASE_TYPE" -a \
|
test "$MAKENSISU_MAJOR_VER" -gt $MIN_NSIS_MAJOR_VER; then
|
||||||
"$MAKENSISU_PRERELEASE_VER" -ge $MIN_NSIS_PRERELEASE_VER; then
|
|
||||||
AC_MSG_RESULT([yes])
|
AC_MSG_RESULT([yes])
|
||||||
AC_MSG_RESULT([Found NSIS Version: $MAKENSISU_VER])
|
|
||||||
else
|
else
|
||||||
AC_MSG_RESULT([no])
|
AC_MSG_RESULT([no])
|
||||||
if test -z "$CROSS_COMPILE"; then
|
if test -z "$CROSS_COMPILE"; then
|
||||||
AC_MSG_ERROR([To build the installer you must have the latest MozillaBuild or NSIS version $MIN_NSIS_MAJOR_VER.$MIN_NSIS_MINOR_VER$MIN_NSIS_PRERELEASE_TYPE$MIN_NSIS_PRERELEASE_VER or greater in your path.])
|
AC_MSG_ERROR([To build the installer you must have the latest MozillaBuild or Unicode NSIS version $MIN_NSIS_MAJOR_VER.$MIN_NSIS_MINOR_VER or greater in your path.])
|
||||||
else
|
else
|
||||||
MAKENSISU=
|
MAKENSISU=
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
elif test -z "$CROSS_COMPILE"; then
|
elif test -z "$CROSS_COMPILE"; then
|
||||||
AC_MSG_ERROR([To build the installer you must have the latest MozillaBuild or NSIS version $MIN_NSIS_MAJOR_VER.$MIN_NSIS_MINOR_VER$MIN_NSIS_PRERELEASE_TYPE$MIN_NSIS_PRERELEASE_VER or greater in your path.])
|
AC_MSG_ERROR([To build the installer you must have the latest MozillaBuild or Unicode NSIS version $MIN_NSIS_MAJOR_VER.$MIN_NSIS_MINOR_VER or greater in your path.])
|
||||||
else
|
else
|
||||||
MAKENSISU=
|
MAKENSISU=
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user