common/autoconf/basics_windows.m4
changeset 30076 55f2f5bc0f2a
parent 30022 362d77fbf008
child 34101 a1db3b482137
equal deleted inserted replaced
30073:989253a902c3 30076:55f2f5bc0f2a
   318     CYGWIN_VERSION=`$UNAME -r`
   318     CYGWIN_VERSION=`$UNAME -r`
   319     AC_MSG_RESULT([$CYGWIN_VERSION])
   319     AC_MSG_RESULT([$CYGWIN_VERSION])
   320     WINDOWS_ENV_VENDOR='cygwin'
   320     WINDOWS_ENV_VENDOR='cygwin'
   321     WINDOWS_ENV_VERSION="$CYGWIN_VERSION"
   321     WINDOWS_ENV_VERSION="$CYGWIN_VERSION"
   322 
   322 
   323     CYGWIN_VERSION_OK=`$ECHO $CYGWIN_VERSION | $GREP ^1.7.`
   323     CYGWIN_VERSION_OLD=`$ECHO $CYGWIN_VERSION | $GREP -e '^1\.[0-6]'`
   324     if test "x$CYGWIN_VERSION_OK" = x; then
   324     if test "x$CYGWIN_VERSION_OLD" != x; then
   325       AC_MSG_NOTICE([Your cygwin is too old. You are running $CYGWIN_VERSION, but at least cygwin 1.7 is required. Please upgrade.])
   325       AC_MSG_NOTICE([Your cygwin is too old. You are running $CYGWIN_VERSION, but at least cygwin 1.7 is required. Please upgrade.])
   326       AC_MSG_ERROR([Cannot continue])
   326       AC_MSG_ERROR([Cannot continue])
   327     fi
   327     fi
   328     if test "x$CYGPATH" = x; then
   328     if test "x$CYGPATH" = x; then
   329       AC_MSG_ERROR([Something is wrong with your cygwin installation since I cannot find cygpath.exe in your path])
   329       AC_MSG_ERROR([Something is wrong with your cygwin installation since I cannot find cygpath.exe in your path])