1064 with_override_jdk
1065 with_import_hotspot
1066 with_toolchain_type
1067 with_jtreg
1068 with_extra_cflags
1069 with_extra_cxxflags
1070 with_extra_ldflags
1071 enable_debug_symbols
1072 enable_zip_debug_info
1073 enable_macosx_runtime_support
1074 with_x
1075 with_cups
1076 with_cups_include
1077 with_freetype
1078 with_freetype_include
1079 with_freetype_lib
1080 enable_freetype_bundling
1081 with_alsa
1082 with_alsa_include
1083 with_alsa_lib
1084 with_giflib
1085 with_lcms
1086 with_libpng
1087 with_zlib
1088 with_stdc__lib
1089 with_msvcr_dll
1090 with_dxsdk
1091 with_dxsdk_lib
1092 with_dxsdk_include
1093 with_num_cores
1094 with_memory_size
1095 with_jobs
1096 with_sjavac_server_java
1097 enable_sjavac
1098 enable_precompiled_headers
1099 enable_ccache
1100 with_ccache_dir
1101 '
1102 ac_precious_vars='build_alias
1103 host_alias
1921 --with-toolchain-type the toolchain type (or family) to use, use '--help'
1922 to show possible values [platform dependent]
1923 --with-jtreg Regression Test Harness [probed]
1924 --with-extra-cflags extra flags to be used when compiling jdk c-files
1925 --with-extra-cxxflags extra flags to be used when compiling jdk c++-files
1926 --with-extra-ldflags extra flags to be used when linking jdk
1927 --with-x use the X Window System
1928 --with-cups specify prefix directory for the cups package
1929 (expecting the headers under PATH/include)
1930 --with-cups-include specify directory for the cups include files
1931 --with-freetype specify prefix directory for the freetype package
1932 (expecting the libraries under PATH/lib and the
1933 headers under PATH/include)
1934 --with-freetype-include specify directory for the freetype include files
1935 --with-freetype-lib specify directory for the freetype library
1936 --with-alsa specify prefix directory for the alsa package
1937 (expecting the libraries under PATH/lib and the
1938 headers under PATH/include)
1939 --with-alsa-include specify directory for the alsa include files
1940 --with-alsa-lib specify directory for the alsa library
1941 --with-giflib use giflib from build system or OpenJDK source
1942 (system, bundled) [bundled]
1943 --with-lcms use lcms2 from build system or OpenJDK source
1944 (system, bundled) [bundled]
1945 --with-libpng use libpng from build system or OpenJDK source
1946 (system, bundled) [bundled]
1947 --with-zlib use zlib from build system or OpenJDK source
1948 (system, bundled) [bundled]
1949 --with-stdc++lib=<static>,<dynamic>,<default>
1950 force linking of the C++ runtime on Linux to either
1951 static or dynamic, default is static with dynamic as
1952 fallback
1953 --with-msvcr-dll copy this msvcr100.dll into the built JDK (Windows
1954 only) [probed]
1955 --with-dxsdk Deprecated. Option is kept for backwards
1956 compatibility and is ignored
1957 --with-dxsdk-lib Deprecated. Option is kept for backwards
1958 compatibility and is ignored
1959 --with-dxsdk-include Deprecated. Option is kept for backwards
1960 compatibility and is ignored
4236
4237 # Check if the VS env variables were setup prior to running configure.
4238 # If not, then find vcvarsall.bat and run it automatically, and integrate
4239 # the set env variables into the spec file.
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250 # This line needs to be here, verbatim, after all includes and the dummy hook
4251 # definitions. It is replaced with custom functionality when building
4252 # custom sources.
4253 #CUSTOM_AUTOCONF_INCLUDE
4254
4255 # Do not change or remove the following line, it is needed for consistency checks:
4256 DATE_WHEN_GENERATED=1398861894
4257
4258 ###############################################################################
4259 #
4260 # Initialization / Boot-strapping
4261 #
4262 # The bootstrapping process needs to solve the "chicken or the egg" problem,
4263 # thus it jumps back and forth, each time gaining something needed later on.
4264 #
4265 ###############################################################################
4266
4267 # If we are requested to print additional help, do that and then exit.
4268 # This must be the very first call.
4269
4270 if test "x$CONFIGURE_PRINT_TOOLCHAIN_LIST" != x; then
4271 $PRINTF "The following toolchains are available as arguments to --with-toolchain-type.\n"
4272 $PRINTF "Which are valid to use depends on the build platform.\n"
4273 for toolchain in $VALID_TOOLCHAINS_all; do
4274 # Use indirect variable referencing
4275 toolchain_var_name=TOOLCHAIN_DESCRIPTION_$toolchain
4276 TOOLCHAIN_DESCRIPTION=${!toolchain_var_name}
47159
47160 if test "x$PKGHANDLER_COMMAND" != x; then
47161 HELP_MSG="You might be able to fix this by running '$PKGHANDLER_COMMAND'."
47162 fi
47163 fi
47164
47165 as_fn_error $? "Could not find alsa! $HELP_MSG " "$LINENO" 5
47166 fi
47167 fi
47168
47169
47170
47171
47172
47173
47174 ###############################################################################
47175 #
47176 # Check for the jpeg library
47177 #
47178
47179 USE_EXTERNAL_LIBJPEG=true
47180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ljpeg" >&5
47181 $as_echo_n "checking for main in -ljpeg... " >&6; }
47182 if ${ac_cv_lib_jpeg_main+:} false; then :
47183 $as_echo_n "(cached) " >&6
47184 else
47185 ac_check_lib_save_LIBS=$LIBS
47186 LIBS="-ljpeg $LIBS"
47187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47188 /* end confdefs.h. */
47189
47190
47191 int
47192 main ()
47193 {
47194 return main ();
47195 ;
47196 return 0;
47197 }
47198 _ACEOF
47199 if ac_fn_cxx_try_link "$LINENO"; then :
47200 ac_cv_lib_jpeg_main=yes
47201 else
47202 ac_cv_lib_jpeg_main=no
47203 fi
47204 rm -f core conftest.err conftest.$ac_objext \
47205 conftest$ac_exeext conftest.$ac_ext
47206 LIBS=$ac_check_lib_save_LIBS
47207 fi
47208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_main" >&5
47209 $as_echo "$ac_cv_lib_jpeg_main" >&6; }
47210 if test "x$ac_cv_lib_jpeg_main" = xyes; then :
47211 cat >>confdefs.h <<_ACEOF
47212 #define HAVE_LIBJPEG 1
47213 _ACEOF
47214
47215 LIBS="-ljpeg $LIBS"
47216
47217 else
47218 USE_EXTERNAL_LIBJPEG=false
47219 { $as_echo "$as_me:${as_lineno-$LINENO}: Will use jpeg decoder bundled with the OpenJDK source" >&5
47220 $as_echo "$as_me: Will use jpeg decoder bundled with the OpenJDK source" >&6;}
47221
47222 fi
47223
47224
47225
47226 ###############################################################################
47227 #
47228 # Check for the gif library
47229 #
47230
47231
47232 # Check whether --with-giflib was given.
47233 if test "${with_giflib+set}" = set; then :
47234 withval=$with_giflib;
47235 fi
47236
47237
47238
47239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for which giflib to use" >&5
47240 $as_echo_n "checking for which giflib to use... " >&6; }
47241
47242 # default is bundled
|
1064 with_override_jdk
1065 with_import_hotspot
1066 with_toolchain_type
1067 with_jtreg
1068 with_extra_cflags
1069 with_extra_cxxflags
1070 with_extra_ldflags
1071 enable_debug_symbols
1072 enable_zip_debug_info
1073 enable_macosx_runtime_support
1074 with_x
1075 with_cups
1076 with_cups_include
1077 with_freetype
1078 with_freetype_include
1079 with_freetype_lib
1080 enable_freetype_bundling
1081 with_alsa
1082 with_alsa_include
1083 with_alsa_lib
1084 with_libjpeg
1085 with_giflib
1086 with_lcms
1087 with_libpng
1088 with_zlib
1089 with_stdc__lib
1090 with_msvcr_dll
1091 with_dxsdk
1092 with_dxsdk_lib
1093 with_dxsdk_include
1094 with_num_cores
1095 with_memory_size
1096 with_jobs
1097 with_sjavac_server_java
1098 enable_sjavac
1099 enable_precompiled_headers
1100 enable_ccache
1101 with_ccache_dir
1102 '
1103 ac_precious_vars='build_alias
1104 host_alias
1922 --with-toolchain-type the toolchain type (or family) to use, use '--help'
1923 to show possible values [platform dependent]
1924 --with-jtreg Regression Test Harness [probed]
1925 --with-extra-cflags extra flags to be used when compiling jdk c-files
1926 --with-extra-cxxflags extra flags to be used when compiling jdk c++-files
1927 --with-extra-ldflags extra flags to be used when linking jdk
1928 --with-x use the X Window System
1929 --with-cups specify prefix directory for the cups package
1930 (expecting the headers under PATH/include)
1931 --with-cups-include specify directory for the cups include files
1932 --with-freetype specify prefix directory for the freetype package
1933 (expecting the libraries under PATH/lib and the
1934 headers under PATH/include)
1935 --with-freetype-include specify directory for the freetype include files
1936 --with-freetype-lib specify directory for the freetype library
1937 --with-alsa specify prefix directory for the alsa package
1938 (expecting the libraries under PATH/lib and the
1939 headers under PATH/include)
1940 --with-alsa-include specify directory for the alsa include files
1941 --with-alsa-lib specify directory for the alsa library
1942 --with-libjpeg use libjpeg from build system or OpenJDK source
1943 (system, bundled) [bundled]
1944 --with-giflib use giflib from build system or OpenJDK source
1945 (system, bundled) [bundled]
1946 --with-lcms use lcms2 from build system or OpenJDK source
1947 (system, bundled) [bundled]
1948 --with-libpng use libpng from build system or OpenJDK source
1949 (system, bundled) [bundled]
1950 --with-zlib use zlib from build system or OpenJDK source
1951 (system, bundled) [bundled]
1952 --with-stdc++lib=<static>,<dynamic>,<default>
1953 force linking of the C++ runtime on Linux to either
1954 static or dynamic, default is static with dynamic as
1955 fallback
1956 --with-msvcr-dll copy this msvcr100.dll into the built JDK (Windows
1957 only) [probed]
1958 --with-dxsdk Deprecated. Option is kept for backwards
1959 compatibility and is ignored
1960 --with-dxsdk-lib Deprecated. Option is kept for backwards
1961 compatibility and is ignored
1962 --with-dxsdk-include Deprecated. Option is kept for backwards
1963 compatibility and is ignored
4239
4240 # Check if the VS env variables were setup prior to running configure.
4241 # If not, then find vcvarsall.bat and run it automatically, and integrate
4242 # the set env variables into the spec file.
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253 # This line needs to be here, verbatim, after all includes and the dummy hook
4254 # definitions. It is replaced with custom functionality when building
4255 # custom sources.
4256 #CUSTOM_AUTOCONF_INCLUDE
4257
4258 # Do not change or remove the following line, it is needed for consistency checks:
4259 DATE_WHEN_GENERATED=1400601642
4260
4261 ###############################################################################
4262 #
4263 # Initialization / Boot-strapping
4264 #
4265 # The bootstrapping process needs to solve the "chicken or the egg" problem,
4266 # thus it jumps back and forth, each time gaining something needed later on.
4267 #
4268 ###############################################################################
4269
4270 # If we are requested to print additional help, do that and then exit.
4271 # This must be the very first call.
4272
4273 if test "x$CONFIGURE_PRINT_TOOLCHAIN_LIST" != x; then
4274 $PRINTF "The following toolchains are available as arguments to --with-toolchain-type.\n"
4275 $PRINTF "Which are valid to use depends on the build platform.\n"
4276 for toolchain in $VALID_TOOLCHAINS_all; do
4277 # Use indirect variable referencing
4278 toolchain_var_name=TOOLCHAIN_DESCRIPTION_$toolchain
4279 TOOLCHAIN_DESCRIPTION=${!toolchain_var_name}
47162
47163 if test "x$PKGHANDLER_COMMAND" != x; then
47164 HELP_MSG="You might be able to fix this by running '$PKGHANDLER_COMMAND'."
47165 fi
47166 fi
47167
47168 as_fn_error $? "Could not find alsa! $HELP_MSG " "$LINENO" 5
47169 fi
47170 fi
47171
47172
47173
47174
47175
47176
47177 ###############################################################################
47178 #
47179 # Check for the jpeg library
47180 #
47181
47182
47183 # Check whether --with-libjpeg was given.
47184 if test "${with_libjpeg+set}" = set; then :
47185 withval=$with_libjpeg;
47186 fi
47187
47188
47189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for which libjpeg to use" >&5
47190 $as_echo_n "checking for which libjpeg to use... " >&6; }
47191
47192 # default is bundled
47193 DEFAULT_LIBJPEG=bundled
47194
47195 #
47196 # if user didn't specify, use DEFAULT_LIBJPEG
47197 #
47198 if test "x${with_libjpeg}" = "x"; then
47199 with_libjpeg=${DEFAULT_LIBJPEG}
47200 fi
47201
47202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_libjpeg}" >&5
47203 $as_echo "${with_libjpeg}" >&6; }
47204
47205 if test "x${with_libjpeg}" = "xbundled"; then
47206 USE_EXTERNAL_LIBJPEG=false
47207 elif test "x${with_libjpeg}" = "xsystem"; then
47208 ac_fn_cxx_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
47209 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
47210
47211 else
47212 as_fn_error $? "--with-libjpeg=system specified, but jpeglib.h not found!" "$LINENO" 5
47213 fi
47214
47215
47216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_CreateDecompress in -ljpeg" >&5
47217 $as_echo_n "checking for jpeg_CreateDecompress in -ljpeg... " >&6; }
47218 if ${ac_cv_lib_jpeg_jpeg_CreateDecompress+:} false; then :
47219 $as_echo_n "(cached) " >&6
47220 else
47221 ac_check_lib_save_LIBS=$LIBS
47222 LIBS="-ljpeg $LIBS"
47223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47224 /* end confdefs.h. */
47225
47226 /* Override any GCC internal prototype to avoid an error.
47227 Use char because int might match the return type of a GCC
47228 builtin and then its argument prototype would still apply. */
47229 #ifdef __cplusplus
47230 extern "C"
47231 #endif
47232 char jpeg_CreateDecompress ();
47233 int
47234 main ()
47235 {
47236 return jpeg_CreateDecompress ();
47237 ;
47238 return 0;
47239 }
47240 _ACEOF
47241 if ac_fn_cxx_try_link "$LINENO"; then :
47242 ac_cv_lib_jpeg_jpeg_CreateDecompress=yes
47243 else
47244 ac_cv_lib_jpeg_jpeg_CreateDecompress=no
47245 fi
47246 rm -f core conftest.err conftest.$ac_objext \
47247 conftest$ac_exeext conftest.$ac_ext
47248 LIBS=$ac_check_lib_save_LIBS
47249 fi
47250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_CreateDecompress" >&5
47251 $as_echo "$ac_cv_lib_jpeg_jpeg_CreateDecompress" >&6; }
47252 if test "x$ac_cv_lib_jpeg_jpeg_CreateDecompress" = xyes; then :
47253 cat >>confdefs.h <<_ACEOF
47254 #define HAVE_LIBJPEG 1
47255 _ACEOF
47256
47257 LIBS="-ljpeg $LIBS"
47258
47259 else
47260 as_fn_error $? "--with-libjpeg=system specified, but no libjpeg found" "$LINENO" 5
47261 fi
47262
47263
47264 USE_EXTERNAL_LIBJPEG=true
47265 else
47266 as_fn_error $? "Invalid use of --with-libjpeg: ${with_libjpeg}, use 'system' or 'bundled'" "$LINENO" 5
47267 fi
47268
47269
47270
47271 ###############################################################################
47272 #
47273 # Check for the gif library
47274 #
47275
47276
47277 # Check whether --with-giflib was given.
47278 if test "${with_giflib+set}" = set; then :
47279 withval=$with_giflib;
47280 fi
47281
47282
47283
47284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for which giflib to use" >&5
47285 $as_echo_n "checking for which giflib to use... " >&6; }
47286
47287 # default is bundled
|