equal
deleted
inserted
replaced
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]) |
330 fi |
330 fi |
331 AC_MSG_CHECKING([cygwin root directory as unix-style path]) |
331 AC_MSG_CHECKING([cygwin root directory as unix-style path]) |
332 # The cmd output ends with Windows line endings (CR/LF), the grep command will strip that away |
332 # The cmd output ends with Windows line endings (CR/LF) |
333 cygwin_winpath_root=`cd / ; cmd /c cd | $GREP ".*"` |
333 cygwin_winpath_root=`cd / ; cmd /c cd | $TR -d '\r\n'` |
334 # Force cygpath to report the proper root by including a trailing space, and then stripping it off again. |
334 # Force cygpath to report the proper root by including a trailing space, and then stripping it off again. |
335 CYGWIN_ROOT_PATH=`$CYGPATH -u "$cygwin_winpath_root " | $CUT -f 1 -d " "` |
335 CYGWIN_ROOT_PATH=`$CYGPATH -u "$cygwin_winpath_root " | $CUT -f 1 -d " "` |
336 AC_MSG_RESULT([$CYGWIN_ROOT_PATH]) |
336 AC_MSG_RESULT([$CYGWIN_ROOT_PATH]) |
337 WINDOWS_ENV_ROOT_PATH="$CYGWIN_ROOT_PATH" |
337 WINDOWS_ENV_ROOT_PATH="$CYGWIN_ROOT_PATH" |
338 test_cygdrive_prefix=`$ECHO $CYGWIN_ROOT_PATH | $GREP ^/cygdrive/` |
338 test_cygdrive_prefix=`$ECHO $CYGWIN_ROOT_PATH | $GREP ^/cygdrive/` |