From ac82093333219d9e5035c12e2dce568bad2af4f2 Mon Sep 17 00:00:00 2001 From: Tim Abraldes Date: Tue, 29 Jan 2013 14:05:22 -0800 Subject: [PATCH] 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 --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 4cdc011c8661..11b1405b0b56 100644 --- a/configure.in +++ b/configure.in @@ -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 }'`