171 *linux*) 172 VAR_OS=linux 173 VAR_OS_TYPE=unix 174 ;; 175 *solaris*) 176 VAR_OS=solaris 177 VAR_OS_TYPE=unix 178 ;; 179 *darwin*) 180 VAR_OS=macosx 181 VAR_OS_TYPE=unix 182 ;; 183 *bsd*) 184 VAR_OS=bsd 185 VAR_OS_TYPE=unix 186 ;; 187 *cygwin*) 188 VAR_OS=windows 189 VAR_OS_ENV=windows.cygwin 190 ;; 191 *mingw*) 192 VAR_OS=windows 193 VAR_OS_ENV=windows.msys 194 ;; 195 *aix*) 196 VAR_OS=aix 197 VAR_OS_TYPE=unix 198 ;; 199 *) 200 AC_MSG_ERROR([unsupported operating system $1]) 201 ;; 202 esac 203 ]) 204 205 # Expects $host_os $host_cpu $build_os and $build_cpu 206 # and $with_target_bits to have been setup! 207 # 208 # Translate the standard triplet(quadruplet) definition 209 # of the target/build system into OPENJDK_TARGET_OS, OPENJDK_TARGET_CPU, 210 # OPENJDK_BUILD_OS, etc. | 171 *linux*) 172 VAR_OS=linux 173 VAR_OS_TYPE=unix 174 ;; 175 *solaris*) 176 VAR_OS=solaris 177 VAR_OS_TYPE=unix 178 ;; 179 *darwin*) 180 VAR_OS=macosx 181 VAR_OS_TYPE=unix 182 ;; 183 *bsd*) 184 VAR_OS=bsd 185 VAR_OS_TYPE=unix 186 ;; 187 *cygwin*) 188 VAR_OS=windows 189 VAR_OS_ENV=windows.cygwin 190 ;; 191 *wsl*) 192 VAR_OS=windows 193 VAR_OS_ENV=windows.wsl 194 ;; 195 *mingw*) 196 VAR_OS=windows 197 VAR_OS_ENV=windows.msys 198 ;; 199 *aix*) 200 VAR_OS=aix 201 VAR_OS_TYPE=unix 202 ;; 203 *) 204 AC_MSG_ERROR([unsupported operating system $1]) 205 ;; 206 esac 207 ]) 208 209 # Expects $host_os $host_cpu $build_os and $build_cpu 210 # and $with_target_bits to have been setup! 211 # 212 # Translate the standard triplet(quadruplet) definition 213 # of the target/build system into OPENJDK_TARGET_OS, OPENJDK_TARGET_CPU, 214 # OPENJDK_BUILD_OS, etc. |