Skip to content

Commit 0d062e1

Browse files
author
mikael
committed
8031709: Configure --with-jvm-variants=client, server, x produces default outputdir containing comma
Reviewed-by: tbell
1 parent aad779b commit 0d062e1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

common/autoconf/generated-configure.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -3868,7 +3868,7 @@ fi
38683868
#CUSTOM_AUTOCONF_INCLUDE
38693869

38703870
# Do not change or remove the following line, it is needed for consistency checks:
3871-
DATE_WHEN_GENERATED=1397150809
3871+
DATE_WHEN_GENERATED=1405022087
38723872

38733873
###############################################################################
38743874
#
@@ -7926,7 +7926,7 @@ $as_echo "$with_jvm_variants" >&6; }
79267926
fi
79277927

79287928
# Replace the commas with AND for use in the build directory name.
7929-
ANDED_JVM_VARIANTS=`$ECHO "$JVM_VARIANTS" | $SED -e 's/^,//' -e 's/,$//' -e 's/,/AND/'`
7929+
ANDED_JVM_VARIANTS=`$ECHO "$JVM_VARIANTS" | $SED -e 's/^,//' -e 's/,$//' -e 's/,/AND/g'`
79307930
COUNT_VARIANTS=`$ECHO "$JVM_VARIANTS" | $SED -e 's/server,/1/' -e 's/client,/1/' -e 's/minimal1,/1/' -e 's/kernel,/1/' -e 's/zero,/1/' -e 's/zeroshark,/1/' -e 's/core,/1/'`
79317931
if test "x$COUNT_VARIANTS" != "x,1"; then
79327932
BUILDING_MULTIPLE_JVM_VARIANTS=yes

common/autoconf/jdk-options.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_JVM_VARIANTS],
134134
fi
135135
136136
# Replace the commas with AND for use in the build directory name.
137-
ANDED_JVM_VARIANTS=`$ECHO "$JVM_VARIANTS" | $SED -e 's/^,//' -e 's/,$//' -e 's/,/AND/'`
137+
ANDED_JVM_VARIANTS=`$ECHO "$JVM_VARIANTS" | $SED -e 's/^,//' -e 's/,$//' -e 's/,/AND/g'`
138138
COUNT_VARIANTS=`$ECHO "$JVM_VARIANTS" | $SED -e 's/server,/1/' -e 's/client,/1/' -e 's/minimal1,/1/' -e 's/kernel,/1/' -e 's/zero,/1/' -e 's/zeroshark,/1/' -e 's/core,/1/'`
139139
if test "x$COUNT_VARIANTS" != "x,1"; then
140140
BUILDING_MULTIPLE_JVM_VARIANTS=yes

0 commit comments

Comments
 (0)