common/autoconf/generated-configure.sh
changeset 14459 6213b3f9e08d
parent 14378 0ef5d942b98e
child 14460 10ce34aca00e
equal deleted inserted replaced
14458:8e22b637770a 14459:6213b3f9e08d
  1033 with_freetype
  1033 with_freetype
  1034 with_alsa
  1034 with_alsa
  1035 with_alsa_include
  1035 with_alsa_include
  1036 with_alsa_lib
  1036 with_alsa_lib
  1037 with_zlib
  1037 with_zlib
  1038 enable_static_link_stdc++
  1038 with_stdc++lib
  1039 with_num_cores
  1039 with_num_cores
  1040 with_memory_size
  1040 with_memory_size
  1041 with_sjavac_server_java
  1041 with_sjavac_server_java
  1042 with_sjavac_server_cores
  1042 with_sjavac_server_cores
  1043 enable_sjavac
  1043 enable_sjavac
  1710   --disable-zip-debug-info
  1710   --disable-zip-debug-info
  1711                           disable zipping of debug-info files [enabled]
  1711                           disable zipping of debug-info files [enabled]
  1712   --disable-macosx-runtime-support
  1712   --disable-macosx-runtime-support
  1713                           disable the use of MacOSX Java runtime support
  1713                           disable the use of MacOSX Java runtime support
  1714                           framework [enabled]
  1714                           framework [enabled]
  1715   --disable-static-link-stdc++
       
  1716                           disable static linking of the C++ runtime on Linux
       
  1717                           [enabled]
       
  1718   --enable-sjavac         use sjavac to do fast incremental compiles
  1715   --enable-sjavac         use sjavac to do fast incremental compiles
  1719                           [disabled]
  1716                           [disabled]
  1720   --disable-precompiled-headers
  1717   --disable-precompiled-headers
  1721                           disable using precompiled headers when compiling C++
  1718                           disable using precompiled headers when compiling C++
  1722                           [enabled]
  1719                           [enabled]
  1794                           headers under PATH/include)
  1791                           headers under PATH/include)
  1795   --with-alsa-include     specify directory for the alsa include files
  1792   --with-alsa-include     specify directory for the alsa include files
  1796   --with-alsa-lib         specify directory for the alsa library
  1793   --with-alsa-lib         specify directory for the alsa library
  1797   --with-zlib             use zlib from build system or OpenJDK source
  1794   --with-zlib             use zlib from build system or OpenJDK source
  1798                           (system, bundled) [bundled]
  1795                           (system, bundled) [bundled]
       
  1796   --with-stdc++lib=<static>,<dynamic>,<default>
       
  1797                           force linking of the C++ runtime on Linux to either
       
  1798                           static or dynamic, default is static with dynamic as
       
  1799                           fallback
  1799   --with-num-cores        number of cores in the build system, e.g.
  1800   --with-num-cores        number of cores in the build system, e.g.
  1800                           --with-num-cores=8 [probed]
  1801                           --with-num-cores=8 [probed]
  1801   --with-memory-size      memory (in MB) available in the build system, e.g.
  1802   --with-memory-size      memory (in MB) available in the build system, e.g.
  1802                           --with-memory-size=1024 [probed]
  1803                           --with-memory-size=1024 [probed]
  1803   --with-sjavac-server-java
  1804   --with-sjavac-server-java
  3065 # definitions. It is replaced with custom functionality when building
  3066 # definitions. It is replaced with custom functionality when building
  3066 # custom sources.
  3067 # custom sources.
  3067 #CUSTOM_AUTOCONF_INCLUDE
  3068 #CUSTOM_AUTOCONF_INCLUDE
  3068 
  3069 
  3069 # Do not change or remove the following line, it is needed for consistency checks:
  3070 # Do not change or remove the following line, it is needed for consistency checks:
  3070 DATE_WHEN_GENERATED=1352751880
  3071 DATE_WHEN_GENERATED=1352916731
  3071 
  3072 
  3072 ###############################################################################
  3073 ###############################################################################
  3073 #
  3074 #
  3074 # Initialization / Boot-strapping
  3075 # Initialization / Boot-strapping
  3075 #
  3076 #
 33004 ###############################################################################
 33005 ###############################################################################
 33005 #
 33006 #
 33006 # statically link libstdc++ before C++ ABI is stablized on Linux unless
 33007 # statically link libstdc++ before C++ ABI is stablized on Linux unless
 33007 # dynamic build is configured on command line.
 33008 # dynamic build is configured on command line.
 33008 #
 33009 #
 33009 # Check whether --enable-static-link-stdc++ was given.
 33010 
 33010 if test "${enable_static_link_stdc+++set}" = set; then
 33011 # Check whether --with-stdc++lib was given.
 33011   enableval=$enable_static_link_stdc++;
 33012 if test "${with_stdc++lib+set}" = set; then
 33012 else
 33013   withval=$with_stdc++lib;
 33013 
 33014     if test "x$with_stdc__lib" != xdynamic && test "x$with_stdc__lib" != xstatic \
 33014 		enable_static_link_stdc__=yes
 33015         && test "x$with_stdc__lib" != xdefault; then
       
 33016       { { $as_echo "$as_me:$LINENO: error: Bad parameter value --with-stdc++lib=$with_stdc__lib!" >&5
       
 33017 $as_echo "$as_me: error: Bad parameter value --with-stdc++lib=$with_stdc__lib!" >&2;}
       
 33018    { (exit 1); exit 1; }; }
       
 33019     fi
       
 33020 
       
 33021 else
       
 33022   with_stdc__lib=default
 33015 
 33023 
 33016 fi
 33024 fi
 33017 
 33025 
 33018 
 33026 
 33019 if test "x$OPENJDK_TARGET_OS" = xlinux; then
 33027 if test "x$OPENJDK_TARGET_OS" = xlinux; then
 33155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 33163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 33156 
 33164 
 33157     { $as_echo "$as_me:$LINENO: result: $has_static_libstdcxx" >&5
 33165     { $as_echo "$as_me:$LINENO: result: $has_static_libstdcxx" >&5
 33158 $as_echo "$has_static_libstdcxx" >&6; }
 33166 $as_echo "$has_static_libstdcxx" >&6; }
 33159 
 33167 
 33160     if test "x$has_static_libcxx" = xno && test "x$has_dynamic_libcxx" = xno; then
 33168     if test "x$has_static_libstdcxx" = xno && test "x$has_dynamic_libstdcxx" = xno; then
 33161         { { $as_echo "$as_me:$LINENO: error: I cannot link to stdc++! Neither dynamically nor statically." >&5
 33169         { { $as_echo "$as_me:$LINENO: error: Cannot link to stdc++, neither dynamically nor statically!" >&5
 33162 $as_echo "$as_me: error: I cannot link to stdc++! Neither dynamically nor statically." >&2;}
 33170 $as_echo "$as_me: error: Cannot link to stdc++, neither dynamically nor statically!" >&2;}
 33163    { (exit 1); exit 1; }; }
 33171    { (exit 1); exit 1; }; }
 33164     fi
 33172     fi
 33165 
 33173 
 33166     if test "x$enable_static_link_stdc__" = xyes && test "x$has_static_libstdcxx" = xno; then
 33174     if test "x$with_stdc__lib" = xstatic && test "x$has_static_libstdcxx" = xno; then
 33167         { $as_echo "$as_me:$LINENO: Static linking of libstdc++ was not possible reverting to dynamic linking." >&5
 33175         { { $as_echo "$as_me:$LINENO: error: Static linking of libstdc++ was not possible!" >&5
 33168 $as_echo "$as_me: Static linking of libstdc++ was not possible reverting to dynamic linking." >&6;}
 33176 $as_echo "$as_me: error: Static linking of libstdc++ was not possible!" >&2;}
 33169         enable_static_link_stdc__=no
 33177    { (exit 1); exit 1; }; }
 33170     fi
 33178     fi
 33171 
 33179 
 33172     if test "x$enable_static_link_stdc__" = xno && test "x$has_dynamic_libstdcxx" = xno; then
 33180     if test "x$with_stdc__lib" = xdynamic && test "x$has_dynamic_libstdcxx" = xno; then
 33173         { $as_echo "$as_me:$LINENO: Dynamic linking of libstdc++ was not possible reverting to static linking." >&5
 33181         { { $as_echo "$as_me:$LINENO: error: Dynamic linking of libstdc++ was not possible!" >&5
 33174 $as_echo "$as_me: Dynamic linking of libstdc++ was not possible reverting to static linking." >&6;}
 33182 $as_echo "$as_me: error: Dynamic linking of libstdc++ was not possible!" >&2;}
 33175         enable_static_link_stdc__=yes
 33183    { (exit 1); exit 1; }; }
 33176     fi
 33184     fi
 33177 
 33185 
 33178     { $as_echo "$as_me:$LINENO: checking how to link with libstdc++" >&5
 33186     { $as_echo "$as_me:$LINENO: checking how to link with libstdc++" >&5
 33179 $as_echo_n "checking how to link with libstdc++... " >&6; }
 33187 $as_echo_n "checking how to link with libstdc++... " >&6; }
 33180     if test "x$enable_static_link_stdc__" = xyes; then
 33188     # If dynamic was requested, it's available since it would fail above otherwise.
       
 33189     # If dynamic wasn't requested, go with static unless it isn't available.
       
 33190     if test "x$with_stdc__lib" = xdynamic || test "x$has_static_libstdcxx" = xno; then
       
 33191         LIBCXX="$LIBCXX -lstdc++"
       
 33192         LDCXX="$CXX"
       
 33193         STATIC_CXX_SETTING="STATIC_CXX=false"
       
 33194         { $as_echo "$as_me:$LINENO: result: dynamic" >&5
       
 33195 $as_echo "dynamic" >&6; }
       
 33196     else
 33181         LIBCXX="$LIBCXX $STATIC_STDCXX_FLAGS"
 33197         LIBCXX="$LIBCXX $STATIC_STDCXX_FLAGS"
 33182         LDCXX="$CC"
 33198         LDCXX="$CC"
 33183         STATIC_CXX_SETTING="STATIC_CXX=true"
 33199         STATIC_CXX_SETTING="STATIC_CXX=true"
 33184         { $as_echo "$as_me:$LINENO: result: static" >&5
 33200         { $as_echo "$as_me:$LINENO: result: static" >&5
 33185 $as_echo "static" >&6; }
 33201 $as_echo "static" >&6; }
 33186     else
       
 33187         LIBCXX="$LIBCXX -lstdc++"
       
 33188         LDCXX="$CXX"
       
 33189         STATIC_CXX_SETTING="STATIC_CXX=false"
       
 33190         { $as_echo "$as_me:$LINENO: result: dynamic" >&5
       
 33191 $as_echo "dynamic" >&6; }
       
 33192     fi
 33202     fi
 33193 fi
 33203 fi
 33194 
 33204 
 33195 
 33205 
 33196 # libCrun is the c++ runtime-library with SunStudio (roughly the equivalent of gcc's libstdc++.so)
 33206 # libCrun is the c++ runtime-library with SunStudio (roughly the equivalent of gcc's libstdc++.so)