common/autoconf/generated-configure.sh
changeset 25854 98ce0879ab4c
parent 25616 5730ea123552
child 25882 bd4315f0084b
equal deleted inserted replaced
25853:63fbc565bba5 25854:98ce0879ab4c
   803 HOTSPOT_TOPDIR
   803 HOTSPOT_TOPDIR
   804 JAXWS_TOPDIR
   804 JAXWS_TOPDIR
   805 JAXP_TOPDIR
   805 JAXP_TOPDIR
   806 CORBA_TOPDIR
   806 CORBA_TOPDIR
   807 LANGTOOLS_TOPDIR
   807 LANGTOOLS_TOPDIR
       
   808 JAVA_TOOL_FLAGS_SMALL
   808 JAVA_FLAGS_SMALL
   809 JAVA_FLAGS_SMALL
   809 JAVA_FLAGS_BIG
   810 JAVA_FLAGS_BIG
   810 JAVA_FLAGS
   811 JAVA_FLAGS
   811 JAVAC_FLAGS
   812 JAVAC_FLAGS
   812 BOOT_JDK_SOURCETARGET
   813 BOOT_JDK_SOURCETARGET
   863 OTOOL
   864 OTOOL
   864 LDD
   865 LDD
   865 ZIP
   866 ZIP
   866 UNZIP
   867 UNZIP
   867 FIND_DELETE
   868 FIND_DELETE
       
   869 OUTPUT_SYNC
       
   870 OUTPUT_SYNC_SUPPORTED
   868 MAKE
   871 MAKE
   869 CHECK_TOOLSDIR_MAKE
   872 CHECK_TOOLSDIR_MAKE
   870 CHECK_TOOLSDIR_GMAKE
   873 CHECK_TOOLSDIR_GMAKE
   871 CHECK_MAKE
   874 CHECK_MAKE
   872 CHECK_GMAKE
   875 CHECK_GMAKE
  1042 with_tools_dir
  1045 with_tools_dir
  1043 with_toolchain_path
  1046 with_toolchain_path
  1044 with_extra_path
  1047 with_extra_path
  1045 with_sdk_name
  1048 with_sdk_name
  1046 with_conf_name
  1049 with_conf_name
       
  1050 with_output_sync
  1047 with_builddeps_conf
  1051 with_builddeps_conf
  1048 with_builddeps_server
  1052 with_builddeps_server
  1049 with_builddeps_dir
  1053 with_builddeps_dir
  1050 with_builddeps_group
  1054 with_builddeps_group
  1051 enable_headful
  1055 enable_headful
  1879                           toolchain binaries (compilers etc)
  1883                           toolchain binaries (compilers etc)
  1880   --with-extra-path       prepend these directories to the default path
  1884   --with-extra-path       prepend these directories to the default path
  1881   --with-sdk-name         use the platform SDK of the given name. [macosx]
  1885   --with-sdk-name         use the platform SDK of the given name. [macosx]
  1882   --with-conf-name        use this as the name of the configuration [generated
  1886   --with-conf-name        use this as the name of the configuration [generated
  1883                           from important configuration options]
  1887                           from important configuration options]
       
  1888   --with-output-sync      set make output sync type if supported by make.
       
  1889                           [recurse]
  1884   --with-builddeps-conf   use this configuration file for the builddeps
  1890   --with-builddeps-conf   use this configuration file for the builddeps
  1885   --with-builddeps-server download and use build dependencies from this server
  1891   --with-builddeps-server download and use build dependencies from this server
  1886                           url
  1892                           url
  1887   --with-builddeps-dir    store downloaded build dependencies here
  1893   --with-builddeps-dir    store downloaded build dependencies here
  1888                           [/localhome/builddeps]
  1894                           [/localhome/builddeps]
  3485 # Check if we have found a usable version of make
  3491 # Check if we have found a usable version of make
  3486 # $1: the path to a potential make binary (or empty)
  3492 # $1: the path to a potential make binary (or empty)
  3487 # $2: the description on how we found this
  3493 # $2: the description on how we found this
  3488 
  3494 
  3489 
  3495 
       
  3496 
       
  3497 
  3490 # Goes looking for a usable version of GNU make.
  3498 # Goes looking for a usable version of GNU make.
  3491 
  3499 
  3492 
  3500 
  3493 
  3501 
  3494 
  3502 
  4309 # definitions. It is replaced with custom functionality when building
  4317 # definitions. It is replaced with custom functionality when building
  4310 # custom sources.
  4318 # custom sources.
  4311 #CUSTOM_AUTOCONF_INCLUDE
  4319 #CUSTOM_AUTOCONF_INCLUDE
  4312 
  4320 
  4313 # Do not change or remove the following line, it is needed for consistency checks:
  4321 # Do not change or remove the following line, it is needed for consistency checks:
  4314 DATE_WHEN_GENERATED=1405336663
  4322 DATE_WHEN_GENERATED=1407143049
  4315 
  4323 
  4316 ###############################################################################
  4324 ###############################################################################
  4317 #
  4325 #
  4318 # Initialization / Boot-strapping
  4326 # Initialization / Boot-strapping
  4319 #
  4327 #
 13922   fi
 13930   fi
 13923 
 13931 
 13924 
 13932 
 13925   # Setup OPENJDK_TARGET_OS_API_DIR, used in source paths.
 13933   # Setup OPENJDK_TARGET_OS_API_DIR, used in source paths.
 13926   if test "x$OPENJDK_TARGET_OS_API" = xposix; then
 13934   if test "x$OPENJDK_TARGET_OS_API" = xposix; then
 13927     OPENJDK_TARGET_OS_API_DIR="solaris"
 13935     OPENJDK_TARGET_OS_API_DIR="unix"
 13928   fi
 13936   fi
 13929   if test "x$OPENJDK_TARGET_OS_API" = xwinapi; then
 13937   if test "x$OPENJDK_TARGET_OS_API" = xwinapi; then
 13930     OPENJDK_TARGET_OS_API_DIR="windows"
 13938     OPENJDK_TARGET_OS_API_DIR="windows"
 13931   fi
 13939   fi
 13932 
 13940 
 17145 
 17153 
 17146   { $as_echo "$as_me:${as_lineno-$LINENO}: Using GNU make 3.81 (or later) at $FOUND_MAKE (version: $MAKE_VERSION_STRING)" >&5
 17154   { $as_echo "$as_me:${as_lineno-$LINENO}: Using GNU make 3.81 (or later) at $FOUND_MAKE (version: $MAKE_VERSION_STRING)" >&5
 17147 $as_echo "$as_me: Using GNU make 3.81 (or later) at $FOUND_MAKE (version: $MAKE_VERSION_STRING)" >&6;}
 17155 $as_echo "$as_me: Using GNU make 3.81 (or later) at $FOUND_MAKE (version: $MAKE_VERSION_STRING)" >&6;}
 17148 
 17156 
 17149 
 17157 
       
 17158   # Check if make supports the output sync option and if so, setup using it.
       
 17159   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if make --output-sync is supported" >&5
       
 17160 $as_echo_n "checking if make --output-sync is supported... " >&6; }
       
 17161   if $MAKE --version -O > /dev/null 2>&1; then
       
 17162     OUTPUT_SYNC_SUPPORTED=true
       
 17163     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
       
 17164 $as_echo "yes" >&6; }
       
 17165     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for output-sync value" >&5
       
 17166 $as_echo_n "checking for output-sync value... " >&6; }
       
 17167 
       
 17168 # Check whether --with-output-sync was given.
       
 17169 if test "${with_output_sync+set}" = set; then :
       
 17170   withval=$with_output_sync; OUTPUT_SYNC=$with_output_sync
       
 17171 fi
       
 17172 
       
 17173     if test "x$OUTPUT_SYNC" = "x"; then
       
 17174       OUTPUT_SYNC=none
       
 17175     fi
       
 17176     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OUTPUT_SYNC" >&5
       
 17177 $as_echo "$OUTPUT_SYNC" >&6; }
       
 17178     if ! $MAKE --version -O$OUTPUT_SYNC > /dev/null 2>&1; then
       
 17179       as_fn_error $? "Make did not the support the value $OUTPUT_SYNC as output sync type." "$LINENO" 5
       
 17180     fi
       
 17181   else
       
 17182     OUTPUT_SYNC_SUPPORTED=false
       
 17183     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
       
 17184 $as_echo "no" >&6; }
       
 17185   fi
       
 17186 
       
 17187 
       
 17188 
       
 17189 
       
 17190 
 17150 
 17191 
 17151   # Test if find supports -delete
 17192   # Test if find supports -delete
 17152   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if find supports -delete" >&5
 17193   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if find supports -delete" >&5
 17153 $as_echo_n "checking if find supports -delete... " >&6; }
 17194 $as_echo_n "checking if find supports -delete... " >&6; }
 17154   FIND_DELETE="-delete"
 17195   FIND_DELETE="-delete"
 19864   withval=$with_cacerts_file;
 19905   withval=$with_cacerts_file;
 19865 fi
 19906 fi
 19866 
 19907 
 19867   if test "x$with_cacerts_file" != x; then
 19908   if test "x$with_cacerts_file" != x; then
 19868     CACERTS_FILE=$with_cacerts_file
 19909     CACERTS_FILE=$with_cacerts_file
 19869   else
       
 19870     CACERTS_FILE=${SRC_ROOT}/jdk/src/share/lib/security/cacerts
       
 19871   fi
 19910   fi
 19872 
 19911 
 19873 
 19912 
 19874   ###############################################################################
 19913   ###############################################################################
 19875   #
 19914   #
 26374 
 26413 
 26375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $boot_jdk_jvmargs_small" >&5
 26414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $boot_jdk_jvmargs_small" >&5
 26376 $as_echo "$boot_jdk_jvmargs_small" >&6; }
 26415 $as_echo "$boot_jdk_jvmargs_small" >&6; }
 26377 
 26416 
 26378   JAVA_FLAGS_SMALL=$boot_jdk_jvmargs_small
 26417   JAVA_FLAGS_SMALL=$boot_jdk_jvmargs_small
       
 26418 
       
 26419 
       
 26420   JAVA_TOOL_FLAGS_SMALL=""
       
 26421   for f in $JAVA_FLAGS_SMALL; do
       
 26422     JAVA_TOOL_FLAGS_SMALL="$JAVA_TOOL_FLAGS_SMALL -J$f"
       
 26423   done
 26379 
 26424 
 26380 
 26425 
 26381 
 26426 
 26382 ###############################################################################
 26427 ###############################################################################
 26383 #
 26428 #
 42283     LDFLAGS_JDK="$LDFLAGS_JDK -mmacosx-version-min=\$(MACOSX_VERSION_MIN)"
 42328     LDFLAGS_JDK="$LDFLAGS_JDK -mmacosx-version-min=\$(MACOSX_VERSION_MIN)"
 42284   fi
 42329   fi
 42285 
 42330 
 42286   # Setup some hard coded includes
 42331   # Setup some hard coded includes
 42287   COMMON_CCXXFLAGS_JDK="$COMMON_CCXXFLAGS_JDK \
 42332   COMMON_CCXXFLAGS_JDK="$COMMON_CCXXFLAGS_JDK \
 42288       -I${JDK_OUTPUTDIR}/include \
 42333       -I${JDK_TOPDIR}/src/java.base/share/native/include \
 42289       -I${JDK_OUTPUTDIR}/include/$OPENJDK_TARGET_OS \
 42334       -I${JDK_TOPDIR}/src/java.base/$OPENJDK_TARGET_OS/native/include \
 42290       -I${JDK_TOPDIR}/src/share/javavm/export \
 42335       -I${JDK_TOPDIR}/src/java.base/$OPENJDK_TARGET_OS_API_DIR/native/include"
 42291       -I${JDK_TOPDIR}/src/$OPENJDK_TARGET_OS_EXPORT_DIR/javavm/export \
       
 42292       -I${JDK_TOPDIR}/src/share/native/common \
       
 42293       -I${JDK_TOPDIR}/src/$OPENJDK_TARGET_OS_API_DIR/native/common"
       
 42294 
 42336 
 42295   # The shared libraries are compiled using the picflag.
 42337   # The shared libraries are compiled using the picflag.
 42296   CFLAGS_JDKLIB="$COMMON_CCXXFLAGS_JDK $CFLAGS_JDK $PICFLAG $CFLAGS_JDKLIB_EXTRA"
 42338   CFLAGS_JDKLIB="$COMMON_CCXXFLAGS_JDK $CFLAGS_JDK $PICFLAG $CFLAGS_JDKLIB_EXTRA"
 42297   CXXFLAGS_JDKLIB="$COMMON_CCXXFLAGS_JDK $CXXFLAGS_JDK $PICFLAG $CXXFLAGS_JDKLIB_EXTRA "
 42339   CXXFLAGS_JDKLIB="$COMMON_CCXXFLAGS_JDK $CXXFLAGS_JDK $PICFLAG $CXXFLAGS_JDKLIB_EXTRA "
 42298 
 42340 
 49118 
 49160 
 49119 
 49161 
 49120     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if elliptic curve crypto implementation is present" >&5
 49162     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if elliptic curve crypto implementation is present" >&5
 49121 $as_echo_n "checking if elliptic curve crypto implementation is present... " >&6; }
 49163 $as_echo_n "checking if elliptic curve crypto implementation is present... " >&6; }
 49122 
 49164 
 49123     if test -d "${SRC_ROOT}/jdk/src/share/native/sun/security/ec/impl"; then
 49165     if test -d "${SRC_ROOT}/jdk/src/jdk.crypto.ec/share/native/libsunec/impl"; then
 49124       ENABLE_INTREE_EC=yes
 49166       ENABLE_INTREE_EC=yes
 49125       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 49167       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 49126 $as_echo "yes" >&6; }
 49168 $as_echo "yes" >&6; }
 49127     else
 49169     else
 49128       ENABLE_INTREE_EC=no
 49170       ENABLE_INTREE_EC=no