1
1
# ===========================================================================
2
2
# (c) Copyright IBM Corp. 2017, 2018 All Rights Reserved
3
3
# ===========================================================================
4
- #
5
4
# This code is free software; you can redistribute it and/or modify it
6
5
# under the terms of the GNU General Public License version 2 only, as
7
6
# published by the Free Software Foundation.
14
13
#
15
14
# You should have received a copy of the GNU General Public License version
16
15
# 2 along with this work; if not, see <http://www.gnu.org/licenses/>.
17
- #
18
16
# ===========================================================================
19
17
20
18
AC_DEFUN_ONCE ( [ CUSTOM_EARLY_HOOK] ,
@@ -104,7 +102,7 @@ AC_DEFUN([OPENJ9_CONFIGURE_DDR],
104
102
OPENJ9_ENABLE_DDR=false
105
103
elif test "x$enable_ddr" = x ; then
106
104
case "$OPENJ9_PLATFORM_CODE" in
107
- xa64|xl64|xz64)
105
+ wa64| xa64|xl64|xz64)
108
106
AC_MSG_RESULT ( [ yes (default for $OPENJ9_PLATFORM_CODE)] )
109
107
OPENJ9_ENABLE_DDR=true
110
108
;;
@@ -146,12 +144,12 @@ AC_DEFUN_ONCE([OPENJ9_PLATFORM_SETUP],
146
144
[
147
145
AC_ARG_WITH ( noncompressedrefs , [ AS_HELP_STRING ( [ --with-noncompressedrefs] ,
148
146
[ build non-compressedrefs vm (large heap)] ) ] )
149
-
147
+
150
148
OPENJ9_PLATFORM_EXTRACT_VARS_FROM_CPU($build_cpu)
151
149
if test "x$with_noncompressedrefs" = x; then
152
150
OPENJ9_BUILDSPEC="${OPENJDK_BUILD_OS}_${OPENJ9_CPU}_cmprssptrs"
153
151
OPENJ9_LIBS_SUBDIR=compressedrefs
154
- else
152
+ else
155
153
OPENJ9_BUILDSPEC="${OPENJDK_BUILD_OS}_${OPENJ9_CPU}"
156
154
OPENJ9_LIBS_SUBDIR=default
157
155
fi
@@ -299,7 +297,7 @@ AC_DEFUN([TOOLCHAIN_CHECK_POSSIBLE_MSVCP_DLL],
299
297
METHOD="$2 "
300
298
if test -e "$POSSIBLE_MSVCP_DLL"; then
301
299
AC_MSG_NOTICE ( [ Found msvcp100.dll at $POSSIBLE_MSVCP_DLL using $METHOD] )
302
-
300
+
303
301
# Need to check if the found msvcp is correct architecture
304
302
AC_MSG_CHECKING ( [ found msvcp100.dll architecture] )
305
303
MSVCP_DLL_FILETYPE=`$FILE -b "$POSSIBLE_MSVCP_DLL"`
@@ -332,7 +330,7 @@ AC_DEFUN([TOOLCHAIN_SETUP_MSVCP_DLL],
332
330
AC_MSG_ERROR ( [ Could not find a proper msvcp100.dll as specified by --with-msvcp-dll] )
333
331
fi
334
332
fi
335
-
333
+
336
334
if test "x$MSVCP_DLL" = x; then
337
335
# Probe: Using well-known location from Visual Studio 10.0
338
336
if test "x$VCINSTALLDIR" != x; then
@@ -352,9 +350,9 @@ AC_DEFUN([TOOLCHAIN_SETUP_MSVCP_DLL],
352
350
POSSIBLE_MSVCP_DLL="$BOOT_JDK/bin/msvcp100.dll"
353
351
TOOLCHAIN_CHECK_POSSIBLE_MSVCP_DLL([ $POSSIBLE_MSVCP_DLL] , [ well-known location in Boot JDK] )
354
352
fi
355
-
353
+
356
354
if test "x$MSVCP_DLL" = x; then
357
- # Probe: Look in the Windows system32 directory
355
+ # Probe: Look in the Windows system32 directory
358
356
CYGWIN_SYSTEMROOT="$SYSTEMROOT"
359
357
BASIC_WINDOWS_REWRITE_AS_UNIX_PATH(CYGWIN_SYSTEMROOT)
360
358
POSSIBLE_MSVCP_DLL="$CYGWIN_SYSTEMROOT/system32/msvcp100.dll"
@@ -374,7 +372,7 @@ AC_DEFUN([TOOLCHAIN_SETUP_MSVCP_DLL],
374
372
TOOLCHAIN_CHECK_POSSIBLE_MSVCP_DLL([ $POSSIBLE_MSVCP_DLL] , [ search of VS100COMNTOOLS] )
375
373
fi
376
374
fi
377
-
375
+
378
376
if test "x$MSVCP_DLL" = x; then
379
377
# Probe: Search wildly in the VCINSTALLDIR. We've probably lost by now.
380
378
# (This was the original behaviour; kept since it might turn up something)
@@ -388,11 +386,11 @@ AC_DEFUN([TOOLCHAIN_SETUP_MSVCP_DLL],
388
386
POSSIBLE_MSVCP_DLL=`$FIND "$CYGWIN_VC_INSTALL_DIR" -name msvcp100.dll | $HEAD --lines 1`
389
387
fi
390
388
fi
391
-
389
+
392
390
TOOLCHAIN_CHECK_POSSIBLE_MSVCP_DLL([ $POSSIBLE_MSVCP_DLL] , [ search of VCINSTALLDIR] )
393
391
fi
394
392
fi
395
-
393
+
396
394
if test "x$MSVCP_DLL" = x; then
397
395
AC_MSG_CHECKING ( [ for msvcp100.dll] )
398
396
AC_MSG_RESULT ( [ no] )
0 commit comments