common/autoconf/generated-configure.sh
changeset 21759 e24e22311718
parent 21175 55339db53608
child 22035 897e2da883cd
child 22469 f8c0670baf03
equal deleted inserted replaced
21510:0b432ae58dd5 21759:e24e22311718
  3863 # definitions. It is replaced with custom functionality when building
  3863 # definitions. It is replaced with custom functionality when building
  3864 # custom sources.
  3864 # custom sources.
  3865 #CUSTOM_AUTOCONF_INCLUDE
  3865 #CUSTOM_AUTOCONF_INCLUDE
  3866 
  3866 
  3867 # Do not change or remove the following line, it is needed for consistency checks:
  3867 # Do not change or remove the following line, it is needed for consistency checks:
  3868 DATE_WHEN_GENERATED=1383151988
  3868 DATE_WHEN_GENERATED=1384422786
  3869 
  3869 
  3870 ###############################################################################
  3870 ###############################################################################
  3871 #
  3871 #
  3872 # Initialization / Boot-strapping
  3872 # Initialization / Boot-strapping
  3873 #
  3873 #
  8040 
  8040 
  8041 
  8041 
  8042   # Test from where we are running configure, in or outside of src root.
  8042   # Test from where we are running configure, in or outside of src root.
  8043   if test "x$CURDIR" = "x$SRC_ROOT" || test "x$CURDIR" = "x$SRC_ROOT/common" \
  8043   if test "x$CURDIR" = "x$SRC_ROOT" || test "x$CURDIR" = "x$SRC_ROOT/common" \
  8044       || test "x$CURDIR" = "x$SRC_ROOT/common/autoconf" \
  8044       || test "x$CURDIR" = "x$SRC_ROOT/common/autoconf" \
  8045       || test "x$CURDIR" = "x$SRC_ROOT/common/makefiles" ; then
  8045       || test "x$CURDIR" = "x$SRC_ROOT/make" ; then
  8046     # We are running configure from the src root.
  8046     # We are running configure from the src root.
  8047     # Create a default ./build/target-variant-debuglevel output root.
  8047     # Create a default ./build/target-variant-debuglevel output root.
  8048     if test "x${CONF_NAME}" = x; then
  8048     if test "x${CONF_NAME}" = x; then
  8049       CONF_NAME="${OPENJDK_TARGET_OS}-${OPENJDK_TARGET_CPU}-${JDK_VARIANT}-${ANDED_JVM_VARIANTS}-${DEBUG_LEVEL}"
  8049       CONF_NAME="${OPENJDK_TARGET_OS}-${OPENJDK_TARGET_CPU}-${JDK_VARIANT}-${ANDED_JVM_VARIANTS}-${DEBUG_LEVEL}"
  8050     fi
  8050     fi
 16199     cd "$with_add_source_root"
 16199     cd "$with_add_source_root"
 16200     ADD_SRC_ROOT="`pwd`"
 16200     ADD_SRC_ROOT="`pwd`"
 16201     cd "$CURDIR"
 16201     cd "$CURDIR"
 16202     # Verify that the addon source root does not have any root makefiles.
 16202     # Verify that the addon source root does not have any root makefiles.
 16203     # If it does, then it is usually an error, prevent this.
 16203     # If it does, then it is usually an error, prevent this.
 16204     if test -f $with_add_source_root/langtools/makefiles/Makefile || \
 16204     if test -f $with_add_source_root/langtools/make/Makefile; then
 16205       test -f $with_add_source_root/langtools/make/Makefile; then
       
 16206       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
 16205       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
 16207     fi
 16206     fi
 16208     if test -f $with_add_source_root/corba/makefiles/Makefile || \
 16207     if test -f $with_add_source_root/corba/make/Makefile; then
 16209       test -f $with_add_source_root/corba/make/Makefile; then
       
 16210       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
 16208       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
 16211     fi
 16209     fi
 16212     if test -f $with_add_source_root/jaxp/makefiles/Makefile || \
 16210     if test -f $with_add_source_root/jaxp/make/Makefile; then
 16213       test -f $with_add_source_root/jaxp/make/Makefile; then
       
 16214       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
 16211       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
 16215     fi
 16212     fi
 16216     if test -f $with_add_source_root/jaxws/makefiles/Makefile || \
 16213     if test -f $with_add_source_root/jaxws/make/Makefile; then
 16217       test -f $with_add_source_root/jaxws/make/Makefile; then
       
 16218       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
 16214       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
 16219     fi
 16215     fi
 16220     if test -f $with_add_source_root/hotspot/makefiles/Makefile || \
 16216     if test -f $with_add_source_root/hotspot/make/Makefile; then
 16221       test -f $with_add_source_root/hotspot/make/Makefile; then
       
 16222       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
 16217       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
 16223     fi
 16218     fi
 16224     if test -f $with_add_source_root/nashorn/makefiles/Makefile || \
 16219     if test -f $with_add_source_root/nashorn/make/Makefile; then
 16225       test -f $with_add_source_root/nashorn/make/Makefile; then
       
 16226       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
 16220       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
 16227     fi
 16221     fi
 16228     if test -f $with_add_source_root/jdk/makefiles/Makefile || \
 16222     if test -f $with_add_source_root/jdk/make/Makefile; then
 16229       test -f $with_add_source_root/jdk/make/Makefile; then
       
 16230       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
 16223       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
 16231     fi
 16224     fi
 16232   fi
 16225   fi
 16233 
 16226 
 16234 
 16227 
 16238     fi
 16231     fi
 16239     CURDIR="$PWD"
 16232     CURDIR="$PWD"
 16240     cd "$with_override_source_root"
 16233     cd "$with_override_source_root"
 16241     OVERRIDE_SRC_ROOT="`pwd`"
 16234     OVERRIDE_SRC_ROOT="`pwd`"
 16242     cd "$CURDIR"
 16235     cd "$CURDIR"
 16243     if test -f $with_override_source_root/langtools/makefiles/Makefile || \
 16236     if test -f $with_override_source_root/langtools/make/Makefile; then
 16244       test -f $with_override_source_root/langtools/make/Makefile; then
       
 16245       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
 16237       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
 16246     fi
 16238     fi
 16247     if test -f $with_override_source_root/corba/makefiles/Makefile || \
 16239     if test -f $with_override_source_root/corba/make/Makefile; then
 16248       test -f $with_override_source_root/corba/make/Makefile; then
       
 16249       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
 16240       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
 16250     fi
 16241     fi
 16251     if test -f $with_override_source_root/jaxp/makefiles/Makefile || \
 16242     if test -f $with_override_source_root/jaxp/make/Makefile; then
 16252       test -f $with_override_source_root/jaxp/make/Makefile; then
       
 16253       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
 16243       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
 16254     fi
 16244     fi
 16255     if test -f $with_override_source_root/jaxws/makefiles/Makefile || \
 16245     if test -f $with_override_source_root/jaxws/make/Makefile; then
 16256       test -f $with_override_source_root/jaxws/make/Makefile; then
       
 16257       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
 16246       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
 16258     fi
 16247     fi
 16259     if test -f $with_override_source_root/hotspot/makefiles/Makefile || \
 16248     if test -f $with_override_source_root/hotspot/make/Makefile; then
 16260       test -f $with_override_source_root/hotspot/make/Makefile; then
       
 16261       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
 16249       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
 16262     fi
 16250     fi
 16263     if test -f $with_override_source_root/nashorn/makefiles/Makefile || \
 16251     if test -f $with_override_source_root/nashorn/make/Makefile; then
 16264       test -f $with_override_source_root/nashorn/make/Makefile; then
       
 16265       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
 16252       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
 16266     fi
 16253     fi
 16267     if test -f $with_override_source_root/jdk/makefiles/Makefile || \
 16254     if test -f $with_override_source_root/jdk/make/Makefile; then
 16268       test -f $with_override_source_root/jdk/make/Makefile; then
       
 16269       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
 16255       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
 16270     fi
 16256     fi
 16271   fi
 16257   fi
 16272 
 16258 
 16273 
 16259 
 16342   if test "x$with_override_langtools" != x; then
 16328   if test "x$with_override_langtools" != x; then
 16343     CURDIR="$PWD"
 16329     CURDIR="$PWD"
 16344     cd "$with_override_langtools"
 16330     cd "$with_override_langtools"
 16345     LANGTOOLS_TOPDIR="`pwd`"
 16331     LANGTOOLS_TOPDIR="`pwd`"
 16346     cd "$CURDIR"
 16332     cd "$CURDIR"
 16347     if ! test -f $LANGTOOLS_TOPDIR/makefiles/Makefile; then
 16333     if ! test -f $LANGTOOLS_TOPDIR/make/Makefile; then
 16348       as_fn_error $? "You have to override langtools with a full langtools repo!" "$LINENO" 5
 16334       as_fn_error $? "You have to override langtools with a full langtools repo!" "$LINENO" 5
 16349     fi
 16335     fi
 16350     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if langtools should be overridden" >&5
 16336     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if langtools should be overridden" >&5
 16351 $as_echo_n "checking if langtools should be overridden... " >&6; }
 16337 $as_echo_n "checking if langtools should be overridden... " >&6; }
 16352     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes with $LANGTOOLS_TOPDIR" >&5
 16338     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes with $LANGTOOLS_TOPDIR" >&5
 16355   if test "x$with_override_corba" != x; then
 16341   if test "x$with_override_corba" != x; then
 16356     CURDIR="$PWD"
 16342     CURDIR="$PWD"
 16357     cd "$with_override_corba"
 16343     cd "$with_override_corba"
 16358     CORBA_TOPDIR="`pwd`"
 16344     CORBA_TOPDIR="`pwd`"
 16359     cd "$CURDIR"
 16345     cd "$CURDIR"
 16360     if ! test -f $CORBA_TOPDIR/makefiles/Makefile; then
 16346     if ! test -f $CORBA_TOPDIR/make/Makefile; then
 16361       as_fn_error $? "You have to override corba with a full corba repo!" "$LINENO" 5
 16347       as_fn_error $? "You have to override corba with a full corba repo!" "$LINENO" 5
 16362     fi
 16348     fi
 16363     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if corba should be overridden" >&5
 16349     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if corba should be overridden" >&5
 16364 $as_echo_n "checking if corba should be overridden... " >&6; }
 16350 $as_echo_n "checking if corba should be overridden... " >&6; }
 16365     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes with $CORBA_TOPDIR" >&5
 16351     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes with $CORBA_TOPDIR" >&5
 16368   if test "x$with_override_jaxp" != x; then
 16354   if test "x$with_override_jaxp" != x; then
 16369     CURDIR="$PWD"
 16355     CURDIR="$PWD"
 16370     cd "$with_override_jaxp"
 16356     cd "$with_override_jaxp"
 16371     JAXP_TOPDIR="`pwd`"
 16357     JAXP_TOPDIR="`pwd`"
 16372     cd "$CURDIR"
 16358     cd "$CURDIR"
 16373     if ! test -f $JAXP_TOPDIR/makefiles/Makefile; then
 16359     if ! test -f $JAXP_TOPDIR/make/Makefile; then
 16374       as_fn_error $? "You have to override jaxp with a full jaxp repo!" "$LINENO" 5
 16360       as_fn_error $? "You have to override jaxp with a full jaxp repo!" "$LINENO" 5
 16375     fi
 16361     fi
 16376     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if jaxp should be overridden" >&5
 16362     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if jaxp should be overridden" >&5
 16377 $as_echo_n "checking if jaxp should be overridden... " >&6; }
 16363 $as_echo_n "checking if jaxp should be overridden... " >&6; }
 16378     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes with $JAXP_TOPDIR" >&5
 16364     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes with $JAXP_TOPDIR" >&5
 16381   if test "x$with_override_jaxws" != x; then
 16367   if test "x$with_override_jaxws" != x; then
 16382     CURDIR="$PWD"
 16368     CURDIR="$PWD"
 16383     cd "$with_override_jaxws"
 16369     cd "$with_override_jaxws"
 16384     JAXWS_TOPDIR="`pwd`"
 16370     JAXWS_TOPDIR="`pwd`"
 16385     cd "$CURDIR"
 16371     cd "$CURDIR"
 16386     if ! test -f $JAXWS_TOPDIR/makefiles/Makefile; then
 16372     if ! test -f $JAXWS_TOPDIR/make/Makefile; then
 16387       as_fn_error $? "You have to override jaxws with a full jaxws repo!" "$LINENO" 5
 16373       as_fn_error $? "You have to override jaxws with a full jaxws repo!" "$LINENO" 5
 16388     fi
 16374     fi
 16389     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if jaxws should be overridden" >&5
 16375     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if jaxws should be overridden" >&5
 16390 $as_echo_n "checking if jaxws should be overridden... " >&6; }
 16376 $as_echo_n "checking if jaxws should be overridden... " >&6; }
 16391     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes with $JAXWS_TOPDIR" >&5
 16377     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes with $JAXWS_TOPDIR" >&5
 16394   if test "x$with_override_hotspot" != x; then
 16380   if test "x$with_override_hotspot" != x; then
 16395     CURDIR="$PWD"
 16381     CURDIR="$PWD"
 16396     cd "$with_override_hotspot"
 16382     cd "$with_override_hotspot"
 16397     HOTSPOT_TOPDIR="`pwd`"
 16383     HOTSPOT_TOPDIR="`pwd`"
 16398     cd "$CURDIR"
 16384     cd "$CURDIR"
 16399     if ! test -f $HOTSPOT_TOPDIR/make/Makefile && \
 16385     if ! test -f $HOTSPOT_TOPDIR/make/Makefile; then
 16400         ! test -f $HOTSPOT_TOPDIR/makefiles/Makefile; then
       
 16401       as_fn_error $? "You have to override hotspot with a full hotspot repo!" "$LINENO" 5
 16386       as_fn_error $? "You have to override hotspot with a full hotspot repo!" "$LINENO" 5
 16402     fi
 16387     fi
 16403     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if hotspot should be overridden" >&5
 16388     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if hotspot should be overridden" >&5
 16404 $as_echo_n "checking if hotspot should be overridden... " >&6; }
 16389 $as_echo_n "checking if hotspot should be overridden... " >&6; }
 16405     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes with $HOTSPOT_TOPDIR" >&5
 16390     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes with $HOTSPOT_TOPDIR" >&5
 16408   if test "x$with_override_nashorn" != x; then
 16393   if test "x$with_override_nashorn" != x; then
 16409     CURDIR="$PWD"
 16394     CURDIR="$PWD"
 16410     cd "$with_override_nashorn"
 16395     cd "$with_override_nashorn"
 16411     NASHORN_TOPDIR="`pwd`"
 16396     NASHORN_TOPDIR="`pwd`"
 16412     cd "$CURDIR"
 16397     cd "$CURDIR"
 16413     if ! test -f $NASHORN_TOPDIR/makefiles/Makefile; then
 16398     if ! test -f $NASHORN_TOPDIR/make/Makefile; then
 16414       as_fn_error $? "You have to override nashorn with a full nashorn repo!" "$LINENO" 5
 16399       as_fn_error $? "You have to override nashorn with a full nashorn repo!" "$LINENO" 5
 16415     fi
 16400     fi
 16416     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nashorn should be overridden" >&5
 16401     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nashorn should be overridden" >&5
 16417 $as_echo_n "checking if nashorn should be overridden... " >&6; }
 16402 $as_echo_n "checking if nashorn should be overridden... " >&6; }
 16418     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes with $NASHORN_TOPDIR" >&5
 16403     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes with $NASHORN_TOPDIR" >&5
 16421   if test "x$with_override_jdk" != x; then
 16406   if test "x$with_override_jdk" != x; then
 16422     CURDIR="$PWD"
 16407     CURDIR="$PWD"
 16423     cd "$with_override_jdk"
 16408     cd "$with_override_jdk"
 16424     JDK_TOPDIR="`pwd`"
 16409     JDK_TOPDIR="`pwd`"
 16425     cd "$CURDIR"
 16410     cd "$CURDIR"
 16426     if ! test -f $JDK_TOPDIR/makefiles/Makefile; then
 16411     if ! test -f $JDK_TOPDIR/make/Makefile; then
 16427       as_fn_error $? "You have to override JDK with a full JDK repo!" "$LINENO" 5
 16412       as_fn_error $? "You have to override JDK with a full JDK repo!" "$LINENO" 5
 16428     fi
 16413     fi
 16429     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if JDK should be overridden" >&5
 16414     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if JDK should be overridden" >&5
 16430 $as_echo_n "checking if JDK should be overridden... " >&6; }
 16415 $as_echo_n "checking if JDK should be overridden... " >&6; }
 16431     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes with $JDK_TOPDIR" >&5
 16416     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes with $JDK_TOPDIR" >&5