126 ;;
127 *cygwin*)
128 VAR_OS=windows
129 VAR_OS_ENV=windows.cygwin
130 ;;
131 *mingw*)
132 VAR_OS=windows
133 VAR_OS_ENV=windows.msys
134 ;;
135 *aix*)
136 VAR_OS=aix
137 VAR_OS_TYPE=unix
138 ;;
139 *)
140 AC_MSG_ERROR([unsupported operating system $1])
141 ;;
142 esac
143
144 case "$1" in
145 *linux*-musl)
146 VAR_CLIB=musl
147 ;;
148 *linux*-gnu)
149 VAR_CLIB=gnu
150 ;;
151 *)
152 VAR_CLIB=default
153 ;;
154 esac
155 ])
156
157 # Expects $host_os $host_cpu $build_os and $build_cpu
158 # and $with_target_bits to have been setup!
159 #
160 # Translate the standard triplet(quadruplet) definition
161 # of the target/build system into OPENJDK_TARGET_OS, OPENJDK_TARGET_CPU,
162 # OPENJDK_BUILD_OS, etc.
163 AC_DEFUN([PLATFORM_EXTRACT_TARGET_AND_BUILD],
164 [
165 # Copy the autoconf trip/quadruplet verbatim to OPENJDK_TARGET_AUTOCONF_NAME
166 # (from the autoconf "host") and OPENJDK_BUILD_AUTOCONF_NAME
167 # Note that we might later on rewrite e.g. OPENJDK_TARGET_CPU due to reduced build,
168 # but this will not change the value of OPENJDK_TARGET_AUTOCONF_NAME.
169 OPENJDK_TARGET_AUTOCONF_NAME="$host"
170 OPENJDK_BUILD_AUTOCONF_NAME="$build"
171 AC_SUBST(OPENJDK_TARGET_AUTOCONF_NAME)
172 AC_SUBST(OPENJDK_BUILD_AUTOCONF_NAME)
173
174 # Convert the autoconf OS/CPU value to our own data, into the VAR_OS/CPU variables.
175 PLATFORM_EXTRACT_VARS_FROM_OS($build_os)
176 PLATFORM_EXTRACT_VARS_FROM_CPU($build_cpu)
177 # ..and setup our own variables. (Do this explicitly to facilitate searching)
178 OPENJDK_BUILD_OS="$VAR_OS"
179 if test "x$VAR_OS_TYPE" != x; then
180 OPENJDK_BUILD_OS_TYPE="$VAR_OS_TYPE"
181 else
182 OPENJDK_BUILD_OS_TYPE="$VAR_OS"
183 fi
184 if test "x$VAR_OS_ENV" != x; then
185 OPENJDK_BUILD_OS_ENV="$VAR_OS_ENV"
186 else
187 OPENJDK_BUILD_OS_ENV="$VAR_OS"
188 fi
189 OPENJDK_BUILD_CPU="$VAR_CPU"
190 OPENJDK_BUILD_CPU_ARCH="$VAR_CPU_ARCH"
191 OPENJDK_BUILD_CPU_BITS="$VAR_CPU_BITS"
192 OPENJDK_BUILD_CPU_ENDIAN="$VAR_CPU_ENDIAN"
193 OPENJDK_BUILD_CLIB="$VAR_CLIB"
194 AC_SUBST(OPENJDK_BUILD_OS)
195 AC_SUBST(OPENJDK_BUILD_OS_TYPE)
196 AC_SUBST(OPENJDK_BUILD_OS_ENV)
197 AC_SUBST(OPENJDK_BUILD_CPU)
198 AC_SUBST(OPENJDK_BUILD_CPU_ARCH)
199 AC_SUBST(OPENJDK_BUILD_CPU_BITS)
200 AC_SUBST(OPENJDK_BUILD_CPU_ENDIAN)
201 AC_SUBST(OPENJDK_BUILD_CLIB)
202
203 AC_MSG_CHECKING([openjdk-build os-cpu])
204 AC_MSG_RESULT([$OPENJDK_BUILD_OS-$OPENJDK_BUILD_CPU])
205
206 if test "x$OPENJDK_BUILD_OS" = "xlinux"; then
207 AC_MSG_CHECKING([openjdk-build C library])
208 AC_MSG_RESULT([$OPENJDK_BUILD_CLIB])
209 fi
210
211 # Convert the autoconf OS/CPU value to our own data, into the VAR_OS/CPU variables.
212 PLATFORM_EXTRACT_VARS_FROM_OS($host_os)
213 PLATFORM_EXTRACT_VARS_FROM_CPU($host_cpu)
214 # ... and setup our own variables. (Do this explicitly to facilitate searching)
215 OPENJDK_TARGET_OS="$VAR_OS"
216 if test "x$VAR_OS_TYPE" != x; then
217 OPENJDK_TARGET_OS_TYPE="$VAR_OS_TYPE"
218 else
219 OPENJDK_TARGET_OS_TYPE="$VAR_OS"
220 fi
221 if test "x$VAR_OS_ENV" != x; then
222 OPENJDK_TARGET_OS_ENV="$VAR_OS_ENV"
223 else
224 OPENJDK_TARGET_OS_ENV="$VAR_OS"
225 fi
226 OPENJDK_TARGET_CPU="$VAR_CPU"
227 OPENJDK_TARGET_CPU_ARCH="$VAR_CPU_ARCH"
228 OPENJDK_TARGET_CPU_BITS="$VAR_CPU_BITS"
229 OPENJDK_TARGET_CPU_ENDIAN="$VAR_CPU_ENDIAN"
230 OPENJDK_TARGET_CLIB="$VAR_CLIB"
231 AC_SUBST(OPENJDK_TARGET_OS)
232 AC_SUBST(OPENJDK_TARGET_OS_TYPE)
233 AC_SUBST(OPENJDK_TARGET_OS_ENV)
234 AC_SUBST(OPENJDK_TARGET_CPU)
235 AC_SUBST(OPENJDK_TARGET_CPU_ARCH)
236 AC_SUBST(OPENJDK_TARGET_CPU_BITS)
237 AC_SUBST(OPENJDK_TARGET_CPU_ENDIAN)
238 AC_SUBST(OPENJDK_TARGET_CLIB)
239
240 AC_MSG_CHECKING([openjdk-target os-cpu])
241 AC_MSG_RESULT([$OPENJDK_TARGET_OS-$OPENJDK_TARGET_CPU])
242
243 if test "x$OPENJDK_TARGET_OS" = "xlinux"; then
244 AC_MSG_CHECKING([openjdk-target C library])
245 AC_MSG_RESULT([$OPENJDK_TARGET_CLIB])
246 fi
247 ])
248
249 # Check if a reduced build (32-bit on 64-bit platforms) is requested, and modify behaviour
250 # accordingly. Must be done after setting up build and target system, but before
251 # doing anything else with these values.
252 AC_DEFUN([PLATFORM_SETUP_TARGET_CPU_BITS],
253 [
254 AC_ARG_WITH(target-bits, [AS_HELP_STRING([--with-target-bits],
255 [build 32-bit or 64-bit binaries (for platforms that support it), e.g. --with-target-bits=32 @<:@guessed@:>@])])
256
257 # We have three types of compiles:
258 # native == normal compilation, target system == build system
259 # cross == traditional cross compilation, target system != build system; special toolchain needed
260 # reduced == using native compilers, but with special flags (e.g. -m32) to produce 32-bit builds on 64-bit machines
261 #
262 if test "x$OPENJDK_BUILD_AUTOCONF_NAME" != "x$OPENJDK_TARGET_AUTOCONF_NAME"; then
263 # We're doing a proper cross-compilation
264 COMPILE_TYPE="cross"
265 else
363 if test "x$OPENJDK_$1_OS" = xmacosx; then
364 OPENJDK_$1_OS_EXPORT_DIR=macosx
365 else
366 OPENJDK_$1_OS_EXPORT_DIR=${OPENJDK_$1_OS_TYPE}
367 fi
368 AC_SUBST(OPENJDK_$1_OS_EXPORT_DIR)
369
370 # The new version string in JDK 9 also defined new naming of OS and ARCH for bundles
371 # Macosx is osx and x86_64 is x64
372 if test "x$OPENJDK_$1_OS" = xmacosx; then
373 OPENJDK_$1_OS_BUNDLE="osx"
374 else
375 OPENJDK_$1_OS_BUNDLE="$OPENJDK_TARGET_OS"
376 fi
377 if test "x$OPENJDK_$1_CPU" = xx86_64; then
378 OPENJDK_$1_CPU_BUNDLE="x64"
379 else
380 OPENJDK_$1_CPU_BUNDLE="$OPENJDK_$1_CPU"
381 fi
382
383 OPENJDK_$1_CLIB_BUNDLE=""
384 if test "x$OPENJDK_$1_CLIB" = "xmusl"; then
385 OPENJDK_$1_CLIB_BUNDLE="-$OPENJDK_$1_CLIB"
386 fi
387
388 OPENJDK_$1_BUNDLE_PLATFORM="${OPENJDK_$1_OS_BUNDLE}-${OPENJDK_$1_CPU_BUNDLE}${OPENJDK_$1_CLIB_BUNDLE}"
389 AC_SUBST(OPENJDK_$1_BUNDLE_PLATFORM)
390
391 if test "x$OPENJDK_$1_CPU_BITS" = x64; then
392 # -D_LP64=1 is only set on linux and mac. Setting on windows causes diff in
393 # unpack200.exe. This variable is used in
394 # FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK_HELPER.
395 if test "x$OPENJDK_$1_OS" = xlinux || test "x$OPENJDK_$1_OS" = xmacosx; then
396 OPENJDK_$1_ADD_LP64="-D_LP64=1"
397 fi
398 fi
399
400 if test "x$COMPILE_TYPE" = "xcross"; then
401 # FIXME: ... or should this include reduced builds..?
402 DEFINE_CROSS_COMPILE_ARCH="CROSS_COMPILE_ARCH:=$OPENJDK_$1_CPU_LEGACY"
403 else
404 DEFINE_CROSS_COMPILE_ARCH=""
405 fi
406 AC_SUBST(DEFINE_CROSS_COMPILE_ARCH)
407
408 # Convert openjdk platform names to hotspot names
446 HOTSPOT_$1_CPU_DEFINE=AARCH64
447 elif test "x$OPENJDK_$1_CPU" = xppc64; then
448 HOTSPOT_$1_CPU_DEFINE=PPC64
449 elif test "x$OPENJDK_$1_CPU" = xppc64le; then
450 HOTSPOT_$1_CPU_DEFINE=PPC64
451
452 # The cpu defines below are for zero, we don't support them directly.
453 elif test "x$OPENJDK_$1_CPU" = xsparc; then
454 HOTSPOT_$1_CPU_DEFINE=SPARC
455 elif test "x$OPENJDK_$1_CPU" = xppc; then
456 HOTSPOT_$1_CPU_DEFINE=PPC32
457 elif test "x$OPENJDK_$1_CPU" = xs390; then
458 HOTSPOT_$1_CPU_DEFINE=S390
459 elif test "x$OPENJDK_$1_CPU" = xs390x; then
460 HOTSPOT_$1_CPU_DEFINE=S390
461 elif test "x$OPENJDK_$1_CPU" != x; then
462 HOTSPOT_$1_CPU_DEFINE=$(echo $OPENJDK_$1_CPU | tr a-z A-Z)
463 fi
464 AC_SUBST(HOTSPOT_$1_CPU_DEFINE)
465
466 if test "x$OPENJDK_$1_CLIB" = "xmusl"; then
467 HOTSPOT_$1_CLIB=$OPENJDK_$1_CLIB
468 else
469 HOTSPOT_$1_CLIB=""
470 fi
471 AC_SUBST(HOTSPOT_$1_CLIB)
472 ])
473
474 AC_DEFUN([PLATFORM_SET_RELEASE_FILE_OS_VALUES],
475 [
476 if test "x$OPENJDK_TARGET_OS" = "xsolaris"; then
477 REQUIRED_OS_NAME=SunOS
478 REQUIRED_OS_VERSION=5.10
479 fi
480 if test "x$OPENJDK_TARGET_OS" = "xlinux"; then
481 REQUIRED_OS_NAME=Linux
482 REQUIRED_OS_VERSION=2.6
483 fi
484 if test "x$OPENJDK_TARGET_OS" = "xwindows"; then
485 REQUIRED_OS_NAME=Windows
486 if test "x$OPENJDK_TARGET_CPU_BITS" = "x64"; then
487 REQUIRED_OS_VERSION=5.2
488 else
489 REQUIRED_OS_VERSION=5.1
490 fi
491 fi
|
126 ;;
127 *cygwin*)
128 VAR_OS=windows
129 VAR_OS_ENV=windows.cygwin
130 ;;
131 *mingw*)
132 VAR_OS=windows
133 VAR_OS_ENV=windows.msys
134 ;;
135 *aix*)
136 VAR_OS=aix
137 VAR_OS_TYPE=unix
138 ;;
139 *)
140 AC_MSG_ERROR([unsupported operating system $1])
141 ;;
142 esac
143
144 case "$1" in
145 *linux*-musl)
146 VAR_LIBC=musl
147 ;;
148 *linux*-gnu)
149 VAR_LIBC=gnu
150 ;;
151 *)
152 VAR_LIBC=default
153 ;;
154 esac
155 ])
156
157 # Expects $host_os $host_cpu $build_os and $build_cpu
158 # and $with_target_bits to have been setup!
159 #
160 # Translate the standard triplet(quadruplet) definition
161 # of the target/build system into OPENJDK_TARGET_OS, OPENJDK_TARGET_CPU,
162 # OPENJDK_BUILD_OS, etc.
163 AC_DEFUN([PLATFORM_EXTRACT_TARGET_AND_BUILD],
164 [
165 # Copy the autoconf trip/quadruplet verbatim to OPENJDK_TARGET_AUTOCONF_NAME
166 # (from the autoconf "host") and OPENJDK_BUILD_AUTOCONF_NAME
167 # Note that we might later on rewrite e.g. OPENJDK_TARGET_CPU due to reduced build,
168 # but this will not change the value of OPENJDK_TARGET_AUTOCONF_NAME.
169 OPENJDK_TARGET_AUTOCONF_NAME="$host"
170 OPENJDK_BUILD_AUTOCONF_NAME="$build"
171 AC_SUBST(OPENJDK_TARGET_AUTOCONF_NAME)
172 AC_SUBST(OPENJDK_BUILD_AUTOCONF_NAME)
173
174 # Convert the autoconf OS/CPU value to our own data, into the VAR_OS/CPU variables.
175 PLATFORM_EXTRACT_VARS_FROM_OS($build_os)
176 PLATFORM_EXTRACT_VARS_FROM_CPU($build_cpu)
177 # ..and setup our own variables. (Do this explicitly to facilitate searching)
178 OPENJDK_BUILD_OS="$VAR_OS"
179 if test "x$VAR_OS_TYPE" != x; then
180 OPENJDK_BUILD_OS_TYPE="$VAR_OS_TYPE"
181 else
182 OPENJDK_BUILD_OS_TYPE="$VAR_OS"
183 fi
184 if test "x$VAR_OS_ENV" != x; then
185 OPENJDK_BUILD_OS_ENV="$VAR_OS_ENV"
186 else
187 OPENJDK_BUILD_OS_ENV="$VAR_OS"
188 fi
189 OPENJDK_BUILD_CPU="$VAR_CPU"
190 OPENJDK_BUILD_CPU_ARCH="$VAR_CPU_ARCH"
191 OPENJDK_BUILD_CPU_BITS="$VAR_CPU_BITS"
192 OPENJDK_BUILD_CPU_ENDIAN="$VAR_CPU_ENDIAN"
193 OPENJDK_BUILD_LIBC="$VAR_LIBC"
194 AC_SUBST(OPENJDK_BUILD_OS)
195 AC_SUBST(OPENJDK_BUILD_OS_TYPE)
196 AC_SUBST(OPENJDK_BUILD_OS_ENV)
197 AC_SUBST(OPENJDK_BUILD_CPU)
198 AC_SUBST(OPENJDK_BUILD_CPU_ARCH)
199 AC_SUBST(OPENJDK_BUILD_CPU_BITS)
200 AC_SUBST(OPENJDK_BUILD_CPU_ENDIAN)
201 AC_SUBST(OPENJDK_BUILD_LIBC)
202
203 AC_MSG_CHECKING([openjdk-build os-cpu])
204 AC_MSG_RESULT([$OPENJDK_BUILD_OS-$OPENJDK_BUILD_CPU])
205
206 if test "x$OPENJDK_BUILD_OS" = "xlinux"; then
207 AC_MSG_CHECKING([openjdk-build C library])
208 AC_MSG_RESULT([$OPENJDK_BUILD_LIBC])
209 fi
210
211 # Convert the autoconf OS/CPU value to our own data, into the VAR_OS/CPU variables.
212 PLATFORM_EXTRACT_VARS_FROM_OS($host_os)
213 PLATFORM_EXTRACT_VARS_FROM_CPU($host_cpu)
214 # ... and setup our own variables. (Do this explicitly to facilitate searching)
215 OPENJDK_TARGET_OS="$VAR_OS"
216 if test "x$VAR_OS_TYPE" != x; then
217 OPENJDK_TARGET_OS_TYPE="$VAR_OS_TYPE"
218 else
219 OPENJDK_TARGET_OS_TYPE="$VAR_OS"
220 fi
221 if test "x$VAR_OS_ENV" != x; then
222 OPENJDK_TARGET_OS_ENV="$VAR_OS_ENV"
223 else
224 OPENJDK_TARGET_OS_ENV="$VAR_OS"
225 fi
226 OPENJDK_TARGET_CPU="$VAR_CPU"
227 OPENJDK_TARGET_CPU_ARCH="$VAR_CPU_ARCH"
228 OPENJDK_TARGET_CPU_BITS="$VAR_CPU_BITS"
229 OPENJDK_TARGET_CPU_ENDIAN="$VAR_CPU_ENDIAN"
230 OPENJDK_TARGET_LIBC="$VAR_LIBC"
231 AC_SUBST(OPENJDK_TARGET_OS)
232 AC_SUBST(OPENJDK_TARGET_OS_TYPE)
233 AC_SUBST(OPENJDK_TARGET_OS_ENV)
234 AC_SUBST(OPENJDK_TARGET_CPU)
235 AC_SUBST(OPENJDK_TARGET_CPU_ARCH)
236 AC_SUBST(OPENJDK_TARGET_CPU_BITS)
237 AC_SUBST(OPENJDK_TARGET_CPU_ENDIAN)
238 AC_SUBST(OPENJDK_TARGET_LIBC)
239
240 AC_MSG_CHECKING([openjdk-target os-cpu])
241 AC_MSG_RESULT([$OPENJDK_TARGET_OS-$OPENJDK_TARGET_CPU])
242
243 if test "x$OPENJDK_TARGET_OS" = "xlinux"; then
244 AC_MSG_CHECKING([openjdk-target C library])
245 AC_MSG_RESULT([$OPENJDK_TARGET_LIBC])
246 fi
247 ])
248
249 # Check if a reduced build (32-bit on 64-bit platforms) is requested, and modify behaviour
250 # accordingly. Must be done after setting up build and target system, but before
251 # doing anything else with these values.
252 AC_DEFUN([PLATFORM_SETUP_TARGET_CPU_BITS],
253 [
254 AC_ARG_WITH(target-bits, [AS_HELP_STRING([--with-target-bits],
255 [build 32-bit or 64-bit binaries (for platforms that support it), e.g. --with-target-bits=32 @<:@guessed@:>@])])
256
257 # We have three types of compiles:
258 # native == normal compilation, target system == build system
259 # cross == traditional cross compilation, target system != build system; special toolchain needed
260 # reduced == using native compilers, but with special flags (e.g. -m32) to produce 32-bit builds on 64-bit machines
261 #
262 if test "x$OPENJDK_BUILD_AUTOCONF_NAME" != "x$OPENJDK_TARGET_AUTOCONF_NAME"; then
263 # We're doing a proper cross-compilation
264 COMPILE_TYPE="cross"
265 else
363 if test "x$OPENJDK_$1_OS" = xmacosx; then
364 OPENJDK_$1_OS_EXPORT_DIR=macosx
365 else
366 OPENJDK_$1_OS_EXPORT_DIR=${OPENJDK_$1_OS_TYPE}
367 fi
368 AC_SUBST(OPENJDK_$1_OS_EXPORT_DIR)
369
370 # The new version string in JDK 9 also defined new naming of OS and ARCH for bundles
371 # Macosx is osx and x86_64 is x64
372 if test "x$OPENJDK_$1_OS" = xmacosx; then
373 OPENJDK_$1_OS_BUNDLE="osx"
374 else
375 OPENJDK_$1_OS_BUNDLE="$OPENJDK_TARGET_OS"
376 fi
377 if test "x$OPENJDK_$1_CPU" = xx86_64; then
378 OPENJDK_$1_CPU_BUNDLE="x64"
379 else
380 OPENJDK_$1_CPU_BUNDLE="$OPENJDK_$1_CPU"
381 fi
382
383 OPENJDK_$1_LIBC_BUNDLE=""
384 if test "x$OPENJDK_$1_LIBC" = "xmusl"; then
385 OPENJDK_$1_LIBC_BUNDLE="-$OPENJDK_$1_LIBC"
386 fi
387
388 OPENJDK_$1_BUNDLE_PLATFORM="${OPENJDK_$1_OS_BUNDLE}-${OPENJDK_$1_CPU_BUNDLE}${OPENJDK_$1_LIBC_BUNDLE}"
389 AC_SUBST(OPENJDK_$1_BUNDLE_PLATFORM)
390
391 if test "x$OPENJDK_$1_CPU_BITS" = x64; then
392 # -D_LP64=1 is only set on linux and mac. Setting on windows causes diff in
393 # unpack200.exe. This variable is used in
394 # FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK_HELPER.
395 if test "x$OPENJDK_$1_OS" = xlinux || test "x$OPENJDK_$1_OS" = xmacosx; then
396 OPENJDK_$1_ADD_LP64="-D_LP64=1"
397 fi
398 fi
399
400 if test "x$COMPILE_TYPE" = "xcross"; then
401 # FIXME: ... or should this include reduced builds..?
402 DEFINE_CROSS_COMPILE_ARCH="CROSS_COMPILE_ARCH:=$OPENJDK_$1_CPU_LEGACY"
403 else
404 DEFINE_CROSS_COMPILE_ARCH=""
405 fi
406 AC_SUBST(DEFINE_CROSS_COMPILE_ARCH)
407
408 # Convert openjdk platform names to hotspot names
446 HOTSPOT_$1_CPU_DEFINE=AARCH64
447 elif test "x$OPENJDK_$1_CPU" = xppc64; then
448 HOTSPOT_$1_CPU_DEFINE=PPC64
449 elif test "x$OPENJDK_$1_CPU" = xppc64le; then
450 HOTSPOT_$1_CPU_DEFINE=PPC64
451
452 # The cpu defines below are for zero, we don't support them directly.
453 elif test "x$OPENJDK_$1_CPU" = xsparc; then
454 HOTSPOT_$1_CPU_DEFINE=SPARC
455 elif test "x$OPENJDK_$1_CPU" = xppc; then
456 HOTSPOT_$1_CPU_DEFINE=PPC32
457 elif test "x$OPENJDK_$1_CPU" = xs390; then
458 HOTSPOT_$1_CPU_DEFINE=S390
459 elif test "x$OPENJDK_$1_CPU" = xs390x; then
460 HOTSPOT_$1_CPU_DEFINE=S390
461 elif test "x$OPENJDK_$1_CPU" != x; then
462 HOTSPOT_$1_CPU_DEFINE=$(echo $OPENJDK_$1_CPU | tr a-z A-Z)
463 fi
464 AC_SUBST(HOTSPOT_$1_CPU_DEFINE)
465
466 if test "x$OPENJDK_$1_LIBC" = "xmusl"; then
467 HOTSPOT_$1_LIBC=$OPENJDK_$1_LIBC
468 else
469 HOTSPOT_$1_LIBC=""
470 fi
471 AC_SUBST(HOTSPOT_$1_LIBC)
472 ])
473
474 AC_DEFUN([PLATFORM_SET_RELEASE_FILE_OS_VALUES],
475 [
476 if test "x$OPENJDK_TARGET_OS" = "xsolaris"; then
477 REQUIRED_OS_NAME=SunOS
478 REQUIRED_OS_VERSION=5.10
479 fi
480 if test "x$OPENJDK_TARGET_OS" = "xlinux"; then
481 REQUIRED_OS_NAME=Linux
482 REQUIRED_OS_VERSION=2.6
483 fi
484 if test "x$OPENJDK_TARGET_OS" = "xwindows"; then
485 REQUIRED_OS_NAME=Windows
486 if test "x$OPENJDK_TARGET_CPU_BITS" = "x64"; then
487 REQUIRED_OS_VERSION=5.2
488 else
489 REQUIRED_OS_VERSION=5.1
490 fi
491 fi
|