Thu, 02 May 2013 15:46:38 +0200
8013786: JDK-8013480 broke configure on solaris
Reviewed-by: tbell
1.1 --- a/common/autoconf/configure.ac Tue Apr 30 14:39:49 2013 -0700 1.2 +++ b/common/autoconf/configure.ac Thu May 02 15:46:38 2013 +0200 1.3 @@ -166,6 +166,7 @@ 1.4 TOOLCHAIN_SETUP_COMPILER_FLAGS_FOR_LIBS 1.5 TOOLCHAIN_SETUP_COMPILER_FLAGS_FOR_OPTIMIZATION 1.6 TOOLCHAIN_SETUP_COMPILER_FLAGS_FOR_JDK 1.7 +TOOLCHAIN_SETUP_COMPILER_FLAGS_MISC 1.8 1.9 # Setup debug symbols (need objcopy from the toolchain for that) 1.10 JDKOPT_SETUP_DEBUG_SYMBOLS
2.1 --- a/common/autoconf/generated-configure.sh Tue Apr 30 14:39:49 2013 -0700 2.2 +++ b/common/autoconf/generated-configure.sh Thu May 02 15:46:38 2013 +0200 2.3 @@ -1,6 +1,6 @@ 2.4 #! /bin/sh 2.5 # Guess values for system-dependent variables and create Makefiles. 2.6 -# Generated by GNU Autoconf 2.68 for OpenJDK jdk8. 2.7 +# Generated by GNU Autoconf 2.67 for OpenJDK jdk8. 2.8 # 2.9 # Report bugs to <build-dev@openjdk.java.net>. 2.10 # 2.11 @@ -91,7 +91,6 @@ 2.12 IFS=" "" $as_nl" 2.13 2.14 # Find who we are. Look in the path if we contain no directory separator. 2.15 -as_myself= 2.16 case $0 in #(( 2.17 *[\\/]* ) as_myself=$0 ;; 2.18 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2.19 @@ -217,18 +216,11 @@ 2.20 # We cannot yet assume a decent shell, so we have to provide a 2.21 # neutralization value for shells without unset; and this also 2.22 # works around shells that cannot unset nonexistent variables. 2.23 - # Preserve -v and -x to the replacement shell. 2.24 BASH_ENV=/dev/null 2.25 ENV=/dev/null 2.26 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 2.27 export CONFIG_SHELL 2.28 - case $- in # (((( 2.29 - *v*x* | *x*v* ) as_opts=-vx ;; 2.30 - *v* ) as_opts=-v ;; 2.31 - *x* ) as_opts=-x ;; 2.32 - * ) as_opts= ;; 2.33 - esac 2.34 - exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 2.35 + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 2.36 fi 2.37 2.38 if test x$as_have_required = xno; then : 2.39 @@ -647,6 +639,8 @@ 2.40 CFLAGS_DEBUG_SYMBOLS 2.41 ZIP_DEBUGINFO_FILES 2.42 ENABLE_DEBUG_SYMBOLS 2.43 +COMPILER_SUPPORTS_TARGET_BITS_FLAG 2.44 +ZERO_ARCHFLAG 2.45 LDFLAGS_CXX_JDK 2.46 LDFLAGS_JDKEXE_SUFFIX 2.47 LDFLAGS_JDKLIB_SUFFIX 2.48 @@ -687,7 +681,6 @@ 2.49 STATIC_LIBRARY 2.50 SHARED_LIBRARY 2.51 OBJ_SUFFIX 2.52 -COMPILER_SUPPORTS_TARGET_BITS_FLAG 2.53 LIPO 2.54 ac_ct_OBJDUMP 2.55 OBJDUMP 2.56 @@ -720,10 +713,20 @@ 2.57 ac_ct_OBJC 2.58 OBJCFLAGS 2.59 OBJC 2.60 +ac_ct_CXX 2.61 +CXXFLAGS 2.62 +CXX 2.63 ac_ct_PROPER_COMPILER_CXX 2.64 PROPER_COMPILER_CXX 2.65 POTENTIAL_CXX 2.66 TOOLS_DIR_CXX 2.67 +OBJEXT 2.68 +EXEEXT 2.69 +ac_ct_CC 2.70 +CPPFLAGS 2.71 +LDFLAGS 2.72 +CFLAGS 2.73 +CC 2.74 ac_ct_PROPER_COMPILER_CC 2.75 PROPER_COMPILER_CC 2.76 POTENTIAL_CC 2.77 @@ -834,17 +837,6 @@ 2.78 PATH_SEP 2.79 SRC_ROOT 2.80 ZERO_ARCHDEF 2.81 -ZERO_ARCHFLAG 2.82 -ac_ct_CXX 2.83 -CXXFLAGS 2.84 -CXX 2.85 -OBJEXT 2.86 -EXEEXT 2.87 -ac_ct_CC 2.88 -CPPFLAGS 2.89 -LDFLAGS 2.90 -CFLAGS 2.91 -CC 2.92 DEFINE_CROSS_COMPILE_ARCH 2.93 LP64 2.94 OPENJDK_TARGET_OS_API_DIR 2.95 @@ -1041,6 +1033,7 @@ 2.96 ac_precious_vars='build_alias 2.97 host_alias 2.98 target_alias 2.99 +PKG_CONFIG 2.100 CC 2.101 CFLAGS 2.102 LDFLAGS 2.103 @@ -1049,7 +1042,6 @@ 2.104 CXX 2.105 CXXFLAGS 2.106 CCC 2.107 -PKG_CONFIG 2.108 OBJC 2.109 OBJCFLAGS 2.110 CPP 2.111 @@ -1465,7 +1457,7 @@ 2.112 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 2.113 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 2.114 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 2.115 - : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 2.116 + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 2.117 ;; 2.118 2.119 esac 2.120 @@ -1809,6 +1801,7 @@ 2.121 --with-ccache-dir where to store ccache files [~/.ccache] 2.122 2.123 Some influential environment variables: 2.124 + PKG_CONFIG path to pkg-config utility 2.125 CC C compiler command 2.126 CFLAGS C compiler flags 2.127 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 2.128 @@ -1818,7 +1811,6 @@ 2.129 you have headers in a nonstandard directory <include dir> 2.130 CXX C++ compiler command 2.131 CXXFLAGS C++ compiler flags 2.132 - PKG_CONFIG path to pkg-config utility 2.133 OBJC Objective C compiler command 2.134 OBJCFLAGS Objective C compiler flags 2.135 CPP C preprocessor 2.136 @@ -1902,7 +1894,7 @@ 2.137 if $ac_init_version; then 2.138 cat <<\_ACEOF 2.139 OpenJDK configure jdk8 2.140 -generated by GNU Autoconf 2.68 2.141 +generated by GNU Autoconf 2.67 2.142 2.143 Copyright (C) 2010 Free Software Foundation, Inc. 2.144 This configure script is free software; the Free Software Foundation 2.145 @@ -1948,7 +1940,7 @@ 2.146 2.147 ac_retval=1 2.148 fi 2.149 - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2.150 + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2.151 as_fn_set_status $ac_retval 2.152 2.153 } # ac_fn_c_try_compile 2.154 @@ -1986,7 +1978,7 @@ 2.155 2.156 ac_retval=1 2.157 fi 2.158 - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2.159 + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2.160 as_fn_set_status $ac_retval 2.161 2.162 } # ac_fn_cxx_try_compile 2.163 @@ -2024,7 +2016,7 @@ 2.164 2.165 ac_retval=1 2.166 fi 2.167 - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2.168 + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2.169 as_fn_set_status $ac_retval 2.170 2.171 } # ac_fn_objc_try_compile 2.172 @@ -2061,7 +2053,7 @@ 2.173 2.174 ac_retval=1 2.175 fi 2.176 - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2.177 + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2.178 as_fn_set_status $ac_retval 2.179 2.180 } # ac_fn_c_try_cpp 2.181 @@ -2098,7 +2090,7 @@ 2.182 2.183 ac_retval=1 2.184 fi 2.185 - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2.186 + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2.187 as_fn_set_status $ac_retval 2.188 2.189 } # ac_fn_cxx_try_cpp 2.190 @@ -2111,10 +2103,10 @@ 2.191 ac_fn_cxx_check_header_mongrel () 2.192 { 2.193 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2.194 - if eval \${$3+:} false; then : 2.195 + if eval "test \"\${$3+set}\"" = set; then : 2.196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2.197 $as_echo_n "checking for $2... " >&6; } 2.198 -if eval \${$3+:} false; then : 2.199 +if eval "test \"\${$3+set}\"" = set; then : 2.200 $as_echo_n "(cached) " >&6 2.201 fi 2.202 eval ac_res=\$$3 2.203 @@ -2181,7 +2173,7 @@ 2.204 esac 2.205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2.206 $as_echo_n "checking for $2... " >&6; } 2.207 -if eval \${$3+:} false; then : 2.208 +if eval "test \"\${$3+set}\"" = set; then : 2.209 $as_echo_n "(cached) " >&6 2.210 else 2.211 eval "$3=\$ac_header_compiler" 2.212 @@ -2190,7 +2182,7 @@ 2.213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2.214 $as_echo "$ac_res" >&6; } 2.215 fi 2.216 - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2.217 + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2.218 2.219 } # ac_fn_cxx_check_header_mongrel 2.220 2.221 @@ -2231,7 +2223,7 @@ 2.222 ac_retval=$ac_status 2.223 fi 2.224 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2.225 - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2.226 + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2.227 as_fn_set_status $ac_retval 2.228 2.229 } # ac_fn_cxx_try_run 2.230 @@ -2245,7 +2237,7 @@ 2.231 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2.232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2.233 $as_echo_n "checking for $2... " >&6; } 2.234 -if eval \${$3+:} false; then : 2.235 +if eval "test \"\${$3+set}\"" = set; then : 2.236 $as_echo_n "(cached) " >&6 2.237 else 2.238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2.239 @@ -2263,7 +2255,7 @@ 2.240 eval ac_res=\$$3 2.241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2.242 $as_echo "$ac_res" >&6; } 2.243 - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2.244 + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2.245 2.246 } # ac_fn_cxx_check_header_compile 2.247 2.248 @@ -2440,7 +2432,7 @@ 2.249 rm -f conftest.val 2.250 2.251 fi 2.252 - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2.253 + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2.254 as_fn_set_status $ac_retval 2.255 2.256 } # ac_fn_cxx_compute_int 2.257 @@ -2486,7 +2478,7 @@ 2.258 # interfere with the next link command; also delete a directory that is 2.259 # left behind by Apple's compiler. We do this before executing the actions. 2.260 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2.261 - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2.262 + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2.263 as_fn_set_status $ac_retval 2.264 2.265 } # ac_fn_cxx_try_link 2.266 @@ -2499,7 +2491,7 @@ 2.267 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2.268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2.269 $as_echo_n "checking for $2... " >&6; } 2.270 -if eval \${$3+:} false; then : 2.271 +if eval "test \"\${$3+set}\"" = set; then : 2.272 $as_echo_n "(cached) " >&6 2.273 else 2.274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2.275 @@ -2554,7 +2546,7 @@ 2.276 eval ac_res=\$$3 2.277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2.278 $as_echo "$ac_res" >&6; } 2.279 - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2.280 + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2.281 2.282 } # ac_fn_cxx_check_func 2.283 2.284 @@ -2567,7 +2559,7 @@ 2.285 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2.286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2.287 $as_echo_n "checking for $2... " >&6; } 2.288 -if eval \${$3+:} false; then : 2.289 +if eval "test \"\${$3+set}\"" = set; then : 2.290 $as_echo_n "(cached) " >&6 2.291 else 2.292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2.293 @@ -2585,7 +2577,7 @@ 2.294 eval ac_res=\$$3 2.295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2.296 $as_echo "$ac_res" >&6; } 2.297 - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2.298 + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2.299 2.300 } # ac_fn_c_check_header_compile 2.301 cat >config.log <<_ACEOF 2.302 @@ -2593,7 +2585,7 @@ 2.303 running configure, to aid debugging if configure makes a mistake. 2.304 2.305 It was created by OpenJDK $as_me jdk8, which was 2.306 -generated by GNU Autoconf 2.68. Invocation command line was 2.307 +generated by GNU Autoconf 2.67. Invocation command line was 2.308 2.309 $ $0 $@ 2.310 2.311 @@ -2851,7 +2843,7 @@ 2.312 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2.313 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2.314 as_fn_error $? "failed to load site script $ac_site_file 2.315 -See \`config.log' for more details" "$LINENO" 5; } 2.316 +See \`config.log' for more details" "$LINENO" 5 ; } 2.317 fi 2.318 done 2.319 2.320 @@ -3636,16 +3628,6 @@ 2.321 2.322 2.323 2.324 -# PLATFORM_COMPILER_CHECK_ARGUMENTS([ARGUMENT], [RUN-IF-TRUE], 2.325 -# [RUN-IF-FALSE]) 2.326 -# ------------------------------------------------------------ 2.327 -# Check that the c and c++ compilers support an argument 2.328 - 2.329 - 2.330 -# Check that the compiler supports -mX flags 2.331 -# Set COMPILER_SUPPORTS_TARGET_BITS_FLAG to 'true' if it does 2.332 - 2.333 - 2.334 # Support macro for PLATFORM_SETUP_OPENJDK_TARGET_BITS. 2.335 # Add -mX to various FLAGS variables. 2.336 2.337 @@ -3733,6 +3715,15 @@ 2.338 2.339 2.340 2.341 + 2.342 +# TOOLCHAIN_COMPILER_CHECK_ARGUMENTS([ARGUMENT], [RUN-IF-TRUE], 2.343 +# [RUN-IF-FALSE]) 2.344 +# ------------------------------------------------------------ 2.345 +# Check that the c and c++ compilers support an argument 2.346 + 2.347 + 2.348 + 2.349 + 2.350 # 2.351 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. 2.352 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 2.353 @@ -3783,7 +3774,7 @@ 2.354 #CUSTOM_AUTOCONF_INCLUDE 2.355 2.356 # Do not change or remove the following line, it is needed for consistency checks: 2.357 -DATE_WHEN_GENERATED=1366642537 2.358 +DATE_WHEN_GENERATED=1367502345 2.359 2.360 ############################################################################### 2.361 # 2.362 @@ -3821,7 +3812,7 @@ 2.363 set dummy $ac_prog; ac_word=$2 2.364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.365 $as_echo_n "checking for $ac_word... " >&6; } 2.366 -if ${ac_cv_path_BASENAME+:} false; then : 2.367 +if test "${ac_cv_path_BASENAME+set}" = set; then : 2.368 $as_echo_n "(cached) " >&6 2.369 else 2.370 case $BASENAME in 2.371 @@ -3880,7 +3871,7 @@ 2.372 set dummy $ac_prog; ac_word=$2 2.373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.374 $as_echo_n "checking for $ac_word... " >&6; } 2.375 -if ${ac_cv_path_BASH+:} false; then : 2.376 +if test "${ac_cv_path_BASH+set}" = set; then : 2.377 $as_echo_n "(cached) " >&6 2.378 else 2.379 case $BASH in 2.380 @@ -3939,7 +3930,7 @@ 2.381 set dummy $ac_prog; ac_word=$2 2.382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.383 $as_echo_n "checking for $ac_word... " >&6; } 2.384 -if ${ac_cv_path_CAT+:} false; then : 2.385 +if test "${ac_cv_path_CAT+set}" = set; then : 2.386 $as_echo_n "(cached) " >&6 2.387 else 2.388 case $CAT in 2.389 @@ -3998,7 +3989,7 @@ 2.390 set dummy $ac_prog; ac_word=$2 2.391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.392 $as_echo_n "checking for $ac_word... " >&6; } 2.393 -if ${ac_cv_path_CHMOD+:} false; then : 2.394 +if test "${ac_cv_path_CHMOD+set}" = set; then : 2.395 $as_echo_n "(cached) " >&6 2.396 else 2.397 case $CHMOD in 2.398 @@ -4057,7 +4048,7 @@ 2.399 set dummy $ac_prog; ac_word=$2 2.400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.401 $as_echo_n "checking for $ac_word... " >&6; } 2.402 -if ${ac_cv_path_CMP+:} false; then : 2.403 +if test "${ac_cv_path_CMP+set}" = set; then : 2.404 $as_echo_n "(cached) " >&6 2.405 else 2.406 case $CMP in 2.407 @@ -4116,7 +4107,7 @@ 2.408 set dummy $ac_prog; ac_word=$2 2.409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.410 $as_echo_n "checking for $ac_word... " >&6; } 2.411 -if ${ac_cv_path_COMM+:} false; then : 2.412 +if test "${ac_cv_path_COMM+set}" = set; then : 2.413 $as_echo_n "(cached) " >&6 2.414 else 2.415 case $COMM in 2.416 @@ -4175,7 +4166,7 @@ 2.417 set dummy $ac_prog; ac_word=$2 2.418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.419 $as_echo_n "checking for $ac_word... " >&6; } 2.420 -if ${ac_cv_path_CP+:} false; then : 2.421 +if test "${ac_cv_path_CP+set}" = set; then : 2.422 $as_echo_n "(cached) " >&6 2.423 else 2.424 case $CP in 2.425 @@ -4234,7 +4225,7 @@ 2.426 set dummy $ac_prog; ac_word=$2 2.427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.428 $as_echo_n "checking for $ac_word... " >&6; } 2.429 -if ${ac_cv_path_CPIO+:} false; then : 2.430 +if test "${ac_cv_path_CPIO+set}" = set; then : 2.431 $as_echo_n "(cached) " >&6 2.432 else 2.433 case $CPIO in 2.434 @@ -4293,7 +4284,7 @@ 2.435 set dummy $ac_prog; ac_word=$2 2.436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.437 $as_echo_n "checking for $ac_word... " >&6; } 2.438 -if ${ac_cv_path_CUT+:} false; then : 2.439 +if test "${ac_cv_path_CUT+set}" = set; then : 2.440 $as_echo_n "(cached) " >&6 2.441 else 2.442 case $CUT in 2.443 @@ -4352,7 +4343,7 @@ 2.444 set dummy $ac_prog; ac_word=$2 2.445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.446 $as_echo_n "checking for $ac_word... " >&6; } 2.447 -if ${ac_cv_path_DATE+:} false; then : 2.448 +if test "${ac_cv_path_DATE+set}" = set; then : 2.449 $as_echo_n "(cached) " >&6 2.450 else 2.451 case $DATE in 2.452 @@ -4411,7 +4402,7 @@ 2.453 set dummy $ac_prog; ac_word=$2 2.454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.455 $as_echo_n "checking for $ac_word... " >&6; } 2.456 -if ${ac_cv_path_DIFF+:} false; then : 2.457 +if test "${ac_cv_path_DIFF+set}" = set; then : 2.458 $as_echo_n "(cached) " >&6 2.459 else 2.460 case $DIFF in 2.461 @@ -4470,7 +4461,7 @@ 2.462 set dummy $ac_prog; ac_word=$2 2.463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.464 $as_echo_n "checking for $ac_word... " >&6; } 2.465 -if ${ac_cv_path_DIRNAME+:} false; then : 2.466 +if test "${ac_cv_path_DIRNAME+set}" = set; then : 2.467 $as_echo_n "(cached) " >&6 2.468 else 2.469 case $DIRNAME in 2.470 @@ -4529,7 +4520,7 @@ 2.471 set dummy $ac_prog; ac_word=$2 2.472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.473 $as_echo_n "checking for $ac_word... " >&6; } 2.474 -if ${ac_cv_path_ECHO+:} false; then : 2.475 +if test "${ac_cv_path_ECHO+set}" = set; then : 2.476 $as_echo_n "(cached) " >&6 2.477 else 2.478 case $ECHO in 2.479 @@ -4588,7 +4579,7 @@ 2.480 set dummy $ac_prog; ac_word=$2 2.481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.482 $as_echo_n "checking for $ac_word... " >&6; } 2.483 -if ${ac_cv_path_EXPR+:} false; then : 2.484 +if test "${ac_cv_path_EXPR+set}" = set; then : 2.485 $as_echo_n "(cached) " >&6 2.486 else 2.487 case $EXPR in 2.488 @@ -4647,7 +4638,7 @@ 2.489 set dummy $ac_prog; ac_word=$2 2.490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.491 $as_echo_n "checking for $ac_word... " >&6; } 2.492 -if ${ac_cv_path_FILE+:} false; then : 2.493 +if test "${ac_cv_path_FILE+set}" = set; then : 2.494 $as_echo_n "(cached) " >&6 2.495 else 2.496 case $FILE in 2.497 @@ -4706,7 +4697,7 @@ 2.498 set dummy $ac_prog; ac_word=$2 2.499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.500 $as_echo_n "checking for $ac_word... " >&6; } 2.501 -if ${ac_cv_path_FIND+:} false; then : 2.502 +if test "${ac_cv_path_FIND+set}" = set; then : 2.503 $as_echo_n "(cached) " >&6 2.504 else 2.505 case $FIND in 2.506 @@ -4765,7 +4756,7 @@ 2.507 set dummy $ac_prog; ac_word=$2 2.508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.509 $as_echo_n "checking for $ac_word... " >&6; } 2.510 -if ${ac_cv_path_HEAD+:} false; then : 2.511 +if test "${ac_cv_path_HEAD+set}" = set; then : 2.512 $as_echo_n "(cached) " >&6 2.513 else 2.514 case $HEAD in 2.515 @@ -4824,7 +4815,7 @@ 2.516 set dummy $ac_prog; ac_word=$2 2.517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.518 $as_echo_n "checking for $ac_word... " >&6; } 2.519 -if ${ac_cv_path_LN+:} false; then : 2.520 +if test "${ac_cv_path_LN+set}" = set; then : 2.521 $as_echo_n "(cached) " >&6 2.522 else 2.523 case $LN in 2.524 @@ -4883,7 +4874,7 @@ 2.525 set dummy $ac_prog; ac_word=$2 2.526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.527 $as_echo_n "checking for $ac_word... " >&6; } 2.528 -if ${ac_cv_path_LS+:} false; then : 2.529 +if test "${ac_cv_path_LS+set}" = set; then : 2.530 $as_echo_n "(cached) " >&6 2.531 else 2.532 case $LS in 2.533 @@ -4942,7 +4933,7 @@ 2.534 set dummy $ac_prog; ac_word=$2 2.535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.536 $as_echo_n "checking for $ac_word... " >&6; } 2.537 -if ${ac_cv_path_MKDIR+:} false; then : 2.538 +if test "${ac_cv_path_MKDIR+set}" = set; then : 2.539 $as_echo_n "(cached) " >&6 2.540 else 2.541 case $MKDIR in 2.542 @@ -5001,7 +4992,7 @@ 2.543 set dummy $ac_prog; ac_word=$2 2.544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.545 $as_echo_n "checking for $ac_word... " >&6; } 2.546 -if ${ac_cv_path_MKTEMP+:} false; then : 2.547 +if test "${ac_cv_path_MKTEMP+set}" = set; then : 2.548 $as_echo_n "(cached) " >&6 2.549 else 2.550 case $MKTEMP in 2.551 @@ -5060,7 +5051,7 @@ 2.552 set dummy $ac_prog; ac_word=$2 2.553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.554 $as_echo_n "checking for $ac_word... " >&6; } 2.555 -if ${ac_cv_path_MV+:} false; then : 2.556 +if test "${ac_cv_path_MV+set}" = set; then : 2.557 $as_echo_n "(cached) " >&6 2.558 else 2.559 case $MV in 2.560 @@ -5119,7 +5110,7 @@ 2.561 set dummy $ac_prog; ac_word=$2 2.562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.563 $as_echo_n "checking for $ac_word... " >&6; } 2.564 -if ${ac_cv_path_PRINTF+:} false; then : 2.565 +if test "${ac_cv_path_PRINTF+set}" = set; then : 2.566 $as_echo_n "(cached) " >&6 2.567 else 2.568 case $PRINTF in 2.569 @@ -5178,7 +5169,7 @@ 2.570 set dummy $ac_prog; ac_word=$2 2.571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.572 $as_echo_n "checking for $ac_word... " >&6; } 2.573 -if ${ac_cv_path_THEPWDCMD+:} false; then : 2.574 +if test "${ac_cv_path_THEPWDCMD+set}" = set; then : 2.575 $as_echo_n "(cached) " >&6 2.576 else 2.577 case $THEPWDCMD in 2.578 @@ -5237,7 +5228,7 @@ 2.579 set dummy $ac_prog; ac_word=$2 2.580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.581 $as_echo_n "checking for $ac_word... " >&6; } 2.582 -if ${ac_cv_path_RM+:} false; then : 2.583 +if test "${ac_cv_path_RM+set}" = set; then : 2.584 $as_echo_n "(cached) " >&6 2.585 else 2.586 case $RM in 2.587 @@ -5296,7 +5287,7 @@ 2.588 set dummy $ac_prog; ac_word=$2 2.589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.590 $as_echo_n "checking for $ac_word... " >&6; } 2.591 -if ${ac_cv_path_SH+:} false; then : 2.592 +if test "${ac_cv_path_SH+set}" = set; then : 2.593 $as_echo_n "(cached) " >&6 2.594 else 2.595 case $SH in 2.596 @@ -5355,7 +5346,7 @@ 2.597 set dummy $ac_prog; ac_word=$2 2.598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.599 $as_echo_n "checking for $ac_word... " >&6; } 2.600 -if ${ac_cv_path_SORT+:} false; then : 2.601 +if test "${ac_cv_path_SORT+set}" = set; then : 2.602 $as_echo_n "(cached) " >&6 2.603 else 2.604 case $SORT in 2.605 @@ -5414,7 +5405,7 @@ 2.606 set dummy $ac_prog; ac_word=$2 2.607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.608 $as_echo_n "checking for $ac_word... " >&6; } 2.609 -if ${ac_cv_path_TAIL+:} false; then : 2.610 +if test "${ac_cv_path_TAIL+set}" = set; then : 2.611 $as_echo_n "(cached) " >&6 2.612 else 2.613 case $TAIL in 2.614 @@ -5473,7 +5464,7 @@ 2.615 set dummy $ac_prog; ac_word=$2 2.616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.617 $as_echo_n "checking for $ac_word... " >&6; } 2.618 -if ${ac_cv_path_TAR+:} false; then : 2.619 +if test "${ac_cv_path_TAR+set}" = set; then : 2.620 $as_echo_n "(cached) " >&6 2.621 else 2.622 case $TAR in 2.623 @@ -5532,7 +5523,7 @@ 2.624 set dummy $ac_prog; ac_word=$2 2.625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.626 $as_echo_n "checking for $ac_word... " >&6; } 2.627 -if ${ac_cv_path_TEE+:} false; then : 2.628 +if test "${ac_cv_path_TEE+set}" = set; then : 2.629 $as_echo_n "(cached) " >&6 2.630 else 2.631 case $TEE in 2.632 @@ -5591,7 +5582,7 @@ 2.633 set dummy $ac_prog; ac_word=$2 2.634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.635 $as_echo_n "checking for $ac_word... " >&6; } 2.636 -if ${ac_cv_path_TOUCH+:} false; then : 2.637 +if test "${ac_cv_path_TOUCH+set}" = set; then : 2.638 $as_echo_n "(cached) " >&6 2.639 else 2.640 case $TOUCH in 2.641 @@ -5650,7 +5641,7 @@ 2.642 set dummy $ac_prog; ac_word=$2 2.643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.644 $as_echo_n "checking for $ac_word... " >&6; } 2.645 -if ${ac_cv_path_TR+:} false; then : 2.646 +if test "${ac_cv_path_TR+set}" = set; then : 2.647 $as_echo_n "(cached) " >&6 2.648 else 2.649 case $TR in 2.650 @@ -5709,7 +5700,7 @@ 2.651 set dummy $ac_prog; ac_word=$2 2.652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.653 $as_echo_n "checking for $ac_word... " >&6; } 2.654 -if ${ac_cv_path_UNAME+:} false; then : 2.655 +if test "${ac_cv_path_UNAME+set}" = set; then : 2.656 $as_echo_n "(cached) " >&6 2.657 else 2.658 case $UNAME in 2.659 @@ -5768,7 +5759,7 @@ 2.660 set dummy $ac_prog; ac_word=$2 2.661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.662 $as_echo_n "checking for $ac_word... " >&6; } 2.663 -if ${ac_cv_path_UNIQ+:} false; then : 2.664 +if test "${ac_cv_path_UNIQ+set}" = set; then : 2.665 $as_echo_n "(cached) " >&6 2.666 else 2.667 case $UNIQ in 2.668 @@ -5827,7 +5818,7 @@ 2.669 set dummy $ac_prog; ac_word=$2 2.670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.671 $as_echo_n "checking for $ac_word... " >&6; } 2.672 -if ${ac_cv_path_WC+:} false; then : 2.673 +if test "${ac_cv_path_WC+set}" = set; then : 2.674 $as_echo_n "(cached) " >&6 2.675 else 2.676 case $WC in 2.677 @@ -5886,7 +5877,7 @@ 2.678 set dummy $ac_prog; ac_word=$2 2.679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.680 $as_echo_n "checking for $ac_word... " >&6; } 2.681 -if ${ac_cv_path_WHICH+:} false; then : 2.682 +if test "${ac_cv_path_WHICH+set}" = set; then : 2.683 $as_echo_n "(cached) " >&6 2.684 else 2.685 case $WHICH in 2.686 @@ -5945,7 +5936,7 @@ 2.687 set dummy $ac_prog; ac_word=$2 2.688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.689 $as_echo_n "checking for $ac_word... " >&6; } 2.690 -if ${ac_cv_path_XARGS+:} false; then : 2.691 +if test "${ac_cv_path_XARGS+set}" = set; then : 2.692 $as_echo_n "(cached) " >&6 2.693 else 2.694 case $XARGS in 2.695 @@ -6005,7 +5996,7 @@ 2.696 set dummy $ac_prog; ac_word=$2 2.697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.698 $as_echo_n "checking for $ac_word... " >&6; } 2.699 -if ${ac_cv_prog_AWK+:} false; then : 2.700 +if test "${ac_cv_prog_AWK+set}" = set; then : 2.701 $as_echo_n "(cached) " >&6 2.702 else 2.703 if test -n "$AWK"; then 2.704 @@ -6055,7 +6046,7 @@ 2.705 2.706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 2.707 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 2.708 -if ${ac_cv_path_GREP+:} false; then : 2.709 +if test "${ac_cv_path_GREP+set}" = set; then : 2.710 $as_echo_n "(cached) " >&6 2.711 else 2.712 if test -z "$GREP"; then 2.713 @@ -6130,7 +6121,7 @@ 2.714 2.715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 2.716 $as_echo_n "checking for egrep... " >&6; } 2.717 -if ${ac_cv_path_EGREP+:} false; then : 2.718 +if test "${ac_cv_path_EGREP+set}" = set; then : 2.719 $as_echo_n "(cached) " >&6 2.720 else 2.721 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 2.722 @@ -6209,7 +6200,7 @@ 2.723 2.724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 2.725 $as_echo_n "checking for fgrep... " >&6; } 2.726 -if ${ac_cv_path_FGREP+:} false; then : 2.727 +if test "${ac_cv_path_FGREP+set}" = set; then : 2.728 $as_echo_n "(cached) " >&6 2.729 else 2.730 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 2.731 @@ -6288,7 +6279,7 @@ 2.732 2.733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 2.734 $as_echo_n "checking for a sed that does not truncate output... " >&6; } 2.735 -if ${ac_cv_path_SED+:} false; then : 2.736 +if test "${ac_cv_path_SED+set}" = set; then : 2.737 $as_echo_n "(cached) " >&6 2.738 else 2.739 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 2.740 @@ -6374,7 +6365,7 @@ 2.741 set dummy $ac_prog; ac_word=$2 2.742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.743 $as_echo_n "checking for $ac_word... " >&6; } 2.744 -if ${ac_cv_path_NAWK+:} false; then : 2.745 +if test "${ac_cv_path_NAWK+set}" = set; then : 2.746 $as_echo_n "(cached) " >&6 2.747 else 2.748 case $NAWK in 2.749 @@ -6434,7 +6425,7 @@ 2.750 set dummy cygpath; ac_word=$2 2.751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.752 $as_echo_n "checking for $ac_word... " >&6; } 2.753 -if ${ac_cv_path_CYGPATH+:} false; then : 2.754 +if test "${ac_cv_path_CYGPATH+set}" = set; then : 2.755 $as_echo_n "(cached) " >&6 2.756 else 2.757 case $CYGPATH in 2.758 @@ -6474,7 +6465,7 @@ 2.759 set dummy readlink; ac_word=$2 2.760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.761 $as_echo_n "checking for $ac_word... " >&6; } 2.762 -if ${ac_cv_path_READLINK+:} false; then : 2.763 +if test "${ac_cv_path_READLINK+set}" = set; then : 2.764 $as_echo_n "(cached) " >&6 2.765 else 2.766 case $READLINK in 2.767 @@ -6514,7 +6505,7 @@ 2.768 set dummy df; ac_word=$2 2.769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.770 $as_echo_n "checking for $ac_word... " >&6; } 2.771 -if ${ac_cv_path_DF+:} false; then : 2.772 +if test "${ac_cv_path_DF+set}" = set; then : 2.773 $as_echo_n "(cached) " >&6 2.774 else 2.775 case $DF in 2.776 @@ -6554,7 +6545,7 @@ 2.777 set dummy SetFile; ac_word=$2 2.778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.779 $as_echo_n "checking for $ac_word... " >&6; } 2.780 -if ${ac_cv_path_SETFILE+:} false; then : 2.781 +if test "${ac_cv_path_SETFILE+set}" = set; then : 2.782 $as_echo_n "(cached) " >&6 2.783 else 2.784 case $SETFILE in 2.785 @@ -6600,7 +6591,7 @@ 2.786 2.787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2.788 $as_echo_n "checking build system type... " >&6; } 2.789 -if ${ac_cv_build+:} false; then : 2.790 +if test "${ac_cv_build+set}" = set; then : 2.791 $as_echo_n "(cached) " >&6 2.792 else 2.793 ac_build_alias=$build_alias 2.794 @@ -6616,7 +6607,7 @@ 2.795 $as_echo "$ac_cv_build" >&6; } 2.796 case $ac_cv_build in 2.797 *-*-*) ;; 2.798 -*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2.799 +*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;; 2.800 esac 2.801 build=$ac_cv_build 2.802 ac_save_IFS=$IFS; IFS='-' 2.803 @@ -6634,7 +6625,7 @@ 2.804 2.805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2.806 $as_echo_n "checking host system type... " >&6; } 2.807 -if ${ac_cv_host+:} false; then : 2.808 +if test "${ac_cv_host+set}" = set; then : 2.809 $as_echo_n "(cached) " >&6 2.810 else 2.811 if test "x$host_alias" = x; then 2.812 @@ -6649,7 +6640,7 @@ 2.813 $as_echo "$ac_cv_host" >&6; } 2.814 case $ac_cv_host in 2.815 *-*-*) ;; 2.816 -*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 2.817 +*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;; 2.818 esac 2.819 host=$ac_cv_host 2.820 ac_save_IFS=$IFS; IFS='-' 2.821 @@ -6667,7 +6658,7 @@ 2.822 2.823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 2.824 $as_echo_n "checking target system type... " >&6; } 2.825 -if ${ac_cv_target+:} false; then : 2.826 +if test "${ac_cv_target+set}" = set; then : 2.827 $as_echo_n "(cached) " >&6 2.828 else 2.829 if test "x$target_alias" = x; then 2.830 @@ -6682,7 +6673,7 @@ 2.831 $as_echo "$ac_cv_target" >&6; } 2.832 case $ac_cv_target in 2.833 *-*-*) ;; 2.834 -*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; 2.835 +*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;; 2.836 esac 2.837 target=$ac_cv_target 2.838 ac_save_IFS=$IFS; IFS='-' 2.839 @@ -6704,1055 +6695,6 @@ 2.840 test "$program_prefix$program_suffix$program_transform_name" = \ 2.841 NONENONEs,x,x, && 2.842 program_prefix=${target_alias}- 2.843 -ac_ext=c 2.844 -ac_cpp='$CPP $CPPFLAGS' 2.845 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2.846 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2.847 -ac_compiler_gnu=$ac_cv_c_compiler_gnu 2.848 -if test -n "$ac_tool_prefix"; then 2.849 - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2.850 -set dummy ${ac_tool_prefix}gcc; ac_word=$2 2.851 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.852 -$as_echo_n "checking for $ac_word... " >&6; } 2.853 -if ${ac_cv_prog_CC+:} false; then : 2.854 - $as_echo_n "(cached) " >&6 2.855 -else 2.856 - if test -n "$CC"; then 2.857 - ac_cv_prog_CC="$CC" # Let the user override the test. 2.858 -else 2.859 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2.860 -for as_dir in $PATH 2.861 -do 2.862 - IFS=$as_save_IFS 2.863 - test -z "$as_dir" && as_dir=. 2.864 - for ac_exec_ext in '' $ac_executable_extensions; do 2.865 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2.866 - ac_cv_prog_CC="${ac_tool_prefix}gcc" 2.867 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2.868 - break 2 2.869 - fi 2.870 -done 2.871 - done 2.872 -IFS=$as_save_IFS 2.873 - 2.874 -fi 2.875 -fi 2.876 -CC=$ac_cv_prog_CC 2.877 -if test -n "$CC"; then 2.878 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2.879 -$as_echo "$CC" >&6; } 2.880 -else 2.881 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2.882 -$as_echo "no" >&6; } 2.883 -fi 2.884 - 2.885 - 2.886 -fi 2.887 -if test -z "$ac_cv_prog_CC"; then 2.888 - ac_ct_CC=$CC 2.889 - # Extract the first word of "gcc", so it can be a program name with args. 2.890 -set dummy gcc; ac_word=$2 2.891 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.892 -$as_echo_n "checking for $ac_word... " >&6; } 2.893 -if ${ac_cv_prog_ac_ct_CC+:} false; then : 2.894 - $as_echo_n "(cached) " >&6 2.895 -else 2.896 - if test -n "$ac_ct_CC"; then 2.897 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2.898 -else 2.899 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2.900 -for as_dir in $PATH 2.901 -do 2.902 - IFS=$as_save_IFS 2.903 - test -z "$as_dir" && as_dir=. 2.904 - for ac_exec_ext in '' $ac_executable_extensions; do 2.905 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2.906 - ac_cv_prog_ac_ct_CC="gcc" 2.907 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2.908 - break 2 2.909 - fi 2.910 -done 2.911 - done 2.912 -IFS=$as_save_IFS 2.913 - 2.914 -fi 2.915 -fi 2.916 -ac_ct_CC=$ac_cv_prog_ac_ct_CC 2.917 -if test -n "$ac_ct_CC"; then 2.918 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2.919 -$as_echo "$ac_ct_CC" >&6; } 2.920 -else 2.921 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2.922 -$as_echo "no" >&6; } 2.923 -fi 2.924 - 2.925 - if test "x$ac_ct_CC" = x; then 2.926 - CC="" 2.927 - else 2.928 - case $cross_compiling:$ac_tool_warned in 2.929 -yes:) 2.930 -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2.931 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2.932 -ac_tool_warned=yes ;; 2.933 -esac 2.934 - CC=$ac_ct_CC 2.935 - fi 2.936 -else 2.937 - CC="$ac_cv_prog_CC" 2.938 -fi 2.939 - 2.940 -if test -z "$CC"; then 2.941 - if test -n "$ac_tool_prefix"; then 2.942 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2.943 -set dummy ${ac_tool_prefix}cc; ac_word=$2 2.944 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.945 -$as_echo_n "checking for $ac_word... " >&6; } 2.946 -if ${ac_cv_prog_CC+:} false; then : 2.947 - $as_echo_n "(cached) " >&6 2.948 -else 2.949 - if test -n "$CC"; then 2.950 - ac_cv_prog_CC="$CC" # Let the user override the test. 2.951 -else 2.952 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2.953 -for as_dir in $PATH 2.954 -do 2.955 - IFS=$as_save_IFS 2.956 - test -z "$as_dir" && as_dir=. 2.957 - for ac_exec_ext in '' $ac_executable_extensions; do 2.958 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2.959 - ac_cv_prog_CC="${ac_tool_prefix}cc" 2.960 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2.961 - break 2 2.962 - fi 2.963 -done 2.964 - done 2.965 -IFS=$as_save_IFS 2.966 - 2.967 -fi 2.968 -fi 2.969 -CC=$ac_cv_prog_CC 2.970 -if test -n "$CC"; then 2.971 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2.972 -$as_echo "$CC" >&6; } 2.973 -else 2.974 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2.975 -$as_echo "no" >&6; } 2.976 -fi 2.977 - 2.978 - 2.979 - fi 2.980 -fi 2.981 -if test -z "$CC"; then 2.982 - # Extract the first word of "cc", so it can be a program name with args. 2.983 -set dummy cc; ac_word=$2 2.984 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.985 -$as_echo_n "checking for $ac_word... " >&6; } 2.986 -if ${ac_cv_prog_CC+:} false; then : 2.987 - $as_echo_n "(cached) " >&6 2.988 -else 2.989 - if test -n "$CC"; then 2.990 - ac_cv_prog_CC="$CC" # Let the user override the test. 2.991 -else 2.992 - ac_prog_rejected=no 2.993 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2.994 -for as_dir in $PATH 2.995 -do 2.996 - IFS=$as_save_IFS 2.997 - test -z "$as_dir" && as_dir=. 2.998 - for ac_exec_ext in '' $ac_executable_extensions; do 2.999 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2.1000 - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2.1001 - ac_prog_rejected=yes 2.1002 - continue 2.1003 - fi 2.1004 - ac_cv_prog_CC="cc" 2.1005 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2.1006 - break 2 2.1007 - fi 2.1008 -done 2.1009 - done 2.1010 -IFS=$as_save_IFS 2.1011 - 2.1012 -if test $ac_prog_rejected = yes; then 2.1013 - # We found a bogon in the path, so make sure we never use it. 2.1014 - set dummy $ac_cv_prog_CC 2.1015 - shift 2.1016 - if test $# != 0; then 2.1017 - # We chose a different compiler from the bogus one. 2.1018 - # However, it has the same basename, so the bogon will be chosen 2.1019 - # first if we set CC to just the basename; use the full file name. 2.1020 - shift 2.1021 - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2.1022 - fi 2.1023 -fi 2.1024 -fi 2.1025 -fi 2.1026 -CC=$ac_cv_prog_CC 2.1027 -if test -n "$CC"; then 2.1028 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2.1029 -$as_echo "$CC" >&6; } 2.1030 -else 2.1031 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2.1032 -$as_echo "no" >&6; } 2.1033 -fi 2.1034 - 2.1035 - 2.1036 -fi 2.1037 -if test -z "$CC"; then 2.1038 - if test -n "$ac_tool_prefix"; then 2.1039 - for ac_prog in cl.exe 2.1040 - do 2.1041 - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2.1042 -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2.1043 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.1044 -$as_echo_n "checking for $ac_word... " >&6; } 2.1045 -if ${ac_cv_prog_CC+:} false; then : 2.1046 - $as_echo_n "(cached) " >&6 2.1047 -else 2.1048 - if test -n "$CC"; then 2.1049 - ac_cv_prog_CC="$CC" # Let the user override the test. 2.1050 -else 2.1051 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2.1052 -for as_dir in $PATH 2.1053 -do 2.1054 - IFS=$as_save_IFS 2.1055 - test -z "$as_dir" && as_dir=. 2.1056 - for ac_exec_ext in '' $ac_executable_extensions; do 2.1057 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2.1058 - ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2.1059 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2.1060 - break 2 2.1061 - fi 2.1062 -done 2.1063 - done 2.1064 -IFS=$as_save_IFS 2.1065 - 2.1066 -fi 2.1067 -fi 2.1068 -CC=$ac_cv_prog_CC 2.1069 -if test -n "$CC"; then 2.1070 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2.1071 -$as_echo "$CC" >&6; } 2.1072 -else 2.1073 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2.1074 -$as_echo "no" >&6; } 2.1075 -fi 2.1076 - 2.1077 - 2.1078 - test -n "$CC" && break 2.1079 - done 2.1080 -fi 2.1081 -if test -z "$CC"; then 2.1082 - ac_ct_CC=$CC 2.1083 - for ac_prog in cl.exe 2.1084 -do 2.1085 - # Extract the first word of "$ac_prog", so it can be a program name with args. 2.1086 -set dummy $ac_prog; ac_word=$2 2.1087 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.1088 -$as_echo_n "checking for $ac_word... " >&6; } 2.1089 -if ${ac_cv_prog_ac_ct_CC+:} false; then : 2.1090 - $as_echo_n "(cached) " >&6 2.1091 -else 2.1092 - if test -n "$ac_ct_CC"; then 2.1093 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2.1094 -else 2.1095 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2.1096 -for as_dir in $PATH 2.1097 -do 2.1098 - IFS=$as_save_IFS 2.1099 - test -z "$as_dir" && as_dir=. 2.1100 - for ac_exec_ext in '' $ac_executable_extensions; do 2.1101 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2.1102 - ac_cv_prog_ac_ct_CC="$ac_prog" 2.1103 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2.1104 - break 2 2.1105 - fi 2.1106 -done 2.1107 - done 2.1108 -IFS=$as_save_IFS 2.1109 - 2.1110 -fi 2.1111 -fi 2.1112 -ac_ct_CC=$ac_cv_prog_ac_ct_CC 2.1113 -if test -n "$ac_ct_CC"; then 2.1114 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2.1115 -$as_echo "$ac_ct_CC" >&6; } 2.1116 -else 2.1117 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2.1118 -$as_echo "no" >&6; } 2.1119 -fi 2.1120 - 2.1121 - 2.1122 - test -n "$ac_ct_CC" && break 2.1123 -done 2.1124 - 2.1125 - if test "x$ac_ct_CC" = x; then 2.1126 - CC="" 2.1127 - else 2.1128 - case $cross_compiling:$ac_tool_warned in 2.1129 -yes:) 2.1130 -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2.1131 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2.1132 -ac_tool_warned=yes ;; 2.1133 -esac 2.1134 - CC=$ac_ct_CC 2.1135 - fi 2.1136 -fi 2.1137 - 2.1138 -fi 2.1139 - 2.1140 - 2.1141 -test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2.1142 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2.1143 -as_fn_error $? "no acceptable C compiler found in \$PATH 2.1144 -See \`config.log' for more details" "$LINENO" 5; } 2.1145 - 2.1146 -# Provide some information about the compiler. 2.1147 -$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2.1148 -set X $ac_compile 2.1149 -ac_compiler=$2 2.1150 -for ac_option in --version -v -V -qversion; do 2.1151 - { { ac_try="$ac_compiler $ac_option >&5" 2.1152 -case "(($ac_try" in 2.1153 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2.1154 - *) ac_try_echo=$ac_try;; 2.1155 -esac 2.1156 -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2.1157 -$as_echo "$ac_try_echo"; } >&5 2.1158 - (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2.1159 - ac_status=$? 2.1160 - if test -s conftest.err; then 2.1161 - sed '10a\ 2.1162 -... rest of stderr output deleted ... 2.1163 - 10q' conftest.err >conftest.er1 2.1164 - cat conftest.er1 >&5 2.1165 - fi 2.1166 - rm -f conftest.er1 conftest.err 2.1167 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2.1168 - test $ac_status = 0; } 2.1169 -done 2.1170 - 2.1171 -cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2.1172 -/* end confdefs.h. */ 2.1173 - 2.1174 -int 2.1175 -main () 2.1176 -{ 2.1177 - 2.1178 - ; 2.1179 - return 0; 2.1180 -} 2.1181 -_ACEOF 2.1182 -ac_clean_files_save=$ac_clean_files 2.1183 -ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2.1184 -# Try to create an executable without -o first, disregard a.out. 2.1185 -# It will help us diagnose broken compilers, and finding out an intuition 2.1186 -# of exeext. 2.1187 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2.1188 -$as_echo_n "checking whether the C compiler works... " >&6; } 2.1189 -ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2.1190 - 2.1191 -# The possible output files: 2.1192 -ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2.1193 - 2.1194 -ac_rmfiles= 2.1195 -for ac_file in $ac_files 2.1196 -do 2.1197 - case $ac_file in 2.1198 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2.1199 - * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2.1200 - esac 2.1201 -done 2.1202 -rm -f $ac_rmfiles 2.1203 - 2.1204 -if { { ac_try="$ac_link_default" 2.1205 -case "(($ac_try" in 2.1206 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2.1207 - *) ac_try_echo=$ac_try;; 2.1208 -esac 2.1209 -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2.1210 -$as_echo "$ac_try_echo"; } >&5 2.1211 - (eval "$ac_link_default") 2>&5 2.1212 - ac_status=$? 2.1213 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2.1214 - test $ac_status = 0; }; then : 2.1215 - # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2.1216 -# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2.1217 -# in a Makefile. We should not override ac_cv_exeext if it was cached, 2.1218 -# so that the user can short-circuit this test for compilers unknown to 2.1219 -# Autoconf. 2.1220 -for ac_file in $ac_files '' 2.1221 -do 2.1222 - test -f "$ac_file" || continue 2.1223 - case $ac_file in 2.1224 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2.1225 - ;; 2.1226 - [ab].out ) 2.1227 - # We found the default executable, but exeext='' is most 2.1228 - # certainly right. 2.1229 - break;; 2.1230 - *.* ) 2.1231 - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2.1232 - then :; else 2.1233 - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2.1234 - fi 2.1235 - # We set ac_cv_exeext here because the later test for it is not 2.1236 - # safe: cross compilers may not add the suffix if given an `-o' 2.1237 - # argument, so we may need to know it at that point already. 2.1238 - # Even if this section looks crufty: it has the advantage of 2.1239 - # actually working. 2.1240 - break;; 2.1241 - * ) 2.1242 - break;; 2.1243 - esac 2.1244 -done 2.1245 -test "$ac_cv_exeext" = no && ac_cv_exeext= 2.1246 - 2.1247 -else 2.1248 - ac_file='' 2.1249 -fi 2.1250 -if test -z "$ac_file"; then : 2.1251 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2.1252 -$as_echo "no" >&6; } 2.1253 -$as_echo "$as_me: failed program was:" >&5 2.1254 -sed 's/^/| /' conftest.$ac_ext >&5 2.1255 - 2.1256 -{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2.1257 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2.1258 -as_fn_error 77 "C compiler cannot create executables 2.1259 -See \`config.log' for more details" "$LINENO" 5; } 2.1260 -else 2.1261 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2.1262 -$as_echo "yes" >&6; } 2.1263 -fi 2.1264 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2.1265 -$as_echo_n "checking for C compiler default output file name... " >&6; } 2.1266 -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2.1267 -$as_echo "$ac_file" >&6; } 2.1268 -ac_exeext=$ac_cv_exeext 2.1269 - 2.1270 -rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2.1271 -ac_clean_files=$ac_clean_files_save 2.1272 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2.1273 -$as_echo_n "checking for suffix of executables... " >&6; } 2.1274 -if { { ac_try="$ac_link" 2.1275 -case "(($ac_try" in 2.1276 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2.1277 - *) ac_try_echo=$ac_try;; 2.1278 -esac 2.1279 -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2.1280 -$as_echo "$ac_try_echo"; } >&5 2.1281 - (eval "$ac_link") 2>&5 2.1282 - ac_status=$? 2.1283 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2.1284 - test $ac_status = 0; }; then : 2.1285 - # If both `conftest.exe' and `conftest' are `present' (well, observable) 2.1286 -# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2.1287 -# work properly (i.e., refer to `conftest.exe'), while it won't with 2.1288 -# `rm'. 2.1289 -for ac_file in conftest.exe conftest conftest.*; do 2.1290 - test -f "$ac_file" || continue 2.1291 - case $ac_file in 2.1292 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2.1293 - *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2.1294 - break;; 2.1295 - * ) break;; 2.1296 - esac 2.1297 -done 2.1298 -else 2.1299 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2.1300 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2.1301 -as_fn_error $? "cannot compute suffix of executables: cannot compile and link 2.1302 -See \`config.log' for more details" "$LINENO" 5; } 2.1303 -fi 2.1304 -rm -f conftest conftest$ac_cv_exeext 2.1305 -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2.1306 -$as_echo "$ac_cv_exeext" >&6; } 2.1307 - 2.1308 -rm -f conftest.$ac_ext 2.1309 -EXEEXT=$ac_cv_exeext 2.1310 -ac_exeext=$EXEEXT 2.1311 -cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2.1312 -/* end confdefs.h. */ 2.1313 -#include <stdio.h> 2.1314 -int 2.1315 -main () 2.1316 -{ 2.1317 -FILE *f = fopen ("conftest.out", "w"); 2.1318 - return ferror (f) || fclose (f) != 0; 2.1319 - 2.1320 - ; 2.1321 - return 0; 2.1322 -} 2.1323 -_ACEOF 2.1324 -ac_clean_files="$ac_clean_files conftest.out" 2.1325 -# Check that the compiler produces executables we can run. If not, either 2.1326 -# the compiler is broken, or we cross compile. 2.1327 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2.1328 -$as_echo_n "checking whether we are cross compiling... " >&6; } 2.1329 -if test "$cross_compiling" != yes; then 2.1330 - { { ac_try="$ac_link" 2.1331 -case "(($ac_try" in 2.1332 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2.1333 - *) ac_try_echo=$ac_try;; 2.1334 -esac 2.1335 -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2.1336 -$as_echo "$ac_try_echo"; } >&5 2.1337 - (eval "$ac_link") 2>&5 2.1338 - ac_status=$? 2.1339 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2.1340 - test $ac_status = 0; } 2.1341 - if { ac_try='./conftest$ac_cv_exeext' 2.1342 - { { case "(($ac_try" in 2.1343 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2.1344 - *) ac_try_echo=$ac_try;; 2.1345 -esac 2.1346 -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2.1347 -$as_echo "$ac_try_echo"; } >&5 2.1348 - (eval "$ac_try") 2>&5 2.1349 - ac_status=$? 2.1350 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2.1351 - test $ac_status = 0; }; }; then 2.1352 - cross_compiling=no 2.1353 - else 2.1354 - if test "$cross_compiling" = maybe; then 2.1355 - cross_compiling=yes 2.1356 - else 2.1357 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2.1358 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2.1359 -as_fn_error $? "cannot run C compiled programs. 2.1360 -If you meant to cross compile, use \`--host'. 2.1361 -See \`config.log' for more details" "$LINENO" 5; } 2.1362 - fi 2.1363 - fi 2.1364 -fi 2.1365 -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2.1366 -$as_echo "$cross_compiling" >&6; } 2.1367 - 2.1368 -rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 2.1369 -ac_clean_files=$ac_clean_files_save 2.1370 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2.1371 -$as_echo_n "checking for suffix of object files... " >&6; } 2.1372 -if ${ac_cv_objext+:} false; then : 2.1373 - $as_echo_n "(cached) " >&6 2.1374 -else 2.1375 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2.1376 -/* end confdefs.h. */ 2.1377 - 2.1378 -int 2.1379 -main () 2.1380 -{ 2.1381 - 2.1382 - ; 2.1383 - return 0; 2.1384 -} 2.1385 -_ACEOF 2.1386 -rm -f conftest.o conftest.obj 2.1387 -if { { ac_try="$ac_compile" 2.1388 -case "(($ac_try" in 2.1389 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2.1390 - *) ac_try_echo=$ac_try;; 2.1391 -esac 2.1392 -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2.1393 -$as_echo "$ac_try_echo"; } >&5 2.1394 - (eval "$ac_compile") 2>&5 2.1395 - ac_status=$? 2.1396 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2.1397 - test $ac_status = 0; }; then : 2.1398 - for ac_file in conftest.o conftest.obj conftest.*; do 2.1399 - test -f "$ac_file" || continue; 2.1400 - case $ac_file in 2.1401 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2.1402 - *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2.1403 - break;; 2.1404 - esac 2.1405 -done 2.1406 -else 2.1407 - $as_echo "$as_me: failed program was:" >&5 2.1408 -sed 's/^/| /' conftest.$ac_ext >&5 2.1409 - 2.1410 -{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2.1411 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2.1412 -as_fn_error $? "cannot compute suffix of object files: cannot compile 2.1413 -See \`config.log' for more details" "$LINENO" 5; } 2.1414 -fi 2.1415 -rm -f conftest.$ac_cv_objext conftest.$ac_ext 2.1416 -fi 2.1417 -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2.1418 -$as_echo "$ac_cv_objext" >&6; } 2.1419 -OBJEXT=$ac_cv_objext 2.1420 -ac_objext=$OBJEXT 2.1421 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2.1422 -$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2.1423 -if ${ac_cv_c_compiler_gnu+:} false; then : 2.1424 - $as_echo_n "(cached) " >&6 2.1425 -else 2.1426 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2.1427 -/* end confdefs.h. */ 2.1428 - 2.1429 -int 2.1430 -main () 2.1431 -{ 2.1432 -#ifndef __GNUC__ 2.1433 - choke me 2.1434 -#endif 2.1435 - 2.1436 - ; 2.1437 - return 0; 2.1438 -} 2.1439 -_ACEOF 2.1440 -if ac_fn_c_try_compile "$LINENO"; then : 2.1441 - ac_compiler_gnu=yes 2.1442 -else 2.1443 - ac_compiler_gnu=no 2.1444 -fi 2.1445 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2.1446 -ac_cv_c_compiler_gnu=$ac_compiler_gnu 2.1447 - 2.1448 -fi 2.1449 -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 2.1450 -$as_echo "$ac_cv_c_compiler_gnu" >&6; } 2.1451 -if test $ac_compiler_gnu = yes; then 2.1452 - GCC=yes 2.1453 -else 2.1454 - GCC= 2.1455 -fi 2.1456 -ac_test_CFLAGS=${CFLAGS+set} 2.1457 -ac_save_CFLAGS=$CFLAGS 2.1458 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 2.1459 -$as_echo_n "checking whether $CC accepts -g... " >&6; } 2.1460 -if ${ac_cv_prog_cc_g+:} false; then : 2.1461 - $as_echo_n "(cached) " >&6 2.1462 -else 2.1463 - ac_save_c_werror_flag=$ac_c_werror_flag 2.1464 - ac_c_werror_flag=yes 2.1465 - ac_cv_prog_cc_g=no 2.1466 - CFLAGS="-g" 2.1467 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2.1468 -/* end confdefs.h. */ 2.1469 - 2.1470 -int 2.1471 -main () 2.1472 -{ 2.1473 - 2.1474 - ; 2.1475 - return 0; 2.1476 -} 2.1477 -_ACEOF 2.1478 -if ac_fn_c_try_compile "$LINENO"; then : 2.1479 - ac_cv_prog_cc_g=yes 2.1480 -else 2.1481 - CFLAGS="" 2.1482 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2.1483 -/* end confdefs.h. */ 2.1484 - 2.1485 -int 2.1486 -main () 2.1487 -{ 2.1488 - 2.1489 - ; 2.1490 - return 0; 2.1491 -} 2.1492 -_ACEOF 2.1493 -if ac_fn_c_try_compile "$LINENO"; then : 2.1494 - 2.1495 -else 2.1496 - ac_c_werror_flag=$ac_save_c_werror_flag 2.1497 - CFLAGS="-g" 2.1498 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2.1499 -/* end confdefs.h. */ 2.1500 - 2.1501 -int 2.1502 -main () 2.1503 -{ 2.1504 - 2.1505 - ; 2.1506 - return 0; 2.1507 -} 2.1508 -_ACEOF 2.1509 -if ac_fn_c_try_compile "$LINENO"; then : 2.1510 - ac_cv_prog_cc_g=yes 2.1511 -fi 2.1512 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2.1513 -fi 2.1514 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2.1515 -fi 2.1516 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2.1517 - ac_c_werror_flag=$ac_save_c_werror_flag 2.1518 -fi 2.1519 -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 2.1520 -$as_echo "$ac_cv_prog_cc_g" >&6; } 2.1521 -if test "$ac_test_CFLAGS" = set; then 2.1522 - CFLAGS=$ac_save_CFLAGS 2.1523 -elif test $ac_cv_prog_cc_g = yes; then 2.1524 - if test "$GCC" = yes; then 2.1525 - CFLAGS="-g -O2" 2.1526 - else 2.1527 - CFLAGS="-g" 2.1528 - fi 2.1529 -else 2.1530 - if test "$GCC" = yes; then 2.1531 - CFLAGS="-O2" 2.1532 - else 2.1533 - CFLAGS= 2.1534 - fi 2.1535 -fi 2.1536 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 2.1537 -$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 2.1538 -if ${ac_cv_prog_cc_c89+:} false; then : 2.1539 - $as_echo_n "(cached) " >&6 2.1540 -else 2.1541 - ac_cv_prog_cc_c89=no 2.1542 -ac_save_CC=$CC 2.1543 -cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2.1544 -/* end confdefs.h. */ 2.1545 -#include <stdarg.h> 2.1546 -#include <stdio.h> 2.1547 -#include <sys/types.h> 2.1548 -#include <sys/stat.h> 2.1549 -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2.1550 -struct buf { int x; }; 2.1551 -FILE * (*rcsopen) (struct buf *, struct stat *, int); 2.1552 -static char *e (p, i) 2.1553 - char **p; 2.1554 - int i; 2.1555 -{ 2.1556 - return p[i]; 2.1557 -} 2.1558 -static char *f (char * (*g) (char **, int), char **p, ...) 2.1559 -{ 2.1560 - char *s; 2.1561 - va_list v; 2.1562 - va_start (v,p); 2.1563 - s = g (p, va_arg (v,int)); 2.1564 - va_end (v); 2.1565 - return s; 2.1566 -} 2.1567 - 2.1568 -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2.1569 - function prototypes and stuff, but not '\xHH' hex character constants. 2.1570 - These don't provoke an error unfortunately, instead are silently treated 2.1571 - as 'x'. The following induces an error, until -std is added to get 2.1572 - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2.1573 - array size at least. It's necessary to write '\x00'==0 to get something 2.1574 - that's true only with -std. */ 2.1575 -int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2.1576 - 2.1577 -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 2.1578 - inside strings and character constants. */ 2.1579 -#define FOO(x) 'x' 2.1580 -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2.1581 - 2.1582 -int test (int i, double x); 2.1583 -struct s1 {int (*f) (int a);}; 2.1584 -struct s2 {int (*f) (double a);}; 2.1585 -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2.1586 -int argc; 2.1587 -char **argv; 2.1588 -int 2.1589 -main () 2.1590 -{ 2.1591 -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2.1592 - ; 2.1593 - return 0; 2.1594 -} 2.1595 -_ACEOF 2.1596 -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 2.1597 - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2.1598 -do 2.1599 - CC="$ac_save_CC $ac_arg" 2.1600 - if ac_fn_c_try_compile "$LINENO"; then : 2.1601 - ac_cv_prog_cc_c89=$ac_arg 2.1602 -fi 2.1603 -rm -f core conftest.err conftest.$ac_objext 2.1604 - test "x$ac_cv_prog_cc_c89" != "xno" && break 2.1605 -done 2.1606 -rm -f conftest.$ac_ext 2.1607 -CC=$ac_save_CC 2.1608 - 2.1609 -fi 2.1610 -# AC_CACHE_VAL 2.1611 -case "x$ac_cv_prog_cc_c89" in 2.1612 - x) 2.1613 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 2.1614 -$as_echo "none needed" >&6; } ;; 2.1615 - xno) 2.1616 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 2.1617 -$as_echo "unsupported" >&6; } ;; 2.1618 - *) 2.1619 - CC="$CC $ac_cv_prog_cc_c89" 2.1620 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 2.1621 -$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 2.1622 -esac 2.1623 -if test "x$ac_cv_prog_cc_c89" != xno; then : 2.1624 - 2.1625 -fi 2.1626 - 2.1627 -ac_ext=c 2.1628 -ac_cpp='$CPP $CPPFLAGS' 2.1629 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2.1630 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2.1631 -ac_compiler_gnu=$ac_cv_c_compiler_gnu 2.1632 - 2.1633 - 2.1634 -ac_ext=cpp 2.1635 -ac_cpp='$CXXCPP $CPPFLAGS' 2.1636 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2.1637 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2.1638 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2.1639 -if test -z "$CXX"; then 2.1640 - if test -n "$CCC"; then 2.1641 - CXX=$CCC 2.1642 - else 2.1643 - if test -n "$ac_tool_prefix"; then 2.1644 - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2.1645 - do 2.1646 - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2.1647 -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2.1648 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.1649 -$as_echo_n "checking for $ac_word... " >&6; } 2.1650 -if ${ac_cv_prog_CXX+:} false; then : 2.1651 - $as_echo_n "(cached) " >&6 2.1652 -else 2.1653 - if test -n "$CXX"; then 2.1654 - ac_cv_prog_CXX="$CXX" # Let the user override the test. 2.1655 -else 2.1656 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2.1657 -for as_dir in $PATH 2.1658 -do 2.1659 - IFS=$as_save_IFS 2.1660 - test -z "$as_dir" && as_dir=. 2.1661 - for ac_exec_ext in '' $ac_executable_extensions; do 2.1662 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2.1663 - ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2.1664 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2.1665 - break 2 2.1666 - fi 2.1667 -done 2.1668 - done 2.1669 -IFS=$as_save_IFS 2.1670 - 2.1671 -fi 2.1672 -fi 2.1673 -CXX=$ac_cv_prog_CXX 2.1674 -if test -n "$CXX"; then 2.1675 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 2.1676 -$as_echo "$CXX" >&6; } 2.1677 -else 2.1678 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2.1679 -$as_echo "no" >&6; } 2.1680 -fi 2.1681 - 2.1682 - 2.1683 - test -n "$CXX" && break 2.1684 - done 2.1685 -fi 2.1686 -if test -z "$CXX"; then 2.1687 - ac_ct_CXX=$CXX 2.1688 - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2.1689 -do 2.1690 - # Extract the first word of "$ac_prog", so it can be a program name with args. 2.1691 -set dummy $ac_prog; ac_word=$2 2.1692 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.1693 -$as_echo_n "checking for $ac_word... " >&6; } 2.1694 -if ${ac_cv_prog_ac_ct_CXX+:} false; then : 2.1695 - $as_echo_n "(cached) " >&6 2.1696 -else 2.1697 - if test -n "$ac_ct_CXX"; then 2.1698 - ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 2.1699 -else 2.1700 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2.1701 -for as_dir in $PATH 2.1702 -do 2.1703 - IFS=$as_save_IFS 2.1704 - test -z "$as_dir" && as_dir=. 2.1705 - for ac_exec_ext in '' $ac_executable_extensions; do 2.1706 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2.1707 - ac_cv_prog_ac_ct_CXX="$ac_prog" 2.1708 - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2.1709 - break 2 2.1710 - fi 2.1711 -done 2.1712 - done 2.1713 -IFS=$as_save_IFS 2.1714 - 2.1715 -fi 2.1716 -fi 2.1717 -ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2.1718 -if test -n "$ac_ct_CXX"; then 2.1719 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 2.1720 -$as_echo "$ac_ct_CXX" >&6; } 2.1721 -else 2.1722 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2.1723 -$as_echo "no" >&6; } 2.1724 -fi 2.1725 - 2.1726 - 2.1727 - test -n "$ac_ct_CXX" && break 2.1728 -done 2.1729 - 2.1730 - if test "x$ac_ct_CXX" = x; then 2.1731 - CXX="g++" 2.1732 - else 2.1733 - case $cross_compiling:$ac_tool_warned in 2.1734 -yes:) 2.1735 -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2.1736 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2.1737 -ac_tool_warned=yes ;; 2.1738 -esac 2.1739 - CXX=$ac_ct_CXX 2.1740 - fi 2.1741 -fi 2.1742 - 2.1743 - fi 2.1744 -fi 2.1745 -# Provide some information about the compiler. 2.1746 -$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 2.1747 -set X $ac_compile 2.1748 -ac_compiler=$2 2.1749 -for ac_option in --version -v -V -qversion; do 2.1750 - { { ac_try="$ac_compiler $ac_option >&5" 2.1751 -case "(($ac_try" in 2.1752 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2.1753 - *) ac_try_echo=$ac_try;; 2.1754 -esac 2.1755 -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2.1756 -$as_echo "$ac_try_echo"; } >&5 2.1757 - (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2.1758 - ac_status=$? 2.1759 - if test -s conftest.err; then 2.1760 - sed '10a\ 2.1761 -... rest of stderr output deleted ... 2.1762 - 10q' conftest.err >conftest.er1 2.1763 - cat conftest.er1 >&5 2.1764 - fi 2.1765 - rm -f conftest.er1 conftest.err 2.1766 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2.1767 - test $ac_status = 0; } 2.1768 -done 2.1769 - 2.1770 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 2.1771 -$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 2.1772 -if ${ac_cv_cxx_compiler_gnu+:} false; then : 2.1773 - $as_echo_n "(cached) " >&6 2.1774 -else 2.1775 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2.1776 -/* end confdefs.h. */ 2.1777 - 2.1778 -int 2.1779 -main () 2.1780 -{ 2.1781 -#ifndef __GNUC__ 2.1782 - choke me 2.1783 -#endif 2.1784 - 2.1785 - ; 2.1786 - return 0; 2.1787 -} 2.1788 -_ACEOF 2.1789 -if ac_fn_cxx_try_compile "$LINENO"; then : 2.1790 - ac_compiler_gnu=yes 2.1791 -else 2.1792 - ac_compiler_gnu=no 2.1793 -fi 2.1794 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2.1795 -ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 2.1796 - 2.1797 -fi 2.1798 -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 2.1799 -$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 2.1800 -if test $ac_compiler_gnu = yes; then 2.1801 - GXX=yes 2.1802 -else 2.1803 - GXX= 2.1804 -fi 2.1805 -ac_test_CXXFLAGS=${CXXFLAGS+set} 2.1806 -ac_save_CXXFLAGS=$CXXFLAGS 2.1807 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 2.1808 -$as_echo_n "checking whether $CXX accepts -g... " >&6; } 2.1809 -if ${ac_cv_prog_cxx_g+:} false; then : 2.1810 - $as_echo_n "(cached) " >&6 2.1811 -else 2.1812 - ac_save_cxx_werror_flag=$ac_cxx_werror_flag 2.1813 - ac_cxx_werror_flag=yes 2.1814 - ac_cv_prog_cxx_g=no 2.1815 - CXXFLAGS="-g" 2.1816 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2.1817 -/* end confdefs.h. */ 2.1818 - 2.1819 -int 2.1820 -main () 2.1821 -{ 2.1822 - 2.1823 - ; 2.1824 - return 0; 2.1825 -} 2.1826 -_ACEOF 2.1827 -if ac_fn_cxx_try_compile "$LINENO"; then : 2.1828 - ac_cv_prog_cxx_g=yes 2.1829 -else 2.1830 - CXXFLAGS="" 2.1831 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2.1832 -/* end confdefs.h. */ 2.1833 - 2.1834 -int 2.1835 -main () 2.1836 -{ 2.1837 - 2.1838 - ; 2.1839 - return 0; 2.1840 -} 2.1841 -_ACEOF 2.1842 -if ac_fn_cxx_try_compile "$LINENO"; then : 2.1843 - 2.1844 -else 2.1845 - ac_cxx_werror_flag=$ac_save_cxx_werror_flag 2.1846 - CXXFLAGS="-g" 2.1847 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2.1848 -/* end confdefs.h. */ 2.1849 - 2.1850 -int 2.1851 -main () 2.1852 -{ 2.1853 - 2.1854 - ; 2.1855 - return 0; 2.1856 -} 2.1857 -_ACEOF 2.1858 -if ac_fn_cxx_try_compile "$LINENO"; then : 2.1859 - ac_cv_prog_cxx_g=yes 2.1860 -fi 2.1861 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2.1862 -fi 2.1863 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2.1864 -fi 2.1865 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2.1866 - ac_cxx_werror_flag=$ac_save_cxx_werror_flag 2.1867 -fi 2.1868 -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 2.1869 -$as_echo "$ac_cv_prog_cxx_g" >&6; } 2.1870 -if test "$ac_test_CXXFLAGS" = set; then 2.1871 - CXXFLAGS=$ac_save_CXXFLAGS 2.1872 -elif test $ac_cv_prog_cxx_g = yes; then 2.1873 - if test "$GXX" = yes; then 2.1874 - CXXFLAGS="-g -O2" 2.1875 - else 2.1876 - CXXFLAGS="-g" 2.1877 - fi 2.1878 -else 2.1879 - if test "$GXX" = yes; then 2.1880 - CXXFLAGS="-O2" 2.1881 - else 2.1882 - CXXFLAGS= 2.1883 - fi 2.1884 -fi 2.1885 -ac_ext=cpp 2.1886 -ac_cpp='$CXXCPP $CPPFLAGS' 2.1887 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2.1888 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2.1889 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2.1890 - 2.1891 - 2.1892 2.1893 # Figure out the build and target systems. # Note that in autoconf terminology, "build" is obvious, but "target" 2.1894 # is confusing; it assumes you are cross-compiling a cross-compiler (!) and "target" is thus the target of the 2.1895 @@ -8167,86 +7109,6 @@ 2.1896 fi 2.1897 2.1898 2.1899 - # Some Zero and Shark settings. 2.1900 - # ZERO_ARCHFLAG tells the compiler which mode to build for 2.1901 - case "${OPENJDK_TARGET_CPU}" in 2.1902 - s390) 2.1903 - ZERO_ARCHFLAG="-m31" 2.1904 - ;; 2.1905 - *) 2.1906 - ZERO_ARCHFLAG="-m${OPENJDK_TARGET_CPU_BITS}" 2.1907 - esac 2.1908 - 2.1909 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports \"$ZERO_ARCHFLAG\"" >&5 2.1910 -$as_echo_n "checking if compiler supports \"$ZERO_ARCHFLAG\"... " >&6; } 2.1911 - supports=yes 2.1912 - 2.1913 - saved_cflags="$CFLAGS" 2.1914 - CFLAGS="$CFLAGS $ZERO_ARCHFLAG" 2.1915 - ac_ext=c 2.1916 -ac_cpp='$CPP $CPPFLAGS' 2.1917 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2.1918 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2.1919 -ac_compiler_gnu=$ac_cv_c_compiler_gnu 2.1920 - 2.1921 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2.1922 -/* end confdefs.h. */ 2.1923 - 2.1924 - int i; 2.1925 - 2.1926 -_ACEOF 2.1927 -if ac_fn_c_try_compile "$LINENO"; then : 2.1928 - 2.1929 -else 2.1930 - supports=no 2.1931 -fi 2.1932 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2.1933 - ac_ext=c 2.1934 -ac_cpp='$CPP $CPPFLAGS' 2.1935 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2.1936 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2.1937 -ac_compiler_gnu=$ac_cv_c_compiler_gnu 2.1938 - 2.1939 - CFLAGS="$saved_cflags" 2.1940 - 2.1941 - saved_cxxflags="$CXXFLAGS" 2.1942 - CXXFLAGS="$CXXFLAG $ZERO_ARCHFLAG" 2.1943 - ac_ext=cpp 2.1944 -ac_cpp='$CXXCPP $CPPFLAGS' 2.1945 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2.1946 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2.1947 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2.1948 - 2.1949 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2.1950 -/* end confdefs.h. */ 2.1951 - 2.1952 - int i; 2.1953 - 2.1954 -_ACEOF 2.1955 -if ac_fn_cxx_try_compile "$LINENO"; then : 2.1956 - 2.1957 -else 2.1958 - supports=no 2.1959 -fi 2.1960 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2.1961 - ac_ext=c 2.1962 -ac_cpp='$CPP $CPPFLAGS' 2.1963 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2.1964 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2.1965 -ac_compiler_gnu=$ac_cv_c_compiler_gnu 2.1966 - 2.1967 - CXXFLAGS="$saved_cxxflags" 2.1968 - 2.1969 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supports" >&5 2.1970 -$as_echo "$supports" >&6; } 2.1971 - if test "x$supports" = "xyes" ; then 2.1972 - : 2.1973 - else 2.1974 - ZERO_ARCHFLAG="" 2.1975 - fi 2.1976 - 2.1977 - 2.1978 - 2.1979 # ZERO_ARCHDEF is used to enable architecture-specific code 2.1980 case "${OPENJDK_TARGET_CPU}" in 2.1981 ppc*) ZERO_ARCHDEF=PPC ;; 2.1982 @@ -9298,7 +8160,7 @@ 2.1983 set dummy $ac_prog; ac_word=$2 2.1984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.1985 $as_echo_n "checking for $ac_word... " >&6; } 2.1986 -if ${ac_cv_prog_PKGHANDLER+:} false; then : 2.1987 +if test "${ac_cv_prog_PKGHANDLER+set}" = set; then : 2.1988 $as_echo_n "(cached) " >&6 2.1989 else 2.1990 if test -n "$PKGHANDLER"; then 2.1991 @@ -9663,7 +8525,7 @@ 2.1992 set dummy $ac_prog; ac_word=$2 2.1993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.1994 $as_echo_n "checking for $ac_word... " >&6; } 2.1995 -if ${ac_cv_path_CHECK_GMAKE+:} false; then : 2.1996 +if test "${ac_cv_path_CHECK_GMAKE+set}" = set; then : 2.1997 $as_echo_n "(cached) " >&6 2.1998 else 2.1999 case $CHECK_GMAKE in 2.2000 @@ -10017,7 +8879,7 @@ 2.2001 set dummy $ac_prog; ac_word=$2 2.2002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2003 $as_echo_n "checking for $ac_word... " >&6; } 2.2004 -if ${ac_cv_path_CHECK_MAKE+:} false; then : 2.2005 +if test "${ac_cv_path_CHECK_MAKE+set}" = set; then : 2.2006 $as_echo_n "(cached) " >&6 2.2007 else 2.2008 case $CHECK_MAKE in 2.2009 @@ -10376,7 +9238,7 @@ 2.2010 set dummy $ac_prog; ac_word=$2 2.2011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2012 $as_echo_n "checking for $ac_word... " >&6; } 2.2013 -if ${ac_cv_path_CHECK_TOOLSDIR_GMAKE+:} false; then : 2.2014 +if test "${ac_cv_path_CHECK_TOOLSDIR_GMAKE+set}" = set; then : 2.2015 $as_echo_n "(cached) " >&6 2.2016 else 2.2017 case $CHECK_TOOLSDIR_GMAKE in 2.2018 @@ -10729,7 +9591,7 @@ 2.2019 set dummy $ac_prog; ac_word=$2 2.2020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2021 $as_echo_n "checking for $ac_word... " >&6; } 2.2022 -if ${ac_cv_path_CHECK_TOOLSDIR_MAKE+:} false; then : 2.2023 +if test "${ac_cv_path_CHECK_TOOLSDIR_MAKE+set}" = set; then : 2.2024 $as_echo_n "(cached) " >&6 2.2025 else 2.2026 case $CHECK_TOOLSDIR_MAKE in 2.2027 @@ -11125,7 +9987,7 @@ 2.2028 set dummy $ac_prog; ac_word=$2 2.2029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2030 $as_echo_n "checking for $ac_word... " >&6; } 2.2031 -if ${ac_cv_path_UNZIP+:} false; then : 2.2032 +if test "${ac_cv_path_UNZIP+set}" = set; then : 2.2033 $as_echo_n "(cached) " >&6 2.2034 else 2.2035 case $UNZIP in 2.2036 @@ -11184,7 +10046,7 @@ 2.2037 set dummy $ac_prog; ac_word=$2 2.2038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2039 $as_echo_n "checking for $ac_word... " >&6; } 2.2040 -if ${ac_cv_path_ZIP+:} false; then : 2.2041 +if test "${ac_cv_path_ZIP+set}" = set; then : 2.2042 $as_echo_n "(cached) " >&6 2.2043 else 2.2044 case $ZIP in 2.2045 @@ -11243,7 +10105,7 @@ 2.2046 set dummy ldd; ac_word=$2 2.2047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2048 $as_echo_n "checking for $ac_word... " >&6; } 2.2049 -if ${ac_cv_path_LDD+:} false; then : 2.2050 +if test "${ac_cv_path_LDD+set}" = set; then : 2.2051 $as_echo_n "(cached) " >&6 2.2052 else 2.2053 case $LDD in 2.2054 @@ -11289,7 +10151,7 @@ 2.2055 set dummy otool; ac_word=$2 2.2056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2057 $as_echo_n "checking for $ac_word... " >&6; } 2.2058 -if ${ac_cv_path_OTOOL+:} false; then : 2.2059 +if test "${ac_cv_path_OTOOL+set}" = set; then : 2.2060 $as_echo_n "(cached) " >&6 2.2061 else 2.2062 case $OTOOL in 2.2063 @@ -11334,7 +10196,7 @@ 2.2064 set dummy $ac_prog; ac_word=$2 2.2065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2066 $as_echo_n "checking for $ac_word... " >&6; } 2.2067 -if ${ac_cv_path_READELF+:} false; then : 2.2068 +if test "${ac_cv_path_READELF+set}" = set; then : 2.2069 $as_echo_n "(cached) " >&6 2.2070 else 2.2071 case $READELF in 2.2072 @@ -11377,7 +10239,7 @@ 2.2073 set dummy hg; ac_word=$2 2.2074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2075 $as_echo_n "checking for $ac_word... " >&6; } 2.2076 -if ${ac_cv_path_HG+:} false; then : 2.2077 +if test "${ac_cv_path_HG+set}" = set; then : 2.2078 $as_echo_n "(cached) " >&6 2.2079 else 2.2080 case $HG in 2.2081 @@ -11417,7 +10279,7 @@ 2.2082 set dummy stat; ac_word=$2 2.2083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2084 $as_echo_n "checking for $ac_word... " >&6; } 2.2085 -if ${ac_cv_path_STAT+:} false; then : 2.2086 +if test "${ac_cv_path_STAT+set}" = set; then : 2.2087 $as_echo_n "(cached) " >&6 2.2088 else 2.2089 case $STAT in 2.2090 @@ -11457,7 +10319,7 @@ 2.2091 set dummy time; ac_word=$2 2.2092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2093 $as_echo_n "checking for $ac_word... " >&6; } 2.2094 -if ${ac_cv_path_TIME+:} false; then : 2.2095 +if test "${ac_cv_path_TIME+set}" = set; then : 2.2096 $as_echo_n "(cached) " >&6 2.2097 else 2.2098 case $TIME in 2.2099 @@ -11502,7 +10364,7 @@ 2.2100 set dummy $ac_prog; ac_word=$2 2.2101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2102 $as_echo_n "checking for $ac_word... " >&6; } 2.2103 -if ${ac_cv_path_COMM+:} false; then : 2.2104 +if test "${ac_cv_path_COMM+set}" = set; then : 2.2105 $as_echo_n "(cached) " >&6 2.2106 else 2.2107 case $COMM in 2.2108 @@ -11564,7 +10426,7 @@ 2.2109 set dummy $ac_prog; ac_word=$2 2.2110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2111 $as_echo_n "checking for $ac_word... " >&6; } 2.2112 -if ${ac_cv_path_XATTR+:} false; then : 2.2113 +if test "${ac_cv_path_XATTR+set}" = set; then : 2.2114 $as_echo_n "(cached) " >&6 2.2115 else 2.2116 case $XATTR in 2.2117 @@ -11628,7 +10490,7 @@ 2.2118 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 2.2119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2120 $as_echo_n "checking for $ac_word... " >&6; } 2.2121 -if ${ac_cv_path_PKG_CONFIG+:} false; then : 2.2122 +if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 2.2123 $as_echo_n "(cached) " >&6 2.2124 else 2.2125 case $PKG_CONFIG in 2.2126 @@ -11671,7 +10533,7 @@ 2.2127 set dummy pkg-config; ac_word=$2 2.2128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2129 $as_echo_n "checking for $ac_word... " >&6; } 2.2130 -if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 2.2131 +if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then : 2.2132 $as_echo_n "(cached) " >&6 2.2133 else 2.2134 case $ac_pt_PKG_CONFIG in 2.2135 @@ -11844,7 +10706,7 @@ 2.2136 set dummy $ac_prog; ac_word=$2 2.2137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2138 $as_echo_n "checking for $ac_word... " >&6; } 2.2139 -if ${ac_cv_prog_BDEPS_UNZIP+:} false; then : 2.2140 +if test "${ac_cv_prog_BDEPS_UNZIP+set}" = set; then : 2.2141 $as_echo_n "(cached) " >&6 2.2142 else 2.2143 if test -n "$BDEPS_UNZIP"; then 2.2144 @@ -11890,7 +10752,7 @@ 2.2145 set dummy $ac_prog; ac_word=$2 2.2146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2147 $as_echo_n "checking for $ac_word... " >&6; } 2.2148 -if ${ac_cv_prog_BDEPS_FTP+:} false; then : 2.2149 +if test "${ac_cv_prog_BDEPS_FTP+set}" = set; then : 2.2150 $as_echo_n "(cached) " >&6 2.2151 else 2.2152 if test -n "$BDEPS_FTP"; then 2.2153 @@ -13163,7 +12025,7 @@ 2.2154 set dummy javac; ac_word=$2 2.2155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2156 $as_echo_n "checking for $ac_word... " >&6; } 2.2157 -if ${ac_cv_path_JAVAC_CHECK+:} false; then : 2.2158 +if test "${ac_cv_path_JAVAC_CHECK+set}" = set; then : 2.2159 $as_echo_n "(cached) " >&6 2.2160 else 2.2161 case $JAVAC_CHECK in 2.2162 @@ -13203,7 +12065,7 @@ 2.2163 set dummy java; ac_word=$2 2.2164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2165 $as_echo_n "checking for $ac_word... " >&6; } 2.2166 -if ${ac_cv_path_JAVA_CHECK+:} false; then : 2.2167 +if test "${ac_cv_path_JAVA_CHECK+set}" = set; then : 2.2168 $as_echo_n "(cached) " >&6 2.2169 else 2.2170 case $JAVA_CHECK in 2.2171 @@ -17277,7 +16139,7 @@ 2.2172 set dummy link; ac_word=$2 2.2173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2174 $as_echo_n "checking for $ac_word... " >&6; } 2.2175 -if ${ac_cv_path_CYGWIN_LINK+:} false; then : 2.2176 +if test "${ac_cv_path_CYGWIN_LINK+set}" = set; then : 2.2177 $as_echo_n "(cached) " >&6 2.2178 else 2.2179 case $CYGWIN_LINK in 2.2180 @@ -18692,7 +17554,7 @@ 2.2181 set dummy $ac_prog; ac_word=$2 2.2182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2183 $as_echo_n "checking for $ac_word... " >&6; } 2.2184 -if ${ac_cv_path_BUILD_CC+:} false; then : 2.2185 +if test "${ac_cv_path_BUILD_CC+set}" = set; then : 2.2186 $as_echo_n "(cached) " >&6 2.2187 else 2.2188 case $BUILD_CC in 2.2189 @@ -19003,7 +17865,7 @@ 2.2190 set dummy $ac_prog; ac_word=$2 2.2191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2192 $as_echo_n "checking for $ac_word... " >&6; } 2.2193 -if ${ac_cv_path_BUILD_CXX+:} false; then : 2.2194 +if test "${ac_cv_path_BUILD_CXX+set}" = set; then : 2.2195 $as_echo_n "(cached) " >&6 2.2196 else 2.2197 case $BUILD_CXX in 2.2198 @@ -19312,7 +18174,7 @@ 2.2199 set dummy ld; ac_word=$2 2.2200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2201 $as_echo_n "checking for $ac_word... " >&6; } 2.2202 -if ${ac_cv_path_BUILD_LD+:} false; then : 2.2203 +if test "${ac_cv_path_BUILD_LD+set}" = set; then : 2.2204 $as_echo_n "(cached) " >&6 2.2205 else 2.2206 case $BUILD_LD in 2.2207 @@ -19828,7 +18690,7 @@ 2.2208 set dummy $ac_prog; ac_word=$2 2.2209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2210 $as_echo_n "checking for $ac_word... " >&6; } 2.2211 -if ${ac_cv_path_TOOLS_DIR_CC+:} false; then : 2.2212 +if test "${ac_cv_path_TOOLS_DIR_CC+set}" = set; then : 2.2213 $as_echo_n "(cached) " >&6 2.2214 else 2.2215 case $TOOLS_DIR_CC in 2.2216 @@ -19880,7 +18742,7 @@ 2.2217 set dummy $ac_prog; ac_word=$2 2.2218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2219 $as_echo_n "checking for $ac_word... " >&6; } 2.2220 -if ${ac_cv_path_POTENTIAL_CC+:} false; then : 2.2221 +if test "${ac_cv_path_POTENTIAL_CC+set}" = set; then : 2.2222 $as_echo_n "(cached) " >&6 2.2223 else 2.2224 case $POTENTIAL_CC in 2.2225 @@ -20293,7 +19155,7 @@ 2.2226 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2.2227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2228 $as_echo_n "checking for $ac_word... " >&6; } 2.2229 -if ${ac_cv_prog_PROPER_COMPILER_CC+:} false; then : 2.2230 +if test "${ac_cv_prog_PROPER_COMPILER_CC+set}" = set; then : 2.2231 $as_echo_n "(cached) " >&6 2.2232 else 2.2233 if test -n "$PROPER_COMPILER_CC"; then 2.2234 @@ -20337,7 +19199,7 @@ 2.2235 set dummy $ac_prog; ac_word=$2 2.2236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2237 $as_echo_n "checking for $ac_word... " >&6; } 2.2238 -if ${ac_cv_prog_ac_ct_PROPER_COMPILER_CC+:} false; then : 2.2239 +if test "${ac_cv_prog_ac_ct_PROPER_COMPILER_CC+set}" = set; then : 2.2240 $as_echo_n "(cached) " >&6 2.2241 else 2.2242 if test -n "$ac_ct_PROPER_COMPILER_CC"; then 2.2243 @@ -20787,7 +19649,7 @@ 2.2244 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2.2245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2246 $as_echo_n "checking for $ac_word... " >&6; } 2.2247 -if ${ac_cv_prog_CC+:} false; then : 2.2248 +if test "${ac_cv_prog_CC+set}" = set; then : 2.2249 $as_echo_n "(cached) " >&6 2.2250 else 2.2251 if test -n "$CC"; then 2.2252 @@ -20831,7 +19693,7 @@ 2.2253 set dummy $ac_prog; ac_word=$2 2.2254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2255 $as_echo_n "checking for $ac_word... " >&6; } 2.2256 -if ${ac_cv_prog_ac_ct_CC+:} false; then : 2.2257 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2.2258 $as_echo_n "(cached) " >&6 2.2259 else 2.2260 if test -n "$ac_ct_CC"; then 2.2261 @@ -20884,7 +19746,7 @@ 2.2262 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2.2263 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2.2264 as_fn_error $? "no acceptable C compiler found in \$PATH 2.2265 -See \`config.log' for more details" "$LINENO" 5; } 2.2266 +See \`config.log' for more details" "$LINENO" 5 ; } 2.2267 2.2268 # Provide some information about the compiler. 2.2269 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2.2270 @@ -20911,9 +19773,259 @@ 2.2271 test $ac_status = 0; } 2.2272 done 2.2273 2.2274 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2.2275 +/* end confdefs.h. */ 2.2276 + 2.2277 +int 2.2278 +main () 2.2279 +{ 2.2280 + 2.2281 + ; 2.2282 + return 0; 2.2283 +} 2.2284 +_ACEOF 2.2285 +ac_clean_files_save=$ac_clean_files 2.2286 +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2.2287 +# Try to create an executable without -o first, disregard a.out. 2.2288 +# It will help us diagnose broken compilers, and finding out an intuition 2.2289 +# of exeext. 2.2290 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2.2291 +$as_echo_n "checking whether the C compiler works... " >&6; } 2.2292 +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2.2293 + 2.2294 +# The possible output files: 2.2295 +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2.2296 + 2.2297 +ac_rmfiles= 2.2298 +for ac_file in $ac_files 2.2299 +do 2.2300 + case $ac_file in 2.2301 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2.2302 + * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2.2303 + esac 2.2304 +done 2.2305 +rm -f $ac_rmfiles 2.2306 + 2.2307 +if { { ac_try="$ac_link_default" 2.2308 +case "(($ac_try" in 2.2309 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2.2310 + *) ac_try_echo=$ac_try;; 2.2311 +esac 2.2312 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2.2313 +$as_echo "$ac_try_echo"; } >&5 2.2314 + (eval "$ac_link_default") 2>&5 2.2315 + ac_status=$? 2.2316 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2.2317 + test $ac_status = 0; }; then : 2.2318 + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2.2319 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2.2320 +# in a Makefile. We should not override ac_cv_exeext if it was cached, 2.2321 +# so that the user can short-circuit this test for compilers unknown to 2.2322 +# Autoconf. 2.2323 +for ac_file in $ac_files '' 2.2324 +do 2.2325 + test -f "$ac_file" || continue 2.2326 + case $ac_file in 2.2327 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2.2328 + ;; 2.2329 + [ab].out ) 2.2330 + # We found the default executable, but exeext='' is most 2.2331 + # certainly right. 2.2332 + break;; 2.2333 + *.* ) 2.2334 + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2.2335 + then :; else 2.2336 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2.2337 + fi 2.2338 + # We set ac_cv_exeext here because the later test for it is not 2.2339 + # safe: cross compilers may not add the suffix if given an `-o' 2.2340 + # argument, so we may need to know it at that point already. 2.2341 + # Even if this section looks crufty: it has the advantage of 2.2342 + # actually working. 2.2343 + break;; 2.2344 + * ) 2.2345 + break;; 2.2346 + esac 2.2347 +done 2.2348 +test "$ac_cv_exeext" = no && ac_cv_exeext= 2.2349 + 2.2350 +else 2.2351 + ac_file='' 2.2352 +fi 2.2353 +if test -z "$ac_file"; then : 2.2354 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2.2355 +$as_echo "no" >&6; } 2.2356 +$as_echo "$as_me: failed program was:" >&5 2.2357 +sed 's/^/| /' conftest.$ac_ext >&5 2.2358 + 2.2359 +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2.2360 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2.2361 +as_fn_error 77 "C compiler cannot create executables 2.2362 +See \`config.log' for more details" "$LINENO" 5 ; } 2.2363 +else 2.2364 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2.2365 +$as_echo "yes" >&6; } 2.2366 +fi 2.2367 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2.2368 +$as_echo_n "checking for C compiler default output file name... " >&6; } 2.2369 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2.2370 +$as_echo "$ac_file" >&6; } 2.2371 +ac_exeext=$ac_cv_exeext 2.2372 + 2.2373 +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2.2374 +ac_clean_files=$ac_clean_files_save 2.2375 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2.2376 +$as_echo_n "checking for suffix of executables... " >&6; } 2.2377 +if { { ac_try="$ac_link" 2.2378 +case "(($ac_try" in 2.2379 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2.2380 + *) ac_try_echo=$ac_try;; 2.2381 +esac 2.2382 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2.2383 +$as_echo "$ac_try_echo"; } >&5 2.2384 + (eval "$ac_link") 2>&5 2.2385 + ac_status=$? 2.2386 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2.2387 + test $ac_status = 0; }; then : 2.2388 + # If both `conftest.exe' and `conftest' are `present' (well, observable) 2.2389 +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2.2390 +# work properly (i.e., refer to `conftest.exe'), while it won't with 2.2391 +# `rm'. 2.2392 +for ac_file in conftest.exe conftest conftest.*; do 2.2393 + test -f "$ac_file" || continue 2.2394 + case $ac_file in 2.2395 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2.2396 + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2.2397 + break;; 2.2398 + * ) break;; 2.2399 + esac 2.2400 +done 2.2401 +else 2.2402 + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2.2403 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2.2404 +as_fn_error $? "cannot compute suffix of executables: cannot compile and link 2.2405 +See \`config.log' for more details" "$LINENO" 5 ; } 2.2406 +fi 2.2407 +rm -f conftest conftest$ac_cv_exeext 2.2408 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2.2409 +$as_echo "$ac_cv_exeext" >&6; } 2.2410 + 2.2411 +rm -f conftest.$ac_ext 2.2412 +EXEEXT=$ac_cv_exeext 2.2413 +ac_exeext=$EXEEXT 2.2414 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2.2415 +/* end confdefs.h. */ 2.2416 +#include <stdio.h> 2.2417 +int 2.2418 +main () 2.2419 +{ 2.2420 +FILE *f = fopen ("conftest.out", "w"); 2.2421 + return ferror (f) || fclose (f) != 0; 2.2422 + 2.2423 + ; 2.2424 + return 0; 2.2425 +} 2.2426 +_ACEOF 2.2427 +ac_clean_files="$ac_clean_files conftest.out" 2.2428 +# Check that the compiler produces executables we can run. If not, either 2.2429 +# the compiler is broken, or we cross compile. 2.2430 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2.2431 +$as_echo_n "checking whether we are cross compiling... " >&6; } 2.2432 +if test "$cross_compiling" != yes; then 2.2433 + { { ac_try="$ac_link" 2.2434 +case "(($ac_try" in 2.2435 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2.2436 + *) ac_try_echo=$ac_try;; 2.2437 +esac 2.2438 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2.2439 +$as_echo "$ac_try_echo"; } >&5 2.2440 + (eval "$ac_link") 2>&5 2.2441 + ac_status=$? 2.2442 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2.2443 + test $ac_status = 0; } 2.2444 + if { ac_try='./conftest$ac_cv_exeext' 2.2445 + { { case "(($ac_try" in 2.2446 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2.2447 + *) ac_try_echo=$ac_try;; 2.2448 +esac 2.2449 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2.2450 +$as_echo "$ac_try_echo"; } >&5 2.2451 + (eval "$ac_try") 2>&5 2.2452 + ac_status=$? 2.2453 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2.2454 + test $ac_status = 0; }; }; then 2.2455 + cross_compiling=no 2.2456 + else 2.2457 + if test "$cross_compiling" = maybe; then 2.2458 + cross_compiling=yes 2.2459 + else 2.2460 + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2.2461 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2.2462 +as_fn_error $? "cannot run C compiled programs. 2.2463 +If you meant to cross compile, use \`--host'. 2.2464 +See \`config.log' for more details" "$LINENO" 5 ; } 2.2465 + fi 2.2466 + fi 2.2467 +fi 2.2468 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2.2469 +$as_echo "$cross_compiling" >&6; } 2.2470 + 2.2471 +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 2.2472 +ac_clean_files=$ac_clean_files_save 2.2473 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2.2474 +$as_echo_n "checking for suffix of object files... " >&6; } 2.2475 +if test "${ac_cv_objext+set}" = set; then : 2.2476 + $as_echo_n "(cached) " >&6 2.2477 +else 2.2478 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2.2479 +/* end confdefs.h. */ 2.2480 + 2.2481 +int 2.2482 +main () 2.2483 +{ 2.2484 + 2.2485 + ; 2.2486 + return 0; 2.2487 +} 2.2488 +_ACEOF 2.2489 +rm -f conftest.o conftest.obj 2.2490 +if { { ac_try="$ac_compile" 2.2491 +case "(($ac_try" in 2.2492 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2.2493 + *) ac_try_echo=$ac_try;; 2.2494 +esac 2.2495 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2.2496 +$as_echo "$ac_try_echo"; } >&5 2.2497 + (eval "$ac_compile") 2>&5 2.2498 + ac_status=$? 2.2499 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2.2500 + test $ac_status = 0; }; then : 2.2501 + for ac_file in conftest.o conftest.obj conftest.*; do 2.2502 + test -f "$ac_file" || continue; 2.2503 + case $ac_file in 2.2504 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2.2505 + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2.2506 + break;; 2.2507 + esac 2.2508 +done 2.2509 +else 2.2510 + $as_echo "$as_me: failed program was:" >&5 2.2511 +sed 's/^/| /' conftest.$ac_ext >&5 2.2512 + 2.2513 +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2.2514 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2.2515 +as_fn_error $? "cannot compute suffix of object files: cannot compile 2.2516 +See \`config.log' for more details" "$LINENO" 5 ; } 2.2517 +fi 2.2518 +rm -f conftest.$ac_cv_objext conftest.$ac_ext 2.2519 +fi 2.2520 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2.2521 +$as_echo "$ac_cv_objext" >&6; } 2.2522 +OBJEXT=$ac_cv_objext 2.2523 +ac_objext=$OBJEXT 2.2524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2.2525 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2.2526 -if ${ac_cv_c_compiler_gnu+:} false; then : 2.2527 +if test "${ac_cv_c_compiler_gnu+set}" = set; then : 2.2528 $as_echo_n "(cached) " >&6 2.2529 else 2.2530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2.2531 @@ -20950,7 +20062,7 @@ 2.2532 ac_save_CFLAGS=$CFLAGS 2.2533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 2.2534 $as_echo_n "checking whether $CC accepts -g... " >&6; } 2.2535 -if ${ac_cv_prog_cc_g+:} false; then : 2.2536 +if test "${ac_cv_prog_cc_g+set}" = set; then : 2.2537 $as_echo_n "(cached) " >&6 2.2538 else 2.2539 ac_save_c_werror_flag=$ac_c_werror_flag 2.2540 @@ -21028,7 +20140,7 @@ 2.2541 fi 2.2542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 2.2543 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 2.2544 -if ${ac_cv_prog_cc_c89+:} false; then : 2.2545 +if test "${ac_cv_prog_cc_c89+set}" = set; then : 2.2546 $as_echo_n "(cached) " >&6 2.2547 else 2.2548 ac_cv_prog_cc_c89=no 2.2549 @@ -21151,7 +20263,7 @@ 2.2550 set dummy $ac_prog; ac_word=$2 2.2551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2552 $as_echo_n "checking for $ac_word... " >&6; } 2.2553 -if ${ac_cv_path_TOOLS_DIR_CXX+:} false; then : 2.2554 +if test "${ac_cv_path_TOOLS_DIR_CXX+set}" = set; then : 2.2555 $as_echo_n "(cached) " >&6 2.2556 else 2.2557 case $TOOLS_DIR_CXX in 2.2558 @@ -21203,7 +20315,7 @@ 2.2559 set dummy $ac_prog; ac_word=$2 2.2560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2561 $as_echo_n "checking for $ac_word... " >&6; } 2.2562 -if ${ac_cv_path_POTENTIAL_CXX+:} false; then : 2.2563 +if test "${ac_cv_path_POTENTIAL_CXX+set}" = set; then : 2.2564 $as_echo_n "(cached) " >&6 2.2565 else 2.2566 case $POTENTIAL_CXX in 2.2567 @@ -21616,7 +20728,7 @@ 2.2568 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2.2569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2570 $as_echo_n "checking for $ac_word... " >&6; } 2.2571 -if ${ac_cv_prog_PROPER_COMPILER_CXX+:} false; then : 2.2572 +if test "${ac_cv_prog_PROPER_COMPILER_CXX+set}" = set; then : 2.2573 $as_echo_n "(cached) " >&6 2.2574 else 2.2575 if test -n "$PROPER_COMPILER_CXX"; then 2.2576 @@ -21660,7 +20772,7 @@ 2.2577 set dummy $ac_prog; ac_word=$2 2.2578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2579 $as_echo_n "checking for $ac_word... " >&6; } 2.2580 -if ${ac_cv_prog_ac_ct_PROPER_COMPILER_CXX+:} false; then : 2.2581 +if test "${ac_cv_prog_ac_ct_PROPER_COMPILER_CXX+set}" = set; then : 2.2582 $as_echo_n "(cached) " >&6 2.2583 else 2.2584 if test -n "$ac_ct_PROPER_COMPILER_CXX"; then 2.2585 @@ -22114,7 +21226,7 @@ 2.2586 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2.2587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2588 $as_echo_n "checking for $ac_word... " >&6; } 2.2589 -if ${ac_cv_prog_CXX+:} false; then : 2.2590 +if test "${ac_cv_prog_CXX+set}" = set; then : 2.2591 $as_echo_n "(cached) " >&6 2.2592 else 2.2593 if test -n "$CXX"; then 2.2594 @@ -22158,7 +21270,7 @@ 2.2595 set dummy $ac_prog; ac_word=$2 2.2596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2597 $as_echo_n "checking for $ac_word... " >&6; } 2.2598 -if ${ac_cv_prog_ac_ct_CXX+:} false; then : 2.2599 +if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 2.2600 $as_echo_n "(cached) " >&6 2.2601 else 2.2602 if test -n "$ac_ct_CXX"; then 2.2603 @@ -22236,7 +21348,7 @@ 2.2604 2.2605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 2.2606 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 2.2607 -if ${ac_cv_cxx_compiler_gnu+:} false; then : 2.2608 +if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 2.2609 $as_echo_n "(cached) " >&6 2.2610 else 2.2611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2.2612 @@ -22273,7 +21385,7 @@ 2.2613 ac_save_CXXFLAGS=$CXXFLAGS 2.2614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 2.2615 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 2.2616 -if ${ac_cv_prog_cxx_g+:} false; then : 2.2617 +if test "${ac_cv_prog_cxx_g+set}" = set; then : 2.2618 $as_echo_n "(cached) " >&6 2.2619 else 2.2620 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 2.2621 @@ -22371,7 +21483,7 @@ 2.2622 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2.2623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2624 $as_echo_n "checking for $ac_word... " >&6; } 2.2625 -if ${ac_cv_prog_OBJC+:} false; then : 2.2626 +if test "${ac_cv_prog_OBJC+set}" = set; then : 2.2627 $as_echo_n "(cached) " >&6 2.2628 else 2.2629 if test -n "$OBJC"; then 2.2630 @@ -22415,7 +21527,7 @@ 2.2631 set dummy $ac_prog; ac_word=$2 2.2632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2633 $as_echo_n "checking for $ac_word... " >&6; } 2.2634 -if ${ac_cv_prog_ac_ct_OBJC+:} false; then : 2.2635 +if test "${ac_cv_prog_ac_ct_OBJC+set}" = set; then : 2.2636 $as_echo_n "(cached) " >&6 2.2637 else 2.2638 if test -n "$ac_ct_OBJC"; then 2.2639 @@ -22491,7 +21603,7 @@ 2.2640 2.2641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5 2.2642 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; } 2.2643 -if ${ac_cv_objc_compiler_gnu+:} false; then : 2.2644 +if test "${ac_cv_objc_compiler_gnu+set}" = set; then : 2.2645 $as_echo_n "(cached) " >&6 2.2646 else 2.2647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2.2648 @@ -22528,7 +21640,7 @@ 2.2649 ac_save_OBJCFLAGS=$OBJCFLAGS 2.2650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5 2.2651 $as_echo_n "checking whether $OBJC accepts -g... " >&6; } 2.2652 -if ${ac_cv_prog_objc_g+:} false; then : 2.2653 +if test "${ac_cv_prog_objc_g+set}" = set; then : 2.2654 $as_echo_n "(cached) " >&6 2.2655 else 2.2656 ac_save_objc_werror_flag=$ac_objc_werror_flag 2.2657 @@ -22904,7 +22016,7 @@ 2.2658 set dummy ${ac_tool_prefix}ar; ac_word=$2 2.2659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2660 $as_echo_n "checking for $ac_word... " >&6; } 2.2661 -if ${ac_cv_prog_AR+:} false; then : 2.2662 +if test "${ac_cv_prog_AR+set}" = set; then : 2.2663 $as_echo_n "(cached) " >&6 2.2664 else 2.2665 if test -n "$AR"; then 2.2666 @@ -22944,7 +22056,7 @@ 2.2667 set dummy ar; ac_word=$2 2.2668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2669 $as_echo_n "checking for $ac_word... " >&6; } 2.2670 -if ${ac_cv_prog_ac_ct_AR+:} false; then : 2.2671 +if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : 2.2672 $as_echo_n "(cached) " >&6 2.2673 else 2.2674 if test -n "$ac_ct_AR"; then 2.2675 @@ -23286,7 +22398,7 @@ 2.2676 set dummy link; ac_word=$2 2.2677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2678 $as_echo_n "checking for $ac_word... " >&6; } 2.2679 -if ${ac_cv_prog_WINLD+:} false; then : 2.2680 +if test "${ac_cv_prog_WINLD+set}" = set; then : 2.2681 $as_echo_n "(cached) " >&6 2.2682 else 2.2683 if test -n "$WINLD"; then 2.2684 @@ -23625,7 +22737,7 @@ 2.2685 set dummy mt; ac_word=$2 2.2686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2687 $as_echo_n "checking for $ac_word... " >&6; } 2.2688 -if ${ac_cv_prog_MT+:} false; then : 2.2689 +if test "${ac_cv_prog_MT+set}" = set; then : 2.2690 $as_echo_n "(cached) " >&6 2.2691 else 2.2692 if test -n "$MT"; then 2.2693 @@ -23946,7 +23058,7 @@ 2.2694 set dummy rc; ac_word=$2 2.2695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2696 $as_echo_n "checking for $ac_word... " >&6; } 2.2697 -if ${ac_cv_prog_RC+:} false; then : 2.2698 +if test "${ac_cv_prog_RC+set}" = set; then : 2.2699 $as_echo_n "(cached) " >&6 2.2700 else 2.2701 if test -n "$RC"; then 2.2702 @@ -24337,7 +23449,7 @@ 2.2703 set dummy lib; ac_word=$2 2.2704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2705 $as_echo_n "checking for $ac_word... " >&6; } 2.2706 -if ${ac_cv_prog_WINAR+:} false; then : 2.2707 +if test "${ac_cv_prog_WINAR+set}" = set; then : 2.2708 $as_echo_n "(cached) " >&6 2.2709 else 2.2710 if test -n "$WINAR"; then 2.2711 @@ -24643,7 +23755,7 @@ 2.2712 set dummy dumpbin; ac_word=$2 2.2713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2714 $as_echo_n "checking for $ac_word... " >&6; } 2.2715 -if ${ac_cv_prog_DUMPBIN+:} false; then : 2.2716 +if test "${ac_cv_prog_DUMPBIN+set}" = set; then : 2.2717 $as_echo_n "(cached) " >&6 2.2718 else 2.2719 if test -n "$DUMPBIN"; then 2.2720 @@ -24962,7 +24074,7 @@ 2.2721 CPP= 2.2722 fi 2.2723 if test -z "$CPP"; then 2.2724 - if ${ac_cv_prog_CPP+:} false; then : 2.2725 + if test "${ac_cv_prog_CPP+set}" = set; then : 2.2726 $as_echo_n "(cached) " >&6 2.2727 else 2.2728 # Double quotes because CPP needs to be expanded 2.2729 @@ -25078,7 +24190,7 @@ 2.2730 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2.2731 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2.2732 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 2.2733 -See \`config.log' for more details" "$LINENO" 5; } 2.2734 +See \`config.log' for more details" "$LINENO" 5 ; } 2.2735 fi 2.2736 2.2737 ac_ext=cpp 2.2738 @@ -25362,7 +24474,7 @@ 2.2739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 2.2740 $as_echo_n "checking how to run the C++ preprocessor... " >&6; } 2.2741 if test -z "$CXXCPP"; then 2.2742 - if ${ac_cv_prog_CXXCPP+:} false; then : 2.2743 + if test "${ac_cv_prog_CXXCPP+set}" = set; then : 2.2744 $as_echo_n "(cached) " >&6 2.2745 else 2.2746 # Double quotes because CXXCPP needs to be expanded 2.2747 @@ -25478,7 +24590,7 @@ 2.2748 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2.2749 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2.2750 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 2.2751 -See \`config.log' for more details" "$LINENO" 5; } 2.2752 +See \`config.log' for more details" "$LINENO" 5 ; } 2.2753 fi 2.2754 2.2755 ac_ext=cpp 2.2756 @@ -25780,7 +24892,7 @@ 2.2757 set dummy as; ac_word=$2 2.2758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2759 $as_echo_n "checking for $ac_word... " >&6; } 2.2760 -if ${ac_cv_path_AS+:} false; then : 2.2761 +if test "${ac_cv_path_AS+set}" = set; then : 2.2762 $as_echo_n "(cached) " >&6 2.2763 else 2.2764 case $AS in 2.2765 @@ -26092,7 +25204,7 @@ 2.2766 set dummy nm; ac_word=$2 2.2767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2768 $as_echo_n "checking for $ac_word... " >&6; } 2.2769 -if ${ac_cv_path_NM+:} false; then : 2.2770 +if test "${ac_cv_path_NM+set}" = set; then : 2.2771 $as_echo_n "(cached) " >&6 2.2772 else 2.2773 case $NM in 2.2774 @@ -26398,7 +25510,7 @@ 2.2775 set dummy gnm; ac_word=$2 2.2776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2777 $as_echo_n "checking for $ac_word... " >&6; } 2.2778 -if ${ac_cv_path_GNM+:} false; then : 2.2779 +if test "${ac_cv_path_GNM+set}" = set; then : 2.2780 $as_echo_n "(cached) " >&6 2.2781 else 2.2782 case $GNM in 2.2783 @@ -26704,7 +25816,7 @@ 2.2784 set dummy strip; ac_word=$2 2.2785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2786 $as_echo_n "checking for $ac_word... " >&6; } 2.2787 -if ${ac_cv_path_STRIP+:} false; then : 2.2788 +if test "${ac_cv_path_STRIP+set}" = set; then : 2.2789 $as_echo_n "(cached) " >&6 2.2790 else 2.2791 case $STRIP in 2.2792 @@ -27010,7 +26122,7 @@ 2.2793 set dummy mcs; ac_word=$2 2.2794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2795 $as_echo_n "checking for $ac_word... " >&6; } 2.2796 -if ${ac_cv_path_MCS+:} false; then : 2.2797 +if test "${ac_cv_path_MCS+set}" = set; then : 2.2798 $as_echo_n "(cached) " >&6 2.2799 else 2.2800 case $MCS in 2.2801 @@ -27318,7 +26430,7 @@ 2.2802 set dummy ${ac_tool_prefix}nm; ac_word=$2 2.2803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2804 $as_echo_n "checking for $ac_word... " >&6; } 2.2805 -if ${ac_cv_prog_NM+:} false; then : 2.2806 +if test "${ac_cv_prog_NM+set}" = set; then : 2.2807 $as_echo_n "(cached) " >&6 2.2808 else 2.2809 if test -n "$NM"; then 2.2810 @@ -27358,7 +26470,7 @@ 2.2811 set dummy nm; ac_word=$2 2.2812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2813 $as_echo_n "checking for $ac_word... " >&6; } 2.2814 -if ${ac_cv_prog_ac_ct_NM+:} false; then : 2.2815 +if test "${ac_cv_prog_ac_ct_NM+set}" = set; then : 2.2816 $as_echo_n "(cached) " >&6 2.2817 else 2.2818 if test -n "$ac_ct_NM"; then 2.2819 @@ -27678,7 +26790,7 @@ 2.2820 set dummy ${ac_tool_prefix}strip; ac_word=$2 2.2821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2822 $as_echo_n "checking for $ac_word... " >&6; } 2.2823 -if ${ac_cv_prog_STRIP+:} false; then : 2.2824 +if test "${ac_cv_prog_STRIP+set}" = set; then : 2.2825 $as_echo_n "(cached) " >&6 2.2826 else 2.2827 if test -n "$STRIP"; then 2.2828 @@ -27718,7 +26830,7 @@ 2.2829 set dummy strip; ac_word=$2 2.2830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2831 $as_echo_n "checking for $ac_word... " >&6; } 2.2832 -if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2.2833 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 2.2834 $as_echo_n "(cached) " >&6 2.2835 else 2.2836 if test -n "$ac_ct_STRIP"; then 2.2837 @@ -28043,7 +27155,7 @@ 2.2838 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2.2839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2840 $as_echo_n "checking for $ac_word... " >&6; } 2.2841 -if ${ac_cv_prog_OBJCOPY+:} false; then : 2.2842 +if test "${ac_cv_prog_OBJCOPY+set}" = set; then : 2.2843 $as_echo_n "(cached) " >&6 2.2844 else 2.2845 if test -n "$OBJCOPY"; then 2.2846 @@ -28087,7 +27199,7 @@ 2.2847 set dummy $ac_prog; ac_word=$2 2.2848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2849 $as_echo_n "checking for $ac_word... " >&6; } 2.2850 -if ${ac_cv_prog_ac_ct_OBJCOPY+:} false; then : 2.2851 +if test "${ac_cv_prog_ac_ct_OBJCOPY+set}" = set; then : 2.2852 $as_echo_n "(cached) " >&6 2.2853 else 2.2854 if test -n "$ac_ct_OBJCOPY"; then 2.2855 @@ -28414,7 +27526,7 @@ 2.2856 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2.2857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2858 $as_echo_n "checking for $ac_word... " >&6; } 2.2859 -if ${ac_cv_prog_OBJDUMP+:} false; then : 2.2860 +if test "${ac_cv_prog_OBJDUMP+set}" = set; then : 2.2861 $as_echo_n "(cached) " >&6 2.2862 else 2.2863 if test -n "$OBJDUMP"; then 2.2864 @@ -28458,7 +27570,7 @@ 2.2865 set dummy $ac_prog; ac_word=$2 2.2866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2867 $as_echo_n "checking for $ac_word... " >&6; } 2.2868 -if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 2.2869 +if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then : 2.2870 $as_echo_n "(cached) " >&6 2.2871 else 2.2872 if test -n "$ac_ct_OBJDUMP"; then 2.2873 @@ -28782,7 +27894,7 @@ 2.2874 set dummy lipo; ac_word=$2 2.2875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.2876 $as_echo_n "checking for $ac_word... " >&6; } 2.2877 -if ${ac_cv_path_LIPO+:} false; then : 2.2878 +if test "${ac_cv_path_LIPO+set}" = set; then : 2.2879 $as_echo_n "(cached) " >&6 2.2880 else 2.2881 case $LIPO in 2.2882 @@ -29094,9 +28206,10 @@ 2.2883 2.2884 # And we can test some aspects on the target using configure macros. 2.2885 2.2886 + 2.2887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 2.2888 $as_echo_n "checking for ANSI C header files... " >&6; } 2.2889 -if ${ac_cv_header_stdc+:} false; then : 2.2890 +if test "${ac_cv_header_stdc+set}" = set; then : 2.2891 $as_echo_n "(cached) " >&6 2.2892 else 2.2893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2.2894 @@ -29231,79 +28344,6 @@ 2.2895 # is made at runtime.) 2.2896 # 2.2897 2.2898 - 2.2899 - 2.2900 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports \"-m${OPENJDK_TARGET_CPU_BITS}\"" >&5 2.2901 -$as_echo_n "checking if compiler supports \"-m${OPENJDK_TARGET_CPU_BITS}\"... " >&6; } 2.2902 - supports=yes 2.2903 - 2.2904 - saved_cflags="$CFLAGS" 2.2905 - CFLAGS="$CFLAGS -m${OPENJDK_TARGET_CPU_BITS}" 2.2906 - ac_ext=c 2.2907 -ac_cpp='$CPP $CPPFLAGS' 2.2908 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2.2909 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2.2910 -ac_compiler_gnu=$ac_cv_c_compiler_gnu 2.2911 - 2.2912 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2.2913 -/* end confdefs.h. */ 2.2914 - 2.2915 - int i; 2.2916 - 2.2917 -_ACEOF 2.2918 -if ac_fn_c_try_compile "$LINENO"; then : 2.2919 - 2.2920 -else 2.2921 - supports=no 2.2922 -fi 2.2923 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2.2924 - ac_ext=cpp 2.2925 -ac_cpp='$CXXCPP $CPPFLAGS' 2.2926 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2.2927 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2.2928 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2.2929 - 2.2930 - CFLAGS="$saved_cflags" 2.2931 - 2.2932 - saved_cxxflags="$CXXFLAGS" 2.2933 - CXXFLAGS="$CXXFLAG -m${OPENJDK_TARGET_CPU_BITS}" 2.2934 - ac_ext=cpp 2.2935 -ac_cpp='$CXXCPP $CPPFLAGS' 2.2936 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2.2937 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2.2938 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2.2939 - 2.2940 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2.2941 -/* end confdefs.h. */ 2.2942 - 2.2943 - int i; 2.2944 - 2.2945 -_ACEOF 2.2946 -if ac_fn_cxx_try_compile "$LINENO"; then : 2.2947 - 2.2948 -else 2.2949 - supports=no 2.2950 -fi 2.2951 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2.2952 - ac_ext=cpp 2.2953 -ac_cpp='$CXXCPP $CPPFLAGS' 2.2954 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2.2955 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2.2956 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2.2957 - 2.2958 - CXXFLAGS="$saved_cxxflags" 2.2959 - 2.2960 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supports" >&5 2.2961 -$as_echo "$supports" >&6; } 2.2962 - if test "x$supports" = "xyes" ; then 2.2963 - COMPILER_SUPPORTS_TARGET_BITS_FLAG=true 2.2964 - else 2.2965 - COMPILER_SUPPORTS_TARGET_BITS_FLAG=false 2.2966 - fi 2.2967 - 2.2968 - 2.2969 - 2.2970 - 2.2971 if test "x$OPENJDK_TARGET_OS" = xsolaris; then 2.2972 # Always specify -m flags on Solaris 2.2973 2.2974 @@ -29346,7 +28386,7 @@ 2.2975 for ac_header in stdio.h 2.2976 do : 2.2977 ac_fn_cxx_check_header_mongrel "$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default" 2.2978 -if test "x$ac_cv_header_stdio_h" = xyes; then : 2.2979 +if test "x$ac_cv_header_stdio_h" = x""yes; then : 2.2980 cat >>confdefs.h <<_ACEOF 2.2981 #define HAVE_STDIO_H 1 2.2982 _ACEOF 2.2983 @@ -29375,7 +28415,7 @@ 2.2984 # This bug is HP SR number 8606223364. 2.2985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int *" >&5 2.2986 $as_echo_n "checking size of int *... " >&6; } 2.2987 -if ${ac_cv_sizeof_int_p+:} false; then : 2.2988 +if test "${ac_cv_sizeof_int_p+set}" = set; then : 2.2989 $as_echo_n "(cached) " >&6 2.2990 else 2.2991 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (int *))" "ac_cv_sizeof_int_p" "$ac_includes_default"; then : 2.2992 @@ -29385,7 +28425,7 @@ 2.2993 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2.2994 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2.2995 as_fn_error 77 "cannot compute sizeof (int *) 2.2996 -See \`config.log' for more details" "$LINENO" 5; } 2.2997 +See \`config.log' for more details" "$LINENO" 5 ; } 2.2998 else 2.2999 ac_cv_sizeof_int_p=0 2.3000 fi 2.3001 @@ -29432,7 +28472,7 @@ 2.3002 # 2.3003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 2.3004 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 2.3005 -if ${ac_cv_c_bigendian+:} false; then : 2.3006 +if test "${ac_cv_c_bigendian+set}" = set; then : 2.3007 $as_echo_n "(cached) " >&6 2.3008 else 2.3009 ac_cv_c_bigendian=unknown 2.3010 @@ -30228,6 +29268,161 @@ 2.3011 2.3012 2.3013 2.3014 + 2.3015 + # Some Zero and Shark settings. 2.3016 + # ZERO_ARCHFLAG tells the compiler which mode to build for 2.3017 + case "${OPENJDK_TARGET_CPU}" in 2.3018 + s390) 2.3019 + ZERO_ARCHFLAG="-m31" 2.3020 + ;; 2.3021 + *) 2.3022 + ZERO_ARCHFLAG="-m${OPENJDK_TARGET_CPU_BITS}" 2.3023 + esac 2.3024 + 2.3025 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports \"$ZERO_ARCHFLAG\"" >&5 2.3026 +$as_echo_n "checking if compiler supports \"$ZERO_ARCHFLAG\"... " >&6; } 2.3027 + supports=yes 2.3028 + 2.3029 + saved_cflags="$CFLAGS" 2.3030 + CFLAGS="$CFLAGS $ZERO_ARCHFLAG" 2.3031 + ac_ext=c 2.3032 +ac_cpp='$CPP $CPPFLAGS' 2.3033 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2.3034 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2.3035 +ac_compiler_gnu=$ac_cv_c_compiler_gnu 2.3036 + 2.3037 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2.3038 +/* end confdefs.h. */ 2.3039 + 2.3040 + int i; 2.3041 + 2.3042 +_ACEOF 2.3043 +if ac_fn_c_try_compile "$LINENO"; then : 2.3044 + 2.3045 +else 2.3046 + supports=no 2.3047 +fi 2.3048 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2.3049 + ac_ext=cpp 2.3050 +ac_cpp='$CXXCPP $CPPFLAGS' 2.3051 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2.3052 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2.3053 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2.3054 + 2.3055 + CFLAGS="$saved_cflags" 2.3056 + 2.3057 + saved_cxxflags="$CXXFLAGS" 2.3058 + CXXFLAGS="$CXXFLAG $ZERO_ARCHFLAG" 2.3059 + ac_ext=cpp 2.3060 +ac_cpp='$CXXCPP $CPPFLAGS' 2.3061 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2.3062 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2.3063 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2.3064 + 2.3065 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2.3066 +/* end confdefs.h. */ 2.3067 + 2.3068 + int i; 2.3069 + 2.3070 +_ACEOF 2.3071 +if ac_fn_cxx_try_compile "$LINENO"; then : 2.3072 + 2.3073 +else 2.3074 + supports=no 2.3075 +fi 2.3076 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2.3077 + ac_ext=cpp 2.3078 +ac_cpp='$CXXCPP $CPPFLAGS' 2.3079 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2.3080 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2.3081 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2.3082 + 2.3083 + CXXFLAGS="$saved_cxxflags" 2.3084 + 2.3085 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supports" >&5 2.3086 +$as_echo "$supports" >&6; } 2.3087 + if test "x$supports" = "xyes" ; then 2.3088 + : 2.3089 + else 2.3090 + ZERO_ARCHFLAG="" 2.3091 + fi 2.3092 + 2.3093 + 2.3094 + 2.3095 + # Check that the compiler supports -mX flags 2.3096 + # Set COMPILER_SUPPORTS_TARGET_BITS_FLAG to 'true' if it does 2.3097 + 2.3098 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports \"-m${OPENJDK_TARGET_CPU_BITS}\"" >&5 2.3099 +$as_echo_n "checking if compiler supports \"-m${OPENJDK_TARGET_CPU_BITS}\"... " >&6; } 2.3100 + supports=yes 2.3101 + 2.3102 + saved_cflags="$CFLAGS" 2.3103 + CFLAGS="$CFLAGS -m${OPENJDK_TARGET_CPU_BITS}" 2.3104 + ac_ext=c 2.3105 +ac_cpp='$CPP $CPPFLAGS' 2.3106 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2.3107 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2.3108 +ac_compiler_gnu=$ac_cv_c_compiler_gnu 2.3109 + 2.3110 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2.3111 +/* end confdefs.h. */ 2.3112 + 2.3113 + int i; 2.3114 + 2.3115 +_ACEOF 2.3116 +if ac_fn_c_try_compile "$LINENO"; then : 2.3117 + 2.3118 +else 2.3119 + supports=no 2.3120 +fi 2.3121 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2.3122 + ac_ext=cpp 2.3123 +ac_cpp='$CXXCPP $CPPFLAGS' 2.3124 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2.3125 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2.3126 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2.3127 + 2.3128 + CFLAGS="$saved_cflags" 2.3129 + 2.3130 + saved_cxxflags="$CXXFLAGS" 2.3131 + CXXFLAGS="$CXXFLAG -m${OPENJDK_TARGET_CPU_BITS}" 2.3132 + ac_ext=cpp 2.3133 +ac_cpp='$CXXCPP $CPPFLAGS' 2.3134 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2.3135 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2.3136 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2.3137 + 2.3138 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2.3139 +/* end confdefs.h. */ 2.3140 + 2.3141 + int i; 2.3142 + 2.3143 +_ACEOF 2.3144 +if ac_fn_cxx_try_compile "$LINENO"; then : 2.3145 + 2.3146 +else 2.3147 + supports=no 2.3148 +fi 2.3149 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2.3150 + ac_ext=cpp 2.3151 +ac_cpp='$CXXCPP $CPPFLAGS' 2.3152 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2.3153 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2.3154 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2.3155 + 2.3156 + CXXFLAGS="$saved_cxxflags" 2.3157 + 2.3158 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supports" >&5 2.3159 +$as_echo "$supports" >&6; } 2.3160 + if test "x$supports" = "xyes" ; then 2.3161 + COMPILER_SUPPORTS_TARGET_BITS_FLAG=true 2.3162 + else 2.3163 + COMPILER_SUPPORTS_TARGET_BITS_FLAG=false 2.3164 + fi 2.3165 + 2.3166 + 2.3167 + 2.3168 + 2.3169 # Setup debug symbols (need objcopy from the toolchain for that) 2.3170 2.3171 # 2.3172 @@ -30443,8 +29638,8 @@ 2.3173 have_x=disabled 2.3174 else 2.3175 case $x_includes,$x_libraries in #( 2.3176 - *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( 2.3177 - *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : 2.3178 + *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #( 2.3179 + *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : 2.3180 $as_echo_n "(cached) " >&6 2.3181 else 2.3182 # One or both of the vars are not set, and there is no cached value. 2.3183 @@ -30721,7 +29916,7 @@ 2.3184 else 2.3185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 2.3186 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } 2.3187 -if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then : 2.3188 +if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then : 2.3189 $as_echo_n "(cached) " >&6 2.3190 else 2.3191 ac_check_lib_save_LIBS=$LIBS 2.3192 @@ -30755,14 +29950,14 @@ 2.3193 fi 2.3194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 2.3195 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } 2.3196 -if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then : 2.3197 +if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then : 2.3198 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" 2.3199 fi 2.3200 2.3201 if test $ac_cv_lib_dnet_dnet_ntoa = no; then 2.3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5 2.3203 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; } 2.3204 -if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then : 2.3205 +if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then : 2.3206 $as_echo_n "(cached) " >&6 2.3207 else 2.3208 ac_check_lib_save_LIBS=$LIBS 2.3209 @@ -30796,7 +29991,7 @@ 2.3210 fi 2.3211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 2.3212 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; } 2.3213 -if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then : 2.3214 +if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then : 2.3215 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" 2.3216 fi 2.3217 2.3218 @@ -30815,14 +30010,14 @@ 2.3219 # The functions gethostbyname, getservbyname, and inet_addr are 2.3220 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. 2.3221 ac_fn_cxx_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" 2.3222 -if test "x$ac_cv_func_gethostbyname" = xyes; then : 2.3223 +if test "x$ac_cv_func_gethostbyname" = x""yes; then : 2.3224 2.3225 fi 2.3226 2.3227 if test $ac_cv_func_gethostbyname = no; then 2.3228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 2.3229 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; } 2.3230 -if ${ac_cv_lib_nsl_gethostbyname+:} false; then : 2.3231 +if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then : 2.3232 $as_echo_n "(cached) " >&6 2.3233 else 2.3234 ac_check_lib_save_LIBS=$LIBS 2.3235 @@ -30856,14 +30051,14 @@ 2.3236 fi 2.3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 2.3238 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } 2.3239 -if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then : 2.3240 +if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then : 2.3241 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" 2.3242 fi 2.3243 2.3244 if test $ac_cv_lib_nsl_gethostbyname = no; then 2.3245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5 2.3246 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; } 2.3247 -if ${ac_cv_lib_bsd_gethostbyname+:} false; then : 2.3248 +if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then : 2.3249 $as_echo_n "(cached) " >&6 2.3250 else 2.3251 ac_check_lib_save_LIBS=$LIBS 2.3252 @@ -30897,7 +30092,7 @@ 2.3253 fi 2.3254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5 2.3255 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; } 2.3256 -if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then : 2.3257 +if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then : 2.3258 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" 2.3259 fi 2.3260 2.3261 @@ -30912,14 +30107,14 @@ 2.3262 # must be given before -lnsl if both are needed. We assume that 2.3263 # if connect needs -lnsl, so does gethostbyname. 2.3264 ac_fn_cxx_check_func "$LINENO" "connect" "ac_cv_func_connect" 2.3265 -if test "x$ac_cv_func_connect" = xyes; then : 2.3266 +if test "x$ac_cv_func_connect" = x""yes; then : 2.3267 2.3268 fi 2.3269 2.3270 if test $ac_cv_func_connect = no; then 2.3271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 2.3272 $as_echo_n "checking for connect in -lsocket... " >&6; } 2.3273 -if ${ac_cv_lib_socket_connect+:} false; then : 2.3274 +if test "${ac_cv_lib_socket_connect+set}" = set; then : 2.3275 $as_echo_n "(cached) " >&6 2.3276 else 2.3277 ac_check_lib_save_LIBS=$LIBS 2.3278 @@ -30953,7 +30148,7 @@ 2.3279 fi 2.3280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 2.3281 $as_echo "$ac_cv_lib_socket_connect" >&6; } 2.3282 -if test "x$ac_cv_lib_socket_connect" = xyes; then : 2.3283 +if test "x$ac_cv_lib_socket_connect" = x""yes; then : 2.3284 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" 2.3285 fi 2.3286 2.3287 @@ -30961,14 +30156,14 @@ 2.3288 2.3289 # Guillermo Gomez says -lposix is necessary on A/UX. 2.3290 ac_fn_cxx_check_func "$LINENO" "remove" "ac_cv_func_remove" 2.3291 -if test "x$ac_cv_func_remove" = xyes; then : 2.3292 +if test "x$ac_cv_func_remove" = x""yes; then : 2.3293 2.3294 fi 2.3295 2.3296 if test $ac_cv_func_remove = no; then 2.3297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5 2.3298 $as_echo_n "checking for remove in -lposix... " >&6; } 2.3299 -if ${ac_cv_lib_posix_remove+:} false; then : 2.3300 +if test "${ac_cv_lib_posix_remove+set}" = set; then : 2.3301 $as_echo_n "(cached) " >&6 2.3302 else 2.3303 ac_check_lib_save_LIBS=$LIBS 2.3304 @@ -31002,7 +30197,7 @@ 2.3305 fi 2.3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5 2.3307 $as_echo "$ac_cv_lib_posix_remove" >&6; } 2.3308 -if test "x$ac_cv_lib_posix_remove" = xyes; then : 2.3309 +if test "x$ac_cv_lib_posix_remove" = x""yes; then : 2.3310 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" 2.3311 fi 2.3312 2.3313 @@ -31010,14 +30205,14 @@ 2.3314 2.3315 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. 2.3316 ac_fn_cxx_check_func "$LINENO" "shmat" "ac_cv_func_shmat" 2.3317 -if test "x$ac_cv_func_shmat" = xyes; then : 2.3318 +if test "x$ac_cv_func_shmat" = x""yes; then : 2.3319 2.3320 fi 2.3321 2.3322 if test $ac_cv_func_shmat = no; then 2.3323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5 2.3324 $as_echo_n "checking for shmat in -lipc... " >&6; } 2.3325 -if ${ac_cv_lib_ipc_shmat+:} false; then : 2.3326 +if test "${ac_cv_lib_ipc_shmat+set}" = set; then : 2.3327 $as_echo_n "(cached) " >&6 2.3328 else 2.3329 ac_check_lib_save_LIBS=$LIBS 2.3330 @@ -31051,7 +30246,7 @@ 2.3331 fi 2.3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5 2.3333 $as_echo "$ac_cv_lib_ipc_shmat" >&6; } 2.3334 -if test "x$ac_cv_lib_ipc_shmat" = xyes; then : 2.3335 +if test "x$ac_cv_lib_ipc_shmat" = x""yes; then : 2.3336 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" 2.3337 fi 2.3338 2.3339 @@ -31069,7 +30264,7 @@ 2.3340 # John Interrante, Karl Berry 2.3341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5 2.3342 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; } 2.3343 -if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then : 2.3344 +if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then : 2.3345 $as_echo_n "(cached) " >&6 2.3346 else 2.3347 ac_check_lib_save_LIBS=$LIBS 2.3348 @@ -31103,7 +30298,7 @@ 2.3349 fi 2.3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 2.3351 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; } 2.3352 -if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then : 2.3353 +if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then : 2.3354 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" 2.3355 fi 2.3356 2.3357 @@ -32116,7 +31311,7 @@ 2.3358 LDFLAGS="$FREETYPE2_LIBS" 2.3359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FT_Init_FreeType in -lfreetype" >&5 2.3360 $as_echo_n "checking for FT_Init_FreeType in -lfreetype... " >&6; } 2.3361 -if ${ac_cv_lib_freetype_FT_Init_FreeType+:} false; then : 2.3362 +if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then : 2.3363 $as_echo_n "(cached) " >&6 2.3364 else 2.3365 ac_check_lib_save_LIBS=$LIBS 2.3366 @@ -32150,7 +31345,7 @@ 2.3367 fi 2.3368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5 2.3369 $as_echo "$ac_cv_lib_freetype_FT_Init_FreeType" >&6; } 2.3370 -if test "x$ac_cv_lib_freetype_FT_Init_FreeType" = xyes; then : 2.3371 +if test "x$ac_cv_lib_freetype_FT_Init_FreeType" = x""yes; then : 2.3372 FREETYPE2_FOUND=true 2.3373 else 2.3374 as_fn_error $? "Could not find freetype2! $HELP_MSG " "$LINENO" 5 2.3375 @@ -32438,7 +31633,7 @@ 2.3376 for ac_header in alsa/asoundlib.h 2.3377 do : 2.3378 ac_fn_cxx_check_header_mongrel "$LINENO" "alsa/asoundlib.h" "ac_cv_header_alsa_asoundlib_h" "$ac_includes_default" 2.3379 -if test "x$ac_cv_header_alsa_asoundlib_h" = xyes; then : 2.3380 +if test "x$ac_cv_header_alsa_asoundlib_h" = x""yes; then : 2.3381 cat >>confdefs.h <<_ACEOF 2.3382 #define HAVE_ALSA_ASOUNDLIB_H 1 2.3383 _ACEOF 2.3384 @@ -32497,7 +31692,7 @@ 2.3385 USE_EXTERNAL_LIBJPEG=true 2.3386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ljpeg" >&5 2.3387 $as_echo_n "checking for main in -ljpeg... " >&6; } 2.3388 -if ${ac_cv_lib_jpeg_main+:} false; then : 2.3389 +if test "${ac_cv_lib_jpeg_main+set}" = set; then : 2.3390 $as_echo_n "(cached) " >&6 2.3391 else 2.3392 ac_check_lib_save_LIBS=$LIBS 2.3393 @@ -32525,7 +31720,7 @@ 2.3394 fi 2.3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_main" >&5 2.3396 $as_echo "$ac_cv_lib_jpeg_main" >&6; } 2.3397 -if test "x$ac_cv_lib_jpeg_main" = xyes; then : 2.3398 +if test "x$ac_cv_lib_jpeg_main" = x""yes; then : 2.3399 cat >>confdefs.h <<_ACEOF 2.3400 #define HAVE_LIBJPEG 1 2.3401 _ACEOF 2.3402 @@ -32574,7 +31769,7 @@ 2.3403 USE_EXTERNAL_LIBGIF=false 2.3404 elif test "x${with_giflib}" = "xsystem"; then 2.3405 ac_fn_cxx_check_header_mongrel "$LINENO" "gif_lib.h" "ac_cv_header_gif_lib_h" "$ac_includes_default" 2.3406 -if test "x$ac_cv_header_gif_lib_h" = xyes; then : 2.3407 +if test "x$ac_cv_header_gif_lib_h" = x""yes; then : 2.3408 2.3409 else 2.3410 as_fn_error $? "--with-giflib=system specified, but gif_lib.h not found!" "$LINENO" 5 2.3411 @@ -32583,7 +31778,7 @@ 2.3412 2.3413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DGifGetCode in -lgif" >&5 2.3414 $as_echo_n "checking for DGifGetCode in -lgif... " >&6; } 2.3415 -if ${ac_cv_lib_gif_DGifGetCode+:} false; then : 2.3416 +if test "${ac_cv_lib_gif_DGifGetCode+set}" = set; then : 2.3417 $as_echo_n "(cached) " >&6 2.3418 else 2.3419 ac_check_lib_save_LIBS=$LIBS 2.3420 @@ -32617,7 +31812,7 @@ 2.3421 fi 2.3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gif_DGifGetCode" >&5 2.3423 $as_echo "$ac_cv_lib_gif_DGifGetCode" >&6; } 2.3424 -if test "x$ac_cv_lib_gif_DGifGetCode" = xyes; then : 2.3425 +if test "x$ac_cv_lib_gif_DGifGetCode" = x""yes; then : 2.3426 cat >>confdefs.h <<_ACEOF 2.3427 #define HAVE_LIBGIF 1 2.3428 _ACEOF 2.3429 @@ -32649,7 +31844,7 @@ 2.3430 2.3431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compress in -lz" >&5 2.3432 $as_echo_n "checking for compress in -lz... " >&6; } 2.3433 -if ${ac_cv_lib_z_compress+:} false; then : 2.3434 +if test "${ac_cv_lib_z_compress+set}" = set; then : 2.3435 $as_echo_n "(cached) " >&6 2.3436 else 2.3437 ac_check_lib_save_LIBS=$LIBS 2.3438 @@ -32683,7 +31878,7 @@ 2.3439 fi 2.3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_compress" >&5 2.3441 $as_echo "$ac_cv_lib_z_compress" >&6; } 2.3442 -if test "x$ac_cv_lib_z_compress" = xyes; then : 2.3443 +if test "x$ac_cv_lib_z_compress" = x""yes; then : 2.3444 ZLIB_FOUND=yes 2.3445 else 2.3446 ZLIB_FOUND=no 2.3447 @@ -32776,7 +31971,7 @@ 2.3448 2.3449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5 2.3450 $as_echo_n "checking for cos in -lm... " >&6; } 2.3451 -if ${ac_cv_lib_m_cos+:} false; then : 2.3452 +if test "${ac_cv_lib_m_cos+set}" = set; then : 2.3453 $as_echo_n "(cached) " >&6 2.3454 else 2.3455 ac_check_lib_save_LIBS=$LIBS 2.3456 @@ -32810,7 +32005,7 @@ 2.3457 fi 2.3458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5 2.3459 $as_echo "$ac_cv_lib_m_cos" >&6; } 2.3460 -if test "x$ac_cv_lib_m_cos" = xyes; then : 2.3461 +if test "x$ac_cv_lib_m_cos" = x""yes; then : 2.3462 cat >>confdefs.h <<_ACEOF 2.3463 #define HAVE_LIBM 1 2.3464 _ACEOF 2.3465 @@ -32834,7 +32029,7 @@ 2.3466 LIBS="" 2.3467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 2.3468 $as_echo_n "checking for dlopen in -ldl... " >&6; } 2.3469 -if ${ac_cv_lib_dl_dlopen+:} false; then : 2.3470 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 2.3471 $as_echo_n "(cached) " >&6 2.3472 else 2.3473 ac_check_lib_save_LIBS=$LIBS 2.3474 @@ -32868,7 +32063,7 @@ 2.3475 fi 2.3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 2.3477 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 2.3478 -if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 2.3479 +if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : 2.3480 cat >>confdefs.h <<_ACEOF 2.3481 #define HAVE_LIBDL 1 2.3482 _ACEOF 2.3483 @@ -33098,7 +32293,7 @@ 2.3484 See the pkg-config man page for more details. 2.3485 2.3486 To get pkg-config, see <http://pkg-config.freedesktop.org/>. 2.3487 -See \`config.log' for more details" "$LINENO" 5; } 2.3488 +See \`config.log' for more details" "$LINENO" 5 ; } 2.3489 else 2.3490 LIBFFI_CFLAGS=$pkg_cv_LIBFFI_CFLAGS 2.3491 LIBFFI_LIBS=$pkg_cv_LIBFFI_LIBS 2.3492 @@ -33114,7 +32309,7 @@ 2.3493 set dummy llvm-config; ac_word=$2 2.3494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.3495 $as_echo_n "checking for $ac_word... " >&6; } 2.3496 -if ${ac_cv_prog_LLVM_CONFIG+:} false; then : 2.3497 +if test "${ac_cv_prog_LLVM_CONFIG+set}" = set; then : 2.3498 $as_echo_n "(cached) " >&6 2.3499 else 2.3500 if test -n "$LLVM_CONFIG"; then 2.3501 @@ -33732,7 +32927,7 @@ 2.3502 set dummy ccache; ac_word=$2 2.3503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2.3504 $as_echo_n "checking for $ac_word... " >&6; } 2.3505 -if ${ac_cv_path_CCACHE+:} false; then : 2.3506 +if test "${ac_cv_path_CCACHE+set}" = set; then : 2.3507 $as_echo_n "(cached) " >&6 2.3508 else 2.3509 case $CCACHE in 2.3510 @@ -33993,21 +33188,10 @@ 2.3511 :end' >>confcache 2.3512 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 2.3513 if test -w "$cache_file"; then 2.3514 - if test "x$cache_file" != "x/dev/null"; then 2.3515 + test "x$cache_file" != "x/dev/null" && 2.3516 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 2.3517 $as_echo "$as_me: updating cache $cache_file" >&6;} 2.3518 - if test ! -f "$cache_file" || test -h "$cache_file"; then 2.3519 - cat confcache >"$cache_file" 2.3520 - else 2.3521 - case $cache_file in #( 2.3522 - */* | ?:*) 2.3523 - mv -f confcache "$cache_file"$$ && 2.3524 - mv -f "$cache_file"$$ "$cache_file" ;; #( 2.3525 - *) 2.3526 - mv -f confcache "$cache_file" ;; 2.3527 - esac 2.3528 - fi 2.3529 - fi 2.3530 + cat confcache >$cache_file 2.3531 else 2.3532 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 2.3533 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 2.3534 @@ -34039,7 +33223,7 @@ 2.3535 2.3536 2.3537 2.3538 -: "${CONFIG_STATUS=./config.status}" 2.3539 +: ${CONFIG_STATUS=./config.status} 2.3540 ac_write_fail=0 2.3541 ac_clean_files_save=$ac_clean_files 2.3542 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 2.3543 @@ -34140,7 +33324,6 @@ 2.3544 IFS=" "" $as_nl" 2.3545 2.3546 # Find who we are. Look in the path if we contain no directory separator. 2.3547 -as_myself= 2.3548 case $0 in #(( 2.3549 *[\\/]* ) as_myself=$0 ;; 2.3550 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2.3551 @@ -34448,7 +33631,7 @@ 2.3552 # values after options handling. 2.3553 ac_log=" 2.3554 This file was extended by OpenJDK $as_me jdk8, which was 2.3555 -generated by GNU Autoconf 2.68. Invocation command line was 2.3556 +generated by GNU Autoconf 2.67. Invocation command line was 2.3557 2.3558 CONFIG_FILES = $CONFIG_FILES 2.3559 CONFIG_HEADERS = $CONFIG_HEADERS 2.3560 @@ -34511,7 +33694,7 @@ 2.3561 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 2.3562 ac_cs_version="\\ 2.3563 OpenJDK config.status jdk8 2.3564 -configured by $0, generated by GNU Autoconf 2.68, 2.3565 +configured by $0, generated by GNU Autoconf 2.67, 2.3566 with options \\"\$ac_cs_config\\" 2.3567 2.3568 Copyright (C) 2010 Free Software Foundation, Inc. 2.3569 @@ -34640,7 +33823,7 @@ 2.3570 "$OUTPUT_ROOT/spec.sh") CONFIG_FILES="$CONFIG_FILES $OUTPUT_ROOT/spec.sh:$AUTOCONF_DIR/spec.sh.in" ;; 2.3571 "$OUTPUT_ROOT/Makefile") CONFIG_FILES="$CONFIG_FILES $OUTPUT_ROOT/Makefile:$AUTOCONF_DIR/Makefile.in" ;; 2.3572 2.3573 - *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 2.3574 + *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; 2.3575 esac 2.3576 done 2.3577 2.3578 @@ -34662,10 +33845,9 @@ 2.3579 # after its creation but before its name has been assigned to `$tmp'. 2.3580 $debug || 2.3581 { 2.3582 - tmp= ac_tmp= 2.3583 + tmp= 2.3584 trap 'exit_status=$? 2.3585 - : "${ac_tmp:=$tmp}" 2.3586 - { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 2.3587 + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 2.3588 ' 0 2.3589 trap 'as_fn_exit 1' 1 2 13 15 2.3590 } 2.3591 @@ -34673,13 +33855,12 @@ 2.3592 2.3593 { 2.3594 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 2.3595 - test -d "$tmp" 2.3596 + test -n "$tmp" && test -d "$tmp" 2.3597 } || 2.3598 { 2.3599 tmp=./conf$$-$RANDOM 2.3600 (umask 077 && mkdir "$tmp") 2.3601 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 2.3602 -ac_tmp=$tmp 2.3603 2.3604 # Set up the scripts for CONFIG_FILES section. 2.3605 # No need to generate them if there are no CONFIG_FILES. 2.3606 @@ -34701,7 +33882,7 @@ 2.3607 ac_cs_awk_cr=$ac_cr 2.3608 fi 2.3609 2.3610 -echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 2.3611 +echo 'BEGIN {' >"$tmp/subs1.awk" && 2.3612 _ACEOF 2.3613 2.3614 2.3615 @@ -34729,7 +33910,7 @@ 2.3616 rm -f conf$$subs.sh 2.3617 2.3618 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 2.3619 -cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 2.3620 +cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 2.3621 _ACEOF 2.3622 sed -n ' 2.3623 h 2.3624 @@ -34777,7 +33958,7 @@ 2.3625 rm -f conf$$subs.awk 2.3626 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 2.3627 _ACAWK 2.3628 -cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 2.3629 +cat >>"\$tmp/subs1.awk" <<_ACAWK && 2.3630 for (key in S) S_is_set[key] = 1 2.3631 FS = "" 2.3632 2.3633 @@ -34809,7 +33990,7 @@ 2.3634 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 2.3635 else 2.3636 cat 2.3637 -fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 2.3638 +fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 2.3639 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 2.3640 _ACEOF 2.3641 2.3642 @@ -34843,7 +34024,7 @@ 2.3643 # No need to generate them if there are no CONFIG_HEADERS. 2.3644 # This happens for instance with `./config.status Makefile'. 2.3645 if test -n "$CONFIG_HEADERS"; then 2.3646 -cat >"$ac_tmp/defines.awk" <<\_ACAWK || 2.3647 +cat >"$tmp/defines.awk" <<\_ACAWK || 2.3648 BEGIN { 2.3649 _ACEOF 2.3650 2.3651 @@ -34855,8 +34036,8 @@ 2.3652 # handling of long lines. 2.3653 ac_delim='%!_!# ' 2.3654 for ac_last_try in false false :; do 2.3655 - ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 2.3656 - if test -z "$ac_tt"; then 2.3657 + ac_t=`sed -n "/$ac_delim/p" confdefs.h` 2.3658 + if test -z "$ac_t"; then 2.3659 break 2.3660 elif $ac_last_try; then 2.3661 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 2.3662 @@ -34957,7 +34138,7 @@ 2.3663 esac 2.3664 case $ac_mode$ac_tag in 2.3665 :[FHL]*:*);; 2.3666 - :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 2.3667 + :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; 2.3668 :[FH]-) ac_tag=-:-;; 2.3669 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 2.3670 esac 2.3671 @@ -34976,7 +34157,7 @@ 2.3672 for ac_f 2.3673 do 2.3674 case $ac_f in 2.3675 - -) ac_f="$ac_tmp/stdin";; 2.3676 + -) ac_f="$tmp/stdin";; 2.3677 *) # Look for the file first in the build tree, then in the source tree 2.3678 # (if the path is not absolute). The absolute path cannot be DOS-style, 2.3679 # because $ac_f cannot contain `:'. 2.3680 @@ -34985,7 +34166,7 @@ 2.3681 [\\/$]*) false;; 2.3682 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 2.3683 esac || 2.3684 - as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 2.3685 + as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; 2.3686 esac 2.3687 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 2.3688 as_fn_append ac_file_inputs " '$ac_f'" 2.3689 @@ -35011,8 +34192,8 @@ 2.3690 esac 2.3691 2.3692 case $ac_tag in 2.3693 - *:-:* | *:-) cat >"$ac_tmp/stdin" \ 2.3694 - || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 2.3695 + *:-:* | *:-) cat >"$tmp/stdin" \ 2.3696 + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 2.3697 esac 2.3698 ;; 2.3699 esac 2.3700 @@ -35137,22 +34318,21 @@ 2.3701 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 2.3702 $ac_datarootdir_hack 2.3703 " 2.3704 -eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 2.3705 - >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 2.3706 +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 2.3707 + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 2.3708 2.3709 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 2.3710 - { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 2.3711 - { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 2.3712 - "$ac_tmp/out"`; test -z "$ac_out"; } && 2.3713 + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 2.3714 + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 2.3715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 2.3716 which seems to be undefined. Please make sure it is defined" >&5 2.3717 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 2.3718 which seems to be undefined. Please make sure it is defined" >&2;} 2.3719 2.3720 - rm -f "$ac_tmp/stdin" 2.3721 + rm -f "$tmp/stdin" 2.3722 case $ac_file in 2.3723 - -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 2.3724 - *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 2.3725 + -) cat "$tmp/out" && rm -f "$tmp/out";; 2.3726 + *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 2.3727 esac \ 2.3728 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 2.3729 ;; 2.3730 @@ -35163,20 +34343,20 @@ 2.3731 if test x"$ac_file" != x-; then 2.3732 { 2.3733 $as_echo "/* $configure_input */" \ 2.3734 - && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 2.3735 - } >"$ac_tmp/config.h" \ 2.3736 + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 2.3737 + } >"$tmp/config.h" \ 2.3738 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 2.3739 - if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 2.3740 + if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 2.3741 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 2.3742 $as_echo "$as_me: $ac_file is unchanged" >&6;} 2.3743 else 2.3744 rm -f "$ac_file" 2.3745 - mv "$ac_tmp/config.h" "$ac_file" \ 2.3746 + mv "$tmp/config.h" "$ac_file" \ 2.3747 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 2.3748 fi 2.3749 else 2.3750 $as_echo "/* $configure_input */" \ 2.3751 - && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 2.3752 + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 2.3753 || as_fn_error $? "could not create -" "$LINENO" 5 2.3754 fi 2.3755 ;;
3.1 --- a/common/autoconf/platform.m4 Tue Apr 30 14:39:49 2013 -0700 3.2 +++ b/common/autoconf/platform.m4 Thu May 02 15:46:38 2013 +0200 3.3 @@ -333,18 +333,6 @@ 3.4 fi 3.5 AC_SUBST(DEFINE_CROSS_COMPILE_ARCH) 3.6 3.7 - # Some Zero and Shark settings. 3.8 - # ZERO_ARCHFLAG tells the compiler which mode to build for 3.9 - case "${OPENJDK_TARGET_CPU}" in 3.10 - s390) 3.11 - ZERO_ARCHFLAG="-m31" 3.12 - ;; 3.13 - *) 3.14 - ZERO_ARCHFLAG="-m${OPENJDK_TARGET_CPU_BITS}" 3.15 - esac 3.16 - PLATFORM_COMPILER_CHECK_ARGUMENTS([$ZERO_ARCHFLAG], [], [ZERO_ARCHFLAG=""]) 3.17 - AC_SUBST(ZERO_ARCHFLAG) 3.18 - 3.19 # ZERO_ARCHDEF is used to enable architecture-specific code 3.20 case "${OPENJDK_TARGET_CPU}" in 3.21 ppc*) ZERO_ARCHDEF=PPC ;; 3.22 @@ -418,51 +406,6 @@ 3.23 AC_SUBST(OS_VERSION_MICRO) 3.24 ]) 3.25 3.26 -# PLATFORM_COMPILER_CHECK_ARGUMENTS([ARGUMENT], [RUN-IF-TRUE], 3.27 -# [RUN-IF-FALSE]) 3.28 -# ------------------------------------------------------------ 3.29 -# Check that the c and c++ compilers support an argument 3.30 -AC_DEFUN([PLATFORM_COMPILER_CHECK_ARGUMENTS], 3.31 -[ 3.32 - AC_MSG_CHECKING([if compiler supports "$1"]) 3.33 - supports=yes 3.34 - 3.35 - saved_cflags="$CFLAGS" 3.36 - CFLAGS="$CFLAGS $1" 3.37 - AC_LANG_PUSH([C]) 3.38 - AC_COMPILE_IFELSE([ 3.39 - AC_LANG_SOURCE([[int i;]]) 3.40 - ], [], [supports=no]) 3.41 - AC_LANG_POP([C]) 3.42 - CFLAGS="$saved_cflags" 3.43 - 3.44 - saved_cxxflags="$CXXFLAGS" 3.45 - CXXFLAGS="$CXXFLAG $1" 3.46 - AC_LANG_PUSH([C++]) 3.47 - AC_COMPILE_IFELSE([ 3.48 - AC_LANG_SOURCE([[int i;]]) 3.49 - ], [], [supports=no]) 3.50 - AC_LANG_POP([C++]) 3.51 - CXXFLAGS="$saved_cxxflags" 3.52 - 3.53 - AC_MSG_RESULT([$supports]) 3.54 - if test "x$supports" = "xyes" ; then 3.55 - m4_ifval([$2], [$2], [:]) 3.56 - else 3.57 - m4_ifval([$3], [$3], [:]) 3.58 - fi 3.59 -]) 3.60 - 3.61 -# Check that the compiler supports -mX flags 3.62 -# Set COMPILER_SUPPORTS_TARGET_BITS_FLAG to 'true' if it does 3.63 -AC_DEFUN([PLATFORM_CHECK_COMPILER_TARGET_BITS_FLAGS], 3.64 -[ 3.65 - PLATFORM_COMPILER_CHECK_ARGUMENTS([-m${OPENJDK_TARGET_CPU_BITS}], 3.66 - [COMPILER_SUPPORTS_TARGET_BITS_FLAG=true], 3.67 - [COMPILER_SUPPORTS_TARGET_BITS_FLAG=false]) 3.68 - AC_SUBST(COMPILER_SUPPORTS_TARGET_BITS_FLAG) 3.69 -]) 3.70 - 3.71 # Support macro for PLATFORM_SETUP_OPENJDK_TARGET_BITS. 3.72 # Add -mX to various FLAGS variables. 3.73 AC_DEFUN([PLATFORM_SET_COMPILER_TARGET_BITS_FLAGS], 3.74 @@ -491,8 +434,6 @@ 3.75 # is made at runtime.) 3.76 # 3.77 3.78 -PLATFORM_CHECK_COMPILER_TARGET_BITS_FLAGS 3.79 - 3.80 if test "x$OPENJDK_TARGET_OS" = xsolaris; then 3.81 # Always specify -m flags on Solaris 3.82 PLATFORM_SET_COMPILER_TARGET_BITS_FLAGS
4.1 --- a/common/autoconf/toolchain.m4 Tue Apr 30 14:39:49 2013 -0700 4.2 +++ b/common/autoconf/toolchain.m4 Thu May 02 15:46:38 2013 +0200 4.3 @@ -1030,3 +1030,61 @@ 4.4 AC_SUBST(LDFLAGS_JDKEXE_SUFFIX) 4.5 AC_SUBST(LDFLAGS_CXX_JDK) 4.6 ]) 4.7 + 4.8 + 4.9 +# TOOLCHAIN_COMPILER_CHECK_ARGUMENTS([ARGUMENT], [RUN-IF-TRUE], 4.10 +# [RUN-IF-FALSE]) 4.11 +# ------------------------------------------------------------ 4.12 +# Check that the c and c++ compilers support an argument 4.13 +AC_DEFUN([TOOLCHAIN_COMPILER_CHECK_ARGUMENTS], 4.14 +[ 4.15 + AC_MSG_CHECKING([if compiler supports "$1"]) 4.16 + supports=yes 4.17 + 4.18 + saved_cflags="$CFLAGS" 4.19 + CFLAGS="$CFLAGS $1" 4.20 + AC_LANG_PUSH([C]) 4.21 + AC_COMPILE_IFELSE([ 4.22 + AC_LANG_SOURCE([[int i;]]) 4.23 + ], [], [supports=no]) 4.24 + AC_LANG_POP([C]) 4.25 + CFLAGS="$saved_cflags" 4.26 + 4.27 + saved_cxxflags="$CXXFLAGS" 4.28 + CXXFLAGS="$CXXFLAG $1" 4.29 + AC_LANG_PUSH([C++]) 4.30 + AC_COMPILE_IFELSE([ 4.31 + AC_LANG_SOURCE([[int i;]]) 4.32 + ], [], [supports=no]) 4.33 + AC_LANG_POP([C++]) 4.34 + CXXFLAGS="$saved_cxxflags" 4.35 + 4.36 + AC_MSG_RESULT([$supports]) 4.37 + if test "x$supports" = "xyes" ; then 4.38 + m4_ifval([$2], [$2], [:]) 4.39 + else 4.40 + m4_ifval([$3], [$3], [:]) 4.41 + fi 4.42 +]) 4.43 + 4.44 +AC_DEFUN_ONCE([TOOLCHAIN_SETUP_COMPILER_FLAGS_MISC], 4.45 +[ 4.46 + # Some Zero and Shark settings. 4.47 + # ZERO_ARCHFLAG tells the compiler which mode to build for 4.48 + case "${OPENJDK_TARGET_CPU}" in 4.49 + s390) 4.50 + ZERO_ARCHFLAG="-m31" 4.51 + ;; 4.52 + *) 4.53 + ZERO_ARCHFLAG="-m${OPENJDK_TARGET_CPU_BITS}" 4.54 + esac 4.55 + TOOLCHAIN_COMPILER_CHECK_ARGUMENTS([$ZERO_ARCHFLAG], [], [ZERO_ARCHFLAG=""]) 4.56 + AC_SUBST(ZERO_ARCHFLAG) 4.57 + 4.58 + # Check that the compiler supports -mX flags 4.59 + # Set COMPILER_SUPPORTS_TARGET_BITS_FLAG to 'true' if it does 4.60 + TOOLCHAIN_COMPILER_CHECK_ARGUMENTS([-m${OPENJDK_TARGET_CPU_BITS}], 4.61 + [COMPILER_SUPPORTS_TARGET_BITS_FLAG=true], 4.62 + [COMPILER_SUPPORTS_TARGET_BITS_FLAG=false]) 4.63 + AC_SUBST(COMPILER_SUPPORTS_TARGET_BITS_FLAG) 4.64 +])