< prev index next >

common/autoconf/generated-configure.sh

Print this page
rev 2039 : [mq]: 8148244


 650 JOBS
 651 MEMORY_SIZE
 652 NUM_CORES
 653 BUILD_FAILURE_HANDLER
 654 ENABLE_INTREE_EC
 655 JVM_VARIANT_CORE
 656 JVM_VARIANT_ZEROSHARK
 657 JVM_VARIANT_ZERO
 658 JVM_VARIANT_HOTSPOT
 659 JVM_VARIANT_MINIMAL1
 660 JVM_VARIANT_CLIENT
 661 JVM_VARIANT_SERVER
 662 JVM_VARIANTS_COMMA
 663 TEST_IN_BUILD
 664 HOTSPOT_MAKE_ARGS
 665 MACOSX_UNIVERSAL
 666 DEBUG_CLASSFILES
 667 FASTDEBUG
 668 VARIANT
 669 USE_NEW_HOTSPOT_BUILD

 670 LIBZIP_CAN_USE_MMAP
 671 LIBDL
 672 LIBM
 673 USE_EXTERNAL_LCMS
 674 LCMS_LIBS
 675 LCMS_CFLAGS
 676 USE_EXTERNAL_LIBZ
 677 USE_EXTERNAL_LIBPNG
 678 PNG_LIBS
 679 PNG_CFLAGS
 680 USE_EXTERNAL_LIBGIF
 681 USE_EXTERNAL_LIBJPEG
 682 LLVM_LIBS
 683 LLVM_LDFLAGS
 684 LLVM_CFLAGS
 685 LLVM_CONFIG
 686 LIBFFI_LIBS
 687 LIBFFI_CFLAGS
 688 ALSA_LIBS
 689 ALSA_CFLAGS


4712 ################################################################################
4713 # Determine which libraries are needed for this configuration
4714 ################################################################################
4715 
4716 
4717 ################################################################################
4718 # Parse library options, and setup needed libraries
4719 ################################################################################
4720 
4721 
4722 ################################################################################
4723 # Setup llvm (Low-Level VM)
4724 ################################################################################
4725 
4726 
4727 ################################################################################
4728 # Setup various libraries, typically small system libraries
4729 ################################################################################
4730 
4731 





4732 #
4733 # Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
4734 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4735 #
4736 # This code is free software; you can redistribute it and/or modify it
4737 # under the terms of the GNU General Public License version 2 only, as
4738 # published by the Free Software Foundation.  Oracle designates this
4739 # particular file as subject to the "Classpath" exception as provided
4740 # by Oracle in the LICENSE file that accompanied this code.
4741 #
4742 # This code is distributed in the hope that it will be useful, but WITHOUT
4743 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
4744 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
4745 # version 2 for more details (a copy is included in the LICENSE file that
4746 # accompanied this code).
4747 #
4748 # You should have received a copy of the GNU General Public License version
4749 # 2 along with this work; if not, write to the Free Software Foundation,
4750 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
4751 #


63711 $as_echo "$as_me: WARNING: Option --with-dxsdk-lib is deprecated and will be ignored." >&2;}
63712 fi
63713 
63714 
63715 
63716 
63717 # Check whether --with-dxsdk-include was given.
63718 if test "${with_dxsdk_include+set}" = set; then :
63719   withval=$with_dxsdk_include; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Option --with-dxsdk-include is deprecated and will be ignored." >&5
63720 $as_echo "$as_me: WARNING: Option --with-dxsdk-include is deprecated and will be ignored." >&2;}
63721 fi
63722 
63723 
63724   fi
63725 
63726   # Control if libzip can use mmap. Available for purposes of overriding.
63727   LIBZIP_CAN_USE_MMAP=true
63728 
63729 
63730 























































































































































63731 
63732 
63733 
63734 
63735 
63736 
63737 
63738 
63739 
63740 
63741 
63742 ###############################################################################
63743 #
63744 # We need to do some final tweaking, when everything else is done.
63745 #
63746 ###############################################################################
63747 
63748 
63749   # Check whether --enable-new-hotspot-build was given.
63750 if test "${enable_new_hotspot_build+set}" = set; then :




 650 JOBS
 651 MEMORY_SIZE
 652 NUM_CORES
 653 BUILD_FAILURE_HANDLER
 654 ENABLE_INTREE_EC
 655 JVM_VARIANT_CORE
 656 JVM_VARIANT_ZEROSHARK
 657 JVM_VARIANT_ZERO
 658 JVM_VARIANT_HOTSPOT
 659 JVM_VARIANT_MINIMAL1
 660 JVM_VARIANT_CLIENT
 661 JVM_VARIANT_SERVER
 662 JVM_VARIANTS_COMMA
 663 TEST_IN_BUILD
 664 HOTSPOT_MAKE_ARGS
 665 MACOSX_UNIVERSAL
 666 DEBUG_CLASSFILES
 667 FASTDEBUG
 668 VARIANT
 669 USE_NEW_HOTSPOT_BUILD
 670 STLPORT_LIB
 671 LIBZIP_CAN_USE_MMAP
 672 LIBDL
 673 LIBM
 674 USE_EXTERNAL_LCMS
 675 LCMS_LIBS
 676 LCMS_CFLAGS
 677 USE_EXTERNAL_LIBZ
 678 USE_EXTERNAL_LIBPNG
 679 PNG_LIBS
 680 PNG_CFLAGS
 681 USE_EXTERNAL_LIBGIF
 682 USE_EXTERNAL_LIBJPEG
 683 LLVM_LIBS
 684 LLVM_LDFLAGS
 685 LLVM_CFLAGS
 686 LLVM_CONFIG
 687 LIBFFI_LIBS
 688 LIBFFI_CFLAGS
 689 ALSA_LIBS
 690 ALSA_CFLAGS


4713 ################################################################################
4714 # Determine which libraries are needed for this configuration
4715 ################################################################################
4716 
4717 
4718 ################################################################################
4719 # Parse library options, and setup needed libraries
4720 ################################################################################
4721 
4722 
4723 ################################################################################
4724 # Setup llvm (Low-Level VM)
4725 ################################################################################
4726 
4727 
4728 ################################################################################
4729 # Setup various libraries, typically small system libraries
4730 ################################################################################
4731 
4732 
4733 ################################################################################
4734 # libstlport.so.1 is needed for running gtest on Solaris. Find it to
4735 # redistribute it in the test image.
4736 ################################################################################
4737 
4738 #
4739 # Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
4740 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4741 #
4742 # This code is free software; you can redistribute it and/or modify it
4743 # under the terms of the GNU General Public License version 2 only, as
4744 # published by the Free Software Foundation.  Oracle designates this
4745 # particular file as subject to the "Classpath" exception as provided
4746 # by Oracle in the LICENSE file that accompanied this code.
4747 #
4748 # This code is distributed in the hope that it will be useful, but WITHOUT
4749 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
4750 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
4751 # version 2 for more details (a copy is included in the LICENSE file that
4752 # accompanied this code).
4753 #
4754 # You should have received a copy of the GNU General Public License version
4755 # 2 along with this work; if not, write to the Free Software Foundation,
4756 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
4757 #


63717 $as_echo "$as_me: WARNING: Option --with-dxsdk-lib is deprecated and will be ignored." >&2;}
63718 fi
63719 
63720 
63721 
63722 
63723 # Check whether --with-dxsdk-include was given.
63724 if test "${with_dxsdk_include+set}" = set; then :
63725   withval=$with_dxsdk_include; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Option --with-dxsdk-include is deprecated and will be ignored." >&5
63726 $as_echo "$as_me: WARNING: Option --with-dxsdk-include is deprecated and will be ignored." >&2;}
63727 fi
63728 
63729 
63730   fi
63731 
63732   # Control if libzip can use mmap. Available for purposes of overriding.
63733   LIBZIP_CAN_USE_MMAP=true
63734 
63735 
63736 
63737   if test "$OPENJDK_TARGET_OS" = "solaris"; then
63738     # Find the root of the Solaris Studio installation from the compiler path
63739     SOLARIS_STUDIO_DIR="$(dirname $CC)/.."
63740     STLPORT_LIB="$SOLARIS_STUDIO_DIR/lib/stlport4$OPENJDK_TARGET_CPU_ISADIR/libstlport.so.1"
63741     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libstlport.so.1" >&5
63742 $as_echo_n "checking for libstlport.so.1... " >&6; }
63743     if test -f "$STLPORT_LIB"; then
63744       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, $STLPORT_LIB" >&5
63745 $as_echo "yes, $STLPORT_LIB" >&6; }
63746 
63747   # Only process if variable expands to non-empty
63748 
63749   if test "x$STLPORT_LIB" != x; then
63750     if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
63751 
63752   # Input might be given as Windows format, start by converting to
63753   # unix format.
63754   path="$STLPORT_LIB"
63755   new_path=`$CYGPATH -u "$path"`
63756 
63757   # Cygwin tries to hide some aspects of the Windows file system, such that binaries are
63758   # named .exe but called without that suffix. Therefore, "foo" and "foo.exe" are considered
63759   # the same file, most of the time (as in "test -f"). But not when running cygpath -s, then
63760   # "foo.exe" is OK but "foo" is an error.
63761   #
63762   # This test is therefore slightly more accurate than "test -f" to check for file precense.
63763   # It is also a way to make sure we got the proper file name for the real test later on.
63764   test_shortpath=`$CYGPATH -s -m "$new_path" 2> /dev/null`
63765   if test "x$test_shortpath" = x; then
63766     { $as_echo "$as_me:${as_lineno-$LINENO}: The path of STLPORT_LIB, which resolves as \"$path\", is invalid." >&5
63767 $as_echo "$as_me: The path of STLPORT_LIB, which resolves as \"$path\", is invalid." >&6;}
63768     as_fn_error $? "Cannot locate the the path of STLPORT_LIB" "$LINENO" 5
63769   fi
63770 
63771   # Call helper function which possibly converts this using DOS-style short mode.
63772   # If so, the updated path is stored in $new_path.
63773 
63774   input_path="$new_path"
63775   # Check if we need to convert this using DOS-style short mode. If the path
63776   # contains just simple characters, use it. Otherwise (spaces, weird characters),
63777   # take no chances and rewrite it.
63778   # Note: m4 eats our [], so we need to use [ and ] instead.
63779   has_forbidden_chars=`$ECHO "$input_path" | $GREP [^-._/a-zA-Z0-9]`
63780   if test "x$has_forbidden_chars" != x; then
63781     # Now convert it to mixed DOS-style, short mode (no spaces, and / instead of \)
63782     shortmode_path=`$CYGPATH -s -m -a "$input_path"`
63783     path_after_shortmode=`$CYGPATH -u "$shortmode_path"`
63784     if test "x$path_after_shortmode" != "x$input_to_shortpath"; then
63785       # Going to short mode and back again did indeed matter. Since short mode is
63786       # case insensitive, let's make it lowercase to improve readability.
63787       shortmode_path=`$ECHO "$shortmode_path" | $TR 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
63788       # Now convert it back to Unix-style (cygpath)
63789       input_path=`$CYGPATH -u "$shortmode_path"`
63790       new_path="$input_path"
63791     fi
63792   fi
63793 
63794   test_cygdrive_prefix=`$ECHO $input_path | $GREP ^/cygdrive/`
63795   if test "x$test_cygdrive_prefix" = x; then
63796     # As a simple fix, exclude /usr/bin since it's not a real path.
63797     if test "x`$ECHO $new_path | $GREP ^/usr/bin/`" = x; then
63798       # The path is in a Cygwin special directory (e.g. /home). We need this converted to
63799       # a path prefixed by /cygdrive for fixpath to work.
63800       new_path="$CYGWIN_ROOT_PATH$input_path"
63801     fi
63802   fi
63803 
63804 
63805   if test "x$path" != "x$new_path"; then
63806     STLPORT_LIB="$new_path"
63807     { $as_echo "$as_me:${as_lineno-$LINENO}: Rewriting STLPORT_LIB to \"$new_path\"" >&5
63808 $as_echo "$as_me: Rewriting STLPORT_LIB to \"$new_path\"" >&6;}
63809   fi
63810 
63811     elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
63812 
63813   path="$STLPORT_LIB"
63814   has_colon=`$ECHO $path | $GREP ^.:`
63815   new_path="$path"
63816   if test "x$has_colon" = x; then
63817     # Not in mixed or Windows style, start by that.
63818     new_path=`cmd //c echo $path`
63819   fi
63820 
63821 
63822   input_path="$new_path"
63823   # Check if we need to convert this using DOS-style short mode. If the path
63824   # contains just simple characters, use it. Otherwise (spaces, weird characters),
63825   # take no chances and rewrite it.
63826   # Note: m4 eats our [], so we need to use [ and ] instead.
63827   has_forbidden_chars=`$ECHO "$input_path" | $GREP [^-_/:a-zA-Z0-9]`
63828   if test "x$has_forbidden_chars" != x; then
63829     # Now convert it to mixed DOS-style, short mode (no spaces, and / instead of \)
63830     new_path=`cmd /c "for %A in (\"$input_path\") do @echo %~sA"|$TR \\\\\\\\ / | $TR 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
63831   fi
63832 
63833 
63834   windows_path="$new_path"
63835   if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
63836     unix_path=`$CYGPATH -u "$windows_path"`
63837     new_path="$unix_path"
63838   elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
63839     unix_path=`$ECHO "$windows_path" | $SED -e 's,^\\(.\\):,/\\1,g' -e 's,\\\\,/,g'`
63840     new_path="$unix_path"
63841   fi
63842 
63843   if test "x$path" != "x$new_path"; then
63844     STLPORT_LIB="$new_path"
63845     { $as_echo "$as_me:${as_lineno-$LINENO}: Rewriting STLPORT_LIB to \"$new_path\"" >&5
63846 $as_echo "$as_me: Rewriting STLPORT_LIB to \"$new_path\"" >&6;}
63847   fi
63848 
63849   # Save the first 10 bytes of this path to the storage, so fixpath can work.
63850   all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}")
63851 
63852     else
63853       # We're on a unix platform. Hooray! :)
63854       path="$STLPORT_LIB"
63855       has_space=`$ECHO "$path" | $GREP " "`
63856       if test "x$has_space" != x; then
63857         { $as_echo "$as_me:${as_lineno-$LINENO}: The path of STLPORT_LIB, which resolves as \"$path\", is invalid." >&5
63858 $as_echo "$as_me: The path of STLPORT_LIB, which resolves as \"$path\", is invalid." >&6;}
63859         as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5
63860       fi
63861 
63862       # Use eval to expand a potential ~
63863       eval path="$path"
63864       if test ! -f "$path" && test ! -d "$path"; then
63865         as_fn_error $? "The path of STLPORT_LIB, which resolves as \"$path\", is not found." "$LINENO" 5
63866       fi
63867 
63868       if test -d "$path"; then
63869         STLPORT_LIB="`cd "$path"; $THEPWDCMD -L`"
63870       else
63871         dir="`$DIRNAME "$path"`"
63872         base="`$BASENAME "$path"`"
63873         STLPORT_LIB="`cd "$dir"; $THEPWDCMD -L`/$base"
63874       fi
63875     fi
63876   fi
63877 
63878     else
63879       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, not found at $STLPORT_LIB" >&5
63880 $as_echo "no, not found at $STLPORT_LIB" >&6; }
63881       as_fn_error $? "Failed to find libstlport.so.1, cannot build Hotspot gtests" "$LINENO" 5
63882     fi
63883 
63884   fi
63885 
63886 
63887 
63888 
63889 
63890 
63891 
63892 
63893 
63894 
63895 
63896 
63897 
63898 
63899 ###############################################################################
63900 #
63901 # We need to do some final tweaking, when everything else is done.
63902 #
63903 ###############################################################################
63904 
63905 
63906   # Check whether --enable-new-hotspot-build was given.
63907 if test "${enable_new_hotspot_build+set}" = set; then :


< prev index next >