-# Check that we have what we need, or die quickly.
-# The paths are not the same on all platforms, unfortunately.
-#test -e /bin/tar || die 1 "I need tar to compile. Please fix your slave."
-#test -e /bin/gzip || die 1 "I need gzip to compile. Please fix your slave."
-#test -e /usr/include/libunwind.h || die 1 "I need libunwind to compile. Please fix your slave."
-#test -e /usr/include/valgrind/valgrind.h || die 1 "I need valgrind to compile. Please fix your slave."
-
-if type lsb_release >/dev/null 2>&1; then
- if [ -f /mnt/c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe ]; then
- #To identify the windows underneath the winbuntu
- PATH="/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:$PATH"
- major=$(powershell.exe -command "[environment]::OSVersion.Version.Major" | sed 's/\r//g')
- build=$(powershell.exe -command "[environment]::OSVersion.Version.Build"| sed 's/\r//g')
- os=Windows
- ver="$major v$build - WSL $(lsb_release -sd)"
- else