common/autoconf/basics_windows.m4

changeset 1395
ff2690c06dd8
parent 839
174a54ce39c4
child 1482
8fb429038513
child 2210
a05ed58d5ae0
     1.1 --- a/common/autoconf/basics_windows.m4	Wed Apr 29 14:04:33 2015 -0700
     1.2 +++ b/common/autoconf/basics_windows.m4	Tue May 05 16:40:47 2015 +0200
     1.3 @@ -312,8 +312,8 @@
     1.4      WINDOWS_ENV_VENDOR='cygwin'
     1.5      WINDOWS_ENV_VERSION="$CYGWIN_VERSION"
     1.6  
     1.7 -    CYGWIN_VERSION_OK=`$ECHO $CYGWIN_VERSION | $GREP ^1.7.`
     1.8 -    if test "x$CYGWIN_VERSION_OK" = x; then
     1.9 +    CYGWIN_VERSION_OLD=`$ECHO $CYGWIN_VERSION | $GREP -e '^1\.[0-6]'`
    1.10 +    if test "x$CYGWIN_VERSION_OLD" != x; then
    1.11        AC_MSG_NOTICE([Your cygwin is too old. You are running $CYGWIN_VERSION, but at least cygwin 1.7 is required. Please upgrade.])
    1.12        AC_MSG_ERROR([Cannot continue])
    1.13      fi

mercurial