Commit 9571f781 authored by Joel Holdsworth's avatar Joel Holdsworth Committed by Alexandre Julliard

configure: Fix for icotool version checking regex.

parent d8688d58
......@@ -5121,8 +5121,8 @@ $as_echo_n "checking for recent enough icotool... " >&6; }
icotool_version=`icotool --version | head -n1`
if test "x$icotool_version" != "x"
then
icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\).[0-9]*'`
icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*.\([0-9]*\)'`
icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
then
ICOTOOL=false
......
......@@ -296,8 +296,8 @@ then
icotool_version=`icotool --version | head -n1`
if test "x$icotool_version" != "x"
then
icotool_version_major=`expr "$icotool_version" : '.* \([[0-9]]*\).[[0-9]]*'`
icotool_version_minor=`expr "$icotool_version" : '.* [[0-9]]*.\([[0-9]]*\)'`
icotool_version_major=`expr "$icotool_version" : '.* \([[0-9]]*\)\.[[0-9]]*'`
icotool_version_minor=`expr "$icotool_version" : '.* [[0-9]]*\.\([[0-9]]*\)'`
if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
then
ICOTOOL=false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment