1.1 --- a/common/autoconf/source-dirs.m4 Wed Oct 09 18:51:32 2013 -0700 1.2 +++ b/common/autoconf/source-dirs.m4 Thu Oct 10 14:58:19 2013 +0200 1.3 @@ -25,55 +25,54 @@ 1.4 1.5 AC_DEFUN_ONCE([SRCDIRS_SETUP_TOPDIRS], 1.6 [ 1.7 - 1.8 -# Where are the sources. Any of these can be overridden 1.9 -# using --with-override-corba and the likes. 1.10 -LANGTOOLS_TOPDIR="$SRC_ROOT/langtools" 1.11 -CORBA_TOPDIR="$SRC_ROOT/corba" 1.12 -JAXP_TOPDIR="$SRC_ROOT/jaxp" 1.13 -JAXWS_TOPDIR="$SRC_ROOT/jaxws" 1.14 -HOTSPOT_TOPDIR="$SRC_ROOT/hotspot" 1.15 -NASHORN_TOPDIR="$SRC_ROOT/nashorn" 1.16 -JDK_TOPDIR="$SRC_ROOT/jdk" 1.17 -AC_SUBST(LANGTOOLS_TOPDIR) 1.18 -AC_SUBST(CORBA_TOPDIR) 1.19 -AC_SUBST(JAXP_TOPDIR) 1.20 -AC_SUBST(JAXWS_TOPDIR) 1.21 -AC_SUBST(HOTSPOT_TOPDIR) 1.22 -AC_SUBST(NASHORN_TOPDIR) 1.23 -AC_SUBST(JDK_TOPDIR) 1.24 + # Where are the sources. Any of these can be overridden 1.25 + # using --with-override-corba and the likes. 1.26 + LANGTOOLS_TOPDIR="$SRC_ROOT/langtools" 1.27 + CORBA_TOPDIR="$SRC_ROOT/corba" 1.28 + JAXP_TOPDIR="$SRC_ROOT/jaxp" 1.29 + JAXWS_TOPDIR="$SRC_ROOT/jaxws" 1.30 + HOTSPOT_TOPDIR="$SRC_ROOT/hotspot" 1.31 + NASHORN_TOPDIR="$SRC_ROOT/nashorn" 1.32 + JDK_TOPDIR="$SRC_ROOT/jdk" 1.33 + AC_SUBST(LANGTOOLS_TOPDIR) 1.34 + AC_SUBST(CORBA_TOPDIR) 1.35 + AC_SUBST(JAXP_TOPDIR) 1.36 + AC_SUBST(JAXWS_TOPDIR) 1.37 + AC_SUBST(HOTSPOT_TOPDIR) 1.38 + AC_SUBST(NASHORN_TOPDIR) 1.39 + AC_SUBST(JDK_TOPDIR) 1.40 ]) 1.41 1.42 1.43 AC_DEFUN_ONCE([SRCDIRS_SETUP_ALTERNATIVE_TOPDIRS], 1.44 [ 1.45 1.46 -############################################################################### 1.47 -# 1.48 -# Pickup additional source for a component from outside of the source root 1.49 -# or override source for a component. 1.50 -# 1.51 -AC_ARG_WITH(add-source-root, [AS_HELP_STRING([--with-add-source-root], 1.52 - [for each and every source directory, look in this additional source root for 1.53 - the same directory; if it exists and have files in it, include it in the build])]) 1.54 - 1.55 -AC_ARG_WITH(override-source-root, [AS_HELP_STRING([--with-override-source-root], 1.56 - [for each and every source directory, look in this override source root for 1.57 - the same directory; if it exists, use that directory instead and 1.58 - ignore the directory in the original source root])]) 1.59 + ############################################################################### 1.60 + # 1.61 + # Pickup additional source for a component from outside of the source root 1.62 + # or override source for a component. 1.63 + # 1.64 + AC_ARG_WITH(add-source-root, [AS_HELP_STRING([--with-add-source-root], 1.65 + [for each and every source directory, look in this additional source root for 1.66 + the same directory; if it exists and have files in it, include it in the build])]) 1.67 1.68 -AC_ARG_WITH(adds-and-overrides, [AS_HELP_STRING([--with-adds-and-overrides], 1.69 - [use the subdirs 'adds' and 'overrides' in the specified directory as 1.70 - add-source-root and override-source-root])]) 1.71 + AC_ARG_WITH(override-source-root, [AS_HELP_STRING([--with-override-source-root], 1.72 + [for each and every source directory, look in this override source root for 1.73 + the same directory; if it exists, use that directory instead and 1.74 + ignore the directory in the original source root])]) 1.75 1.76 -if test "x$with_adds_and_overrides" != x; then 1.77 + AC_ARG_WITH(adds-and-overrides, [AS_HELP_STRING([--with-adds-and-overrides], 1.78 + [use the subdirs 'adds' and 'overrides' in the specified directory as 1.79 + add-source-root and override-source-root])]) 1.80 + 1.81 + if test "x$with_adds_and_overrides" != x; then 1.82 with_add_source_root="$with_adds_and_overrides/adds" 1.83 with_override_source_root="$with_adds_and_overrides/overrides" 1.84 -fi 1.85 + fi 1.86 1.87 -if test "x$with_add_source_root" != x; then 1.88 + if test "x$with_add_source_root" != x; then 1.89 if ! test -d $with_add_source_root; then 1.90 - AC_MSG_ERROR([Trying to use a non-existant add-source-root $with_add_source_root]) 1.91 + AC_MSG_ERROR([Trying to use a non-existant add-source-root $with_add_source_root]) 1.92 fi 1.93 CURDIR="$PWD" 1.94 cd "$with_add_source_root" 1.95 @@ -82,219 +81,218 @@ 1.96 # Verify that the addon source root does not have any root makefiles. 1.97 # If it does, then it is usually an error, prevent this. 1.98 if test -f $with_add_source_root/langtools/makefiles/Makefile || \ 1.99 - test -f $with_add_source_root/langtools/make/Makefile; then 1.100 - AC_MSG_ERROR([Your add source root seems to contain a full langtools repo! An add source root should only contain additional sources.]) 1.101 + test -f $with_add_source_root/langtools/make/Makefile; then 1.102 + AC_MSG_ERROR([Your add source root seems to contain a full langtools repo! An add source root should only contain additional sources.]) 1.103 fi 1.104 if test -f $with_add_source_root/corba/makefiles/Makefile || \ 1.105 - test -f $with_add_source_root/corba/make/Makefile; then 1.106 - AC_MSG_ERROR([Your add source root seems to contain a full corba repo! An add source root should only contain additional sources.]) 1.107 + test -f $with_add_source_root/corba/make/Makefile; then 1.108 + AC_MSG_ERROR([Your add source root seems to contain a full corba repo! An add source root should only contain additional sources.]) 1.109 fi 1.110 if test -f $with_add_source_root/jaxp/makefiles/Makefile || \ 1.111 - test -f $with_add_source_root/jaxp/make/Makefile; then 1.112 - AC_MSG_ERROR([Your add source root seems to contain a full jaxp repo! An add source root should only contain additional sources.]) 1.113 + test -f $with_add_source_root/jaxp/make/Makefile; then 1.114 + AC_MSG_ERROR([Your add source root seems to contain a full jaxp repo! An add source root should only contain additional sources.]) 1.115 fi 1.116 if test -f $with_add_source_root/jaxws/makefiles/Makefile || \ 1.117 - test -f $with_add_source_root/jaxws/make/Makefile; then 1.118 - AC_MSG_ERROR([Your add source root seems to contain a full jaxws repo! An add source root should only contain additional sources.]) 1.119 + test -f $with_add_source_root/jaxws/make/Makefile; then 1.120 + AC_MSG_ERROR([Your add source root seems to contain a full jaxws repo! An add source root should only contain additional sources.]) 1.121 fi 1.122 if test -f $with_add_source_root/hotspot/makefiles/Makefile || \ 1.123 - test -f $with_add_source_root/hotspot/make/Makefile; then 1.124 - AC_MSG_ERROR([Your add source root seems to contain a full hotspot repo! An add source root should only contain additional sources.]) 1.125 + test -f $with_add_source_root/hotspot/make/Makefile; then 1.126 + AC_MSG_ERROR([Your add source root seems to contain a full hotspot repo! An add source root should only contain additional sources.]) 1.127 fi 1.128 if test -f $with_add_source_root/nashorn/makefiles/Makefile || \ 1.129 - test -f $with_add_source_root/nashorn/make/Makefile; then 1.130 - AC_MSG_ERROR([Your add source root seems to contain a full nashorn repo! An add source root should only contain additional sources.]) 1.131 + test -f $with_add_source_root/nashorn/make/Makefile; then 1.132 + AC_MSG_ERROR([Your add source root seems to contain a full nashorn repo! An add source root should only contain additional sources.]) 1.133 fi 1.134 if test -f $with_add_source_root/jdk/makefiles/Makefile || \ 1.135 - test -f $with_add_source_root/jdk/make/Makefile; then 1.136 - AC_MSG_ERROR([Your add source root seems to contain a full JDK repo! An add source root should only contain additional sources.]) 1.137 + test -f $with_add_source_root/jdk/make/Makefile; then 1.138 + AC_MSG_ERROR([Your add source root seems to contain a full JDK repo! An add source root should only contain additional sources.]) 1.139 fi 1.140 -fi 1.141 -AC_SUBST(ADD_SRC_ROOT) 1.142 + fi 1.143 + AC_SUBST(ADD_SRC_ROOT) 1.144 1.145 -if test "x$with_override_source_root" != x; then 1.146 + if test "x$with_override_source_root" != x; then 1.147 if ! test -d $with_override_source_root; then 1.148 - AC_MSG_ERROR([Trying to use a non-existant override-source-root $with_override_source_root]) 1.149 + AC_MSG_ERROR([Trying to use a non-existant override-source-root $with_override_source_root]) 1.150 fi 1.151 CURDIR="$PWD" 1.152 cd "$with_override_source_root" 1.153 OVERRIDE_SRC_ROOT="`pwd`" 1.154 cd "$CURDIR" 1.155 if test -f $with_override_source_root/langtools/makefiles/Makefile || \ 1.156 - test -f $with_override_source_root/langtools/make/Makefile; then 1.157 - AC_MSG_ERROR([Your override source root seems to contain a full langtools repo! An override source root should only contain sources that override.]) 1.158 + test -f $with_override_source_root/langtools/make/Makefile; then 1.159 + AC_MSG_ERROR([Your override source root seems to contain a full langtools repo! An override source root should only contain sources that override.]) 1.160 fi 1.161 if test -f $with_override_source_root/corba/makefiles/Makefile || \ 1.162 - test -f $with_override_source_root/corba/make/Makefile; then 1.163 - AC_MSG_ERROR([Your override source root seems to contain a full corba repo! An override source root should only contain sources that override.]) 1.164 + test -f $with_override_source_root/corba/make/Makefile; then 1.165 + AC_MSG_ERROR([Your override source root seems to contain a full corba repo! An override source root should only contain sources that override.]) 1.166 fi 1.167 if test -f $with_override_source_root/jaxp/makefiles/Makefile || \ 1.168 - test -f $with_override_source_root/jaxp/make/Makefile; then 1.169 - AC_MSG_ERROR([Your override source root seems to contain a full jaxp repo! An override source root should only contain sources that override.]) 1.170 + test -f $with_override_source_root/jaxp/make/Makefile; then 1.171 + AC_MSG_ERROR([Your override source root seems to contain a full jaxp repo! An override source root should only contain sources that override.]) 1.172 fi 1.173 if test -f $with_override_source_root/jaxws/makefiles/Makefile || \ 1.174 - test -f $with_override_source_root/jaxws/make/Makefile; then 1.175 - AC_MSG_ERROR([Your override source root seems to contain a full jaxws repo! An override source root should only contain sources that override.]) 1.176 + test -f $with_override_source_root/jaxws/make/Makefile; then 1.177 + AC_MSG_ERROR([Your override source root seems to contain a full jaxws repo! An override source root should only contain sources that override.]) 1.178 fi 1.179 if test -f $with_override_source_root/hotspot/makefiles/Makefile || \ 1.180 - test -f $with_override_source_root/hotspot/make/Makefile; then 1.181 - AC_MSG_ERROR([Your override source root seems to contain a full hotspot repo! An override source root should only contain sources that override.]) 1.182 + test -f $with_override_source_root/hotspot/make/Makefile; then 1.183 + AC_MSG_ERROR([Your override source root seems to contain a full hotspot repo! An override source root should only contain sources that override.]) 1.184 fi 1.185 if test -f $with_override_source_root/nashorn/makefiles/Makefile || \ 1.186 - test -f $with_override_source_root/nashorn/make/Makefile; then 1.187 - AC_MSG_ERROR([Your override source root seems to contain a full nashorn repo! An override source root should only contain sources that override.]) 1.188 + test -f $with_override_source_root/nashorn/make/Makefile; then 1.189 + AC_MSG_ERROR([Your override source root seems to contain a full nashorn repo! An override source root should only contain sources that override.]) 1.190 fi 1.191 if test -f $with_override_source_root/jdk/makefiles/Makefile || \ 1.192 - test -f $with_override_source_root/jdk/make/Makefile; then 1.193 - AC_MSG_ERROR([Your override source root seems to contain a full JDK repo! An override source root should only contain sources that override.]) 1.194 + test -f $with_override_source_root/jdk/make/Makefile; then 1.195 + AC_MSG_ERROR([Your override source root seems to contain a full JDK repo! An override source root should only contain sources that override.]) 1.196 fi 1.197 -fi 1.198 -AC_SUBST(OVERRIDE_SRC_ROOT) 1.199 + fi 1.200 + AC_SUBST(OVERRIDE_SRC_ROOT) 1.201 1.202 -############################################################################### 1.203 -# 1.204 -# Override a repo completely, this is used for example when you have 3 small 1.205 -# development sandboxes of the langtools sources and want to avoid having 3 full 1.206 -# OpenJDK sources checked out on disk. 1.207 -# 1.208 -# Assuming that the 3 langtools sandboxes are located here: 1.209 -# /home/fredrik/sandbox1/langtools 1.210 -# /home/fredrik/sandbox2/langtools 1.211 -# /home/fredrik/sandbox3/langtools 1.212 -# 1.213 -# From the source root you create build subdirs manually: 1.214 -# mkdir -p build1 build2 build3 1.215 -# in each build directory run: 1.216 -# (cd build1 && ../configure --with-override-langtools=/home/fredrik/sandbox1 && make) 1.217 -# (cd build2 && ../configure --with-override-langtools=/home/fredrik/sandbox2 && make) 1.218 -# (cd build3 && ../configure --with-override-langtools=/home/fredrik/sandbox3 && make) 1.219 -# 1.220 + ############################################################################### 1.221 + # 1.222 + # Override a repo completely, this is used for example when you have 3 small 1.223 + # development sandboxes of the langtools sources and want to avoid having 3 full 1.224 + # OpenJDK sources checked out on disk. 1.225 + # 1.226 + # Assuming that the 3 langtools sandboxes are located here: 1.227 + # /home/fredrik/sandbox1/langtools 1.228 + # /home/fredrik/sandbox2/langtools 1.229 + # /home/fredrik/sandbox3/langtools 1.230 + # 1.231 + # From the source root you create build subdirs manually: 1.232 + # mkdir -p build1 build2 build3 1.233 + # in each build directory run: 1.234 + # (cd build1 && ../configure --with-override-langtools=/home/fredrik/sandbox1 && make) 1.235 + # (cd build2 && ../configure --with-override-langtools=/home/fredrik/sandbox2 && make) 1.236 + # (cd build3 && ../configure --with-override-langtools=/home/fredrik/sandbox3 && make) 1.237 + # 1.238 1.239 -AC_ARG_WITH(override-langtools, [AS_HELP_STRING([--with-override-langtools], 1.240 - [use this langtools dir for the build])]) 1.241 + AC_ARG_WITH(override-langtools, [AS_HELP_STRING([--with-override-langtools], 1.242 + [use this langtools dir for the build])]) 1.243 1.244 -AC_ARG_WITH(override-corba, [AS_HELP_STRING([--with-override-corba], 1.245 - [use this corba dir for the build])]) 1.246 + AC_ARG_WITH(override-corba, [AS_HELP_STRING([--with-override-corba], 1.247 + [use this corba dir for the build])]) 1.248 1.249 -AC_ARG_WITH(override-jaxp, [AS_HELP_STRING([--with-override-jaxp], 1.250 - [use this jaxp dir for the build])]) 1.251 + AC_ARG_WITH(override-jaxp, [AS_HELP_STRING([--with-override-jaxp], 1.252 + [use this jaxp dir for the build])]) 1.253 1.254 -AC_ARG_WITH(override-jaxws, [AS_HELP_STRING([--with-override-jaxws], 1.255 - [use this jaxws dir for the build])]) 1.256 + AC_ARG_WITH(override-jaxws, [AS_HELP_STRING([--with-override-jaxws], 1.257 + [use this jaxws dir for the build])]) 1.258 1.259 -AC_ARG_WITH(override-hotspot, [AS_HELP_STRING([--with-override-hotspot], 1.260 - [use this hotspot dir for the build])]) 1.261 + AC_ARG_WITH(override-hotspot, [AS_HELP_STRING([--with-override-hotspot], 1.262 + [use this hotspot dir for the build])]) 1.263 1.264 -AC_ARG_WITH(override-nashorn, [AS_HELP_STRING([--with-override-nashorn], 1.265 - [use this nashorn dir for the build])]) 1.266 + AC_ARG_WITH(override-nashorn, [AS_HELP_STRING([--with-override-nashorn], 1.267 + [use this nashorn dir for the build])]) 1.268 1.269 -AC_ARG_WITH(override-jdk, [AS_HELP_STRING([--with-override-jdk], 1.270 - [use this jdk dir for the build])]) 1.271 + AC_ARG_WITH(override-jdk, [AS_HELP_STRING([--with-override-jdk], 1.272 + [use this jdk dir for the build])]) 1.273 1.274 -if test "x$with_override_langtools" != x; then 1.275 + if test "x$with_override_langtools" != x; then 1.276 CURDIR="$PWD" 1.277 cd "$with_override_langtools" 1.278 LANGTOOLS_TOPDIR="`pwd`" 1.279 cd "$CURDIR" 1.280 if ! test -f $LANGTOOLS_TOPDIR/makefiles/Makefile; then 1.281 - AC_MSG_ERROR([You have to override langtools with a full langtools repo!]) 1.282 + AC_MSG_ERROR([You have to override langtools with a full langtools repo!]) 1.283 fi 1.284 AC_MSG_CHECKING([if langtools should be overridden]) 1.285 AC_MSG_RESULT([yes with $LANGTOOLS_TOPDIR]) 1.286 -fi 1.287 -if test "x$with_override_corba" != x; then 1.288 + fi 1.289 + if test "x$with_override_corba" != x; then 1.290 CURDIR="$PWD" 1.291 cd "$with_override_corba" 1.292 CORBA_TOPDIR="`pwd`" 1.293 cd "$CURDIR" 1.294 if ! test -f $CORBA_TOPDIR/makefiles/Makefile; then 1.295 - AC_MSG_ERROR([You have to override corba with a full corba repo!]) 1.296 + AC_MSG_ERROR([You have to override corba with a full corba repo!]) 1.297 fi 1.298 AC_MSG_CHECKING([if corba should be overridden]) 1.299 AC_MSG_RESULT([yes with $CORBA_TOPDIR]) 1.300 -fi 1.301 -if test "x$with_override_jaxp" != x; then 1.302 + fi 1.303 + if test "x$with_override_jaxp" != x; then 1.304 CURDIR="$PWD" 1.305 cd "$with_override_jaxp" 1.306 JAXP_TOPDIR="`pwd`" 1.307 cd "$CURDIR" 1.308 if ! test -f $JAXP_TOPDIR/makefiles/Makefile; then 1.309 - AC_MSG_ERROR([You have to override jaxp with a full jaxp repo!]) 1.310 + AC_MSG_ERROR([You have to override jaxp with a full jaxp repo!]) 1.311 fi 1.312 AC_MSG_CHECKING([if jaxp should be overridden]) 1.313 AC_MSG_RESULT([yes with $JAXP_TOPDIR]) 1.314 -fi 1.315 -if test "x$with_override_jaxws" != x; then 1.316 + fi 1.317 + if test "x$with_override_jaxws" != x; then 1.318 CURDIR="$PWD" 1.319 cd "$with_override_jaxws" 1.320 JAXWS_TOPDIR="`pwd`" 1.321 cd "$CURDIR" 1.322 if ! test -f $JAXWS_TOPDIR/makefiles/Makefile; then 1.323 - AC_MSG_ERROR([You have to override jaxws with a full jaxws repo!]) 1.324 + AC_MSG_ERROR([You have to override jaxws with a full jaxws repo!]) 1.325 fi 1.326 AC_MSG_CHECKING([if jaxws should be overridden]) 1.327 AC_MSG_RESULT([yes with $JAXWS_TOPDIR]) 1.328 -fi 1.329 -if test "x$with_override_hotspot" != x; then 1.330 + fi 1.331 + if test "x$with_override_hotspot" != x; then 1.332 CURDIR="$PWD" 1.333 cd "$with_override_hotspot" 1.334 HOTSPOT_TOPDIR="`pwd`" 1.335 cd "$CURDIR" 1.336 if ! test -f $HOTSPOT_TOPDIR/make/Makefile && \ 1.337 - ! test -f $HOTSPOT_TOPDIR/makefiles/Makefile; then 1.338 - AC_MSG_ERROR([You have to override hotspot with a full hotspot repo!]) 1.339 + ! test -f $HOTSPOT_TOPDIR/makefiles/Makefile; then 1.340 + AC_MSG_ERROR([You have to override hotspot with a full hotspot repo!]) 1.341 fi 1.342 AC_MSG_CHECKING([if hotspot should be overridden]) 1.343 AC_MSG_RESULT([yes with $HOTSPOT_TOPDIR]) 1.344 -fi 1.345 -if test "x$with_override_nashorn" != x; then 1.346 + fi 1.347 + if test "x$with_override_nashorn" != x; then 1.348 CURDIR="$PWD" 1.349 cd "$with_override_nashorn" 1.350 NASHORN_TOPDIR="`pwd`" 1.351 cd "$CURDIR" 1.352 if ! test -f $NASHORN_TOPDIR/makefiles/Makefile; then 1.353 - AC_MSG_ERROR([You have to override nashorn with a full nashorn repo!]) 1.354 + AC_MSG_ERROR([You have to override nashorn with a full nashorn repo!]) 1.355 fi 1.356 AC_MSG_CHECKING([if nashorn should be overridden]) 1.357 AC_MSG_RESULT([yes with $NASHORN_TOPDIR]) 1.358 -fi 1.359 -if test "x$with_override_jdk" != x; then 1.360 + fi 1.361 + if test "x$with_override_jdk" != x; then 1.362 CURDIR="$PWD" 1.363 cd "$with_override_jdk" 1.364 JDK_TOPDIR="`pwd`" 1.365 cd "$CURDIR" 1.366 if ! test -f $JDK_TOPDIR/makefiles/Makefile; then 1.367 - AC_MSG_ERROR([You have to override JDK with a full JDK repo!]) 1.368 + AC_MSG_ERROR([You have to override JDK with a full JDK repo!]) 1.369 fi 1.370 AC_MSG_CHECKING([if JDK should be overridden]) 1.371 AC_MSG_RESULT([yes with $JDK_TOPDIR]) 1.372 -fi 1.373 - 1.374 + fi 1.375 ]) 1.376 1.377 AC_DEFUN_ONCE([SRCDIRS_SETUP_OUTPUT_DIRS], 1.378 [ 1.379 -BUILD_OUTPUT="$OUTPUT_ROOT" 1.380 -AC_SUBST(BUILD_OUTPUT) 1.381 + BUILD_OUTPUT="$OUTPUT_ROOT" 1.382 + AC_SUBST(BUILD_OUTPUT) 1.383 1.384 -HOTSPOT_DIST="$OUTPUT_ROOT/hotspot/dist" 1.385 -BUILD_HOTSPOT=true 1.386 -AC_SUBST(HOTSPOT_DIST) 1.387 -AC_SUBST(BUILD_HOTSPOT) 1.388 -AC_ARG_WITH(import-hotspot, [AS_HELP_STRING([--with-import-hotspot], 1.389 - [import hotspot binaries from this jdk image or hotspot build dist dir instead of building from source])]) 1.390 -if test "x$with_import_hotspot" != x; then 1.391 + HOTSPOT_DIST="$OUTPUT_ROOT/hotspot/dist" 1.392 + BUILD_HOTSPOT=true 1.393 + AC_SUBST(HOTSPOT_DIST) 1.394 + AC_SUBST(BUILD_HOTSPOT) 1.395 + AC_ARG_WITH(import-hotspot, [AS_HELP_STRING([--with-import-hotspot], 1.396 + [import hotspot binaries from this jdk image or hotspot build dist dir instead of building from source])]) 1.397 + if test "x$with_import_hotspot" != x; then 1.398 CURDIR="$PWD" 1.399 cd "$with_import_hotspot" 1.400 HOTSPOT_DIST="`pwd`" 1.401 cd "$CURDIR" 1.402 if ! (test -d $HOTSPOT_DIST/lib && test -d $HOTSPOT_DIST/jre/lib); then 1.403 - AC_MSG_ERROR([You have to import hotspot from a full jdk image or hotspot build dist dir!]) 1.404 + AC_MSG_ERROR([You have to import hotspot from a full jdk image or hotspot build dist dir!]) 1.405 fi 1.406 AC_MSG_CHECKING([if hotspot should be imported]) 1.407 AC_MSG_RESULT([yes from $HOTSPOT_DIST]) 1.408 BUILD_HOTSPOT=false 1.409 -fi 1.410 + fi 1.411 1.412 -JDK_OUTPUTDIR="$OUTPUT_ROOT/jdk" 1.413 + JDK_OUTPUTDIR="$OUTPUT_ROOT/jdk" 1.414 ])