3866 # definitions. It is replaced with custom functionality when building |
3866 # definitions. It is replaced with custom functionality when building |
3867 # custom sources. |
3867 # custom sources. |
3868 #CUSTOM_AUTOCONF_INCLUDE |
3868 #CUSTOM_AUTOCONF_INCLUDE |
3869 |
3869 |
3870 # Do not change or remove the following line, it is needed for consistency checks: |
3870 # Do not change or remove the following line, it is needed for consistency checks: |
3871 DATE_WHEN_GENERATED=1383701615 |
3871 DATE_WHEN_GENERATED=1386285126 |
3872 |
3872 |
3873 ############################################################################### |
3873 ############################################################################### |
3874 # |
3874 # |
3875 # Initialization / Boot-strapping |
3875 # Initialization / Boot-strapping |
3876 # |
3876 # |
8094 |
8094 |
8095 |
8095 |
8096 # Test from where we are running configure, in or outside of src root. |
8096 # Test from where we are running configure, in or outside of src root. |
8097 if test "x$CURDIR" = "x$SRC_ROOT" || test "x$CURDIR" = "x$SRC_ROOT/common" \ |
8097 if test "x$CURDIR" = "x$SRC_ROOT" || test "x$CURDIR" = "x$SRC_ROOT/common" \ |
8098 || test "x$CURDIR" = "x$SRC_ROOT/common/autoconf" \ |
8098 || test "x$CURDIR" = "x$SRC_ROOT/common/autoconf" \ |
8099 || test "x$CURDIR" = "x$SRC_ROOT/common/makefiles" ; then |
8099 || test "x$CURDIR" = "x$SRC_ROOT/make" ; then |
8100 # We are running configure from the src root. |
8100 # We are running configure from the src root. |
8101 # Create a default ./build/target-variant-debuglevel output root. |
8101 # Create a default ./build/target-variant-debuglevel output root. |
8102 if test "x${CONF_NAME}" = x; then |
8102 if test "x${CONF_NAME}" = x; then |
8103 CONF_NAME="${OPENJDK_TARGET_OS}-${OPENJDK_TARGET_CPU}-${JDK_VARIANT}-${ANDED_JVM_VARIANTS}-${DEBUG_LEVEL}" |
8103 CONF_NAME="${OPENJDK_TARGET_OS}-${OPENJDK_TARGET_CPU}-${JDK_VARIANT}-${ANDED_JVM_VARIANTS}-${DEBUG_LEVEL}" |
8104 fi |
8104 fi |
16251 cd "$with_add_source_root" |
16251 cd "$with_add_source_root" |
16252 ADD_SRC_ROOT="`pwd`" |
16252 ADD_SRC_ROOT="`pwd`" |
16253 cd "$CURDIR" |
16253 cd "$CURDIR" |
16254 # Verify that the addon source root does not have any root makefiles. |
16254 # Verify that the addon source root does not have any root makefiles. |
16255 # If it does, then it is usually an error, prevent this. |
16255 # If it does, then it is usually an error, prevent this. |
16256 if test -f $with_add_source_root/langtools/makefiles/Makefile || \ |
16256 if test -f $with_add_source_root/langtools/make/Makefile; then |
16257 test -f $with_add_source_root/langtools/make/Makefile; then |
|
16258 as_fn_error $? "Your add source root seems to contain a full langtools repo! An add source root should only contain additional sources." "$LINENO" 5 |
16257 as_fn_error $? "Your add source root seems to contain a full langtools repo! An add source root should only contain additional sources." "$LINENO" 5 |
16259 fi |
16258 fi |
16260 if test -f $with_add_source_root/corba/makefiles/Makefile || \ |
16259 if test -f $with_add_source_root/corba/make/Makefile; then |
16261 test -f $with_add_source_root/corba/make/Makefile; then |
|
16262 as_fn_error $? "Your add source root seems to contain a full corba repo! An add source root should only contain additional sources." "$LINENO" 5 |
16260 as_fn_error $? "Your add source root seems to contain a full corba repo! An add source root should only contain additional sources." "$LINENO" 5 |
16263 fi |
16261 fi |
16264 if test -f $with_add_source_root/jaxp/makefiles/Makefile || \ |
16262 if test -f $with_add_source_root/jaxp/make/Makefile; then |
16265 test -f $with_add_source_root/jaxp/make/Makefile; then |
|
16266 as_fn_error $? "Your add source root seems to contain a full jaxp repo! An add source root should only contain additional sources." "$LINENO" 5 |
16263 as_fn_error $? "Your add source root seems to contain a full jaxp repo! An add source root should only contain additional sources." "$LINENO" 5 |
16267 fi |
16264 fi |
16268 if test -f $with_add_source_root/jaxws/makefiles/Makefile || \ |
16265 if test -f $with_add_source_root/jaxws/make/Makefile; then |
16269 test -f $with_add_source_root/jaxws/make/Makefile; then |
|
16270 as_fn_error $? "Your add source root seems to contain a full jaxws repo! An add source root should only contain additional sources." "$LINENO" 5 |
16266 as_fn_error $? "Your add source root seems to contain a full jaxws repo! An add source root should only contain additional sources." "$LINENO" 5 |
16271 fi |
16267 fi |
16272 if test -f $with_add_source_root/hotspot/makefiles/Makefile || \ |
16268 if test -f $with_add_source_root/hotspot/make/Makefile; then |
16273 test -f $with_add_source_root/hotspot/make/Makefile; then |
|
16274 as_fn_error $? "Your add source root seems to contain a full hotspot repo! An add source root should only contain additional sources." "$LINENO" 5 |
16269 as_fn_error $? "Your add source root seems to contain a full hotspot repo! An add source root should only contain additional sources." "$LINENO" 5 |
16275 fi |
16270 fi |
16276 if test -f $with_add_source_root/nashorn/makefiles/Makefile || \ |
16271 if test -f $with_add_source_root/nashorn/make/Makefile; then |
16277 test -f $with_add_source_root/nashorn/make/Makefile; then |
|
16278 as_fn_error $? "Your add source root seems to contain a full nashorn repo! An add source root should only contain additional sources." "$LINENO" 5 |
16272 as_fn_error $? "Your add source root seems to contain a full nashorn repo! An add source root should only contain additional sources." "$LINENO" 5 |
16279 fi |
16273 fi |
16280 if test -f $with_add_source_root/jdk/makefiles/Makefile || \ |
16274 if test -f $with_add_source_root/jdk/make/Makefile; then |
16281 test -f $with_add_source_root/jdk/make/Makefile; then |
|
16282 as_fn_error $? "Your add source root seems to contain a full JDK repo! An add source root should only contain additional sources." "$LINENO" 5 |
16275 as_fn_error $? "Your add source root seems to contain a full JDK repo! An add source root should only contain additional sources." "$LINENO" 5 |
16283 fi |
16276 fi |
16284 fi |
16277 fi |
16285 |
16278 |
16286 |
16279 |
16290 fi |
16283 fi |
16291 CURDIR="$PWD" |
16284 CURDIR="$PWD" |
16292 cd "$with_override_source_root" |
16285 cd "$with_override_source_root" |
16293 OVERRIDE_SRC_ROOT="`pwd`" |
16286 OVERRIDE_SRC_ROOT="`pwd`" |
16294 cd "$CURDIR" |
16287 cd "$CURDIR" |
16295 if test -f $with_override_source_root/langtools/makefiles/Makefile || \ |
16288 if test -f $with_override_source_root/langtools/make/Makefile; then |
16296 test -f $with_override_source_root/langtools/make/Makefile; then |
|
16297 as_fn_error $? "Your override source root seems to contain a full langtools repo! An override source root should only contain sources that override." "$LINENO" 5 |
16289 as_fn_error $? "Your override source root seems to contain a full langtools repo! An override source root should only contain sources that override." "$LINENO" 5 |
16298 fi |
16290 fi |
16299 if test -f $with_override_source_root/corba/makefiles/Makefile || \ |
16291 if test -f $with_override_source_root/corba/make/Makefile; then |
16300 test -f $with_override_source_root/corba/make/Makefile; then |
|
16301 as_fn_error $? "Your override source root seems to contain a full corba repo! An override source root should only contain sources that override." "$LINENO" 5 |
16292 as_fn_error $? "Your override source root seems to contain a full corba repo! An override source root should only contain sources that override." "$LINENO" 5 |
16302 fi |
16293 fi |
16303 if test -f $with_override_source_root/jaxp/makefiles/Makefile || \ |
16294 if test -f $with_override_source_root/jaxp/make/Makefile; then |
16304 test -f $with_override_source_root/jaxp/make/Makefile; then |
|
16305 as_fn_error $? "Your override source root seems to contain a full jaxp repo! An override source root should only contain sources that override." "$LINENO" 5 |
16295 as_fn_error $? "Your override source root seems to contain a full jaxp repo! An override source root should only contain sources that override." "$LINENO" 5 |
16306 fi |
16296 fi |
16307 if test -f $with_override_source_root/jaxws/makefiles/Makefile || \ |
16297 if test -f $with_override_source_root/jaxws/make/Makefile; then |
16308 test -f $with_override_source_root/jaxws/make/Makefile; then |
|
16309 as_fn_error $? "Your override source root seems to contain a full jaxws repo! An override source root should only contain sources that override." "$LINENO" 5 |
16298 as_fn_error $? "Your override source root seems to contain a full jaxws repo! An override source root should only contain sources that override." "$LINENO" 5 |
16310 fi |
16299 fi |
16311 if test -f $with_override_source_root/hotspot/makefiles/Makefile || \ |
16300 if test -f $with_override_source_root/hotspot/make/Makefile; then |
16312 test -f $with_override_source_root/hotspot/make/Makefile; then |
|
16313 as_fn_error $? "Your override source root seems to contain a full hotspot repo! An override source root should only contain sources that override." "$LINENO" 5 |
16301 as_fn_error $? "Your override source root seems to contain a full hotspot repo! An override source root should only contain sources that override." "$LINENO" 5 |
16314 fi |
16302 fi |
16315 if test -f $with_override_source_root/nashorn/makefiles/Makefile || \ |
16303 if test -f $with_override_source_root/nashorn/make/Makefile; then |
16316 test -f $with_override_source_root/nashorn/make/Makefile; then |
|
16317 as_fn_error $? "Your override source root seems to contain a full nashorn repo! An override source root should only contain sources that override." "$LINENO" 5 |
16304 as_fn_error $? "Your override source root seems to contain a full nashorn repo! An override source root should only contain sources that override." "$LINENO" 5 |
16318 fi |
16305 fi |
16319 if test -f $with_override_source_root/jdk/makefiles/Makefile || \ |
16306 if test -f $with_override_source_root/jdk/make/Makefile; then |
16320 test -f $with_override_source_root/jdk/make/Makefile; then |
|
16321 as_fn_error $? "Your override source root seems to contain a full JDK repo! An override source root should only contain sources that override." "$LINENO" 5 |
16307 as_fn_error $? "Your override source root seems to contain a full JDK repo! An override source root should only contain sources that override." "$LINENO" 5 |
16322 fi |
16308 fi |
16323 fi |
16309 fi |
16324 |
16310 |
16325 |
16311 |
16394 if test "x$with_override_langtools" != x; then |
16380 if test "x$with_override_langtools" != x; then |
16395 CURDIR="$PWD" |
16381 CURDIR="$PWD" |
16396 cd "$with_override_langtools" |
16382 cd "$with_override_langtools" |
16397 LANGTOOLS_TOPDIR="`pwd`" |
16383 LANGTOOLS_TOPDIR="`pwd`" |
16398 cd "$CURDIR" |
16384 cd "$CURDIR" |
16399 if ! test -f $LANGTOOLS_TOPDIR/makefiles/Makefile; then |
16385 if ! test -f $LANGTOOLS_TOPDIR/make/Makefile; then |
16400 as_fn_error $? "You have to override langtools with a full langtools repo!" "$LINENO" 5 |
16386 as_fn_error $? "You have to override langtools with a full langtools repo!" "$LINENO" 5 |
16401 fi |
16387 fi |
16402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if langtools should be overridden" >&5 |
16388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if langtools should be overridden" >&5 |
16403 $as_echo_n "checking if langtools should be overridden... " >&6; } |
16389 $as_echo_n "checking if langtools should be overridden... " >&6; } |
16404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes with $LANGTOOLS_TOPDIR" >&5 |
16390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes with $LANGTOOLS_TOPDIR" >&5 |
16407 if test "x$with_override_corba" != x; then |
16393 if test "x$with_override_corba" != x; then |
16408 CURDIR="$PWD" |
16394 CURDIR="$PWD" |
16409 cd "$with_override_corba" |
16395 cd "$with_override_corba" |
16410 CORBA_TOPDIR="`pwd`" |
16396 CORBA_TOPDIR="`pwd`" |
16411 cd "$CURDIR" |
16397 cd "$CURDIR" |
16412 if ! test -f $CORBA_TOPDIR/makefiles/Makefile; then |
16398 if ! test -f $CORBA_TOPDIR/make/Makefile; then |
16413 as_fn_error $? "You have to override corba with a full corba repo!" "$LINENO" 5 |
16399 as_fn_error $? "You have to override corba with a full corba repo!" "$LINENO" 5 |
16414 fi |
16400 fi |
16415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if corba should be overridden" >&5 |
16401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if corba should be overridden" >&5 |
16416 $as_echo_n "checking if corba should be overridden... " >&6; } |
16402 $as_echo_n "checking if corba should be overridden... " >&6; } |
16417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes with $CORBA_TOPDIR" >&5 |
16403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes with $CORBA_TOPDIR" >&5 |
16420 if test "x$with_override_jaxp" != x; then |
16406 if test "x$with_override_jaxp" != x; then |
16421 CURDIR="$PWD" |
16407 CURDIR="$PWD" |
16422 cd "$with_override_jaxp" |
16408 cd "$with_override_jaxp" |
16423 JAXP_TOPDIR="`pwd`" |
16409 JAXP_TOPDIR="`pwd`" |
16424 cd "$CURDIR" |
16410 cd "$CURDIR" |
16425 if ! test -f $JAXP_TOPDIR/makefiles/Makefile; then |
16411 if ! test -f $JAXP_TOPDIR/make/Makefile; then |
16426 as_fn_error $? "You have to override jaxp with a full jaxp repo!" "$LINENO" 5 |
16412 as_fn_error $? "You have to override jaxp with a full jaxp repo!" "$LINENO" 5 |
16427 fi |
16413 fi |
16428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if jaxp should be overridden" >&5 |
16414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if jaxp should be overridden" >&5 |
16429 $as_echo_n "checking if jaxp should be overridden... " >&6; } |
16415 $as_echo_n "checking if jaxp should be overridden... " >&6; } |
16430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes with $JAXP_TOPDIR" >&5 |
16416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes with $JAXP_TOPDIR" >&5 |
16433 if test "x$with_override_jaxws" != x; then |
16419 if test "x$with_override_jaxws" != x; then |
16434 CURDIR="$PWD" |
16420 CURDIR="$PWD" |
16435 cd "$with_override_jaxws" |
16421 cd "$with_override_jaxws" |
16436 JAXWS_TOPDIR="`pwd`" |
16422 JAXWS_TOPDIR="`pwd`" |
16437 cd "$CURDIR" |
16423 cd "$CURDIR" |
16438 if ! test -f $JAXWS_TOPDIR/makefiles/Makefile; then |
16424 if ! test -f $JAXWS_TOPDIR/make/Makefile; then |
16439 as_fn_error $? "You have to override jaxws with a full jaxws repo!" "$LINENO" 5 |
16425 as_fn_error $? "You have to override jaxws with a full jaxws repo!" "$LINENO" 5 |
16440 fi |
16426 fi |
16441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if jaxws should be overridden" >&5 |
16427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if jaxws should be overridden" >&5 |
16442 $as_echo_n "checking if jaxws should be overridden... " >&6; } |
16428 $as_echo_n "checking if jaxws should be overridden... " >&6; } |
16443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes with $JAXWS_TOPDIR" >&5 |
16429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes with $JAXWS_TOPDIR" >&5 |
16446 if test "x$with_override_hotspot" != x; then |
16432 if test "x$with_override_hotspot" != x; then |
16447 CURDIR="$PWD" |
16433 CURDIR="$PWD" |
16448 cd "$with_override_hotspot" |
16434 cd "$with_override_hotspot" |
16449 HOTSPOT_TOPDIR="`pwd`" |
16435 HOTSPOT_TOPDIR="`pwd`" |
16450 cd "$CURDIR" |
16436 cd "$CURDIR" |
16451 if ! test -f $HOTSPOT_TOPDIR/make/Makefile && \ |
16437 if ! test -f $HOTSPOT_TOPDIR/make/Makefile; then |
16452 ! test -f $HOTSPOT_TOPDIR/makefiles/Makefile; then |
|
16453 as_fn_error $? "You have to override hotspot with a full hotspot repo!" "$LINENO" 5 |
16438 as_fn_error $? "You have to override hotspot with a full hotspot repo!" "$LINENO" 5 |
16454 fi |
16439 fi |
16455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if hotspot should be overridden" >&5 |
16440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if hotspot should be overridden" >&5 |
16456 $as_echo_n "checking if hotspot should be overridden... " >&6; } |
16441 $as_echo_n "checking if hotspot should be overridden... " >&6; } |
16457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes with $HOTSPOT_TOPDIR" >&5 |
16442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes with $HOTSPOT_TOPDIR" >&5 |
16460 if test "x$with_override_nashorn" != x; then |
16445 if test "x$with_override_nashorn" != x; then |
16461 CURDIR="$PWD" |
16446 CURDIR="$PWD" |
16462 cd "$with_override_nashorn" |
16447 cd "$with_override_nashorn" |
16463 NASHORN_TOPDIR="`pwd`" |
16448 NASHORN_TOPDIR="`pwd`" |
16464 cd "$CURDIR" |
16449 cd "$CURDIR" |
16465 if ! test -f $NASHORN_TOPDIR/makefiles/Makefile; then |
16450 if ! test -f $NASHORN_TOPDIR/make/Makefile; then |
16466 as_fn_error $? "You have to override nashorn with a full nashorn repo!" "$LINENO" 5 |
16451 as_fn_error $? "You have to override nashorn with a full nashorn repo!" "$LINENO" 5 |
16467 fi |
16452 fi |
16468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nashorn should be overridden" >&5 |
16453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nashorn should be overridden" >&5 |
16469 $as_echo_n "checking if nashorn should be overridden... " >&6; } |
16454 $as_echo_n "checking if nashorn should be overridden... " >&6; } |
16470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes with $NASHORN_TOPDIR" >&5 |
16455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes with $NASHORN_TOPDIR" >&5 |
16473 if test "x$with_override_jdk" != x; then |
16458 if test "x$with_override_jdk" != x; then |
16474 CURDIR="$PWD" |
16459 CURDIR="$PWD" |
16475 cd "$with_override_jdk" |
16460 cd "$with_override_jdk" |
16476 JDK_TOPDIR="`pwd`" |
16461 JDK_TOPDIR="`pwd`" |
16477 cd "$CURDIR" |
16462 cd "$CURDIR" |
16478 if ! test -f $JDK_TOPDIR/makefiles/Makefile; then |
16463 if ! test -f $JDK_TOPDIR/make/Makefile; then |
16479 as_fn_error $? "You have to override JDK with a full JDK repo!" "$LINENO" 5 |
16464 as_fn_error $? "You have to override JDK with a full JDK repo!" "$LINENO" 5 |
16480 fi |
16465 fi |
16481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if JDK should be overridden" >&5 |
16466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if JDK should be overridden" >&5 |
16482 $as_echo_n "checking if JDK should be overridden... " >&6; } |
16467 $as_echo_n "checking if JDK should be overridden... " >&6; } |
16483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes with $JDK_TOPDIR" >&5 |
16468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes with $JDK_TOPDIR" >&5 |