bug 834434. Configure should ignore anything after the first minor version number and before the "-Unicode" in the NSIS version string. e.g. "major.minor[ignore everything here]-Unicode". r=ted

This commit is contained in:
Tim Abraldes 2013-01-29 14:05:22 -08:00
Родитель c429163e8b
Коммит ac82093333
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -6180,7 +6180,7 @@ if test "$OS_ARCH" = "WINNT"; then
if test -n "$MAKENSISU" -a "$MAKENSISU" != ":"; then
AC_MSG_RESULT([yes])
changequote(,)
MAKENSISU_VER=`"$MAKENSISU" -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([,])
if test ! "$MAKENSISU_VER" = ""; then
MAKENSISU_MAJOR_VER=`echo $MAKENSISU_VER | $AWK -F\. '{ print $1 }'`