common/autoconf/generated-configure.sh
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File jdk10-hs Sdiff common/autoconf

common/autoconf/generated-configure.sh

Print this page




 646 JAVA_FLAGS_JAVAC
 647 BOOTCYCLE_JVM_ARGS_BIG
 648 JAVA_FLAGS_BIG
 649 JAVA_FLAGS
 650 TEST_JOBS
 651 JOBS
 652 MEMORY_SIZE
 653 NUM_CORES
 654 ENABLE_GENERATE_CLASSLIST
 655 BUILD_FAILURE_HANDLER
 656 ENABLE_INTREE_EC
 657 VALID_JVM_FEATURES
 658 JVM_FEATURES_custom
 659 JVM_FEATURES_zeroshark
 660 JVM_FEATURES_zero
 661 JVM_FEATURES_minimal
 662 JVM_FEATURES_core
 663 JVM_FEATURES_client
 664 JVM_FEATURES_server
 665 INCLUDE_GRAAL
 666 ELF_LIBS
 667 ELF_CFLAGS
 668 STLPORT_LIB
 669 LIBZIP_CAN_USE_MMAP
 670 LIBDL
 671 LIBM
 672 USE_EXTERNAL_LCMS
 673 LCMS_LIBS
 674 LCMS_CFLAGS
 675 USE_EXTERNAL_LIBZ
 676 USE_EXTERNAL_LIBPNG
 677 PNG_LIBS
 678 PNG_CFLAGS
 679 USE_EXTERNAL_LIBGIF
 680 USE_EXTERNAL_LIBJPEG
 681 LLVM_LIBS
 682 LLVM_LDFLAGS
 683 LLVM_CFLAGS
 684 LLVM_CONFIG
 685 LIBFFI_LIB_FILE
 686 ENABLE_LIBFFI_BUNDLING
 687 LIBFFI_LIBS


1202 with_freetype
1203 with_freetype_include
1204 with_freetype_lib
1205 with_freetype_src
1206 enable_freetype_bundling
1207 with_alsa
1208 with_alsa_include
1209 with_alsa_lib
1210 with_libffi
1211 with_libffi_include
1212 with_libffi_lib
1213 enable_libffi_bundling
1214 with_libjpeg
1215 with_giflib
1216 with_libpng
1217 with_zlib
1218 with_lcms
1219 with_dxsdk
1220 with_dxsdk_lib
1221 with_dxsdk_include
1222 with_libelf
1223 with_libelf_include
1224 with_libelf_lib
1225 with_jvm_features
1226 with_jvm_interpreter
1227 enable_jtreg_failure_handler
1228 enable_generate_classlist
1229 with_num_cores
1230 with_memory_size
1231 with_jobs
1232 with_test_jobs
1233 with_boot_jdk_jvmargs
1234 with_sjavac_server_java
1235 enable_sjavac
1236 enable_javac_server
1237 enable_icecc
1238 enable_precompiled_headers
1239 enable_ccache
1240 with_ccache_dir
1241 '
1242       ac_precious_vars='build_alias
1243 host_alias
1244 target_alias


1331 OBJCOPY
1332 OBJDUMP
1333 BUILD_CC
1334 BUILD_CXX
1335 BUILD_NM
1336 BUILD_AR
1337 BUILD_OBJCOPY
1338 BUILD_STRIP
1339 JTREGEXE
1340 XMKMF
1341 FREETYPE_CFLAGS
1342 FREETYPE_LIBS
1343 ALSA_CFLAGS
1344 ALSA_LIBS
1345 LIBFFI_CFLAGS
1346 LIBFFI_LIBS
1347 PNG_CFLAGS
1348 PNG_LIBS
1349 LCMS_CFLAGS
1350 LCMS_LIBS
1351 ELF_CFLAGS
1352 ELF_LIBS
1353 ICECC_CMD
1354 ICECC_CREATE_ENV
1355 ICECC_WRAPPER
1356 CCACHE'
1357 
1358 
1359 # Initialize some variables set by options.
1360 ac_init_help=
1361 ac_init_version=false
1362 ac_unrecognized_opts=
1363 ac_unrecognized_sep=
1364 # The variables have the same names as the options, with
1365 # dashes changed to underlines.
1366 cache_file=/dev/null
1367 exec_prefix=NONE
1368 no_create=
1369 no_recursion=
1370 prefix=NONE
1371 program_prefix=NONE
1372 program_suffix=NONE


2161                           (expecting the libraries under PATH/lib and the
2162                           headers under PATH/include)
2163   --with-libffi-include   specify directory for the libffi include files
2164   --with-libffi-lib       specify directory for the libffi library
2165   --with-libjpeg          use libjpeg from build system or OpenJDK source
2166                           (system, bundled) [bundled]
2167   --with-giflib           use giflib from build system or OpenJDK source
2168                           (system, bundled) [bundled]
2169   --with-libpng           use libpng from build system or OpenJDK source
2170                           (system, bundled) [bundled]
2171   --with-zlib             use zlib from build system or OpenJDK source
2172                           (system, bundled) [bundled]
2173   --with-lcms             use lcms2 from build system or OpenJDK source
2174                           (system, bundled) [bundled]
2175   --with-dxsdk            Deprecated. Option is kept for backwards
2176                           compatibility and is ignored
2177   --with-dxsdk-lib        Deprecated. Option is kept for backwards
2178                           compatibility and is ignored
2179   --with-dxsdk-include    Deprecated. Option is kept for backwards
2180                           compatibility and is ignored
2181   --with-libelf           specify prefix directory for the libelf package
2182                           (expecting the libraries under PATH/lib and the
2183                           headers under PATH/include)
2184   --with-libelf-include   specify directory for the libelf include files
2185   --with-libelf-lib       specify directory for the libelf library
2186   --with-jvm-features     additional JVM features to enable (separated by
2187                           comma), use '--help' to show possible values [none]
2188   --with-jvm-interpreter  Deprecated. Option is kept for backwards
2189                           compatibility and is ignored
2190   --with-num-cores        number of cores in the build system, e.g.
2191                           --with-num-cores=8 [probed]
2192   --with-memory-size      memory (in MB) available in the build system, e.g.
2193                           --with-memory-size=1024 [probed]
2194   --with-jobs             number of parallel jobs to let make run [calculated
2195                           based on cores and memory]
2196   --with-test-jobs        number of parallel tests jobs to run [based on build
2197                           jobs]
2198   --with-boot-jdk-jvmargs specify JVM arguments to be passed to all java
2199                           invocations of boot JDK, overriding the default
2200                           values, e.g --with-boot-jdk-jvmargs="-Xmx8G
2201                           -enableassertions"
2202   --with-sjavac-server-java
2203                           use this java binary for running the sjavac
2204                           background server [Boot JDK java]
2205   --with-ccache-dir       where to store ccache files [~/.ccache]


2299   BUILD_NM    Override default value for BUILD_NM
2300   BUILD_AR    Override default value for BUILD_AR
2301   BUILD_OBJCOPY
2302               Override default value for BUILD_OBJCOPY
2303   BUILD_STRIP Override default value for BUILD_STRIP
2304   JTREGEXE    Override default value for JTREGEXE
2305   XMKMF       Path to xmkmf, Makefile generator for X Window System
2306   FREETYPE_CFLAGS
2307               C compiler flags for FREETYPE, overriding pkg-config
2308   FREETYPE_LIBS
2309               linker flags for FREETYPE, overriding pkg-config
2310   ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
2311   ALSA_LIBS   linker flags for ALSA, overriding pkg-config
2312   LIBFFI_CFLAGS
2313               C compiler flags for LIBFFI, overriding pkg-config
2314   LIBFFI_LIBS linker flags for LIBFFI, overriding pkg-config
2315   PNG_CFLAGS  C compiler flags for PNG, overriding pkg-config
2316   PNG_LIBS    linker flags for PNG, overriding pkg-config
2317   LCMS_CFLAGS C compiler flags for LCMS, overriding pkg-config
2318   LCMS_LIBS   linker flags for LCMS, overriding pkg-config
2319   ELF_CFLAGS  C compiler flags for ELF, overriding pkg-config
2320   ELF_LIBS    linker flags for ELF, overriding pkg-config
2321   ICECC_CMD   Override default value for ICECC_CMD
2322   ICECC_CREATE_ENV
2323               Override default value for ICECC_CREATE_ENV
2324   ICECC_WRAPPER
2325               Override default value for ICECC_WRAPPER
2326   CCACHE      Override default value for CCACHE
2327 
2328 Use these variables to override the choices made by `configure' or to help
2329 it to find libraries and programs with nonstandard names/locations.
2330 
2331 Report bugs to <build-dev@openjdk.java.net>.
2332 OpenJDK home page: <http://openjdk.java.net>.
2333 _ACEOF
2334 ac_status=$?
2335 fi
2336 
2337 if test "$ac_init_help" = "recursive"; then
2338   # If there are subdirs, report their specific --help.
2339   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2340     test -d "$ac_dir" ||


4256 
4257 pkgutil_help() {
4258   PKGHANDLER_COMMAND=""
4259 }
4260 
4261 pkgadd_help() {
4262   PKGHANDLER_COMMAND=""
4263 }
4264 
4265 # This function will check if we're called from the "configure" wrapper while
4266 # printing --help. If so, we will print out additional information that can
4267 # only be extracted within the autoconf script, and then exit. This must be
4268 # called at the very beginning in configure.ac.
4269 
4270 
4271 
4272 
4273 
4274 
4275 #
4276 # Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
4277 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4278 #
4279 # This code is free software; you can redistribute it and/or modify it
4280 # under the terms of the GNU General Public License version 2 only, as
4281 # published by the Free Software Foundation.  Oracle designates this
4282 # particular file as subject to the "Classpath" exception as provided
4283 # by Oracle in the LICENSE file that accompanied this code.
4284 #
4285 # This code is distributed in the hope that it will be useful, but WITHOUT
4286 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
4287 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
4288 # version 2 for more details (a copy is included in the LICENSE file that
4289 # accompanied this code).
4290 #
4291 # You should have received a copy of the GNU General Public License version
4292 # 2 along with this work; if not, write to the Free Software Foundation,
4293 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
4294 #
4295 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
4296 # or visit www.oracle.com if you need additional information or have any


4488 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
4489 # or visit www.oracle.com if you need additional information or have any
4490 # questions.
4491 #
4492 
4493 ###############################################################################
4494 #
4495 # Setup version numbers
4496 #
4497 
4498 # Verify that a given string represents a valid version number, and assign it
4499 # to a variable.
4500 
4501 # Argument 1: the variable to assign to
4502 # Argument 2: the value given by the user
4503 
4504 
4505 
4506 
4507 #
4508 # Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
4509 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4510 #
4511 # This code is free software; you can redistribute it and/or modify it
4512 # under the terms of the GNU General Public License version 2 only, as
4513 # published by the Free Software Foundation.  Oracle designates this
4514 # particular file as subject to the "Classpath" exception as provided
4515 # by Oracle in the LICENSE file that accompanied this code.
4516 #
4517 # This code is distributed in the hope that it will be useful, but WITHOUT
4518 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
4519 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
4520 # version 2 for more details (a copy is included in the LICENSE file that
4521 # accompanied this code).
4522 #
4523 # You should have received a copy of the GNU General Public License version
4524 # 2 along with this work; if not, write to the Free Software Foundation,
4525 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
4526 #
4527 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
4528 # or visit www.oracle.com if you need additional information or have any


4765 # This code is distributed in the hope that it will be useful, but WITHOUT
4766 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
4767 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
4768 # version 2 for more details (a copy is included in the LICENSE file that
4769 # accompanied this code).
4770 #
4771 # You should have received a copy of the GNU General Public License version
4772 # 2 along with this work; if not, write to the Free Software Foundation,
4773 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
4774 #
4775 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
4776 # or visit www.oracle.com if you need additional information or have any
4777 # questions.
4778 #
4779 
4780 ################################################################################
4781 # Setup X11 Windows system
4782 ################################################################################
4783 
4784 
4785 #
4786 # Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
4787 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4788 #
4789 # This code is free software; you can redistribute it and/or modify it
4790 # under the terms of the GNU General Public License version 2 only, as
4791 # published by the Free Software Foundation.  Oracle designates this
4792 # particular file as subject to the "Classpath" exception as provided
4793 # by Oracle in the LICENSE file that accompanied this code.
4794 #
4795 # This code is distributed in the hope that it will be useful, but WITHOUT
4796 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
4797 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
4798 # version 2 for more details (a copy is included in the LICENSE file that
4799 # accompanied this code).
4800 #
4801 # You should have received a copy of the GNU General Public License version
4802 # 2 along with this work; if not, write to the Free Software Foundation,
4803 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
4804 #
4805 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
4806 # or visit www.oracle.com if you need additional information or have any
4807 # questions.
4808 #
4809 
4810 ################################################################################
4811 # Setup libelf (ELF library)
4812 ################################################################################
4813 
4814 
4815 
4816 ################################################################################
4817 # Determine which libraries are needed for this configuration
4818 ################################################################################
4819 
4820 
4821 ################################################################################
4822 # Parse library options, and setup needed libraries
4823 ################################################################################
4824 
4825 
4826 ################################################################################
4827 # Setup llvm (Low-Level VM)
4828 ################################################################################
4829 
4830 
4831 ################################################################################
4832 # Setup various libraries, typically small system libraries
4833 ################################################################################
4834 


5163 
5164 
5165 
5166 
5167 
5168 
5169 
5170 
5171 
5172 
5173 
5174 
5175 
5176 
5177 # This line needs to be here, verbatim, after all includes and the dummy hook
5178 # definitions. It is replaced with custom functionality when building
5179 # custom sources.
5180 #CUSTOM_AUTOCONF_INCLUDE
5181 
5182 # Do not change or remove the following line, it is needed for consistency checks:
5183 DATE_WHEN_GENERATED=1484571183
5184 
5185 ###############################################################################
5186 #
5187 # Initialization / Boot-strapping
5188 #
5189 # The bootstrapping process needs to solve the "chicken or the egg" problem,
5190 # thus it jumps back and forth, each time gaining something needed later on.
5191 #
5192 ###############################################################################
5193 
5194 # If we are requested to print additional help, do that and then exit.
5195 # This must be the very first call.
5196 
5197   if test "x$CONFIGURE_PRINT_ADDITIONAL_HELP" != x; then
5198 
5199     # Print available toolchains
5200     $PRINTF "The following toolchains are available as arguments to --with-toolchain-type.\n"
5201     $PRINTF "Which are valid to use depends on the build platform.\n"
5202     for toolchain in $VALID_TOOLCHAINS_all; do
5203       # Use indirect variable referencing


52927 if test "${enable_aot+set}" = set; then :
52928   enableval=$enable_aot;
52929 fi
52930 
52931 
52932   if test "x$enable_aot" = "x" || test "x$enable_aot" = "xauto"; then
52933     ENABLE_AOT="true"
52934   elif test "x$enable_aot" = "xyes"; then
52935     ENABLE_AOT="true"
52936   elif test "x$enable_aot" = "xno"; then
52937     ENABLE_AOT="false"
52938     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if aot should be enabled" >&5
52939 $as_echo_n "checking if aot should be enabled... " >&6; }
52940     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, forced" >&5
52941 $as_echo "no, forced" >&6; }
52942   else
52943     as_fn_error $? "Invalid value for --enable-aot: $enable_aot" "$LINENO" 5
52944   fi
52945 
52946   if test "x$ENABLE_AOT" = "xtrue"; then
52947     # Only enable AOT on linux-X64.
52948     if test "x$OPENJDK_TARGET_OS-$OPENJDK_TARGET_CPU" = "xlinux-x86_64"; then

52949       if test -e "$HOTSPOT_TOPDIR/src/jdk.aot"; then
52950         if test -e "$HOTSPOT_TOPDIR/src/jdk.vm.compiler"; then
52951           ENABLE_AOT="true"
52952         else
52953           ENABLE_AOT="false"
52954           if test "x$enable_aot" = "xyes"; then
52955             as_fn_error $? "Cannot build AOT without hotspot/src/jdk.vm.compiler sources. Remove --enable-aot." "$LINENO" 5
52956           fi
52957         fi
52958       else
52959         ENABLE_AOT="false"
52960         if test "x$enable_aot" = "xyes"; then
52961           as_fn_error $? "Cannot build AOT without hotspot/src/jdk.aot sources. Remove --enable-aot." "$LINENO" 5
52962         fi
52963       fi
52964     else
52965       ENABLE_AOT="false"
52966       if test "x$enable_aot" = "xyes"; then
52967         as_fn_error $? "AOT is currently only supported on Linux-x86_64. Remove --enable-aot." "$LINENO" 5
52968       fi


64271         as_fn_error $? "The path of STLPORT_LIB, which resolves as \"$path\", is not found." "$LINENO" 5
64272       fi
64273 
64274       if test -d "$path"; then
64275         STLPORT_LIB="`cd "$path"; $THEPWDCMD -L`"
64276       else
64277         dir="`$DIRNAME "$path"`"
64278         base="`$BASENAME "$path"`"
64279         STLPORT_LIB="`cd "$dir"; $THEPWDCMD -L`/$base"
64280       fi
64281     fi
64282   fi
64283 
64284     else
64285       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, not found at $STLPORT_LIB" >&5
64286 $as_echo "no, not found at $STLPORT_LIB" >&6; }
64287       as_fn_error $? "Failed to find libstlport.so.1, cannot build Hotspot gtests" "$LINENO" 5
64288     fi
64289 
64290   fi
64291 
64292 
64293 
64294 # Check whether --with-libelf was given.
64295 if test "${with_libelf+set}" = set; then :
64296   withval=$with_libelf;
64297 fi
64298 
64299 
64300 # Check whether --with-libelf-include was given.
64301 if test "${with_libelf_include+set}" = set; then :
64302   withval=$with_libelf_include;
64303 fi
64304 
64305 
64306 # Check whether --with-libelf-lib was given.
64307 if test "${with_libelf_lib+set}" = set; then :
64308   withval=$with_libelf_lib;
64309 fi
64310 
64311 
64312   if test "x$ENABLE_AOT" = xfalse; then
64313     if (test "x${with_libelf}" != x && test "x${with_libelf}" != xno) || \
64314         (test "x${with_libelf_include}" != x && test "x${with_libelf_include}" != xno) || \
64315         (test "x${with_libelf_lib}" != x && test "x${with_libelf_lib}" != xno); then
64316       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libelf is not used, so --with-libelf[-*] is ignored" >&5
64317 $as_echo "$as_me: WARNING: libelf is not used, so --with-libelf[-*] is ignored" >&2;}
64318     fi
64319     LIBELF_CFLAGS=
64320     LIBELF_LIBS=
64321   else
64322     LIBELF_FOUND=no
64323 
64324     if test "x${with_libelf}" = xno || test "x${with_libelf_include}" = xno || test "x${with_libelf_lib}" = xno; then
64325       ENABLE_AOT="false"
64326       if test "x${enable_aot}" = xyes; then
64327         as_fn_error $? "libelf is explicitly disabled, cannot build AOT. Enable libelf or remove --enable-aot to disable AOT." "$LINENO" 5
64328       fi
64329     else
64330       if test "x${with_libelf}" != x; then
64331         ELF_LIBS="-L${with_libelf}/lib -lelf"
64332         ELF_CFLAGS="-I${with_libelf}/include"
64333         LIBELF_FOUND=yes
64334       fi
64335       if test "x${with_libelf_include}" != x; then
64336         ELF_CFLAGS="-I${with_libelf_include}"
64337         LIBELF_FOUND=yes
64338       fi
64339       if test "x${with_libelf_lib}" != x; then
64340         ELF_LIBS="-L${with_libelf_lib} -lelf"
64341         LIBELF_FOUND=yes
64342       fi
64343       # Do not try pkg-config if we have a sysroot set.
64344       if test "x$SYSROOT" = x; then
64345         if test "x$LIBELF_FOUND" = xno; then
64346           # Figure out ELF_CFLAGS and ELF_LIBS
64347 
64348 pkg_failed=no
64349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5
64350 $as_echo_n "checking for ELF... " >&6; }
64351 
64352 if test -n "$ELF_CFLAGS"; then
64353     pkg_cv_ELF_CFLAGS="$ELF_CFLAGS"
64354  elif test -n "$PKG_CONFIG"; then
64355     if test -n "$PKG_CONFIG" && \
64356     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libelf\""; } >&5
64357   ($PKG_CONFIG --exists --print-errors "libelf") 2>&5
64358   ac_status=$?
64359   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
64360   test $ac_status = 0; }; then
64361   pkg_cv_ELF_CFLAGS=`$PKG_CONFIG --cflags "libelf" 2>/dev/null`
64362 else
64363   pkg_failed=yes
64364 fi
64365  else
64366     pkg_failed=untried
64367 fi
64368 if test -n "$ELF_LIBS"; then
64369     pkg_cv_ELF_LIBS="$ELF_LIBS"
64370  elif test -n "$PKG_CONFIG"; then
64371     if test -n "$PKG_CONFIG" && \
64372     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libelf\""; } >&5
64373   ($PKG_CONFIG --exists --print-errors "libelf") 2>&5
64374   ac_status=$?
64375   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
64376   test $ac_status = 0; }; then
64377   pkg_cv_ELF_LIBS=`$PKG_CONFIG --libs "libelf" 2>/dev/null`
64378 else
64379   pkg_failed=yes
64380 fi
64381  else
64382     pkg_failed=untried
64383 fi
64384 
64385 
64386 
64387 if test $pkg_failed = yes; then
64388 
64389 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
64390         _pkg_short_errors_supported=yes
64391 else
64392         _pkg_short_errors_supported=no
64393 fi
64394         if test $_pkg_short_errors_supported = yes; then
64395                 ELF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libelf" 2>&1`
64396         else
64397                 ELF_PKG_ERRORS=`$PKG_CONFIG --print-errors "libelf" 2>&1`
64398         fi
64399         # Put the nasty error message in config.log where it belongs
64400         echo "$ELF_PKG_ERRORS" >&5
64401 
64402         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
64403 $as_echo "no" >&6; }
64404                 LIBELF_FOUND=no
64405 elif test $pkg_failed = untried; then
64406         LIBELF_FOUND=no
64407 else
64408         ELF_CFLAGS=$pkg_cv_ELF_CFLAGS
64409         ELF_LIBS=$pkg_cv_ELF_LIBS
64410         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
64411 $as_echo "yes" >&6; }
64412         LIBELF_FOUND=yes
64413 fi
64414         fi
64415       fi
64416       if test "x$LIBELF_FOUND" = xno; then
64417         for ac_header in libelf.h
64418 do :
64419   ac_fn_cxx_check_header_mongrel "$LINENO" "libelf.h" "ac_cv_header_libelf_h" "$ac_includes_default"
64420 if test "x$ac_cv_header_libelf_h" = xyes; then :
64421   cat >>confdefs.h <<_ACEOF
64422 #define HAVE_LIBELF_H 1
64423 _ACEOF
64424 
64425               LIBELF_FOUND=yes
64426               ELF_CFLAGS=
64427               ELF_LIBS=-lelf
64428 
64429 else
64430   LIBELF_FOUND=no
64431 
64432 fi
64433 
64434 done
64435 
64436       fi
64437       if test "x$LIBELF_FOUND" = xno; then
64438         ENABLE_AOT="false"
64439 
64440   # Print a helpful message on how to acquire the necessary build dependency.
64441   # elf is the help tag: freetype, cups, alsa etc
64442   MISSING_DEPENDENCY=elf
64443 
64444   if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
64445     cygwin_help $MISSING_DEPENDENCY
64446   elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
64447     msys_help $MISSING_DEPENDENCY
64448   else
64449     PKGHANDLER_COMMAND=
64450 
64451     case $PKGHANDLER in
64452       apt-get)
64453         apt_help     $MISSING_DEPENDENCY ;;
64454       yum)
64455         yum_help     $MISSING_DEPENDENCY ;;
64456       brew)
64457         brew_help    $MISSING_DEPENDENCY ;;
64458       port)
64459         port_help    $MISSING_DEPENDENCY ;;
64460       pkgutil)
64461         pkgutil_help $MISSING_DEPENDENCY ;;
64462       pkgadd)
64463         pkgadd_help  $MISSING_DEPENDENCY ;;
64464     esac
64465 
64466     if test "x$PKGHANDLER_COMMAND" != x; then
64467       HELP_MSG="You might be able to fix this by running '$PKGHANDLER_COMMAND'."
64468     fi
64469   fi
64470 
64471         if test "x${enable_aot}" = xyes; then
64472           as_fn_error $? "libelf not found, cannot build AOT. Remove --enable-aot to disable AOT or: $HELP_MSG" "$LINENO" 5
64473         else
64474           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libelf not found, cannot build AOT. $HELP_MSG" >&5
64475 $as_echo "$as_me: WARNING: libelf not found, cannot build AOT. $HELP_MSG" >&2;}
64476         fi
64477       else
64478         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libelf works" >&5
64479 $as_echo_n "checking if libelf works... " >&6; }
64480         ac_ext=c
64481 ac_cpp='$CPP $CPPFLAGS'
64482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64485 
64486         OLD_CFLAGS="$CFLAGS"
64487         CFLAGS="$CFLAGS $ELF_CFLAGS"
64488         OLD_LIBS="$LIBS"
64489         LIBS="$LIBS $ELF_LIBS"
64490         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64491 /* end confdefs.h.  */
64492 #include <libelf.h>
64493 int
64494 main ()
64495 {
64496 
64497               elf_version(0);
64498               return 0;
64499 
64500   ;
64501   return 0;
64502 }
64503 _ACEOF
64504 if ac_fn_c_try_link "$LINENO"; then :
64505   LIBELF_WORKS=yes
64506 else
64507   LIBELF_WORKS=no
64508 
64509 fi
64510 rm -f core conftest.err conftest.$ac_objext \
64511     conftest$ac_exeext conftest.$ac_ext
64512         CFLAGS="$OLD_CFLAGS"
64513         LIBS="$OLD_LIBS"
64514         ac_ext=cpp
64515 ac_cpp='$CXXCPP $CPPFLAGS'
64516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64519 
64520         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBELF_WORKS" >&5
64521 $as_echo "$LIBELF_WORKS" >&6; }
64522 
64523         if test "x$LIBELF_WORKS" = xno; then
64524           ENABLE_AOT="false"
64525 
64526   # Print a helpful message on how to acquire the necessary build dependency.
64527   # elf is the help tag: freetype, cups, alsa etc
64528   MISSING_DEPENDENCY=elf
64529 
64530   if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
64531     cygwin_help $MISSING_DEPENDENCY
64532   elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
64533     msys_help $MISSING_DEPENDENCY
64534   else
64535     PKGHANDLER_COMMAND=
64536 
64537     case $PKGHANDLER in
64538       apt-get)
64539         apt_help     $MISSING_DEPENDENCY ;;
64540       yum)
64541         yum_help     $MISSING_DEPENDENCY ;;
64542       brew)
64543         brew_help    $MISSING_DEPENDENCY ;;
64544       port)
64545         port_help    $MISSING_DEPENDENCY ;;
64546       pkgutil)
64547         pkgutil_help $MISSING_DEPENDENCY ;;
64548       pkgadd)
64549         pkgadd_help  $MISSING_DEPENDENCY ;;
64550     esac
64551 
64552     if test "x$PKGHANDLER_COMMAND" != x; then
64553       HELP_MSG="You might be able to fix this by running '$PKGHANDLER_COMMAND'."
64554     fi
64555   fi
64556 
64557           if test "x$enable_aot" = "xyes"; then
64558             as_fn_error $? "Found libelf but could not link and compile with it. Remove --enable-aot to disable AOT or: $HELP_MSG" "$LINENO" 5
64559           else
64560             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Found libelf but could not link and compile with it. $HELP_MSG" >&5
64561 $as_echo "$as_me: WARNING: Found libelf but could not link and compile with it. $HELP_MSG" >&2;}
64562           fi
64563         fi
64564       fi
64565     fi
64566   fi
64567 
64568 
64569 
64570 
64571 
64572 
64573 
64574 
64575 
64576 
64577 
64578 
64579 
64580 
64581 
64582 
64583 
64584 
64585 # Hotspot setup depends on lib checks (AOT needs libelf).
64586 
64587 
64588   # The user can in some cases supply additional jvm features. For the custom
64589   # variant, this defines the entire variant.
64590 




 646 JAVA_FLAGS_JAVAC
 647 BOOTCYCLE_JVM_ARGS_BIG
 648 JAVA_FLAGS_BIG
 649 JAVA_FLAGS
 650 TEST_JOBS
 651 JOBS
 652 MEMORY_SIZE
 653 NUM_CORES
 654 ENABLE_GENERATE_CLASSLIST
 655 BUILD_FAILURE_HANDLER
 656 ENABLE_INTREE_EC
 657 VALID_JVM_FEATURES
 658 JVM_FEATURES_custom
 659 JVM_FEATURES_zeroshark
 660 JVM_FEATURES_zero
 661 JVM_FEATURES_minimal
 662 JVM_FEATURES_core
 663 JVM_FEATURES_client
 664 JVM_FEATURES_server
 665 INCLUDE_GRAAL


 666 STLPORT_LIB
 667 LIBZIP_CAN_USE_MMAP
 668 LIBDL
 669 LIBM
 670 USE_EXTERNAL_LCMS
 671 LCMS_LIBS
 672 LCMS_CFLAGS
 673 USE_EXTERNAL_LIBZ
 674 USE_EXTERNAL_LIBPNG
 675 PNG_LIBS
 676 PNG_CFLAGS
 677 USE_EXTERNAL_LIBGIF
 678 USE_EXTERNAL_LIBJPEG
 679 LLVM_LIBS
 680 LLVM_LDFLAGS
 681 LLVM_CFLAGS
 682 LLVM_CONFIG
 683 LIBFFI_LIB_FILE
 684 ENABLE_LIBFFI_BUNDLING
 685 LIBFFI_LIBS


1200 with_freetype
1201 with_freetype_include
1202 with_freetype_lib
1203 with_freetype_src
1204 enable_freetype_bundling
1205 with_alsa
1206 with_alsa_include
1207 with_alsa_lib
1208 with_libffi
1209 with_libffi_include
1210 with_libffi_lib
1211 enable_libffi_bundling
1212 with_libjpeg
1213 with_giflib
1214 with_libpng
1215 with_zlib
1216 with_lcms
1217 with_dxsdk
1218 with_dxsdk_lib
1219 with_dxsdk_include



1220 with_jvm_features
1221 with_jvm_interpreter
1222 enable_jtreg_failure_handler
1223 enable_generate_classlist
1224 with_num_cores
1225 with_memory_size
1226 with_jobs
1227 with_test_jobs
1228 with_boot_jdk_jvmargs
1229 with_sjavac_server_java
1230 enable_sjavac
1231 enable_javac_server
1232 enable_icecc
1233 enable_precompiled_headers
1234 enable_ccache
1235 with_ccache_dir
1236 '
1237       ac_precious_vars='build_alias
1238 host_alias
1239 target_alias


1326 OBJCOPY
1327 OBJDUMP
1328 BUILD_CC
1329 BUILD_CXX
1330 BUILD_NM
1331 BUILD_AR
1332 BUILD_OBJCOPY
1333 BUILD_STRIP
1334 JTREGEXE
1335 XMKMF
1336 FREETYPE_CFLAGS
1337 FREETYPE_LIBS
1338 ALSA_CFLAGS
1339 ALSA_LIBS
1340 LIBFFI_CFLAGS
1341 LIBFFI_LIBS
1342 PNG_CFLAGS
1343 PNG_LIBS
1344 LCMS_CFLAGS
1345 LCMS_LIBS


1346 ICECC_CMD
1347 ICECC_CREATE_ENV
1348 ICECC_WRAPPER
1349 CCACHE'
1350 
1351 
1352 # Initialize some variables set by options.
1353 ac_init_help=
1354 ac_init_version=false
1355 ac_unrecognized_opts=
1356 ac_unrecognized_sep=
1357 # The variables have the same names as the options, with
1358 # dashes changed to underlines.
1359 cache_file=/dev/null
1360 exec_prefix=NONE
1361 no_create=
1362 no_recursion=
1363 prefix=NONE
1364 program_prefix=NONE
1365 program_suffix=NONE


2154                           (expecting the libraries under PATH/lib and the
2155                           headers under PATH/include)
2156   --with-libffi-include   specify directory for the libffi include files
2157   --with-libffi-lib       specify directory for the libffi library
2158   --with-libjpeg          use libjpeg from build system or OpenJDK source
2159                           (system, bundled) [bundled]
2160   --with-giflib           use giflib from build system or OpenJDK source
2161                           (system, bundled) [bundled]
2162   --with-libpng           use libpng from build system or OpenJDK source
2163                           (system, bundled) [bundled]
2164   --with-zlib             use zlib from build system or OpenJDK source
2165                           (system, bundled) [bundled]
2166   --with-lcms             use lcms2 from build system or OpenJDK source
2167                           (system, bundled) [bundled]
2168   --with-dxsdk            Deprecated. Option is kept for backwards
2169                           compatibility and is ignored
2170   --with-dxsdk-lib        Deprecated. Option is kept for backwards
2171                           compatibility and is ignored
2172   --with-dxsdk-include    Deprecated. Option is kept for backwards
2173                           compatibility and is ignored





2174   --with-jvm-features     additional JVM features to enable (separated by
2175                           comma), use '--help' to show possible values [none]
2176   --with-jvm-interpreter  Deprecated. Option is kept for backwards
2177                           compatibility and is ignored
2178   --with-num-cores        number of cores in the build system, e.g.
2179                           --with-num-cores=8 [probed]
2180   --with-memory-size      memory (in MB) available in the build system, e.g.
2181                           --with-memory-size=1024 [probed]
2182   --with-jobs             number of parallel jobs to let make run [calculated
2183                           based on cores and memory]
2184   --with-test-jobs        number of parallel tests jobs to run [based on build
2185                           jobs]
2186   --with-boot-jdk-jvmargs specify JVM arguments to be passed to all java
2187                           invocations of boot JDK, overriding the default
2188                           values, e.g --with-boot-jdk-jvmargs="-Xmx8G
2189                           -enableassertions"
2190   --with-sjavac-server-java
2191                           use this java binary for running the sjavac
2192                           background server [Boot JDK java]
2193   --with-ccache-dir       where to store ccache files [~/.ccache]


2287   BUILD_NM    Override default value for BUILD_NM
2288   BUILD_AR    Override default value for BUILD_AR
2289   BUILD_OBJCOPY
2290               Override default value for BUILD_OBJCOPY
2291   BUILD_STRIP Override default value for BUILD_STRIP
2292   JTREGEXE    Override default value for JTREGEXE
2293   XMKMF       Path to xmkmf, Makefile generator for X Window System
2294   FREETYPE_CFLAGS
2295               C compiler flags for FREETYPE, overriding pkg-config
2296   FREETYPE_LIBS
2297               linker flags for FREETYPE, overriding pkg-config
2298   ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
2299   ALSA_LIBS   linker flags for ALSA, overriding pkg-config
2300   LIBFFI_CFLAGS
2301               C compiler flags for LIBFFI, overriding pkg-config
2302   LIBFFI_LIBS linker flags for LIBFFI, overriding pkg-config
2303   PNG_CFLAGS  C compiler flags for PNG, overriding pkg-config
2304   PNG_LIBS    linker flags for PNG, overriding pkg-config
2305   LCMS_CFLAGS C compiler flags for LCMS, overriding pkg-config
2306   LCMS_LIBS   linker flags for LCMS, overriding pkg-config


2307   ICECC_CMD   Override default value for ICECC_CMD
2308   ICECC_CREATE_ENV
2309               Override default value for ICECC_CREATE_ENV
2310   ICECC_WRAPPER
2311               Override default value for ICECC_WRAPPER
2312   CCACHE      Override default value for CCACHE
2313 
2314 Use these variables to override the choices made by `configure' or to help
2315 it to find libraries and programs with nonstandard names/locations.
2316 
2317 Report bugs to <build-dev@openjdk.java.net>.
2318 OpenJDK home page: <http://openjdk.java.net>.
2319 _ACEOF
2320 ac_status=$?
2321 fi
2322 
2323 if test "$ac_init_help" = "recursive"; then
2324   # If there are subdirs, report their specific --help.
2325   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2326     test -d "$ac_dir" ||


4242 
4243 pkgutil_help() {
4244   PKGHANDLER_COMMAND=""
4245 }
4246 
4247 pkgadd_help() {
4248   PKGHANDLER_COMMAND=""
4249 }
4250 
4251 # This function will check if we're called from the "configure" wrapper while
4252 # printing --help. If so, we will print out additional information that can
4253 # only be extracted within the autoconf script, and then exit. This must be
4254 # called at the very beginning in configure.ac.
4255 
4256 
4257 
4258 
4259 
4260 
4261 #
4262 # Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
4263 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4264 #
4265 # This code is free software; you can redistribute it and/or modify it
4266 # under the terms of the GNU General Public License version 2 only, as
4267 # published by the Free Software Foundation.  Oracle designates this
4268 # particular file as subject to the "Classpath" exception as provided
4269 # by Oracle in the LICENSE file that accompanied this code.
4270 #
4271 # This code is distributed in the hope that it will be useful, but WITHOUT
4272 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
4273 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
4274 # version 2 for more details (a copy is included in the LICENSE file that
4275 # accompanied this code).
4276 #
4277 # You should have received a copy of the GNU General Public License version
4278 # 2 along with this work; if not, write to the Free Software Foundation,
4279 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
4280 #
4281 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
4282 # or visit www.oracle.com if you need additional information or have any


4474 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
4475 # or visit www.oracle.com if you need additional information or have any
4476 # questions.
4477 #
4478 
4479 ###############################################################################
4480 #
4481 # Setup version numbers
4482 #
4483 
4484 # Verify that a given string represents a valid version number, and assign it
4485 # to a variable.
4486 
4487 # Argument 1: the variable to assign to
4488 # Argument 2: the value given by the user
4489 
4490 
4491 
4492 
4493 #
4494 # Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
4495 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4496 #
4497 # This code is free software; you can redistribute it and/or modify it
4498 # under the terms of the GNU General Public License version 2 only, as
4499 # published by the Free Software Foundation.  Oracle designates this
4500 # particular file as subject to the "Classpath" exception as provided
4501 # by Oracle in the LICENSE file that accompanied this code.
4502 #
4503 # This code is distributed in the hope that it will be useful, but WITHOUT
4504 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
4505 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
4506 # version 2 for more details (a copy is included in the LICENSE file that
4507 # accompanied this code).
4508 #
4509 # You should have received a copy of the GNU General Public License version
4510 # 2 along with this work; if not, write to the Free Software Foundation,
4511 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
4512 #
4513 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
4514 # or visit www.oracle.com if you need additional information or have any


4751 # This code is distributed in the hope that it will be useful, but WITHOUT
4752 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
4753 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
4754 # version 2 for more details (a copy is included in the LICENSE file that
4755 # accompanied this code).
4756 #
4757 # You should have received a copy of the GNU General Public License version
4758 # 2 along with this work; if not, write to the Free Software Foundation,
4759 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
4760 #
4761 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
4762 # or visit www.oracle.com if you need additional information or have any
4763 # questions.
4764 #
4765 
4766 ################################################################################
4767 # Setup X11 Windows system
4768 ################################################################################
4769 
4770 






























4771 
4772 ################################################################################
4773 # Determine which libraries are needed for this configuration
4774 ################################################################################
4775 
4776 
4777 ################################################################################
4778 # Parse library options, and setup needed libraries
4779 ################################################################################
4780 
4781 
4782 ################################################################################
4783 # Setup llvm (Low-Level VM)
4784 ################################################################################
4785 
4786 
4787 ################################################################################
4788 # Setup various libraries, typically small system libraries
4789 ################################################################################
4790 


5119 
5120 
5121 
5122 
5123 
5124 
5125 
5126 
5127 
5128 
5129 
5130 
5131 
5132 
5133 # This line needs to be here, verbatim, after all includes and the dummy hook
5134 # definitions. It is replaced with custom functionality when building
5135 # custom sources.
5136 #CUSTOM_AUTOCONF_INCLUDE
5137 
5138 # Do not change or remove the following line, it is needed for consistency checks:
5139 DATE_WHEN_GENERATED=1486486357
5140 
5141 ###############################################################################
5142 #
5143 # Initialization / Boot-strapping
5144 #
5145 # The bootstrapping process needs to solve the "chicken or the egg" problem,
5146 # thus it jumps back and forth, each time gaining something needed later on.
5147 #
5148 ###############################################################################
5149 
5150 # If we are requested to print additional help, do that and then exit.
5151 # This must be the very first call.
5152 
5153   if test "x$CONFIGURE_PRINT_ADDITIONAL_HELP" != x; then
5154 
5155     # Print available toolchains
5156     $PRINTF "The following toolchains are available as arguments to --with-toolchain-type.\n"
5157     $PRINTF "Which are valid to use depends on the build platform.\n"
5158     for toolchain in $VALID_TOOLCHAINS_all; do
5159       # Use indirect variable referencing


52883 if test "${enable_aot+set}" = set; then :
52884   enableval=$enable_aot;
52885 fi
52886 
52887 
52888   if test "x$enable_aot" = "x" || test "x$enable_aot" = "xauto"; then
52889     ENABLE_AOT="true"
52890   elif test "x$enable_aot" = "xyes"; then
52891     ENABLE_AOT="true"
52892   elif test "x$enable_aot" = "xno"; then
52893     ENABLE_AOT="false"
52894     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if aot should be enabled" >&5
52895 $as_echo_n "checking if aot should be enabled... " >&6; }
52896     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, forced" >&5
52897 $as_echo "no, forced" >&6; }
52898   else
52899     as_fn_error $? "Invalid value for --enable-aot: $enable_aot" "$LINENO" 5
52900   fi
52901 
52902   if test "x$ENABLE_AOT" = "xtrue"; then
52903     # Only enable AOT on X64 platforms.
52904     if test "x$OPENJDK_TARGET_CPU" = "xx86_64" ||
52905        test "x$OPENJDK_TARGET_CPU" = "xamd64"; then
52906       if test -e "$HOTSPOT_TOPDIR/src/jdk.aot"; then
52907         if test -e "$HOTSPOT_TOPDIR/src/jdk.vm.compiler"; then
52908           ENABLE_AOT="true"
52909         else
52910           ENABLE_AOT="false"
52911           if test "x$enable_aot" = "xyes"; then
52912             as_fn_error $? "Cannot build AOT without hotspot/src/jdk.vm.compiler sources. Remove --enable-aot." "$LINENO" 5
52913           fi
52914         fi
52915       else
52916         ENABLE_AOT="false"
52917         if test "x$enable_aot" = "xyes"; then
52918           as_fn_error $? "Cannot build AOT without hotspot/src/jdk.aot sources. Remove --enable-aot." "$LINENO" 5
52919         fi
52920       fi
52921     else
52922       ENABLE_AOT="false"
52923       if test "x$enable_aot" = "xyes"; then
52924         as_fn_error $? "AOT is currently only supported on Linux-x86_64. Remove --enable-aot." "$LINENO" 5
52925       fi


64228         as_fn_error $? "The path of STLPORT_LIB, which resolves as \"$path\", is not found." "$LINENO" 5
64229       fi
64230 
64231       if test -d "$path"; then
64232         STLPORT_LIB="`cd "$path"; $THEPWDCMD -L`"
64233       else
64234         dir="`$DIRNAME "$path"`"
64235         base="`$BASENAME "$path"`"
64236         STLPORT_LIB="`cd "$dir"; $THEPWDCMD -L`/$base"
64237       fi
64238     fi
64239   fi
64240 
64241     else
64242       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, not found at $STLPORT_LIB" >&5
64243 $as_echo "no, not found at $STLPORT_LIB" >&6; }
64244       as_fn_error $? "Failed to find libstlport.so.1, cannot build Hotspot gtests" "$LINENO" 5
64245     fi
64246 
64247   fi
























































































































































































































































































64248 
64249 
64250 
64251 
64252 
64253 
64254 
64255 
64256 
64257 
64258 
64259 
64260 
64261 
64262 # Hotspot setup depends on lib checks (AOT needs libelf).
64263 
64264 
64265   # The user can in some cases supply additional jvm features. For the custom
64266   # variant, this defines the entire variant.
64267 


common/autoconf/generated-configure.sh
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File