< prev index next >

make/autoconf/basics_windows.m4

Print this page

        

*** 351,362 **** # The cmd output ends with Windows line endings (CR/LF), the grep command will strip that away MSYS_ROOT_PATH=`cd / ; cmd /c cd | $GREP ".*"` BASIC_WINDOWS_REWRITE_AS_UNIX_PATH(MSYS_ROOT_PATH) AC_MSG_RESULT([$MSYS_ROOT_PATH]) WINDOWS_ENV_ROOT_PATH="$MSYS_ROOT_PATH" else ! AC_MSG_ERROR([Unknown Windows environment. Neither cygwin nor msys was detected.]) fi # Test if windows or unix (cygwin/msys) find is first in path. AC_MSG_CHECKING([what kind of 'find' is first on the PATH]) FIND_BINARY_OUTPUT=`find --version 2>&1` --- 351,371 ---- # The cmd output ends with Windows line endings (CR/LF), the grep command will strip that away MSYS_ROOT_PATH=`cd / ; cmd /c cd | $GREP ".*"` BASIC_WINDOWS_REWRITE_AS_UNIX_PATH(MSYS_ROOT_PATH) AC_MSG_RESULT([$MSYS_ROOT_PATH]) WINDOWS_ENV_ROOT_PATH="$MSYS_ROOT_PATH" + elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.wsl"; then + AC_MSG_CHECKING([wsl kernel]) + WSL_KERNEL_VERSION=`$UNAME -r` + AC_MSG_RESULT([$WSL_KERNEL_VERSION]) + + WINDOWS_ENV_VENDOR='wsl' + WINDOWS_ENV_VERSION="$WSL_KERNEL_VERSION" + + WINDOWS_ENV_ROOT_PATH="/mnt/c" else ! AC_MSG_ERROR([Unknown Windows environment: $OPENJDK_BUILD_OS_ENV ]) fi # Test if windows or unix (cygwin/msys) find is first in path. AC_MSG_CHECKING([what kind of 'find' is first on the PATH]) FIND_BINARY_OUTPUT=`find --version 2>&1`
< prev index next >