revision 1287:dac8f363f1fe
summary |
tree |
shortlog |
changelog |
graph |
changeset |
raw | bz2 | zip | gz changeset | 1287:dac8f363f1fe |
parent | 1286:8376a612a79d |
child | 1288:fdb8f59143c7 |
author | nkeynes |
date | Sun Jul 01 13:20:34 2012 +1000 (11 years ago) |
Add support for Nokia N900
- Generic support for EGL with GTK
- Workaround for nokia bug with egl config
Based on patch from guinux, thanks!
- Generic support for EGL with GTK
- Workaround for nokia bug with egl config
Based on patch from guinux, thanks!
1.1 --- a/Makefile.in Sun Jul 01 13:19:27 2012 +10001.2 +++ b/Makefile.in Sun Jul 01 13:20:34 2012 +10001.3 @@ -240,6 +240,8 @@1.4 STRIP = @STRIP@1.5 USE_NLS = @USE_NLS@1.6 VERSION = @VERSION@1.7 +VIDEO_EGL_FALSE = @VIDEO_EGL_FALSE@1.8 +VIDEO_EGL_TRUE = @VIDEO_EGL_TRUE@1.9 VIDEO_GLX_FALSE = @VIDEO_GLX_FALSE@1.10 VIDEO_GLX_TRUE = @VIDEO_GLX_TRUE@1.11 VIDEO_NSGL_FALSE = @VIDEO_NSGL_FALSE@
2.1 --- a/configure Sun Jul 01 13:19:27 2012 +10002.2 +++ b/configure Sun Jul 01 13:20:34 2012 +10002.3 @@ -682,16 +682,6 @@2.4 host_cpu2.5 host_vendor2.6 host_os2.7 -ANT2.8 -ANDROID_ABI2.9 -ANDROID_SDK_HOME2.10 -ANDROID_NDK_HOME2.11 -ANDROID_SDK_VERSION2.12 -ANDROID_NDK_VERSION2.13 -ANDROID_GDBSERVER2.14 -GDB2.15 -GUI_ANDROID_TRUE2.16 -GUI_ANDROID_FALSE2.17 CC2.18 CFLAGS2.19 LDFLAGS2.20 @@ -738,6 +728,15 @@2.21 am__fastdepOBJC_FALSE2.22 POD2MAN2.23 POD2HTML2.24 +ANT2.25 +ANDROID_ABI2.26 +ANDROID_SDK_HOME2.27 +ANDROID_NDK_HOME2.28 +ANDROID_SDK_VERSION2.29 +ANDROID_NDK_VERSION2.30 +ANDROID_GDBSERVER2.31 +GUI_ANDROID_TRUE2.32 +GUI_ANDROID_FALSE2.33 GUI_COCOA_TRUE2.34 GUI_COCOA_FALSE2.35 SOEXT2.36 @@ -768,6 +767,8 @@2.37 VIDEO_GLX_FALSE2.38 VIDEO_NSGL_TRUE2.39 VIDEO_NSGL_FALSE2.40 +VIDEO_EGL_TRUE2.41 +VIDEO_EGL_FALSE2.42 BUILD_SH4X86_TRUE2.43 BUILD_SH4X86_FALSE2.44 AUDIO_OSX_TRUE2.45 @@ -1465,17 +1466,18 @@2.46 Optional Packages:2.47 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]2.48 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)2.49 - --with-android=SDK Specify the location of the Android SDK2.50 - --with-android-ndk=NDK Specify the location of the Android NDK2.51 - --with-android-version Specify target Android SDK version2.52 - --with-android-version Specify target Android NDK version2.53 - --with-android-abi Specify target Android ABI2.54 --with-osmesa Build with the osmesa GL library (software2.55 rendering)2.56 --with-gtk Build with the GTK UI. Default on X11 systems2.57 --with-esd Build with support for the ESounD audio system2.58 --with-pulse Build with support for the PulseAudio audio system2.59 --with-sdl Build with support for SDL audio2.60 + --with-sysroot=SYSROOT Build using an alternate sysroot2.61 + --with-android=SDK Specify the location of the Android SDK2.62 + --with-android-ndk=NDK Specify the location of the Android NDK2.63 + --with-android-version Specify target Android SDK version2.64 + --with-android-version Specify target Android NDK version2.65 + --with-android-abi Specify target Android ABI2.67 Some influential environment variables:2.68 CC C compiler command2.69 @@ -2530,6 +2532,6245 @@2.73 +DEPDIR="${am__leading_dot}deps"2.74 +2.75 +ac_config_commands="$ac_config_commands depfiles"2.76 +2.77 +2.78 +am_make=${MAKE-make}2.79 +cat > confinc << 'END'2.80 +am__doit:2.81 + @echo done2.82 +.PHONY: am__doit2.83 +END2.84 +# If we don't find an include directive, just comment out the code.2.85 +{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&52.86 +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }2.87 +am__include="#"2.88 +am__quote=2.89 +_am_result=none2.90 +# First try GNU make style include.2.91 +echo "include confinc" > confmf2.92 +# We grep out `Entering directory' and `Leaving directory'2.93 +# messages which can occur if `w' ends up in MAKEFLAGS.2.94 +# In particular we don't look at `^make:' because GNU make might2.95 +# be invoked under some other name (usually "gmake"), in which2.96 +# case it prints its new name instead of `make'.2.97 +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then2.98 + am__include=include2.99 + am__quote=2.100 + _am_result=GNU2.101 +fi2.102 +# Now try BSD make style include.2.103 +if test "$am__include" = "#"; then2.104 + echo '.include "confinc"' > confmf2.105 + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then2.106 + am__include=.include2.107 + am__quote="\""2.108 + _am_result=BSD2.109 + fi2.110 +fi2.111 +2.112 +2.113 +{ echo "$as_me:$LINENO: result: $_am_result" >&52.114 +echo "${ECHO_T}$_am_result" >&6; }2.115 +rm -f confinc confmf2.116 +2.117 +# Check whether --enable-dependency-tracking was given.2.118 +if test "${enable_dependency_tracking+set}" = set; then2.119 + enableval=$enable_dependency_tracking;2.120 +fi2.121 +2.122 +if test "x$enable_dependency_tracking" != xno; then2.123 + am_depcomp="$ac_aux_dir/depcomp"2.124 + AMDEPBACKSLASH='\'2.125 +fi2.126 +2.127 +2.128 +if test "x$enable_dependency_tracking" != xno; then2.129 + AMDEP_TRUE=2.130 + AMDEP_FALSE='#'2.131 +else2.132 + AMDEP_TRUE='#'2.133 + AMDEP_FALSE=2.134 +fi2.135 +2.136 +2.137 +2.138 +ac_ext=c2.139 +ac_cpp='$CPP $CPPFLAGS'2.140 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'2.141 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'2.142 +ac_compiler_gnu=$ac_cv_c_compiler_gnu2.143 +if test -n "$ac_tool_prefix"; then2.144 + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.2.145 +set dummy ${ac_tool_prefix}gcc; ac_word=$22.146 +{ echo "$as_me:$LINENO: checking for $ac_word" >&52.147 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.148 +if test "${ac_cv_prog_CC+set}" = set; then2.149 + echo $ECHO_N "(cached) $ECHO_C" >&62.150 +else2.151 + if test -n "$CC"; then2.152 + ac_cv_prog_CC="$CC" # Let the user override the test.2.153 +else2.154 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.155 +for as_dir in $PATH2.156 +do2.157 + IFS=$as_save_IFS2.158 + test -z "$as_dir" && as_dir=.2.159 + for ac_exec_ext in '' $ac_executable_extensions; do2.160 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.161 + ac_cv_prog_CC="${ac_tool_prefix}gcc"2.162 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.163 + break 22.164 + fi2.165 +done2.166 +done2.167 +IFS=$as_save_IFS2.168 +2.169 +fi2.170 +fi2.171 +CC=$ac_cv_prog_CC2.172 +if test -n "$CC"; then2.173 + { echo "$as_me:$LINENO: result: $CC" >&52.174 +echo "${ECHO_T}$CC" >&6; }2.175 +else2.176 + { echo "$as_me:$LINENO: result: no" >&52.177 +echo "${ECHO_T}no" >&6; }2.178 +fi2.179 +2.180 +2.181 +fi2.182 +if test -z "$ac_cv_prog_CC"; then2.183 + ac_ct_CC=$CC2.184 + # Extract the first word of "gcc", so it can be a program name with args.2.185 +set dummy gcc; ac_word=$22.186 +{ echo "$as_me:$LINENO: checking for $ac_word" >&52.187 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.188 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2.189 + echo $ECHO_N "(cached) $ECHO_C" >&62.190 +else2.191 + if test -n "$ac_ct_CC"; then2.192 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.2.193 +else2.194 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.195 +for as_dir in $PATH2.196 +do2.197 + IFS=$as_save_IFS2.198 + test -z "$as_dir" && as_dir=.2.199 + for ac_exec_ext in '' $ac_executable_extensions; do2.200 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.201 + ac_cv_prog_ac_ct_CC="gcc"2.202 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.203 + break 22.204 + fi2.205 +done2.206 +done2.207 +IFS=$as_save_IFS2.208 +2.209 +fi2.210 +fi2.211 +ac_ct_CC=$ac_cv_prog_ac_ct_CC2.212 +if test -n "$ac_ct_CC"; then2.213 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52.214 +echo "${ECHO_T}$ac_ct_CC" >&6; }2.215 +else2.216 + { echo "$as_me:$LINENO: result: no" >&52.217 +echo "${ECHO_T}no" >&6; }2.218 +fi2.219 +2.220 + if test "x$ac_ct_CC" = x; then2.221 + CC=""2.222 + else2.223 + case $cross_compiling:$ac_tool_warned in2.224 +yes:)2.225 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools2.226 +whose name does not start with the host triplet. If you think this2.227 +configuration is useful to you, please write to autoconf@gnu.org." >&52.228 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools2.229 +whose name does not start with the host triplet. If you think this2.230 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}2.231 +ac_tool_warned=yes ;;2.232 +esac2.233 + CC=$ac_ct_CC2.234 + fi2.235 +else2.236 + CC="$ac_cv_prog_CC"2.237 +fi2.238 +2.239 +if test -z "$CC"; then2.240 + if test -n "$ac_tool_prefix"; then2.241 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.2.242 +set dummy ${ac_tool_prefix}cc; ac_word=$22.243 +{ echo "$as_me:$LINENO: checking for $ac_word" >&52.244 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.245 +if test "${ac_cv_prog_CC+set}" = set; then2.246 + echo $ECHO_N "(cached) $ECHO_C" >&62.247 +else2.248 + if test -n "$CC"; then2.249 + ac_cv_prog_CC="$CC" # Let the user override the test.2.250 +else2.251 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.252 +for as_dir in $PATH2.253 +do2.254 + IFS=$as_save_IFS2.255 + test -z "$as_dir" && as_dir=.2.256 + for ac_exec_ext in '' $ac_executable_extensions; do2.257 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.258 + ac_cv_prog_CC="${ac_tool_prefix}cc"2.259 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.260 + break 22.261 + fi2.262 +done2.263 +done2.264 +IFS=$as_save_IFS2.265 +2.266 +fi2.267 +fi2.268 +CC=$ac_cv_prog_CC2.269 +if test -n "$CC"; then2.270 + { echo "$as_me:$LINENO: result: $CC" >&52.271 +echo "${ECHO_T}$CC" >&6; }2.272 +else2.273 + { echo "$as_me:$LINENO: result: no" >&52.274 +echo "${ECHO_T}no" >&6; }2.275 +fi2.276 +2.277 +2.278 + fi2.279 +fi2.280 +if test -z "$CC"; then2.281 + # Extract the first word of "cc", so it can be a program name with args.2.282 +set dummy cc; ac_word=$22.283 +{ echo "$as_me:$LINENO: checking for $ac_word" >&52.284 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.285 +if test "${ac_cv_prog_CC+set}" = set; then2.286 + echo $ECHO_N "(cached) $ECHO_C" >&62.287 +else2.288 + if test -n "$CC"; then2.289 + ac_cv_prog_CC="$CC" # Let the user override the test.2.290 +else2.291 + ac_prog_rejected=no2.292 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.293 +for as_dir in $PATH2.294 +do2.295 + IFS=$as_save_IFS2.296 + test -z "$as_dir" && as_dir=.2.297 + for ac_exec_ext in '' $ac_executable_extensions; do2.298 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.299 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then2.300 + ac_prog_rejected=yes2.301 + continue2.302 + fi2.303 + ac_cv_prog_CC="cc"2.304 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.305 + break 22.306 + fi2.307 +done2.308 +done2.309 +IFS=$as_save_IFS2.310 +2.311 +if test $ac_prog_rejected = yes; then2.312 + # We found a bogon in the path, so make sure we never use it.2.313 + set dummy $ac_cv_prog_CC2.314 + shift2.315 + if test $# != 0; then2.316 + # We chose a different compiler from the bogus one.2.317 + # However, it has the same basename, so the bogon will be chosen2.318 + # first if we set CC to just the basename; use the full file name.2.319 + shift2.320 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"2.321 + fi2.322 +fi2.323 +fi2.324 +fi2.325 +CC=$ac_cv_prog_CC2.326 +if test -n "$CC"; then2.327 + { echo "$as_me:$LINENO: result: $CC" >&52.328 +echo "${ECHO_T}$CC" >&6; }2.329 +else2.330 + { echo "$as_me:$LINENO: result: no" >&52.331 +echo "${ECHO_T}no" >&6; }2.332 +fi2.333 +2.334 +2.335 +fi2.336 +if test -z "$CC"; then2.337 + if test -n "$ac_tool_prefix"; then2.338 + for ac_prog in cl.exe2.339 + do2.340 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.2.341 +set dummy $ac_tool_prefix$ac_prog; ac_word=$22.342 +{ echo "$as_me:$LINENO: checking for $ac_word" >&52.343 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.344 +if test "${ac_cv_prog_CC+set}" = set; then2.345 + echo $ECHO_N "(cached) $ECHO_C" >&62.346 +else2.347 + if test -n "$CC"; then2.348 + ac_cv_prog_CC="$CC" # Let the user override the test.2.349 +else2.350 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.351 +for as_dir in $PATH2.352 +do2.353 + IFS=$as_save_IFS2.354 + test -z "$as_dir" && as_dir=.2.355 + for ac_exec_ext in '' $ac_executable_extensions; do2.356 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.357 + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"2.358 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.359 + break 22.360 + fi2.361 +done2.362 +done2.363 +IFS=$as_save_IFS2.364 +2.365 +fi2.366 +fi2.367 +CC=$ac_cv_prog_CC2.368 +if test -n "$CC"; then2.369 + { echo "$as_me:$LINENO: result: $CC" >&52.370 +echo "${ECHO_T}$CC" >&6; }2.371 +else2.372 + { echo "$as_me:$LINENO: result: no" >&52.373 +echo "${ECHO_T}no" >&6; }2.374 +fi2.375 +2.376 +2.377 + test -n "$CC" && break2.378 + done2.379 +fi2.380 +if test -z "$CC"; then2.381 + ac_ct_CC=$CC2.382 + for ac_prog in cl.exe2.383 +do2.384 + # Extract the first word of "$ac_prog", so it can be a program name with args.2.385 +set dummy $ac_prog; ac_word=$22.386 +{ echo "$as_me:$LINENO: checking for $ac_word" >&52.387 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.388 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2.389 + echo $ECHO_N "(cached) $ECHO_C" >&62.390 +else2.391 + if test -n "$ac_ct_CC"; then2.392 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.2.393 +else2.394 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.395 +for as_dir in $PATH2.396 +do2.397 + IFS=$as_save_IFS2.398 + test -z "$as_dir" && as_dir=.2.399 + for ac_exec_ext in '' $ac_executable_extensions; do2.400 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.401 + ac_cv_prog_ac_ct_CC="$ac_prog"2.402 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.403 + break 22.404 + fi2.405 +done2.406 +done2.407 +IFS=$as_save_IFS2.408 +2.409 +fi2.410 +fi2.411 +ac_ct_CC=$ac_cv_prog_ac_ct_CC2.412 +if test -n "$ac_ct_CC"; then2.413 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52.414 +echo "${ECHO_T}$ac_ct_CC" >&6; }2.415 +else2.416 + { echo "$as_me:$LINENO: result: no" >&52.417 +echo "${ECHO_T}no" >&6; }2.418 +fi2.419 +2.420 +2.421 + test -n "$ac_ct_CC" && break2.422 +done2.423 +2.424 + if test "x$ac_ct_CC" = x; then2.425 + CC=""2.426 + else2.427 + case $cross_compiling:$ac_tool_warned in2.428 +yes:)2.429 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools2.430 +whose name does not start with the host triplet. If you think this2.431 +configuration is useful to you, please write to autoconf@gnu.org." >&52.432 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools2.433 +whose name does not start with the host triplet. If you think this2.434 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}2.435 +ac_tool_warned=yes ;;2.436 +esac2.437 + CC=$ac_ct_CC2.438 + fi2.439 +fi2.440 +2.441 +fi2.442 +2.443 +2.444 +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH2.445 +See \`config.log' for more details." >&52.446 +echo "$as_me: error: no acceptable C compiler found in \$PATH2.447 +See \`config.log' for more details." >&2;}2.448 + { (exit 1); exit 1; }; }2.449 +2.450 +# Provide some information about the compiler.2.451 +echo "$as_me:$LINENO: checking for C compiler version" >&52.452 +ac_compiler=`set X $ac_compile; echo $2`2.453 +{ (ac_try="$ac_compiler --version >&5"2.454 +case "(($ac_try" in2.455 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.456 + *) ac_try_echo=$ac_try;;2.457 +esac2.458 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.459 + (eval "$ac_compiler --version >&5") 2>&52.460 + ac_status=$?2.461 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.462 + (exit $ac_status); }2.463 +{ (ac_try="$ac_compiler -v >&5"2.464 +case "(($ac_try" in2.465 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.466 + *) ac_try_echo=$ac_try;;2.467 +esac2.468 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.469 + (eval "$ac_compiler -v >&5") 2>&52.470 + ac_status=$?2.471 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.472 + (exit $ac_status); }2.473 +{ (ac_try="$ac_compiler -V >&5"2.474 +case "(($ac_try" in2.475 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.476 + *) ac_try_echo=$ac_try;;2.477 +esac2.478 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.479 + (eval "$ac_compiler -V >&5") 2>&52.480 + ac_status=$?2.481 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.482 + (exit $ac_status); }2.483 +2.484 +cat >conftest.$ac_ext <<_ACEOF2.485 +/* confdefs.h. */2.486 +_ACEOF2.487 +cat confdefs.h >>conftest.$ac_ext2.488 +cat >>conftest.$ac_ext <<_ACEOF2.489 +/* end confdefs.h. */2.490 +2.491 +int2.492 +main ()2.493 +{2.494 +2.495 + ;2.496 + return 0;2.497 +}2.498 +_ACEOF2.499 +ac_clean_files_save=$ac_clean_files2.500 +ac_clean_files="$ac_clean_files a.out a.exe b.out"2.501 +# Try to create an executable without -o first, disregard a.out.2.502 +# It will help us diagnose broken compilers, and finding out an intuition2.503 +# of exeext.2.504 +{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&52.505 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }2.506 +ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`2.507 +#2.508 +# List of possible output files, starting from the most likely.2.509 +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)2.510 +# only as a last resort. b.out is created by i960 compilers.2.511 +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'2.512 +#2.513 +# The IRIX 6 linker writes into existing files which may not be2.514 +# executable, retaining their permissions. Remove them first so a2.515 +# subsequent execution test works.2.516 +ac_rmfiles=2.517 +for ac_file in $ac_files2.518 +do2.519 + case $ac_file in2.520 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;2.521 + * ) ac_rmfiles="$ac_rmfiles $ac_file";;2.522 + esac2.523 +done2.524 +rm -f $ac_rmfiles2.525 +2.526 +if { (ac_try="$ac_link_default"2.527 +case "(($ac_try" in2.528 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.529 + *) ac_try_echo=$ac_try;;2.530 +esac2.531 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.532 + (eval "$ac_link_default") 2>&52.533 + ac_status=$?2.534 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.535 + (exit $ac_status); }; then2.536 + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.2.537 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'2.538 +# in a Makefile. We should not override ac_cv_exeext if it was cached,2.539 +# so that the user can short-circuit this test for compilers unknown to2.540 +# Autoconf.2.541 +for ac_file in $ac_files ''2.542 +do2.543 + test -f "$ac_file" || continue2.544 + case $ac_file in2.545 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )2.546 + ;;2.547 + [ab].out )2.548 + # We found the default executable, but exeext='' is most2.549 + # certainly right.2.550 + break;;2.551 + *.* )2.552 + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;2.553 + then :; else2.554 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`2.555 + fi2.556 + # We set ac_cv_exeext here because the later test for it is not2.557 + # safe: cross compilers may not add the suffix if given an `-o'2.558 + # argument, so we may need to know it at that point already.2.559 + # Even if this section looks crufty: it has the advantage of2.560 + # actually working.2.561 + break;;2.562 + * )2.563 + break;;2.564 + esac2.565 +done2.566 +test "$ac_cv_exeext" = no && ac_cv_exeext=2.567 +2.568 +else2.569 + ac_file=''2.570 +fi2.571 +2.572 +{ echo "$as_me:$LINENO: result: $ac_file" >&52.573 +echo "${ECHO_T}$ac_file" >&6; }2.574 +if test -z "$ac_file"; then2.575 + echo "$as_me: failed program was:" >&52.576 +sed 's/^/| /' conftest.$ac_ext >&52.577 +2.578 +{ { echo "$as_me:$LINENO: error: C compiler cannot create executables2.579 +See \`config.log' for more details." >&52.580 +echo "$as_me: error: C compiler cannot create executables2.581 +See \`config.log' for more details." >&2;}2.582 + { (exit 77); exit 77; }; }2.583 +fi2.584 +2.585 +ac_exeext=$ac_cv_exeext2.586 +2.587 +# Check that the compiler produces executables we can run. If not, either2.588 +# the compiler is broken, or we cross compile.2.589 +{ echo "$as_me:$LINENO: checking whether the C compiler works" >&52.590 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }2.591 +# FIXME: These cross compiler hacks should be removed for Autoconf 3.02.592 +# If not cross compiling, check that we can run a simple program.2.593 +if test "$cross_compiling" != yes; then2.594 + if { ac_try='./$ac_file'2.595 + { (case "(($ac_try" in2.596 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.597 + *) ac_try_echo=$ac_try;;2.598 +esac2.599 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.600 + (eval "$ac_try") 2>&52.601 + ac_status=$?2.602 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.603 + (exit $ac_status); }; }; then2.604 + cross_compiling=no2.605 + else2.606 + if test "$cross_compiling" = maybe; then2.607 + cross_compiling=yes2.608 + else2.609 + { { echo "$as_me:$LINENO: error: cannot run C compiled programs.2.610 +If you meant to cross compile, use \`--host'.2.611 +See \`config.log' for more details." >&52.612 +echo "$as_me: error: cannot run C compiled programs.2.613 +If you meant to cross compile, use \`--host'.2.614 +See \`config.log' for more details." >&2;}2.615 + { (exit 1); exit 1; }; }2.616 + fi2.617 + fi2.618 +fi2.619 +{ echo "$as_me:$LINENO: result: yes" >&52.620 +echo "${ECHO_T}yes" >&6; }2.621 +2.622 +rm -f a.out a.exe conftest$ac_cv_exeext b.out2.623 +ac_clean_files=$ac_clean_files_save2.624 +# Check that the compiler produces executables we can run. If not, either2.625 +# the compiler is broken, or we cross compile.2.626 +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&52.627 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }2.628 +{ echo "$as_me:$LINENO: result: $cross_compiling" >&52.629 +echo "${ECHO_T}$cross_compiling" >&6; }2.630 +2.631 +{ echo "$as_me:$LINENO: checking for suffix of executables" >&52.632 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }2.633 +if { (ac_try="$ac_link"2.634 +case "(($ac_try" in2.635 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.636 + *) ac_try_echo=$ac_try;;2.637 +esac2.638 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.639 + (eval "$ac_link") 2>&52.640 + ac_status=$?2.641 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.642 + (exit $ac_status); }; then2.643 + # If both `conftest.exe' and `conftest' are `present' (well, observable)2.644 +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will2.645 +# work properly (i.e., refer to `conftest.exe'), while it won't with2.646 +# `rm'.2.647 +for ac_file in conftest.exe conftest conftest.*; do2.648 + test -f "$ac_file" || continue2.649 + case $ac_file in2.650 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;2.651 + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`2.652 + break;;2.653 + * ) break;;2.654 + esac2.655 +done2.656 +else2.657 + { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link2.658 +See \`config.log' for more details." >&52.659 +echo "$as_me: error: cannot compute suffix of executables: cannot compile and link2.660 +See \`config.log' for more details." >&2;}2.661 + { (exit 1); exit 1; }; }2.662 +fi2.663 +2.664 +rm -f conftest$ac_cv_exeext2.665 +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&52.666 +echo "${ECHO_T}$ac_cv_exeext" >&6; }2.667 +2.668 +rm -f conftest.$ac_ext2.669 +EXEEXT=$ac_cv_exeext2.670 +ac_exeext=$EXEEXT2.671 +{ echo "$as_me:$LINENO: checking for suffix of object files" >&52.672 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }2.673 +if test "${ac_cv_objext+set}" = set; then2.674 + echo $ECHO_N "(cached) $ECHO_C" >&62.675 +else2.676 + cat >conftest.$ac_ext <<_ACEOF2.677 +/* confdefs.h. */2.678 +_ACEOF2.679 +cat confdefs.h >>conftest.$ac_ext2.680 +cat >>conftest.$ac_ext <<_ACEOF2.681 +/* end confdefs.h. */2.682 +2.683 +int2.684 +main ()2.685 +{2.686 +2.687 + ;2.688 + return 0;2.689 +}2.690 +_ACEOF2.691 +rm -f conftest.o conftest.obj2.692 +if { (ac_try="$ac_compile"2.693 +case "(($ac_try" in2.694 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.695 + *) ac_try_echo=$ac_try;;2.696 +esac2.697 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.698 + (eval "$ac_compile") 2>&52.699 + ac_status=$?2.700 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.701 + (exit $ac_status); }; then2.702 + for ac_file in conftest.o conftest.obj conftest.*; do2.703 + test -f "$ac_file" || continue;2.704 + case $ac_file in2.705 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;2.706 + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`2.707 + break;;2.708 + esac2.709 +done2.710 +else2.711 + echo "$as_me: failed program was:" >&52.712 +sed 's/^/| /' conftest.$ac_ext >&52.713 +2.714 +{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile2.715 +See \`config.log' for more details." >&52.716 +echo "$as_me: error: cannot compute suffix of object files: cannot compile2.717 +See \`config.log' for more details." >&2;}2.718 + { (exit 1); exit 1; }; }2.719 +fi2.720 +2.721 +rm -f conftest.$ac_cv_objext conftest.$ac_ext2.722 +fi2.723 +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&52.724 +echo "${ECHO_T}$ac_cv_objext" >&6; }2.725 +OBJEXT=$ac_cv_objext2.726 +ac_objext=$OBJEXT2.727 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&52.728 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }2.729 +if test "${ac_cv_c_compiler_gnu+set}" = set; then2.730 + echo $ECHO_N "(cached) $ECHO_C" >&62.731 +else2.732 + cat >conftest.$ac_ext <<_ACEOF2.733 +/* confdefs.h. */2.734 +_ACEOF2.735 +cat confdefs.h >>conftest.$ac_ext2.736 +cat >>conftest.$ac_ext <<_ACEOF2.737 +/* end confdefs.h. */2.738 +2.739 +int2.740 +main ()2.741 +{2.742 +#ifndef __GNUC__2.743 + choke me2.744 +#endif2.745 +2.746 + ;2.747 + return 0;2.748 +}2.749 +_ACEOF2.750 +rm -f conftest.$ac_objext2.751 +if { (ac_try="$ac_compile"2.752 +case "(($ac_try" in2.753 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.754 + *) ac_try_echo=$ac_try;;2.755 +esac2.756 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.757 + (eval "$ac_compile") 2>conftest.er12.758 + ac_status=$?2.759 + grep -v '^ *+' conftest.er1 >conftest.err2.760 + rm -f conftest.er12.761 + cat conftest.err >&52.762 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.763 + (exit $ac_status); } && {2.764 + test -z "$ac_c_werror_flag" ||2.765 + test ! -s conftest.err2.766 + } && test -s conftest.$ac_objext; then2.767 + ac_compiler_gnu=yes2.768 +else2.769 + echo "$as_me: failed program was:" >&52.770 +sed 's/^/| /' conftest.$ac_ext >&52.771 +2.772 + ac_compiler_gnu=no2.773 +fi2.774 +2.775 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2.776 +ac_cv_c_compiler_gnu=$ac_compiler_gnu2.777 +2.778 +fi2.779 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&52.780 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }2.781 +GCC=`test $ac_compiler_gnu = yes && echo yes`2.782 +ac_test_CFLAGS=${CFLAGS+set}2.783 +ac_save_CFLAGS=$CFLAGS2.784 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&52.785 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }2.786 +if test "${ac_cv_prog_cc_g+set}" = set; then2.787 + echo $ECHO_N "(cached) $ECHO_C" >&62.788 +else2.789 + ac_save_c_werror_flag=$ac_c_werror_flag2.790 + ac_c_werror_flag=yes2.791 + ac_cv_prog_cc_g=no2.792 + CFLAGS="-g"2.793 + cat >conftest.$ac_ext <<_ACEOF2.794 +/* confdefs.h. */2.795 +_ACEOF2.796 +cat confdefs.h >>conftest.$ac_ext2.797 +cat >>conftest.$ac_ext <<_ACEOF2.798 +/* end confdefs.h. */2.799 +2.800 +int2.801 +main ()2.802 +{2.803 +2.804 + ;2.805 + return 0;2.806 +}2.807 +_ACEOF2.808 +rm -f conftest.$ac_objext2.809 +if { (ac_try="$ac_compile"2.810 +case "(($ac_try" in2.811 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.812 + *) ac_try_echo=$ac_try;;2.813 +esac2.814 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.815 + (eval "$ac_compile") 2>conftest.er12.816 + ac_status=$?2.817 + grep -v '^ *+' conftest.er1 >conftest.err2.818 + rm -f conftest.er12.819 + cat conftest.err >&52.820 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.821 + (exit $ac_status); } && {2.822 + test -z "$ac_c_werror_flag" ||2.823 + test ! -s conftest.err2.824 + } && test -s conftest.$ac_objext; then2.825 + ac_cv_prog_cc_g=yes2.826 +else2.827 + echo "$as_me: failed program was:" >&52.828 +sed 's/^/| /' conftest.$ac_ext >&52.829 +2.830 + CFLAGS=""2.831 + cat >conftest.$ac_ext <<_ACEOF2.832 +/* confdefs.h. */2.833 +_ACEOF2.834 +cat confdefs.h >>conftest.$ac_ext2.835 +cat >>conftest.$ac_ext <<_ACEOF2.836 +/* end confdefs.h. */2.837 +2.838 +int2.839 +main ()2.840 +{2.841 +2.842 + ;2.843 + return 0;2.844 +}2.845 +_ACEOF2.846 +rm -f conftest.$ac_objext2.847 +if { (ac_try="$ac_compile"2.848 +case "(($ac_try" in2.849 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.850 + *) ac_try_echo=$ac_try;;2.851 +esac2.852 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.853 + (eval "$ac_compile") 2>conftest.er12.854 + ac_status=$?2.855 + grep -v '^ *+' conftest.er1 >conftest.err2.856 + rm -f conftest.er12.857 + cat conftest.err >&52.858 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.859 + (exit $ac_status); } && {2.860 + test -z "$ac_c_werror_flag" ||2.861 + test ! -s conftest.err2.862 + } && test -s conftest.$ac_objext; then2.863 + :2.864 +else2.865 + echo "$as_me: failed program was:" >&52.866 +sed 's/^/| /' conftest.$ac_ext >&52.867 +2.868 + ac_c_werror_flag=$ac_save_c_werror_flag2.869 + CFLAGS="-g"2.870 + cat >conftest.$ac_ext <<_ACEOF2.871 +/* confdefs.h. */2.872 +_ACEOF2.873 +cat confdefs.h >>conftest.$ac_ext2.874 +cat >>conftest.$ac_ext <<_ACEOF2.875 +/* end confdefs.h. */2.876 +2.877 +int2.878 +main ()2.879 +{2.880 +2.881 + ;2.882 + return 0;2.883 +}2.884 +_ACEOF2.885 +rm -f conftest.$ac_objext2.886 +if { (ac_try="$ac_compile"2.887 +case "(($ac_try" in2.888 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.889 + *) ac_try_echo=$ac_try;;2.890 +esac2.891 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.892 + (eval "$ac_compile") 2>conftest.er12.893 + ac_status=$?2.894 + grep -v '^ *+' conftest.er1 >conftest.err2.895 + rm -f conftest.er12.896 + cat conftest.err >&52.897 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.898 + (exit $ac_status); } && {2.899 + test -z "$ac_c_werror_flag" ||2.900 + test ! -s conftest.err2.901 + } && test -s conftest.$ac_objext; then2.902 + ac_cv_prog_cc_g=yes2.903 +else2.904 + echo "$as_me: failed program was:" >&52.905 +sed 's/^/| /' conftest.$ac_ext >&52.906 +2.907 +2.908 +fi2.909 +2.910 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2.911 +fi2.912 +2.913 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2.914 +fi2.915 +2.916 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2.917 + ac_c_werror_flag=$ac_save_c_werror_flag2.918 +fi2.919 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&52.920 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }2.921 +if test "$ac_test_CFLAGS" = set; then2.922 + CFLAGS=$ac_save_CFLAGS2.923 +elif test $ac_cv_prog_cc_g = yes; then2.924 + if test "$GCC" = yes; then2.925 + CFLAGS="-g -O2"2.926 + else2.927 + CFLAGS="-g"2.928 + fi2.929 +else2.930 + if test "$GCC" = yes; then2.931 + CFLAGS="-O2"2.932 + else2.933 + CFLAGS=2.934 + fi2.935 +fi2.936 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&52.937 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }2.938 +if test "${ac_cv_prog_cc_c89+set}" = set; then2.939 + echo $ECHO_N "(cached) $ECHO_C" >&62.940 +else2.941 + ac_cv_prog_cc_c89=no2.942 +ac_save_CC=$CC2.943 +cat >conftest.$ac_ext <<_ACEOF2.944 +/* confdefs.h. */2.945 +_ACEOF2.946 +cat confdefs.h >>conftest.$ac_ext2.947 +cat >>conftest.$ac_ext <<_ACEOF2.948 +/* end confdefs.h. */2.949 +#include <stdarg.h>2.950 +#include <stdio.h>2.951 +#include <sys/types.h>2.952 +#include <sys/stat.h>2.953 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */2.954 +struct buf { int x; };2.955 +FILE * (*rcsopen) (struct buf *, struct stat *, int);2.956 +static char *e (p, i)2.957 + char **p;2.958 + int i;2.959 +{2.960 + return p[i];2.961 +}2.962 +static char *f (char * (*g) (char **, int), char **p, ...)2.963 +{2.964 + char *s;2.965 + va_list v;2.966 + va_start (v,p);2.967 + s = g (p, va_arg (v,int));2.968 + va_end (v);2.969 + return s;2.970 +}2.971 +2.972 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has2.973 + function prototypes and stuff, but not '\xHH' hex character constants.2.974 + These don't provoke an error unfortunately, instead are silently treated2.975 + as 'x'. The following induces an error, until -std is added to get2.976 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an2.977 + array size at least. It's necessary to write '\x00'==0 to get something2.978 + that's true only with -std. */2.979 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];2.980 +2.981 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters2.982 + inside strings and character constants. */2.983 +#define FOO(x) 'x'2.984 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];2.985 +2.986 +int test (int i, double x);2.987 +struct s1 {int (*f) (int a);};2.988 +struct s2 {int (*f) (double a);};2.989 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);2.990 +int argc;2.991 +char **argv;2.992 +int2.993 +main ()2.994 +{2.995 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];2.996 + ;2.997 + return 0;2.998 +}2.999 +_ACEOF2.1000 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \2.1001 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"2.1002 +do2.1003 + CC="$ac_save_CC $ac_arg"2.1004 + rm -f conftest.$ac_objext2.1005 +if { (ac_try="$ac_compile"2.1006 +case "(($ac_try" in2.1007 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.1008 + *) ac_try_echo=$ac_try;;2.1009 +esac2.1010 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.1011 + (eval "$ac_compile") 2>conftest.er12.1012 + ac_status=$?2.1013 + grep -v '^ *+' conftest.er1 >conftest.err2.1014 + rm -f conftest.er12.1015 + cat conftest.err >&52.1016 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.1017 + (exit $ac_status); } && {2.1018 + test -z "$ac_c_werror_flag" ||2.1019 + test ! -s conftest.err2.1020 + } && test -s conftest.$ac_objext; then2.1021 + ac_cv_prog_cc_c89=$ac_arg2.1022 +else2.1023 + echo "$as_me: failed program was:" >&52.1024 +sed 's/^/| /' conftest.$ac_ext >&52.1025 +2.1026 +2.1027 +fi2.1028 +2.1029 +rm -f core conftest.err conftest.$ac_objext2.1030 + test "x$ac_cv_prog_cc_c89" != "xno" && break2.1031 +done2.1032 +rm -f conftest.$ac_ext2.1033 +CC=$ac_save_CC2.1034 +2.1035 +fi2.1036 +# AC_CACHE_VAL2.1037 +case "x$ac_cv_prog_cc_c89" in2.1038 + x)2.1039 + { echo "$as_me:$LINENO: result: none needed" >&52.1040 +echo "${ECHO_T}none needed" >&6; } ;;2.1041 + xno)2.1042 + { echo "$as_me:$LINENO: result: unsupported" >&52.1043 +echo "${ECHO_T}unsupported" >&6; } ;;2.1044 + *)2.1045 + CC="$CC $ac_cv_prog_cc_c89"2.1046 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&52.1047 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;2.1048 +esac2.1049 +2.1050 +2.1051 +ac_ext=c2.1052 +ac_cpp='$CPP $CPPFLAGS'2.1053 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'2.1054 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'2.1055 +ac_compiler_gnu=$ac_cv_c_compiler_gnu2.1056 +2.1057 +depcc="$CC" am_compiler_list=2.1058 +2.1059 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&52.1060 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }2.1061 +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then2.1062 + echo $ECHO_N "(cached) $ECHO_C" >&62.1063 +else2.1064 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then2.1065 + # We make a subdir and do the tests there. Otherwise we can end up2.1066 + # making bogus files that we don't know about and never remove. For2.1067 + # instance it was reported that on HP-UX the gcc test will end up2.1068 + # making a dummy file named `D' -- because `-MD' means `put the output2.1069 + # in D'.2.1070 + mkdir conftest.dir2.1071 + # Copy depcomp to subdir because otherwise we won't find it if we're2.1072 + # using a relative directory.2.1073 + cp "$am_depcomp" conftest.dir2.1074 + cd conftest.dir2.1075 + # We will build objects and dependencies in a subdirectory because2.1076 + # it helps to detect inapplicable dependency modes. For instance2.1077 + # both Tru64's cc and ICC support -MD to output dependencies as a2.1078 + # side effect of compilation, but ICC will put the dependencies in2.1079 + # the current directory while Tru64 will put them in the object2.1080 + # directory.2.1081 + mkdir sub2.1082 +2.1083 + am_cv_CC_dependencies_compiler_type=none2.1084 + if test "$am_compiler_list" = ""; then2.1085 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`2.1086 + fi2.1087 + for depmode in $am_compiler_list; do2.1088 + # Setup a source with many dependencies, because some compilers2.1089 + # like to wrap large dependency lists on column 80 (with \), and2.1090 + # we should not choose a depcomp mode which is confused by this.2.1091 + #2.1092 + # We need to recreate these files for each test, as the compiler may2.1093 + # overwrite some of them when testing with obscure command lines.2.1094 + # This happens at least with the AIX C compiler.2.1095 + : > sub/conftest.c2.1096 + for i in 1 2 3 4 5 6; do2.1097 + echo '#include "conftst'$i'.h"' >> sub/conftest.c2.1098 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with2.1099 + # Solaris 8's {/usr,}/bin/sh.2.1100 + touch sub/conftst$i.h2.1101 + done2.1102 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf2.1103 +2.1104 + case $depmode in2.1105 + nosideeffect)2.1106 + # after this tag, mechanisms are not by side-effect, so they'll2.1107 + # only be used when explicitly requested2.1108 + if test "x$enable_dependency_tracking" = xyes; then2.1109 + continue2.1110 + else2.1111 + break2.1112 + fi2.1113 + ;;2.1114 + none) break ;;2.1115 + esac2.1116 + # We check with `-c' and `-o' for the sake of the "dashmstdout"2.1117 + # mode. It turns out that the SunPro C++ compiler does not properly2.1118 + # handle `-M -o', and we need to detect this.2.1119 + if depmode=$depmode \2.1120 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \2.1121 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \2.1122 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \2.1123 + >/dev/null 2>conftest.err &&2.1124 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&2.1125 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&2.1126 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then2.1127 + # icc doesn't choke on unknown options, it will just issue warnings2.1128 + # or remarks (even with -Werror). So we grep stderr for any message2.1129 + # that says an option was ignored or not supported.2.1130 + # When given -MP, icc 7.0 and 7.1 complain thusly:2.1131 + # icc: Command line warning: ignoring option '-M'; no argument required2.1132 + # The diagnosis changed in icc 8.0:2.1133 + # icc: Command line remark: option '-MP' not supported2.1134 + if (grep 'ignoring option' conftest.err ||2.1135 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else2.1136 + am_cv_CC_dependencies_compiler_type=$depmode2.1137 + break2.1138 + fi2.1139 + fi2.1140 + done2.1141 +2.1142 + cd ..2.1143 + rm -rf conftest.dir2.1144 +else2.1145 + am_cv_CC_dependencies_compiler_type=none2.1146 +fi2.1147 +2.1148 +fi2.1149 +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&52.1150 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }2.1151 +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type2.1152 +2.1153 +2.1154 +2.1155 +if2.1156 + test "x$enable_dependency_tracking" != xno \2.1157 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then2.1158 + am__fastdepCC_TRUE=2.1159 + am__fastdepCC_FALSE='#'2.1160 +else2.1161 + am__fastdepCC_TRUE='#'2.1162 + am__fastdepCC_FALSE=2.1163 +fi2.1164 +2.1165 +2.1166 +2.1167 +2.1168 + { echo "$as_me:$LINENO: checking for strerror in -lcposix" >&52.1169 +echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6; }2.1170 +if test "${ac_cv_lib_cposix_strerror+set}" = set; then2.1171 + echo $ECHO_N "(cached) $ECHO_C" >&62.1172 +else2.1173 + ac_check_lib_save_LIBS=$LIBS2.1174 +LIBS="-lcposix $LIBS"2.1175 +cat >conftest.$ac_ext <<_ACEOF2.1176 +/* confdefs.h. */2.1177 +_ACEOF2.1178 +cat confdefs.h >>conftest.$ac_ext2.1179 +cat >>conftest.$ac_ext <<_ACEOF2.1180 +/* end confdefs.h. */2.1181 +2.1182 +/* Override any GCC internal prototype to avoid an error.2.1183 + Use char because int might match the return type of a GCC2.1184 + builtin and then its argument prototype would still apply. */2.1185 +#ifdef __cplusplus2.1186 +extern "C"2.1187 +#endif2.1188 +char strerror ();2.1189 +int2.1190 +main ()2.1191 +{2.1192 +return strerror ();2.1193 + ;2.1194 + return 0;2.1195 +}2.1196 +_ACEOF2.1197 +rm -f conftest.$ac_objext conftest$ac_exeext2.1198 +if { (ac_try="$ac_link"2.1199 +case "(($ac_try" in2.1200 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.1201 + *) ac_try_echo=$ac_try;;2.1202 +esac2.1203 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.1204 + (eval "$ac_link") 2>conftest.er12.1205 + ac_status=$?2.1206 + grep -v '^ *+' conftest.er1 >conftest.err2.1207 + rm -f conftest.er12.1208 + cat conftest.err >&52.1209 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.1210 + (exit $ac_status); } && {2.1211 + test -z "$ac_c_werror_flag" ||2.1212 + test ! -s conftest.err2.1213 + } && test -s conftest$ac_exeext &&2.1214 + $as_test_x conftest$ac_exeext; then2.1215 + ac_cv_lib_cposix_strerror=yes2.1216 +else2.1217 + echo "$as_me: failed program was:" >&52.1218 +sed 's/^/| /' conftest.$ac_ext >&52.1219 +2.1220 + ac_cv_lib_cposix_strerror=no2.1221 +fi2.1222 +2.1223 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \2.1224 + conftest$ac_exeext conftest.$ac_ext2.1225 +LIBS=$ac_check_lib_save_LIBS2.1226 +fi2.1227 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&52.1228 +echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6; }2.1229 +if test $ac_cv_lib_cposix_strerror = yes; then2.1230 + LIBS="$LIBS -lcposix"2.1231 +fi2.1232 +2.1233 +2.1234 +2.1235 +ac_ext=c2.1236 +ac_cpp='$CPP $CPPFLAGS'2.1237 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'2.1238 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'2.1239 +ac_compiler_gnu=$ac_cv_c_compiler_gnu2.1240 +if test -n "$ac_tool_prefix"; then2.1241 + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.2.1242 +set dummy ${ac_tool_prefix}gcc; ac_word=$22.1243 +{ echo "$as_me:$LINENO: checking for $ac_word" >&52.1244 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.1245 +if test "${ac_cv_prog_CC+set}" = set; then2.1246 + echo $ECHO_N "(cached) $ECHO_C" >&62.1247 +else2.1248 + if test -n "$CC"; then2.1249 + ac_cv_prog_CC="$CC" # Let the user override the test.2.1250 +else2.1251 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.1252 +for as_dir in $PATH2.1253 +do2.1254 + IFS=$as_save_IFS2.1255 + test -z "$as_dir" && as_dir=.2.1256 + for ac_exec_ext in '' $ac_executable_extensions; do2.1257 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.1258 + ac_cv_prog_CC="${ac_tool_prefix}gcc"2.1259 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.1260 + break 22.1261 + fi2.1262 +done2.1263 +done2.1264 +IFS=$as_save_IFS2.1265 +2.1266 +fi2.1267 +fi2.1268 +CC=$ac_cv_prog_CC2.1269 +if test -n "$CC"; then2.1270 + { echo "$as_me:$LINENO: result: $CC" >&52.1271 +echo "${ECHO_T}$CC" >&6; }2.1272 +else2.1273 + { echo "$as_me:$LINENO: result: no" >&52.1274 +echo "${ECHO_T}no" >&6; }2.1275 +fi2.1276 +2.1277 +2.1278 +fi2.1279 +if test -z "$ac_cv_prog_CC"; then2.1280 + ac_ct_CC=$CC2.1281 + # Extract the first word of "gcc", so it can be a program name with args.2.1282 +set dummy gcc; ac_word=$22.1283 +{ echo "$as_me:$LINENO: checking for $ac_word" >&52.1284 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.1285 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2.1286 + echo $ECHO_N "(cached) $ECHO_C" >&62.1287 +else2.1288 + if test -n "$ac_ct_CC"; then2.1289 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.2.1290 +else2.1291 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.1292 +for as_dir in $PATH2.1293 +do2.1294 + IFS=$as_save_IFS2.1295 + test -z "$as_dir" && as_dir=.2.1296 + for ac_exec_ext in '' $ac_executable_extensions; do2.1297 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.1298 + ac_cv_prog_ac_ct_CC="gcc"2.1299 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.1300 + break 22.1301 + fi2.1302 +done2.1303 +done2.1304 +IFS=$as_save_IFS2.1305 +2.1306 +fi2.1307 +fi2.1308 +ac_ct_CC=$ac_cv_prog_ac_ct_CC2.1309 +if test -n "$ac_ct_CC"; then2.1310 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52.1311 +echo "${ECHO_T}$ac_ct_CC" >&6; }2.1312 +else2.1313 + { echo "$as_me:$LINENO: result: no" >&52.1314 +echo "${ECHO_T}no" >&6; }2.1315 +fi2.1316 +2.1317 + if test "x$ac_ct_CC" = x; then2.1318 + CC=""2.1319 + else2.1320 + case $cross_compiling:$ac_tool_warned in2.1321 +yes:)2.1322 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools2.1323 +whose name does not start with the host triplet. If you think this2.1324 +configuration is useful to you, please write to autoconf@gnu.org." >&52.1325 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools2.1326 +whose name does not start with the host triplet. If you think this2.1327 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}2.1328 +ac_tool_warned=yes ;;2.1329 +esac2.1330 + CC=$ac_ct_CC2.1331 + fi2.1332 +else2.1333 + CC="$ac_cv_prog_CC"2.1334 +fi2.1335 +2.1336 +if test -z "$CC"; then2.1337 + if test -n "$ac_tool_prefix"; then2.1338 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.2.1339 +set dummy ${ac_tool_prefix}cc; ac_word=$22.1340 +{ echo "$as_me:$LINENO: checking for $ac_word" >&52.1341 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.1342 +if test "${ac_cv_prog_CC+set}" = set; then2.1343 + echo $ECHO_N "(cached) $ECHO_C" >&62.1344 +else2.1345 + if test -n "$CC"; then2.1346 + ac_cv_prog_CC="$CC" # Let the user override the test.2.1347 +else2.1348 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.1349 +for as_dir in $PATH2.1350 +do2.1351 + IFS=$as_save_IFS2.1352 + test -z "$as_dir" && as_dir=.2.1353 + for ac_exec_ext in '' $ac_executable_extensions; do2.1354 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.1355 + ac_cv_prog_CC="${ac_tool_prefix}cc"2.1356 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.1357 + break 22.1358 + fi2.1359 +done2.1360 +done2.1361 +IFS=$as_save_IFS2.1362 +2.1363 +fi2.1364 +fi2.1365 +CC=$ac_cv_prog_CC2.1366 +if test -n "$CC"; then2.1367 + { echo "$as_me:$LINENO: result: $CC" >&52.1368 +echo "${ECHO_T}$CC" >&6; }2.1369 +else2.1370 + { echo "$as_me:$LINENO: result: no" >&52.1371 +echo "${ECHO_T}no" >&6; }2.1372 +fi2.1373 +2.1374 +2.1375 + fi2.1376 +fi2.1377 +if test -z "$CC"; then2.1378 + # Extract the first word of "cc", so it can be a program name with args.2.1379 +set dummy cc; ac_word=$22.1380 +{ echo "$as_me:$LINENO: checking for $ac_word" >&52.1381 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.1382 +if test "${ac_cv_prog_CC+set}" = set; then2.1383 + echo $ECHO_N "(cached) $ECHO_C" >&62.1384 +else2.1385 + if test -n "$CC"; then2.1386 + ac_cv_prog_CC="$CC" # Let the user override the test.2.1387 +else2.1388 + ac_prog_rejected=no2.1389 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.1390 +for as_dir in $PATH2.1391 +do2.1392 + IFS=$as_save_IFS2.1393 + test -z "$as_dir" && as_dir=.2.1394 + for ac_exec_ext in '' $ac_executable_extensions; do2.1395 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.1396 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then2.1397 + ac_prog_rejected=yes2.1398 + continue2.1399 + fi2.1400 + ac_cv_prog_CC="cc"2.1401 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.1402 + break 22.1403 + fi2.1404 +done2.1405 +done2.1406 +IFS=$as_save_IFS2.1407 +2.1408 +if test $ac_prog_rejected = yes; then2.1409 + # We found a bogon in the path, so make sure we never use it.2.1410 + set dummy $ac_cv_prog_CC2.1411 + shift2.1412 + if test $# != 0; then2.1413 + # We chose a different compiler from the bogus one.2.1414 + # However, it has the same basename, so the bogon will be chosen2.1415 + # first if we set CC to just the basename; use the full file name.2.1416 + shift2.1417 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"2.1418 + fi2.1419 +fi2.1420 +fi2.1421 +fi2.1422 +CC=$ac_cv_prog_CC2.1423 +if test -n "$CC"; then2.1424 + { echo "$as_me:$LINENO: result: $CC" >&52.1425 +echo "${ECHO_T}$CC" >&6; }2.1426 +else2.1427 + { echo "$as_me:$LINENO: result: no" >&52.1428 +echo "${ECHO_T}no" >&6; }2.1429 +fi2.1430 +2.1431 +2.1432 +fi2.1433 +if test -z "$CC"; then2.1434 + if test -n "$ac_tool_prefix"; then2.1435 + for ac_prog in cl.exe2.1436 + do2.1437 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.2.1438 +set dummy $ac_tool_prefix$ac_prog; ac_word=$22.1439 +{ echo "$as_me:$LINENO: checking for $ac_word" >&52.1440 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.1441 +if test "${ac_cv_prog_CC+set}" = set; then2.1442 + echo $ECHO_N "(cached) $ECHO_C" >&62.1443 +else2.1444 + if test -n "$CC"; then2.1445 + ac_cv_prog_CC="$CC" # Let the user override the test.2.1446 +else2.1447 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.1448 +for as_dir in $PATH2.1449 +do2.1450 + IFS=$as_save_IFS2.1451 + test -z "$as_dir" && as_dir=.2.1452 + for ac_exec_ext in '' $ac_executable_extensions; do2.1453 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.1454 + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"2.1455 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.1456 + break 22.1457 + fi2.1458 +done2.1459 +done2.1460 +IFS=$as_save_IFS2.1461 +2.1462 +fi2.1463 +fi2.1464 +CC=$ac_cv_prog_CC2.1465 +if test -n "$CC"; then2.1466 + { echo "$as_me:$LINENO: result: $CC" >&52.1467 +echo "${ECHO_T}$CC" >&6; }2.1468 +else2.1469 + { echo "$as_me:$LINENO: result: no" >&52.1470 +echo "${ECHO_T}no" >&6; }2.1471 +fi2.1472 +2.1473 +2.1474 + test -n "$CC" && break2.1475 + done2.1476 +fi2.1477 +if test -z "$CC"; then2.1478 + ac_ct_CC=$CC2.1479 + for ac_prog in cl.exe2.1480 +do2.1481 + # Extract the first word of "$ac_prog", so it can be a program name with args.2.1482 +set dummy $ac_prog; ac_word=$22.1483 +{ echo "$as_me:$LINENO: checking for $ac_word" >&52.1484 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.1485 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2.1486 + echo $ECHO_N "(cached) $ECHO_C" >&62.1487 +else2.1488 + if test -n "$ac_ct_CC"; then2.1489 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.2.1490 +else2.1491 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.1492 +for as_dir in $PATH2.1493 +do2.1494 + IFS=$as_save_IFS2.1495 + test -z "$as_dir" && as_dir=.2.1496 + for ac_exec_ext in '' $ac_executable_extensions; do2.1497 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.1498 + ac_cv_prog_ac_ct_CC="$ac_prog"2.1499 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.1500 + break 22.1501 + fi2.1502 +done2.1503 +done2.1504 +IFS=$as_save_IFS2.1505 +2.1506 +fi2.1507 +fi2.1508 +ac_ct_CC=$ac_cv_prog_ac_ct_CC2.1509 +if test -n "$ac_ct_CC"; then2.1510 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52.1511 +echo "${ECHO_T}$ac_ct_CC" >&6; }2.1512 +else2.1513 + { echo "$as_me:$LINENO: result: no" >&52.1514 +echo "${ECHO_T}no" >&6; }2.1515 +fi2.1516 +2.1517 +2.1518 + test -n "$ac_ct_CC" && break2.1519 +done2.1520 +2.1521 + if test "x$ac_ct_CC" = x; then2.1522 + CC=""2.1523 + else2.1524 + case $cross_compiling:$ac_tool_warned in2.1525 +yes:)2.1526 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools2.1527 +whose name does not start with the host triplet. If you think this2.1528 +configuration is useful to you, please write to autoconf@gnu.org." >&52.1529 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools2.1530 +whose name does not start with the host triplet. If you think this2.1531 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}2.1532 +ac_tool_warned=yes ;;2.1533 +esac2.1534 + CC=$ac_ct_CC2.1535 + fi2.1536 +fi2.1537 +2.1538 +fi2.1539 +2.1540 +2.1541 +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH2.1542 +See \`config.log' for more details." >&52.1543 +echo "$as_me: error: no acceptable C compiler found in \$PATH2.1544 +See \`config.log' for more details." >&2;}2.1545 + { (exit 1); exit 1; }; }2.1546 +2.1547 +# Provide some information about the compiler.2.1548 +echo "$as_me:$LINENO: checking for C compiler version" >&52.1549 +ac_compiler=`set X $ac_compile; echo $2`2.1550 +{ (ac_try="$ac_compiler --version >&5"2.1551 +case "(($ac_try" in2.1552 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.1553 + *) ac_try_echo=$ac_try;;2.1554 +esac2.1555 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.1556 + (eval "$ac_compiler --version >&5") 2>&52.1557 + ac_status=$?2.1558 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.1559 + (exit $ac_status); }2.1560 +{ (ac_try="$ac_compiler -v >&5"2.1561 +case "(($ac_try" in2.1562 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.1563 + *) ac_try_echo=$ac_try;;2.1564 +esac2.1565 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.1566 + (eval "$ac_compiler -v >&5") 2>&52.1567 + ac_status=$?2.1568 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.1569 + (exit $ac_status); }2.1570 +{ (ac_try="$ac_compiler -V >&5"2.1571 +case "(($ac_try" in2.1572 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.1573 + *) ac_try_echo=$ac_try;;2.1574 +esac2.1575 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.1576 + (eval "$ac_compiler -V >&5") 2>&52.1577 + ac_status=$?2.1578 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.1579 + (exit $ac_status); }2.1580 +2.1581 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&52.1582 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }2.1583 +if test "${ac_cv_c_compiler_gnu+set}" = set; then2.1584 + echo $ECHO_N "(cached) $ECHO_C" >&62.1585 +else2.1586 + cat >conftest.$ac_ext <<_ACEOF2.1587 +/* confdefs.h. */2.1588 +_ACEOF2.1589 +cat confdefs.h >>conftest.$ac_ext2.1590 +cat >>conftest.$ac_ext <<_ACEOF2.1591 +/* end confdefs.h. */2.1592 +2.1593 +int2.1594 +main ()2.1595 +{2.1596 +#ifndef __GNUC__2.1597 + choke me2.1598 +#endif2.1599 +2.1600 + ;2.1601 + return 0;2.1602 +}2.1603 +_ACEOF2.1604 +rm -f conftest.$ac_objext2.1605 +if { (ac_try="$ac_compile"2.1606 +case "(($ac_try" in2.1607 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.1608 + *) ac_try_echo=$ac_try;;2.1609 +esac2.1610 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.1611 + (eval "$ac_compile") 2>conftest.er12.1612 + ac_status=$?2.1613 + grep -v '^ *+' conftest.er1 >conftest.err2.1614 + rm -f conftest.er12.1615 + cat conftest.err >&52.1616 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.1617 + (exit $ac_status); } && {2.1618 + test -z "$ac_c_werror_flag" ||2.1619 + test ! -s conftest.err2.1620 + } && test -s conftest.$ac_objext; then2.1621 + ac_compiler_gnu=yes2.1622 +else2.1623 + echo "$as_me: failed program was:" >&52.1624 +sed 's/^/| /' conftest.$ac_ext >&52.1625 +2.1626 + ac_compiler_gnu=no2.1627 +fi2.1628 +2.1629 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2.1630 +ac_cv_c_compiler_gnu=$ac_compiler_gnu2.1631 +2.1632 +fi2.1633 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&52.1634 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }2.1635 +GCC=`test $ac_compiler_gnu = yes && echo yes`2.1636 +ac_test_CFLAGS=${CFLAGS+set}2.1637 +ac_save_CFLAGS=$CFLAGS2.1638 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&52.1639 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }2.1640 +if test "${ac_cv_prog_cc_g+set}" = set; then2.1641 + echo $ECHO_N "(cached) $ECHO_C" >&62.1642 +else2.1643 + ac_save_c_werror_flag=$ac_c_werror_flag2.1644 + ac_c_werror_flag=yes2.1645 + ac_cv_prog_cc_g=no2.1646 + CFLAGS="-g"2.1647 + cat >conftest.$ac_ext <<_ACEOF2.1648 +/* confdefs.h. */2.1649 +_ACEOF2.1650 +cat confdefs.h >>conftest.$ac_ext2.1651 +cat >>conftest.$ac_ext <<_ACEOF2.1652 +/* end confdefs.h. */2.1653 +2.1654 +int2.1655 +main ()2.1656 +{2.1657 +2.1658 + ;2.1659 + return 0;2.1660 +}2.1661 +_ACEOF2.1662 +rm -f conftest.$ac_objext2.1663 +if { (ac_try="$ac_compile"2.1664 +case "(($ac_try" in2.1665 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.1666 + *) ac_try_echo=$ac_try;;2.1667 +esac2.1668 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.1669 + (eval "$ac_compile") 2>conftest.er12.1670 + ac_status=$?2.1671 + grep -v '^ *+' conftest.er1 >conftest.err2.1672 + rm -f conftest.er12.1673 + cat conftest.err >&52.1674 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.1675 + (exit $ac_status); } && {2.1676 + test -z "$ac_c_werror_flag" ||2.1677 + test ! -s conftest.err2.1678 + } && test -s conftest.$ac_objext; then2.1679 + ac_cv_prog_cc_g=yes2.1680 +else2.1681 + echo "$as_me: failed program was:" >&52.1682 +sed 's/^/| /' conftest.$ac_ext >&52.1683 +2.1684 + CFLAGS=""2.1685 + cat >conftest.$ac_ext <<_ACEOF2.1686 +/* confdefs.h. */2.1687 +_ACEOF2.1688 +cat confdefs.h >>conftest.$ac_ext2.1689 +cat >>conftest.$ac_ext <<_ACEOF2.1690 +/* end confdefs.h. */2.1691 +2.1692 +int2.1693 +main ()2.1694 +{2.1695 +2.1696 + ;2.1697 + return 0;2.1698 +}2.1699 +_ACEOF2.1700 +rm -f conftest.$ac_objext2.1701 +if { (ac_try="$ac_compile"2.1702 +case "(($ac_try" in2.1703 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.1704 + *) ac_try_echo=$ac_try;;2.1705 +esac2.1706 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.1707 + (eval "$ac_compile") 2>conftest.er12.1708 + ac_status=$?2.1709 + grep -v '^ *+' conftest.er1 >conftest.err2.1710 + rm -f conftest.er12.1711 + cat conftest.err >&52.1712 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.1713 + (exit $ac_status); } && {2.1714 + test -z "$ac_c_werror_flag" ||2.1715 + test ! -s conftest.err2.1716 + } && test -s conftest.$ac_objext; then2.1717 + :2.1718 +else2.1719 + echo "$as_me: failed program was:" >&52.1720 +sed 's/^/| /' conftest.$ac_ext >&52.1721 +2.1722 + ac_c_werror_flag=$ac_save_c_werror_flag2.1723 + CFLAGS="-g"2.1724 + cat >conftest.$ac_ext <<_ACEOF2.1725 +/* confdefs.h. */2.1726 +_ACEOF2.1727 +cat confdefs.h >>conftest.$ac_ext2.1728 +cat >>conftest.$ac_ext <<_ACEOF2.1729 +/* end confdefs.h. */2.1730 +2.1731 +int2.1732 +main ()2.1733 +{2.1734 +2.1735 + ;2.1736 + return 0;2.1737 +}2.1738 +_ACEOF2.1739 +rm -f conftest.$ac_objext2.1740 +if { (ac_try="$ac_compile"2.1741 +case "(($ac_try" in2.1742 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.1743 + *) ac_try_echo=$ac_try;;2.1744 +esac2.1745 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.1746 + (eval "$ac_compile") 2>conftest.er12.1747 + ac_status=$?2.1748 + grep -v '^ *+' conftest.er1 >conftest.err2.1749 + rm -f conftest.er12.1750 + cat conftest.err >&52.1751 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.1752 + (exit $ac_status); } && {2.1753 + test -z "$ac_c_werror_flag" ||2.1754 + test ! -s conftest.err2.1755 + } && test -s conftest.$ac_objext; then2.1756 + ac_cv_prog_cc_g=yes2.1757 +else2.1758 + echo "$as_me: failed program was:" >&52.1759 +sed 's/^/| /' conftest.$ac_ext >&52.1760 +2.1761 +2.1762 +fi2.1763 +2.1764 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2.1765 +fi2.1766 +2.1767 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2.1768 +fi2.1769 +2.1770 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2.1771 + ac_c_werror_flag=$ac_save_c_werror_flag2.1772 +fi2.1773 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&52.1774 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }2.1775 +if test "$ac_test_CFLAGS" = set; then2.1776 + CFLAGS=$ac_save_CFLAGS2.1777 +elif test $ac_cv_prog_cc_g = yes; then2.1778 + if test "$GCC" = yes; then2.1779 + CFLAGS="-g -O2"2.1780 + else2.1781 + CFLAGS="-g"2.1782 + fi2.1783 +else2.1784 + if test "$GCC" = yes; then2.1785 + CFLAGS="-O2"2.1786 + else2.1787 + CFLAGS=2.1788 + fi2.1789 +fi2.1790 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&52.1791 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }2.1792 +if test "${ac_cv_prog_cc_c89+set}" = set; then2.1793 + echo $ECHO_N "(cached) $ECHO_C" >&62.1794 +else2.1795 + ac_cv_prog_cc_c89=no2.1796 +ac_save_CC=$CC2.1797 +cat >conftest.$ac_ext <<_ACEOF2.1798 +/* confdefs.h. */2.1799 +_ACEOF2.1800 +cat confdefs.h >>conftest.$ac_ext2.1801 +cat >>conftest.$ac_ext <<_ACEOF2.1802 +/* end confdefs.h. */2.1803 +#include <stdarg.h>2.1804 +#include <stdio.h>2.1805 +#include <sys/types.h>2.1806 +#include <sys/stat.h>2.1807 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */2.1808 +struct buf { int x; };2.1809 +FILE * (*rcsopen) (struct buf *, struct stat *, int);2.1810 +static char *e (p, i)2.1811 + char **p;2.1812 + int i;2.1813 +{2.1814 + return p[i];2.1815 +}2.1816 +static char *f (char * (*g) (char **, int), char **p, ...)2.1817 +{2.1818 + char *s;2.1819 + va_list v;2.1820 + va_start (v,p);2.1821 + s = g (p, va_arg (v,int));2.1822 + va_end (v);2.1823 + return s;2.1824 +}2.1825 +2.1826 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has2.1827 + function prototypes and stuff, but not '\xHH' hex character constants.2.1828 + These don't provoke an error unfortunately, instead are silently treated2.1829 + as 'x'. The following induces an error, until -std is added to get2.1830 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an2.1831 + array size at least. It's necessary to write '\x00'==0 to get something2.1832 + that's true only with -std. */2.1833 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];2.1834 +2.1835 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters2.1836 + inside strings and character constants. */2.1837 +#define FOO(x) 'x'2.1838 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];2.1839 +2.1840 +int test (int i, double x);2.1841 +struct s1 {int (*f) (int a);};2.1842 +struct s2 {int (*f) (double a);};2.1843 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);2.1844 +int argc;2.1845 +char **argv;2.1846 +int2.1847 +main ()2.1848 +{2.1849 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];2.1850 + ;2.1851 + return 0;2.1852 +}2.1853 +_ACEOF2.1854 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \2.1855 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"2.1856 +do2.1857 + CC="$ac_save_CC $ac_arg"2.1858 + rm -f conftest.$ac_objext2.1859 +if { (ac_try="$ac_compile"2.1860 +case "(($ac_try" in2.1861 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.1862 + *) ac_try_echo=$ac_try;;2.1863 +esac2.1864 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.1865 + (eval "$ac_compile") 2>conftest.er12.1866 + ac_status=$?2.1867 + grep -v '^ *+' conftest.er1 >conftest.err2.1868 + rm -f conftest.er12.1869 + cat conftest.err >&52.1870 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.1871 + (exit $ac_status); } && {2.1872 + test -z "$ac_c_werror_flag" ||2.1873 + test ! -s conftest.err2.1874 + } && test -s conftest.$ac_objext; then2.1875 + ac_cv_prog_cc_c89=$ac_arg2.1876 +else2.1877 + echo "$as_me: failed program was:" >&52.1878 +sed 's/^/| /' conftest.$ac_ext >&52.1879 +2.1880 +2.1881 +fi2.1882 +2.1883 +rm -f core conftest.err conftest.$ac_objext2.1884 + test "x$ac_cv_prog_cc_c89" != "xno" && break2.1885 +done2.1886 +rm -f conftest.$ac_ext2.1887 +CC=$ac_save_CC2.1888 +2.1889 +fi2.1890 +# AC_CACHE_VAL2.1891 +case "x$ac_cv_prog_cc_c89" in2.1892 + x)2.1893 + { echo "$as_me:$LINENO: result: none needed" >&52.1894 +echo "${ECHO_T}none needed" >&6; } ;;2.1895 + xno)2.1896 + { echo "$as_me:$LINENO: result: unsupported" >&52.1897 +echo "${ECHO_T}unsupported" >&6; } ;;2.1898 + *)2.1899 + CC="$CC $ac_cv_prog_cc_c89"2.1900 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&52.1901 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;2.1902 +esac2.1903 +2.1904 +2.1905 +ac_ext=c2.1906 +ac_cpp='$CPP $CPPFLAGS'2.1907 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'2.1908 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'2.1909 +ac_compiler_gnu=$ac_cv_c_compiler_gnu2.1910 +2.1911 +depcc="$CC" am_compiler_list=2.1912 +2.1913 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&52.1914 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }2.1915 +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then2.1916 + echo $ECHO_N "(cached) $ECHO_C" >&62.1917 +else2.1918 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then2.1919 + # We make a subdir and do the tests there. Otherwise we can end up2.1920 + # making bogus files that we don't know about and never remove. For2.1921 + # instance it was reported that on HP-UX the gcc test will end up2.1922 + # making a dummy file named `D' -- because `-MD' means `put the output2.1923 + # in D'.2.1924 + mkdir conftest.dir2.1925 + # Copy depcomp to subdir because otherwise we won't find it if we're2.1926 + # using a relative directory.2.1927 + cp "$am_depcomp" conftest.dir2.1928 + cd conftest.dir2.1929 + # We will build objects and dependencies in a subdirectory because2.1930 + # it helps to detect inapplicable dependency modes. For instance2.1931 + # both Tru64's cc and ICC support -MD to output dependencies as a2.1932 + # side effect of compilation, but ICC will put the dependencies in2.1933 + # the current directory while Tru64 will put them in the object2.1934 + # directory.2.1935 + mkdir sub2.1936 +2.1937 + am_cv_CC_dependencies_compiler_type=none2.1938 + if test "$am_compiler_list" = ""; then2.1939 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`2.1940 + fi2.1941 + for depmode in $am_compiler_list; do2.1942 + # Setup a source with many dependencies, because some compilers2.1943 + # like to wrap large dependency lists on column 80 (with \), and2.1944 + # we should not choose a depcomp mode which is confused by this.2.1945 + #2.1946 + # We need to recreate these files for each test, as the compiler may2.1947 + # overwrite some of them when testing with obscure command lines.2.1948 + # This happens at least with the AIX C compiler.2.1949 + : > sub/conftest.c2.1950 + for i in 1 2 3 4 5 6; do2.1951 + echo '#include "conftst'$i'.h"' >> sub/conftest.c2.1952 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with2.1953 + # Solaris 8's {/usr,}/bin/sh.2.1954 + touch sub/conftst$i.h2.1955 + done2.1956 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf2.1957 +2.1958 + case $depmode in2.1959 + nosideeffect)2.1960 + # after this tag, mechanisms are not by side-effect, so they'll2.1961 + # only be used when explicitly requested2.1962 + if test "x$enable_dependency_tracking" = xyes; then2.1963 + continue2.1964 + else2.1965 + break2.1966 + fi2.1967 + ;;2.1968 + none) break ;;2.1969 + esac2.1970 + # We check with `-c' and `-o' for the sake of the "dashmstdout"2.1971 + # mode. It turns out that the SunPro C++ compiler does not properly2.1972 + # handle `-M -o', and we need to detect this.2.1973 + if depmode=$depmode \2.1974 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \2.1975 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \2.1976 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \2.1977 + >/dev/null 2>conftest.err &&2.1978 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&2.1979 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&2.1980 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then2.1981 + # icc doesn't choke on unknown options, it will just issue warnings2.1982 + # or remarks (even with -Werror). So we grep stderr for any message2.1983 + # that says an option was ignored or not supported.2.1984 + # When given -MP, icc 7.0 and 7.1 complain thusly:2.1985 + # icc: Command line warning: ignoring option '-M'; no argument required2.1986 + # The diagnosis changed in icc 8.0:2.1987 + # icc: Command line remark: option '-MP' not supported2.1988 + if (grep 'ignoring option' conftest.err ||2.1989 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else2.1990 + am_cv_CC_dependencies_compiler_type=$depmode2.1991 + break2.1992 + fi2.1993 + fi2.1994 + done2.1995 +2.1996 + cd ..2.1997 + rm -rf conftest.dir2.1998 +else2.1999 + am_cv_CC_dependencies_compiler_type=none2.2000 +fi2.2001 +2.2002 +fi2.2003 +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&52.2004 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }2.2005 +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type2.2006 +2.2007 +2.2008 +2.2009 +if2.2010 + test "x$enable_dependency_tracking" != xno \2.2011 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then2.2012 + am__fastdepCC_TRUE=2.2013 + am__fastdepCC_FALSE='#'2.2014 +else2.2015 + am__fastdepCC_TRUE='#'2.2016 + am__fastdepCC_FALSE=2.2017 +fi2.2018 +2.2019 +2.2020 +ac_ext=c2.2021 +ac_cpp='$CPP $CPPFLAGS'2.2022 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'2.2023 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'2.2024 +ac_compiler_gnu=$ac_cv_c_compiler_gnu2.2025 +if test -n "$ac_tool_prefix"; then2.2026 + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.2.2027 +set dummy ${ac_tool_prefix}gcc; ac_word=$22.2028 +{ echo "$as_me:$LINENO: checking for $ac_word" >&52.2029 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.2030 +if test "${ac_cv_prog_CC+set}" = set; then2.2031 + echo $ECHO_N "(cached) $ECHO_C" >&62.2032 +else2.2033 + if test -n "$CC"; then2.2034 + ac_cv_prog_CC="$CC" # Let the user override the test.2.2035 +else2.2036 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.2037 +for as_dir in $PATH2.2038 +do2.2039 + IFS=$as_save_IFS2.2040 + test -z "$as_dir" && as_dir=.2.2041 + for ac_exec_ext in '' $ac_executable_extensions; do2.2042 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.2043 + ac_cv_prog_CC="${ac_tool_prefix}gcc"2.2044 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.2045 + break 22.2046 + fi2.2047 +done2.2048 +done2.2049 +IFS=$as_save_IFS2.2050 +2.2051 +fi2.2052 +fi2.2053 +CC=$ac_cv_prog_CC2.2054 +if test -n "$CC"; then2.2055 + { echo "$as_me:$LINENO: result: $CC" >&52.2056 +echo "${ECHO_T}$CC" >&6; }2.2057 +else2.2058 + { echo "$as_me:$LINENO: result: no" >&52.2059 +echo "${ECHO_T}no" >&6; }2.2060 +fi2.2061 +2.2062 +2.2063 +fi2.2064 +if test -z "$ac_cv_prog_CC"; then2.2065 + ac_ct_CC=$CC2.2066 + # Extract the first word of "gcc", so it can be a program name with args.2.2067 +set dummy gcc; ac_word=$22.2068 +{ echo "$as_me:$LINENO: checking for $ac_word" >&52.2069 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.2070 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2.2071 + echo $ECHO_N "(cached) $ECHO_C" >&62.2072 +else2.2073 + if test -n "$ac_ct_CC"; then2.2074 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.2.2075 +else2.2076 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.2077 +for as_dir in $PATH2.2078 +do2.2079 + IFS=$as_save_IFS2.2080 + test -z "$as_dir" && as_dir=.2.2081 + for ac_exec_ext in '' $ac_executable_extensions; do2.2082 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.2083 + ac_cv_prog_ac_ct_CC="gcc"2.2084 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.2085 + break 22.2086 + fi2.2087 +done2.2088 +done2.2089 +IFS=$as_save_IFS2.2090 +2.2091 +fi2.2092 +fi2.2093 +ac_ct_CC=$ac_cv_prog_ac_ct_CC2.2094 +if test -n "$ac_ct_CC"; then2.2095 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52.2096 +echo "${ECHO_T}$ac_ct_CC" >&6; }2.2097 +else2.2098 + { echo "$as_me:$LINENO: result: no" >&52.2099 +echo "${ECHO_T}no" >&6; }2.2100 +fi2.2101 +2.2102 + if test "x$ac_ct_CC" = x; then2.2103 + CC=""2.2104 + else2.2105 + case $cross_compiling:$ac_tool_warned in2.2106 +yes:)2.2107 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools2.2108 +whose name does not start with the host triplet. If you think this2.2109 +configuration is useful to you, please write to autoconf@gnu.org." >&52.2110 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools2.2111 +whose name does not start with the host triplet. If you think this2.2112 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}2.2113 +ac_tool_warned=yes ;;2.2114 +esac2.2115 + CC=$ac_ct_CC2.2116 + fi2.2117 +else2.2118 + CC="$ac_cv_prog_CC"2.2119 +fi2.2120 +2.2121 +if test -z "$CC"; then2.2122 + if test -n "$ac_tool_prefix"; then2.2123 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.2.2124 +set dummy ${ac_tool_prefix}cc; ac_word=$22.2125 +{ echo "$as_me:$LINENO: checking for $ac_word" >&52.2126 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.2127 +if test "${ac_cv_prog_CC+set}" = set; then2.2128 + echo $ECHO_N "(cached) $ECHO_C" >&62.2129 +else2.2130 + if test -n "$CC"; then2.2131 + ac_cv_prog_CC="$CC" # Let the user override the test.2.2132 +else2.2133 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.2134 +for as_dir in $PATH2.2135 +do2.2136 + IFS=$as_save_IFS2.2137 + test -z "$as_dir" && as_dir=.2.2138 + for ac_exec_ext in '' $ac_executable_extensions; do2.2139 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.2140 + ac_cv_prog_CC="${ac_tool_prefix}cc"2.2141 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.2142 + break 22.2143 + fi2.2144 +done2.2145 +done2.2146 +IFS=$as_save_IFS2.2147 +2.2148 +fi2.2149 +fi2.2150 +CC=$ac_cv_prog_CC2.2151 +if test -n "$CC"; then2.2152 + { echo "$as_me:$LINENO: result: $CC" >&52.2153 +echo "${ECHO_T}$CC" >&6; }2.2154 +else2.2155 + { echo "$as_me:$LINENO: result: no" >&52.2156 +echo "${ECHO_T}no" >&6; }2.2157 +fi2.2158 +2.2159 +2.2160 + fi2.2161 +fi2.2162 +if test -z "$CC"; then2.2163 + # Extract the first word of "cc", so it can be a program name with args.2.2164 +set dummy cc; ac_word=$22.2165 +{ echo "$as_me:$LINENO: checking for $ac_word" >&52.2166 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.2167 +if test "${ac_cv_prog_CC+set}" = set; then2.2168 + echo $ECHO_N "(cached) $ECHO_C" >&62.2169 +else2.2170 + if test -n "$CC"; then2.2171 + ac_cv_prog_CC="$CC" # Let the user override the test.2.2172 +else2.2173 + ac_prog_rejected=no2.2174 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.2175 +for as_dir in $PATH2.2176 +do2.2177 + IFS=$as_save_IFS2.2178 + test -z "$as_dir" && as_dir=.2.2179 + for ac_exec_ext in '' $ac_executable_extensions; do2.2180 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.2181 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then2.2182 + ac_prog_rejected=yes2.2183 + continue2.2184 + fi2.2185 + ac_cv_prog_CC="cc"2.2186 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.2187 + break 22.2188 + fi2.2189 +done2.2190 +done2.2191 +IFS=$as_save_IFS2.2192 +2.2193 +if test $ac_prog_rejected = yes; then2.2194 + # We found a bogon in the path, so make sure we never use it.2.2195 + set dummy $ac_cv_prog_CC2.2196 + shift2.2197 + if test $# != 0; then2.2198 + # We chose a different compiler from the bogus one.2.2199 + # However, it has the same basename, so the bogon will be chosen2.2200 + # first if we set CC to just the basename; use the full file name.2.2201 + shift2.2202 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"2.2203 + fi2.2204 +fi2.2205 +fi2.2206 +fi2.2207 +CC=$ac_cv_prog_CC2.2208 +if test -n "$CC"; then2.2209 + { echo "$as_me:$LINENO: result: $CC" >&52.2210 +echo "${ECHO_T}$CC" >&6; }2.2211 +else2.2212 + { echo "$as_me:$LINENO: result: no" >&52.2213 +echo "${ECHO_T}no" >&6; }2.2214 +fi2.2215 +2.2216 +2.2217 +fi2.2218 +if test -z "$CC"; then2.2219 + if test -n "$ac_tool_prefix"; then2.2220 + for ac_prog in cl.exe2.2221 + do2.2222 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.2.2223 +set dummy $ac_tool_prefix$ac_prog; ac_word=$22.2224 +{ echo "$as_me:$LINENO: checking for $ac_word" >&52.2225 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.2226 +if test "${ac_cv_prog_CC+set}" = set; then2.2227 + echo $ECHO_N "(cached) $ECHO_C" >&62.2228 +else2.2229 + if test -n "$CC"; then2.2230 + ac_cv_prog_CC="$CC" # Let the user override the test.2.2231 +else2.2232 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.2233 +for as_dir in $PATH2.2234 +do2.2235 + IFS=$as_save_IFS2.2236 + test -z "$as_dir" && as_dir=.2.2237 + for ac_exec_ext in '' $ac_executable_extensions; do2.2238 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.2239 + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"2.2240 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.2241 + break 22.2242 + fi2.2243 +done2.2244 +done2.2245 +IFS=$as_save_IFS2.2246 +2.2247 +fi2.2248 +fi2.2249 +CC=$ac_cv_prog_CC2.2250 +if test -n "$CC"; then2.2251 + { echo "$as_me:$LINENO: result: $CC" >&52.2252 +echo "${ECHO_T}$CC" >&6; }2.2253 +else2.2254 + { echo "$as_me:$LINENO: result: no" >&52.2255 +echo "${ECHO_T}no" >&6; }2.2256 +fi2.2257 +2.2258 +2.2259 + test -n "$CC" && break2.2260 + done2.2261 +fi2.2262 +if test -z "$CC"; then2.2263 + ac_ct_CC=$CC2.2264 + for ac_prog in cl.exe2.2265 +do2.2266 + # Extract the first word of "$ac_prog", so it can be a program name with args.2.2267 +set dummy $ac_prog; ac_word=$22.2268 +{ echo "$as_me:$LINENO: checking for $ac_word" >&52.2269 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.2270 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2.2271 + echo $ECHO_N "(cached) $ECHO_C" >&62.2272 +else2.2273 + if test -n "$ac_ct_CC"; then2.2274 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.2.2275 +else2.2276 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.2277 +for as_dir in $PATH2.2278 +do2.2279 + IFS=$as_save_IFS2.2280 + test -z "$as_dir" && as_dir=.2.2281 + for ac_exec_ext in '' $ac_executable_extensions; do2.2282 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.2283 + ac_cv_prog_ac_ct_CC="$ac_prog"2.2284 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.2285 + break 22.2286 + fi2.2287 +done2.2288 +done2.2289 +IFS=$as_save_IFS2.2290 +2.2291 +fi2.2292 +fi2.2293 +ac_ct_CC=$ac_cv_prog_ac_ct_CC2.2294 +if test -n "$ac_ct_CC"; then2.2295 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52.2296 +echo "${ECHO_T}$ac_ct_CC" >&6; }2.2297 +else2.2298 + { echo "$as_me:$LINENO: result: no" >&52.2299 +echo "${ECHO_T}no" >&6; }2.2300 +fi2.2301 +2.2302 +2.2303 + test -n "$ac_ct_CC" && break2.2304 +done2.2305 +2.2306 + if test "x$ac_ct_CC" = x; then2.2307 + CC=""2.2308 + else2.2309 + case $cross_compiling:$ac_tool_warned in2.2310 +yes:)2.2311 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools2.2312 +whose name does not start with the host triplet. If you think this2.2313 +configuration is useful to you, please write to autoconf@gnu.org." >&52.2314 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools2.2315 +whose name does not start with the host triplet. If you think this2.2316 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}2.2317 +ac_tool_warned=yes ;;2.2318 +esac2.2319 + CC=$ac_ct_CC2.2320 + fi2.2321 +fi2.2322 +2.2323 +fi2.2324 +2.2325 +2.2326 +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH2.2327 +See \`config.log' for more details." >&52.2328 +echo "$as_me: error: no acceptable C compiler found in \$PATH2.2329 +See \`config.log' for more details." >&2;}2.2330 + { (exit 1); exit 1; }; }2.2331 +2.2332 +# Provide some information about the compiler.2.2333 +echo "$as_me:$LINENO: checking for C compiler version" >&52.2334 +ac_compiler=`set X $ac_compile; echo $2`2.2335 +{ (ac_try="$ac_compiler --version >&5"2.2336 +case "(($ac_try" in2.2337 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.2338 + *) ac_try_echo=$ac_try;;2.2339 +esac2.2340 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.2341 + (eval "$ac_compiler --version >&5") 2>&52.2342 + ac_status=$?2.2343 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.2344 + (exit $ac_status); }2.2345 +{ (ac_try="$ac_compiler -v >&5"2.2346 +case "(($ac_try" in2.2347 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.2348 + *) ac_try_echo=$ac_try;;2.2349 +esac2.2350 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.2351 + (eval "$ac_compiler -v >&5") 2>&52.2352 + ac_status=$?2.2353 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.2354 + (exit $ac_status); }2.2355 +{ (ac_try="$ac_compiler -V >&5"2.2356 +case "(($ac_try" in2.2357 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.2358 + *) ac_try_echo=$ac_try;;2.2359 +esac2.2360 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.2361 + (eval "$ac_compiler -V >&5") 2>&52.2362 + ac_status=$?2.2363 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.2364 + (exit $ac_status); }2.2365 +2.2366 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&52.2367 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }2.2368 +if test "${ac_cv_c_compiler_gnu+set}" = set; then2.2369 + echo $ECHO_N "(cached) $ECHO_C" >&62.2370 +else2.2371 + cat >conftest.$ac_ext <<_ACEOF2.2372 +/* confdefs.h. */2.2373 +_ACEOF2.2374 +cat confdefs.h >>conftest.$ac_ext2.2375 +cat >>conftest.$ac_ext <<_ACEOF2.2376 +/* end confdefs.h. */2.2377 +2.2378 +int2.2379 +main ()2.2380 +{2.2381 +#ifndef __GNUC__2.2382 + choke me2.2383 +#endif2.2384 +2.2385 + ;2.2386 + return 0;2.2387 +}2.2388 +_ACEOF2.2389 +rm -f conftest.$ac_objext2.2390 +if { (ac_try="$ac_compile"2.2391 +case "(($ac_try" in2.2392 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.2393 + *) ac_try_echo=$ac_try;;2.2394 +esac2.2395 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.2396 + (eval "$ac_compile") 2>conftest.er12.2397 + ac_status=$?2.2398 + grep -v '^ *+' conftest.er1 >conftest.err2.2399 + rm -f conftest.er12.2400 + cat conftest.err >&52.2401 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.2402 + (exit $ac_status); } && {2.2403 + test -z "$ac_c_werror_flag" ||2.2404 + test ! -s conftest.err2.2405 + } && test -s conftest.$ac_objext; then2.2406 + ac_compiler_gnu=yes2.2407 +else2.2408 + echo "$as_me: failed program was:" >&52.2409 +sed 's/^/| /' conftest.$ac_ext >&52.2410 +2.2411 + ac_compiler_gnu=no2.2412 +fi2.2413 +2.2414 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2.2415 +ac_cv_c_compiler_gnu=$ac_compiler_gnu2.2416 +2.2417 +fi2.2418 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&52.2419 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }2.2420 +GCC=`test $ac_compiler_gnu = yes && echo yes`2.2421 +ac_test_CFLAGS=${CFLAGS+set}2.2422 +ac_save_CFLAGS=$CFLAGS2.2423 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&52.2424 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }2.2425 +if test "${ac_cv_prog_cc_g+set}" = set; then2.2426 + echo $ECHO_N "(cached) $ECHO_C" >&62.2427 +else2.2428 + ac_save_c_werror_flag=$ac_c_werror_flag2.2429 + ac_c_werror_flag=yes2.2430 + ac_cv_prog_cc_g=no2.2431 + CFLAGS="-g"2.2432 + cat >conftest.$ac_ext <<_ACEOF2.2433 +/* confdefs.h. */2.2434 +_ACEOF2.2435 +cat confdefs.h >>conftest.$ac_ext2.2436 +cat >>conftest.$ac_ext <<_ACEOF2.2437 +/* end confdefs.h. */2.2438 +2.2439 +int2.2440 +main ()2.2441 +{2.2442 +2.2443 + ;2.2444 + return 0;2.2445 +}2.2446 +_ACEOF2.2447 +rm -f conftest.$ac_objext2.2448 +if { (ac_try="$ac_compile"2.2449 +case "(($ac_try" in2.2450 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.2451 + *) ac_try_echo=$ac_try;;2.2452 +esac2.2453 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.2454 + (eval "$ac_compile") 2>conftest.er12.2455 + ac_status=$?2.2456 + grep -v '^ *+' conftest.er1 >conftest.err2.2457 + rm -f conftest.er12.2458 + cat conftest.err >&52.2459 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.2460 + (exit $ac_status); } && {2.2461 + test -z "$ac_c_werror_flag" ||2.2462 + test ! -s conftest.err2.2463 + } && test -s conftest.$ac_objext; then2.2464 + ac_cv_prog_cc_g=yes2.2465 +else2.2466 + echo "$as_me: failed program was:" >&52.2467 +sed 's/^/| /' conftest.$ac_ext >&52.2468 +2.2469 + CFLAGS=""2.2470 + cat >conftest.$ac_ext <<_ACEOF2.2471 +/* confdefs.h. */2.2472 +_ACEOF2.2473 +cat confdefs.h >>conftest.$ac_ext2.2474 +cat >>conftest.$ac_ext <<_ACEOF2.2475 +/* end confdefs.h. */2.2476 +2.2477 +int2.2478 +main ()2.2479 +{2.2480 +2.2481 + ;2.2482 + return 0;2.2483 +}2.2484 +_ACEOF2.2485 +rm -f conftest.$ac_objext2.2486 +if { (ac_try="$ac_compile"2.2487 +case "(($ac_try" in2.2488 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.2489 + *) ac_try_echo=$ac_try;;2.2490 +esac2.2491 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.2492 + (eval "$ac_compile") 2>conftest.er12.2493 + ac_status=$?2.2494 + grep -v '^ *+' conftest.er1 >conftest.err2.2495 + rm -f conftest.er12.2496 + cat conftest.err >&52.2497 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.2498 + (exit $ac_status); } && {2.2499 + test -z "$ac_c_werror_flag" ||2.2500 + test ! -s conftest.err2.2501 + } && test -s conftest.$ac_objext; then2.2502 + :2.2503 +else2.2504 + echo "$as_me: failed program was:" >&52.2505 +sed 's/^/| /' conftest.$ac_ext >&52.2506 +2.2507 + ac_c_werror_flag=$ac_save_c_werror_flag2.2508 + CFLAGS="-g"2.2509 + cat >conftest.$ac_ext <<_ACEOF2.2510 +/* confdefs.h. */2.2511 +_ACEOF2.2512 +cat confdefs.h >>conftest.$ac_ext2.2513 +cat >>conftest.$ac_ext <<_ACEOF2.2514 +/* end confdefs.h. */2.2515 +2.2516 +int2.2517 +main ()2.2518 +{2.2519 +2.2520 + ;2.2521 + return 0;2.2522 +}2.2523 +_ACEOF2.2524 +rm -f conftest.$ac_objext2.2525 +if { (ac_try="$ac_compile"2.2526 +case "(($ac_try" in2.2527 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.2528 + *) ac_try_echo=$ac_try;;2.2529 +esac2.2530 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.2531 + (eval "$ac_compile") 2>conftest.er12.2532 + ac_status=$?2.2533 + grep -v '^ *+' conftest.er1 >conftest.err2.2534 + rm -f conftest.er12.2535 + cat conftest.err >&52.2536 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.2537 + (exit $ac_status); } && {2.2538 + test -z "$ac_c_werror_flag" ||2.2539 + test ! -s conftest.err2.2540 + } && test -s conftest.$ac_objext; then2.2541 + ac_cv_prog_cc_g=yes2.2542 +else2.2543 + echo "$as_me: failed program was:" >&52.2544 +sed 's/^/| /' conftest.$ac_ext >&52.2545 +2.2546 +2.2547 +fi2.2548 +2.2549 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2.2550 +fi2.2551 +2.2552 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2.2553 +fi2.2554 +2.2555 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2.2556 + ac_c_werror_flag=$ac_save_c_werror_flag2.2557 +fi2.2558 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&52.2559 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }2.2560 +if test "$ac_test_CFLAGS" = set; then2.2561 + CFLAGS=$ac_save_CFLAGS2.2562 +elif test $ac_cv_prog_cc_g = yes; then2.2563 + if test "$GCC" = yes; then2.2564 + CFLAGS="-g -O2"2.2565 + else2.2566 + CFLAGS="-g"2.2567 + fi2.2568 +else2.2569 + if test "$GCC" = yes; then2.2570 + CFLAGS="-O2"2.2571 + else2.2572 + CFLAGS=2.2573 + fi2.2574 +fi2.2575 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&52.2576 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }2.2577 +if test "${ac_cv_prog_cc_c89+set}" = set; then2.2578 + echo $ECHO_N "(cached) $ECHO_C" >&62.2579 +else2.2580 + ac_cv_prog_cc_c89=no2.2581 +ac_save_CC=$CC2.2582 +cat >conftest.$ac_ext <<_ACEOF2.2583 +/* confdefs.h. */2.2584 +_ACEOF2.2585 +cat confdefs.h >>conftest.$ac_ext2.2586 +cat >>conftest.$ac_ext <<_ACEOF2.2587 +/* end confdefs.h. */2.2588 +#include <stdarg.h>2.2589 +#include <stdio.h>2.2590 +#include <sys/types.h>2.2591 +#include <sys/stat.h>2.2592 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */2.2593 +struct buf { int x; };2.2594 +FILE * (*rcsopen) (struct buf *, struct stat *, int);2.2595 +static char *e (p, i)2.2596 + char **p;2.2597 + int i;2.2598 +{2.2599 + return p[i];2.2600 +}2.2601 +static char *f (char * (*g) (char **, int), char **p, ...)2.2602 +{2.2603 + char *s;2.2604 + va_list v;2.2605 + va_start (v,p);2.2606 + s = g (p, va_arg (v,int));2.2607 + va_end (v);2.2608 + return s;2.2609 +}2.2610 +2.2611 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has2.2612 + function prototypes and stuff, but not '\xHH' hex character constants.2.2613 + These don't provoke an error unfortunately, instead are silently treated2.2614 + as 'x'. The following induces an error, until -std is added to get2.2615 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an2.2616 + array size at least. It's necessary to write '\x00'==0 to get something2.2617 + that's true only with -std. */2.2618 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];2.2619 +2.2620 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters2.2621 + inside strings and character constants. */2.2622 +#define FOO(x) 'x'2.2623 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];2.2624 +2.2625 +int test (int i, double x);2.2626 +struct s1 {int (*f) (int a);};2.2627 +struct s2 {int (*f) (double a);};2.2628 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);2.2629 +int argc;2.2630 +char **argv;2.2631 +int2.2632 +main ()2.2633 +{2.2634 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];2.2635 + ;2.2636 + return 0;2.2637 +}2.2638 +_ACEOF2.2639 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \2.2640 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"2.2641 +do2.2642 + CC="$ac_save_CC $ac_arg"2.2643 + rm -f conftest.$ac_objext2.2644 +if { (ac_try="$ac_compile"2.2645 +case "(($ac_try" in2.2646 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.2647 + *) ac_try_echo=$ac_try;;2.2648 +esac2.2649 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.2650 + (eval "$ac_compile") 2>conftest.er12.2651 + ac_status=$?2.2652 + grep -v '^ *+' conftest.er1 >conftest.err2.2653 + rm -f conftest.er12.2654 + cat conftest.err >&52.2655 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.2656 + (exit $ac_status); } && {2.2657 + test -z "$ac_c_werror_flag" ||2.2658 + test ! -s conftest.err2.2659 + } && test -s conftest.$ac_objext; then2.2660 + ac_cv_prog_cc_c89=$ac_arg2.2661 +else2.2662 + echo "$as_me: failed program was:" >&52.2663 +sed 's/^/| /' conftest.$ac_ext >&52.2664 +2.2665 +2.2666 +fi2.2667 +2.2668 +rm -f core conftest.err conftest.$ac_objext2.2669 + test "x$ac_cv_prog_cc_c89" != "xno" && break2.2670 +done2.2671 +rm -f conftest.$ac_ext2.2672 +CC=$ac_save_CC2.2673 +2.2674 +fi2.2675 +# AC_CACHE_VAL2.2676 +case "x$ac_cv_prog_cc_c89" in2.2677 + x)2.2678 + { echo "$as_me:$LINENO: result: none needed" >&52.2679 +echo "${ECHO_T}none needed" >&6; } ;;2.2680 + xno)2.2681 + { echo "$as_me:$LINENO: result: unsupported" >&52.2682 +echo "${ECHO_T}unsupported" >&6; } ;;2.2683 + *)2.2684 + CC="$CC $ac_cv_prog_cc_c89"2.2685 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&52.2686 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;2.2687 +esac2.2688 +2.2689 +2.2690 +ac_ext=c2.2691 +ac_cpp='$CPP $CPPFLAGS'2.2692 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'2.2693 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'2.2694 +ac_compiler_gnu=$ac_cv_c_compiler_gnu2.2695 +2.2696 +depcc="$CC" am_compiler_list=2.2697 +2.2698 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&52.2699 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }2.2700 +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then2.2701 + echo $ECHO_N "(cached) $ECHO_C" >&62.2702 +else2.2703 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then2.2704 + # We make a subdir and do the tests there. Otherwise we can end up2.2705 + # making bogus files that we don't know about and never remove. For2.2706 + # instance it was reported that on HP-UX the gcc test will end up2.2707 + # making a dummy file named `D' -- because `-MD' means `put the output2.2708 + # in D'.2.2709 + mkdir conftest.dir2.2710 + # Copy depcomp to subdir because otherwise we won't find it if we're2.2711 + # using a relative directory.2.2712 + cp "$am_depcomp" conftest.dir2.2713 + cd conftest.dir2.2714 + # We will build objects and dependencies in a subdirectory because2.2715 + # it helps to detect inapplicable dependency modes. For instance2.2716 + # both Tru64's cc and ICC support -MD to output dependencies as a2.2717 + # side effect of compilation, but ICC will put the dependencies in2.2718 + # the current directory while Tru64 will put them in the object2.2719 + # directory.2.2720 + mkdir sub2.2721 +2.2722 + am_cv_CC_dependencies_compiler_type=none2.2723 + if test "$am_compiler_list" = ""; then2.2724 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`2.2725 + fi2.2726 + for depmode in $am_compiler_list; do2.2727 + # Setup a source with many dependencies, because some compilers2.2728 + # like to wrap large dependency lists on column 80 (with \), and2.2729 + # we should not choose a depcomp mode which is confused by this.2.2730 + #2.2731 + # We need to recreate these files for each test, as the compiler may2.2732 + # overwrite some of them when testing with obscure command lines.2.2733 + # This happens at least with the AIX C compiler.2.2734 + : > sub/conftest.c2.2735 + for i in 1 2 3 4 5 6; do2.2736 + echo '#include "conftst'$i'.h"' >> sub/conftest.c2.2737 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with2.2738 + # Solaris 8's {/usr,}/bin/sh.2.2739 + touch sub/conftst$i.h2.2740 + done2.2741 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf2.2742 +2.2743 + case $depmode in2.2744 + nosideeffect)2.2745 + # after this tag, mechanisms are not by side-effect, so they'll2.2746 + # only be used when explicitly requested2.2747 + if test "x$enable_dependency_tracking" = xyes; then2.2748 + continue2.2749 + else2.2750 + break2.2751 + fi2.2752 + ;;2.2753 + none) break ;;2.2754 + esac2.2755 + # We check with `-c' and `-o' for the sake of the "dashmstdout"2.2756 + # mode. It turns out that the SunPro C++ compiler does not properly2.2757 + # handle `-M -o', and we need to detect this.2.2758 + if depmode=$depmode \2.2759 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \2.2760 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \2.2761 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \2.2762 + >/dev/null 2>conftest.err &&2.2763 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&2.2764 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&2.2765 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then2.2766 + # icc doesn't choke on unknown options, it will just issue warnings2.2767 + # or remarks (even with -Werror). So we grep stderr for any message2.2768 + # that says an option was ignored or not supported.2.2769 + # When given -MP, icc 7.0 and 7.1 complain thusly:2.2770 + # icc: Command line warning: ignoring option '-M'; no argument required2.2771 + # The diagnosis changed in icc 8.0:2.2772 + # icc: Command line remark: option '-MP' not supported2.2773 + if (grep 'ignoring option' conftest.err ||2.2774 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else2.2775 + am_cv_CC_dependencies_compiler_type=$depmode2.2776 + break2.2777 + fi2.2778 + fi2.2779 + done2.2780 +2.2781 + cd ..2.2782 + rm -rf conftest.dir2.2783 +else2.2784 + am_cv_CC_dependencies_compiler_type=none2.2785 +fi2.2786 +2.2787 +fi2.2788 +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&52.2789 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }2.2790 +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type2.2791 +2.2792 +2.2793 +2.2794 +if2.2795 + test "x$enable_dependency_tracking" != xno \2.2796 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then2.2797 + am__fastdepCC_TRUE=2.2798 + am__fastdepCC_FALSE='#'2.2799 +else2.2800 + am__fastdepCC_TRUE='#'2.2801 + am__fastdepCC_FALSE=2.2802 +fi2.2803 +2.2804 +2.2805 +2.2806 +am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc2.2807 +2.2808 +ac_ext=c2.2809 +ac_cpp='$CPP $CPPFLAGS'2.2810 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'2.2811 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'2.2812 +ac_compiler_gnu=$ac_cv_c_compiler_gnu2.2813 +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&52.2814 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }2.2815 +# On Suns, sometimes $CPP names a directory.2.2816 +if test -n "$CPP" && test -d "$CPP"; then2.2817 + CPP=2.2818 +fi2.2819 +if test -z "$CPP"; then2.2820 + if test "${ac_cv_prog_CPP+set}" = set; then2.2821 + echo $ECHO_N "(cached) $ECHO_C" >&62.2822 +else2.2823 + # Double quotes because CPP needs to be expanded2.2824 + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"2.2825 + do2.2826 + ac_preproc_ok=false2.2827 +for ac_c_preproc_warn_flag in '' yes2.2828 +do2.2829 + # Use a header file that comes with gcc, so configuring glibc2.2830 + # with a fresh cross-compiler works.2.2831 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since2.2832 + # <limits.h> exists even on freestanding compilers.2.2833 + # On the NeXT, cc -E runs the code through the compiler's parser,2.2834 + # not just through cpp. "Syntax error" is here to catch this case.2.2835 + cat >conftest.$ac_ext <<_ACEOF2.2836 +/* confdefs.h. */2.2837 +_ACEOF2.2838 +cat confdefs.h >>conftest.$ac_ext2.2839 +cat >>conftest.$ac_ext <<_ACEOF2.2840 +/* end confdefs.h. */2.2841 +#ifdef __STDC__2.2842 +# include <limits.h>2.2843 +#else2.2844 +# include <assert.h>2.2845 +#endif2.2846 + Syntax error2.2847 +_ACEOF2.2848 +if { (ac_try="$ac_cpp conftest.$ac_ext"2.2849 +case "(($ac_try" in2.2850 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.2851 + *) ac_try_echo=$ac_try;;2.2852 +esac2.2853 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.2854 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er12.2855 + ac_status=$?2.2856 + grep -v '^ *+' conftest.er1 >conftest.err2.2857 + rm -f conftest.er12.2858 + cat conftest.err >&52.2859 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.2860 + (exit $ac_status); } >/dev/null && {2.2861 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||2.2862 + test ! -s conftest.err2.2863 + }; then2.2864 + :2.2865 +else2.2866 + echo "$as_me: failed program was:" >&52.2867 +sed 's/^/| /' conftest.$ac_ext >&52.2868 +2.2869 + # Broken: fails on valid input.2.2870 +continue2.2871 +fi2.2872 +2.2873 +rm -f conftest.err conftest.$ac_ext2.2874 +2.2875 + # OK, works on sane cases. Now check whether nonexistent headers2.2876 + # can be detected and how.2.2877 + cat >conftest.$ac_ext <<_ACEOF2.2878 +/* confdefs.h. */2.2879 +_ACEOF2.2880 +cat confdefs.h >>conftest.$ac_ext2.2881 +cat >>conftest.$ac_ext <<_ACEOF2.2882 +/* end confdefs.h. */2.2883 +#include <ac_nonexistent.h>2.2884 +_ACEOF2.2885 +if { (ac_try="$ac_cpp conftest.$ac_ext"2.2886 +case "(($ac_try" in2.2887 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.2888 + *) ac_try_echo=$ac_try;;2.2889 +esac2.2890 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.2891 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er12.2892 + ac_status=$?2.2893 + grep -v '^ *+' conftest.er1 >conftest.err2.2894 + rm -f conftest.er12.2895 + cat conftest.err >&52.2896 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.2897 + (exit $ac_status); } >/dev/null && {2.2898 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||2.2899 + test ! -s conftest.err2.2900 + }; then2.2901 + # Broken: success on invalid input.2.2902 +continue2.2903 +else2.2904 + echo "$as_me: failed program was:" >&52.2905 +sed 's/^/| /' conftest.$ac_ext >&52.2906 +2.2907 + # Passes both tests.2.2908 +ac_preproc_ok=:2.2909 +break2.2910 +fi2.2911 +2.2912 +rm -f conftest.err conftest.$ac_ext2.2913 +2.2914 +done2.2915 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.2.2916 +rm -f conftest.err conftest.$ac_ext2.2917 +if $ac_preproc_ok; then2.2918 + break2.2919 +fi2.2920 +2.2921 + done2.2922 + ac_cv_prog_CPP=$CPP2.2923 +2.2924 +fi2.2925 + CPP=$ac_cv_prog_CPP2.2926 +else2.2927 + ac_cv_prog_CPP=$CPP2.2928 +fi2.2929 +{ echo "$as_me:$LINENO: result: $CPP" >&52.2930 +echo "${ECHO_T}$CPP" >&6; }2.2931 +ac_preproc_ok=false2.2932 +for ac_c_preproc_warn_flag in '' yes2.2933 +do2.2934 + # Use a header file that comes with gcc, so configuring glibc2.2935 + # with a fresh cross-compiler works.2.2936 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since2.2937 + # <limits.h> exists even on freestanding compilers.2.2938 + # On the NeXT, cc -E runs the code through the compiler's parser,2.2939 + # not just through cpp. "Syntax error" is here to catch this case.2.2940 + cat >conftest.$ac_ext <<_ACEOF2.2941 +/* confdefs.h. */2.2942 +_ACEOF2.2943 +cat confdefs.h >>conftest.$ac_ext2.2944 +cat >>conftest.$ac_ext <<_ACEOF2.2945 +/* end confdefs.h. */2.2946 +#ifdef __STDC__2.2947 +# include <limits.h>2.2948 +#else2.2949 +# include <assert.h>2.2950 +#endif2.2951 + Syntax error2.2952 +_ACEOF2.2953 +if { (ac_try="$ac_cpp conftest.$ac_ext"2.2954 +case "(($ac_try" in2.2955 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.2956 + *) ac_try_echo=$ac_try;;2.2957 +esac2.2958 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.2959 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er12.2960 + ac_status=$?2.2961 + grep -v '^ *+' conftest.er1 >conftest.err2.2962 + rm -f conftest.er12.2963 + cat conftest.err >&52.2964 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.2965 + (exit $ac_status); } >/dev/null && {2.2966 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||2.2967 + test ! -s conftest.err2.2968 + }; then2.2969 + :2.2970 +else2.2971 + echo "$as_me: failed program was:" >&52.2972 +sed 's/^/| /' conftest.$ac_ext >&52.2973 +2.2974 + # Broken: fails on valid input.2.2975 +continue2.2976 +fi2.2977 +2.2978 +rm -f conftest.err conftest.$ac_ext2.2979 +2.2980 + # OK, works on sane cases. Now check whether nonexistent headers2.2981 + # can be detected and how.2.2982 + cat >conftest.$ac_ext <<_ACEOF2.2983 +/* confdefs.h. */2.2984 +_ACEOF2.2985 +cat confdefs.h >>conftest.$ac_ext2.2986 +cat >>conftest.$ac_ext <<_ACEOF2.2987 +/* end confdefs.h. */2.2988 +#include <ac_nonexistent.h>2.2989 +_ACEOF2.2990 +if { (ac_try="$ac_cpp conftest.$ac_ext"2.2991 +case "(($ac_try" in2.2992 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.2993 + *) ac_try_echo=$ac_try;;2.2994 +esac2.2995 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.2996 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er12.2997 + ac_status=$?2.2998 + grep -v '^ *+' conftest.er1 >conftest.err2.2999 + rm -f conftest.er12.3000 + cat conftest.err >&52.3001 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.3002 + (exit $ac_status); } >/dev/null && {2.3003 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||2.3004 + test ! -s conftest.err2.3005 + }; then2.3006 + # Broken: success on invalid input.2.3007 +continue2.3008 +else2.3009 + echo "$as_me: failed program was:" >&52.3010 +sed 's/^/| /' conftest.$ac_ext >&52.3011 +2.3012 + # Passes both tests.2.3013 +ac_preproc_ok=:2.3014 +break2.3015 +fi2.3016 +2.3017 +rm -f conftest.err conftest.$ac_ext2.3018 +2.3019 +done2.3020 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.2.3021 +rm -f conftest.err conftest.$ac_ext2.3022 +if $ac_preproc_ok; then2.3023 + :2.3024 +else2.3025 + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check2.3026 +See \`config.log' for more details." >&52.3027 +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check2.3028 +See \`config.log' for more details." >&2;}2.3029 + { (exit 1); exit 1; }; }2.3030 +fi2.3031 +2.3032 +ac_ext=c2.3033 +ac_cpp='$CPP $CPPFLAGS'2.3034 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'2.3035 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'2.3036 +ac_compiler_gnu=$ac_cv_c_compiler_gnu2.3037 +2.3038 +2.3039 +ac_main_cc="$CC"2.3040 +test -n "$build_alias" && ac_build_tool_prefix=$build_alias-2.3041 +2.3042 +if test -z "$CC_FOR_BUILD"; then2.3043 + if test "$#" = yes; then2.3044 + { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling2.3045 +See \`config.log' for more details." >&52.3046 +echo "$as_me: error: cannot run test program while cross compiling2.3047 +See \`config.log' for more details." >&2;}2.3048 + { (exit 1); exit 1; }; }2.3049 +else2.3050 + cat >conftest.$ac_ext <<_ACEOF2.3051 +int main(){return 0;}2.3052 +_ACEOF2.3053 +rm -f conftest$ac_exeext2.3054 +if { (ac_try="$ac_link"2.3055 +case "(($ac_try" in2.3056 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.3057 + *) ac_try_echo=$ac_try;;2.3058 +esac2.3059 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.3060 + (eval "$ac_link") 2>&52.3061 + ac_status=$?2.3062 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.3063 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'2.3064 + { (case "(($ac_try" in2.3065 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.3066 + *) ac_try_echo=$ac_try;;2.3067 +esac2.3068 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.3069 + (eval "$ac_try") 2>&52.3070 + ac_status=$?2.3071 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.3072 + (exit $ac_status); }; }; then2.3073 + CC_FOR_BUILD="$CC"2.3074 +else2.3075 + echo "$as_me: program exited with status $ac_status" >&52.3076 +echo "$as_me: failed program was:" >&52.3077 +sed 's/^/| /' conftest.$ac_ext >&52.3078 +2.3079 +fi2.3080 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext2.3081 +fi2.3082 +2.3083 +2.3084 +fi2.3085 +2.3086 +2.3087 +ac_ext=c2.3088 +ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'2.3089 +ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'2.3090 +ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'2.3091 +ac_build_compiler_gnu=$ac_cv_c_compiler_gnu2.3092 +if test -n "$ac_build_tool_prefix"; then2.3093 + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.2.3094 +set dummy ${ac_build_tool_prefix}gcc; ac_word=$22.3095 +{ echo "$as_me:$LINENO: checking for $ac_word" >&52.3096 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.3097 +if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then2.3098 + echo $ECHO_N "(cached) $ECHO_C" >&62.3099 +else2.3100 + if test -n "$CC_FOR_BUILD"; then2.3101 + ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.2.3102 +else2.3103 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.3104 +for as_dir in $PATH2.3105 +do2.3106 + IFS=$as_save_IFS2.3107 + test -z "$as_dir" && as_dir=.2.3108 + for ac_exec_ext in '' $ac_executable_extensions; do2.3109 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.3110 + ac_cv_prog_CC_FOR_BUILD="${ac_build_tool_prefix}gcc"2.3111 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.3112 + break 22.3113 + fi2.3114 +done2.3115 +done2.3116 +IFS=$as_save_IFS2.3117 +2.3118 +fi2.3119 +fi2.3120 +CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD2.3121 +if test -n "$CC_FOR_BUILD"; then2.3122 + { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&52.3123 +echo "${ECHO_T}$CC_FOR_BUILD" >&6; }2.3124 +else2.3125 + { echo "$as_me:$LINENO: result: no" >&52.3126 +echo "${ECHO_T}no" >&6; }2.3127 +fi2.3128 +2.3129 +2.3130 +fi2.3131 +if test -z "$ac_cv_prog_CC_FOR_BUILD"; then2.3132 + ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD2.3133 + # Extract the first word of "gcc", so it can be a program name with args.2.3134 +set dummy gcc; ac_word=$22.3135 +{ echo "$as_me:$LINENO: checking for $ac_word" >&52.3136 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.3137 +if test "${ac_cv_prog_ac_ct_CC_FOR_BUILD+set}" = set; then2.3138 + echo $ECHO_N "(cached) $ECHO_C" >&62.3139 +else2.3140 + if test -n "$ac_ct_CC_FOR_BUILD"; then2.3141 + ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test.2.3142 +else2.3143 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.3144 +for as_dir in $PATH2.3145 +do2.3146 + IFS=$as_save_IFS2.3147 + test -z "$as_dir" && as_dir=.2.3148 + for ac_exec_ext in '' $ac_executable_extensions; do2.3149 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.3150 + ac_cv_prog_ac_ct_CC_FOR_BUILD="gcc"2.3151 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.3152 + break 22.3153 + fi2.3154 +done2.3155 +done2.3156 +IFS=$as_save_IFS2.3157 +2.3158 +fi2.3159 +fi2.3160 +ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD2.3161 +if test -n "$ac_ct_CC_FOR_BUILD"; then2.3162 + { echo "$as_me:$LINENO: result: $ac_ct_CC_FOR_BUILD" >&52.3163 +echo "${ECHO_T}$ac_ct_CC_FOR_BUILD" >&6; }2.3164 +else2.3165 + { echo "$as_me:$LINENO: result: no" >&52.3166 +echo "${ECHO_T}no" >&6; }2.3167 +fi2.3168 +2.3169 + if test "x$ac_ct_CC_FOR_BUILD" = x; then2.3170 + CC_FOR_BUILD=""2.3171 + else2.3172 + case $#:$ac_tool_warned in2.3173 +yes:)2.3174 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools2.3175 +whose name does not start with the build triplet. If you think this2.3176 +configuration is useful to you, please write to autoconf@gnu.org." >&52.3177 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools2.3178 +whose name does not start with the build triplet. If you think this2.3179 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}2.3180 +ac_tool_warned=yes ;;2.3181 +esac2.3182 + CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD2.3183 + fi2.3184 +else2.3185 + CC_FOR_BUILD="$ac_cv_prog_CC_FOR_BUILD"2.3186 +fi2.3187 +2.3188 +if test -z "$CC_FOR_BUILD"; then2.3189 + if test -n "$ac_build_tool_prefix"; then2.3190 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.2.3191 +set dummy ${ac_build_tool_prefix}cc; ac_word=$22.3192 +{ echo "$as_me:$LINENO: checking for $ac_word" >&52.3193 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.3194 +if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then2.3195 + echo $ECHO_N "(cached) $ECHO_C" >&62.3196 +else2.3197 + if test -n "$CC_FOR_BUILD"; then2.3198 + ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.2.3199 +else2.3200 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.3201 +for as_dir in $PATH2.3202 +do2.3203 + IFS=$as_save_IFS2.3204 + test -z "$as_dir" && as_dir=.2.3205 + for ac_exec_ext in '' $ac_executable_extensions; do2.3206 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.3207 + ac_cv_prog_CC_FOR_BUILD="${ac_build_tool_prefix}cc"2.3208 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.3209 + break 22.3210 + fi2.3211 +done2.3212 +done2.3213 +IFS=$as_save_IFS2.3214 +2.3215 +fi2.3216 +fi2.3217 +CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD2.3218 +if test -n "$CC_FOR_BUILD"; then2.3219 + { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&52.3220 +echo "${ECHO_T}$CC_FOR_BUILD" >&6; }2.3221 +else2.3222 + { echo "$as_me:$LINENO: result: no" >&52.3223 +echo "${ECHO_T}no" >&6; }2.3224 +fi2.3225 +2.3226 +2.3227 + fi2.3228 +fi2.3229 +if test -z "$CC_FOR_BUILD"; then2.3230 + # Extract the first word of "cc", so it can be a program name with args.2.3231 +set dummy cc; ac_word=$22.3232 +{ echo "$as_me:$LINENO: checking for $ac_word" >&52.3233 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.3234 +if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then2.3235 + echo $ECHO_N "(cached) $ECHO_C" >&62.3236 +else2.3237 + if test -n "$CC_FOR_BUILD"; then2.3238 + ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.2.3239 +else2.3240 + ac_prog_rejected=no2.3241 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.3242 +for as_dir in $PATH2.3243 +do2.3244 + IFS=$as_save_IFS2.3245 + test -z "$as_dir" && as_dir=.2.3246 + for ac_exec_ext in '' $ac_executable_extensions; do2.3247 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.3248 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then2.3249 + ac_prog_rejected=yes2.3250 + continue2.3251 + fi2.3252 + ac_cv_prog_CC_FOR_BUILD="cc"2.3253 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.3254 + break 22.3255 + fi2.3256 +done2.3257 +done2.3258 +IFS=$as_save_IFS2.3259 +2.3260 +if test $ac_prog_rejected = yes; then2.3261 + # We found a bogon in the path, so make sure we never use it.2.3262 + set dummy $ac_cv_prog_CC_FOR_BUILD2.3263 + shift2.3264 + if test $# != 0; then2.3265 + # We chose a different compiler from the bogus one.2.3266 + # However, it has the same basename, so the bogon will be chosen2.3267 + # first if we set CC_FOR_BUILD to just the basename; use the full file name.2.3268 + shift2.3269 + ac_cv_prog_CC_FOR_BUILD="$as_dir/$ac_word${1+' '}$@"2.3270 + fi2.3271 +fi2.3272 +fi2.3273 +fi2.3274 +CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD2.3275 +if test -n "$CC_FOR_BUILD"; then2.3276 + { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&52.3277 +echo "${ECHO_T}$CC_FOR_BUILD" >&6; }2.3278 +else2.3279 + { echo "$as_me:$LINENO: result: no" >&52.3280 +echo "${ECHO_T}no" >&6; }2.3281 +fi2.3282 +2.3283 +2.3284 +fi2.3285 +if test -z "$CC_FOR_BUILD"; then2.3286 + if test -n "$ac_build_tool_prefix"; then2.3287 + for ac_prog in cl.exe2.3288 + do2.3289 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.2.3290 +set dummy $ac_build_tool_prefix$ac_prog; ac_word=$22.3291 +{ echo "$as_me:$LINENO: checking for $ac_word" >&52.3292 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.3293 +if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then2.3294 + echo $ECHO_N "(cached) $ECHO_C" >&62.3295 +else2.3296 + if test -n "$CC_FOR_BUILD"; then2.3297 + ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.2.3298 +else2.3299 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.3300 +for as_dir in $PATH2.3301 +do2.3302 + IFS=$as_save_IFS2.3303 + test -z "$as_dir" && as_dir=.2.3304 + for ac_exec_ext in '' $ac_executable_extensions; do2.3305 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.3306 + ac_cv_prog_CC_FOR_BUILD="$ac_build_tool_prefix$ac_prog"2.3307 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.3308 + break 22.3309 + fi2.3310 +done2.3311 +done2.3312 +IFS=$as_save_IFS2.3313 +2.3314 +fi2.3315 +fi2.3316 +CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD2.3317 +if test -n "$CC_FOR_BUILD"; then2.3318 + { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&52.3319 +echo "${ECHO_T}$CC_FOR_BUILD" >&6; }2.3320 +else2.3321 + { echo "$as_me:$LINENO: result: no" >&52.3322 +echo "${ECHO_T}no" >&6; }2.3323 +fi2.3324 +2.3325 +2.3326 + test -n "$CC_FOR_BUILD" && break2.3327 + done2.3328 +fi2.3329 +if test -z "$CC_FOR_BUILD"; then2.3330 + ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD2.3331 + for ac_prog in cl.exe2.3332 +do2.3333 + # Extract the first word of "$ac_prog", so it can be a program name with args.2.3334 +set dummy $ac_prog; ac_word=$22.3335 +{ echo "$as_me:$LINENO: checking for $ac_word" >&52.3336 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.3337 +if test "${ac_cv_prog_ac_ct_CC_FOR_BUILD+set}" = set; then2.3338 + echo $ECHO_N "(cached) $ECHO_C" >&62.3339 +else2.3340 + if test -n "$ac_ct_CC_FOR_BUILD"; then2.3341 + ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test.2.3342 +else2.3343 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.3344 +for as_dir in $PATH2.3345 +do2.3346 + IFS=$as_save_IFS2.3347 + test -z "$as_dir" && as_dir=.2.3348 + for ac_exec_ext in '' $ac_executable_extensions; do2.3349 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.3350 + ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_prog"2.3351 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.3352 + break 22.3353 + fi2.3354 +done2.3355 +done2.3356 +IFS=$as_save_IFS2.3357 +2.3358 +fi2.3359 +fi2.3360 +ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD2.3361 +if test -n "$ac_ct_CC_FOR_BUILD"; then2.3362 + { echo "$as_me:$LINENO: result: $ac_ct_CC_FOR_BUILD" >&52.3363 +echo "${ECHO_T}$ac_ct_CC_FOR_BUILD" >&6; }2.3364 +else2.3365 + { echo "$as_me:$LINENO: result: no" >&52.3366 +echo "${ECHO_T}no" >&6; }2.3367 +fi2.3368 +2.3369 +2.3370 + test -n "$ac_ct_CC_FOR_BUILD" && break2.3371 +done2.3372 +2.3373 + if test "x$ac_ct_CC_FOR_BUILD" = x; then2.3374 + CC_FOR_BUILD=""2.3375 + else2.3376 + case $#:$ac_tool_warned in2.3377 +yes:)2.3378 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools2.3379 +whose name does not start with the build triplet. If you think this2.3380 +configuration is useful to you, please write to autoconf@gnu.org." >&52.3381 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools2.3382 +whose name does not start with the build triplet. If you think this2.3383 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}2.3384 +ac_tool_warned=yes ;;2.3385 +esac2.3386 + CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD2.3387 + fi2.3388 +fi2.3389 +2.3390 +fi2.3391 +2.3392 +2.3393 +test -z "$CC_FOR_BUILD" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH2.3394 +See \`config.log' for more details." >&52.3395 +echo "$as_me: error: no acceptable C compiler found in \$PATH2.3396 +See \`config.log' for more details." >&2;}2.3397 + { (exit 1); exit 1; }; }2.3398 +2.3399 +# Provide some information about the compiler.2.3400 +echo "$as_me:$LINENO: checking for C compiler version" >&52.3401 +ac_compiler=`set X $ac_build_compile; echo $2`2.3402 +{ (ac_try="$ac_compiler --version >&5"2.3403 +case "(($ac_try" in2.3404 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.3405 + *) ac_try_echo=$ac_try;;2.3406 +esac2.3407 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.3408 + (eval "$ac_compiler --version >&5") 2>&52.3409 + ac_status=$?2.3410 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.3411 + (exit $ac_status); }2.3412 +{ (ac_try="$ac_compiler -v >&5"2.3413 +case "(($ac_try" in2.3414 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.3415 + *) ac_try_echo=$ac_try;;2.3416 +esac2.3417 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.3418 + (eval "$ac_compiler -v >&5") 2>&52.3419 + ac_status=$?2.3420 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.3421 + (exit $ac_status); }2.3422 +{ (ac_try="$ac_compiler -V >&5"2.3423 +case "(($ac_try" in2.3424 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.3425 + *) ac_try_echo=$ac_try;;2.3426 +esac2.3427 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.3428 + (eval "$ac_compiler -V >&5") 2>&52.3429 + ac_status=$?2.3430 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.3431 + (exit $ac_status); }2.3432 +2.3433 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&52.3434 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }2.3435 +if test "${ac_cv_c_compiler_gnu+set}" = set; then2.3436 + echo $ECHO_N "(cached) $ECHO_C" >&62.3437 +else2.3438 + cat >conftest.$ac_ext <<_ACEOF2.3439 +/* confdefs.h. */2.3440 +_ACEOF2.3441 +cat confdefs.h >>conftest.$ac_ext2.3442 +cat >>conftest.$ac_ext <<_ACEOF2.3443 +/* end confdefs.h. */2.3444 +2.3445 +int2.3446 +main ()2.3447 +{2.3448 +#ifndef __GNUC__2.3449 + choke me2.3450 +#endif2.3451 +2.3452 + ;2.3453 + return 0;2.3454 +}2.3455 +_ACEOF2.3456 +rm -f conftest.$ac_build_objext2.3457 +if { (ac_try="$ac_build_compile"2.3458 +case "(($ac_try" in2.3459 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.3460 + *) ac_try_echo=$ac_try;;2.3461 +esac2.3462 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.3463 + (eval "$ac_build_compile") 2>conftest.er12.3464 + ac_status=$?2.3465 + grep -v '^ *+' conftest.er1 >conftest.err2.3466 + rm -f conftest.er12.3467 + cat conftest.err >&52.3468 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.3469 + (exit $ac_status); } && {2.3470 + test -z "$ac_c_werror_flag" ||2.3471 + test ! -s conftest.err2.3472 + } && test -s conftest.$ac_build_objext; then2.3473 + ac_build_compiler_gnu=yes2.3474 +else2.3475 + echo "$as_me: failed program was:" >&52.3476 +sed 's/^/| /' conftest.$ac_ext >&52.3477 +2.3478 + ac_build_compiler_gnu=no2.3479 +fi2.3480 +2.3481 +rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext2.3482 +ac_cv_c_compiler_gnu=$ac_build_compiler_gnu2.3483 +2.3484 +fi2.3485 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&52.3486 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }2.3487 +GCC=`test $ac_build_compiler_gnu = yes && echo yes`2.3488 +ac_test_CFLAGS=${CFLAGS_FOR_BUILD+set}2.3489 +ac_save_CFLAGS=$CFLAGS_FOR_BUILD2.3490 +{ echo "$as_me:$LINENO: checking whether $CC_FOR_BUILD accepts -g" >&52.3491 +echo $ECHO_N "checking whether $CC_FOR_BUILD accepts -g... $ECHO_C" >&6; }2.3492 +if test "${ac_cv_build_prog_cc_g+set}" = set; then2.3493 + echo $ECHO_N "(cached) $ECHO_C" >&62.3494 +else2.3495 + ac_save_c_werror_flag=$ac_c_werror_flag2.3496 + ac_c_werror_flag=yes2.3497 + ac_cv_build_prog_cc_g=no2.3498 + CFLAGS_FOR_BUILD="-g"2.3499 + cat >conftest.$ac_ext <<_ACEOF2.3500 +/* confdefs.h. */2.3501 +_ACEOF2.3502 +cat confdefs.h >>conftest.$ac_ext2.3503 +cat >>conftest.$ac_ext <<_ACEOF2.3504 +/* end confdefs.h. */2.3505 +2.3506 +int2.3507 +main ()2.3508 +{2.3509 +2.3510 + ;2.3511 + return 0;2.3512 +}2.3513 +_ACEOF2.3514 +rm -f conftest.$ac_build_objext2.3515 +if { (ac_try="$ac_build_compile"2.3516 +case "(($ac_try" in2.3517 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.3518 + *) ac_try_echo=$ac_try;;2.3519 +esac2.3520 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.3521 + (eval "$ac_build_compile") 2>conftest.er12.3522 + ac_status=$?2.3523 + grep -v '^ *+' conftest.er1 >conftest.err2.3524 + rm -f conftest.er12.3525 + cat conftest.err >&52.3526 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.3527 + (exit $ac_status); } && {2.3528 + test -z "$ac_c_werror_flag" ||2.3529 + test ! -s conftest.err2.3530 + } && test -s conftest.$ac_build_objext; then2.3531 + ac_cv_build_prog_cc_g=yes2.3532 +else2.3533 + echo "$as_me: failed program was:" >&52.3534 +sed 's/^/| /' conftest.$ac_ext >&52.3535 +2.3536 + CFLAGS_FOR_BUILD=""2.3537 + cat >conftest.$ac_ext <<_ACEOF2.3538 +/* confdefs.h. */2.3539 +_ACEOF2.3540 +cat confdefs.h >>conftest.$ac_ext2.3541 +cat >>conftest.$ac_ext <<_ACEOF2.3542 +/* end confdefs.h. */2.3543 +2.3544 +int2.3545 +main ()2.3546 +{2.3547 +2.3548 + ;2.3549 + return 0;2.3550 +}2.3551 +_ACEOF2.3552 +rm -f conftest.$ac_build_objext2.3553 +if { (ac_try="$ac_build_compile"2.3554 +case "(($ac_try" in2.3555 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.3556 + *) ac_try_echo=$ac_try;;2.3557 +esac2.3558 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.3559 + (eval "$ac_build_compile") 2>conftest.er12.3560 + ac_status=$?2.3561 + grep -v '^ *+' conftest.er1 >conftest.err2.3562 + rm -f conftest.er12.3563 + cat conftest.err >&52.3564 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.3565 + (exit $ac_status); } && {2.3566 + test -z "$ac_c_werror_flag" ||2.3567 + test ! -s conftest.err2.3568 + } && test -s conftest.$ac_build_objext; then2.3569 + :2.3570 +else2.3571 + echo "$as_me: failed program was:" >&52.3572 +sed 's/^/| /' conftest.$ac_ext >&52.3573 +2.3574 + ac_c_werror_flag=$ac_save_c_werror_flag2.3575 + CFLAGS_FOR_BUILD="-g"2.3576 + cat >conftest.$ac_ext <<_ACEOF2.3577 +/* confdefs.h. */2.3578 +_ACEOF2.3579 +cat confdefs.h >>conftest.$ac_ext2.3580 +cat >>conftest.$ac_ext <<_ACEOF2.3581 +/* end confdefs.h. */2.3582 +2.3583 +int2.3584 +main ()2.3585 +{2.3586 +2.3587 + ;2.3588 + return 0;2.3589 +}2.3590 +_ACEOF2.3591 +rm -f conftest.$ac_build_objext2.3592 +if { (ac_try="$ac_build_compile"2.3593 +case "(($ac_try" in2.3594 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.3595 + *) ac_try_echo=$ac_try;;2.3596 +esac2.3597 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.3598 + (eval "$ac_build_compile") 2>conftest.er12.3599 + ac_status=$?2.3600 + grep -v '^ *+' conftest.er1 >conftest.err2.3601 + rm -f conftest.er12.3602 + cat conftest.err >&52.3603 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.3604 + (exit $ac_status); } && {2.3605 + test -z "$ac_c_werror_flag" ||2.3606 + test ! -s conftest.err2.3607 + } && test -s conftest.$ac_build_objext; then2.3608 + ac_cv_build_prog_cc_g=yes2.3609 +else2.3610 + echo "$as_me: failed program was:" >&52.3611 +sed 's/^/| /' conftest.$ac_ext >&52.3612 +2.3613 +2.3614 +fi2.3615 +2.3616 +rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext2.3617 +fi2.3618 +2.3619 +rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext2.3620 +fi2.3621 +2.3622 +rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext2.3623 + ac_c_werror_flag=$ac_save_c_werror_flag2.3624 +fi2.3625 +{ echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_g" >&52.3626 +echo "${ECHO_T}$ac_cv_build_prog_cc_g" >&6; }2.3627 +if test "$ac_test_CFLAGS" = set; then2.3628 + CFLAGS_FOR_BUILD=$ac_save_CFLAGS2.3629 +elif test $ac_cv_build_prog_cc_g = yes; then2.3630 + if test "$GCC" = yes; then2.3631 + CFLAGS_FOR_BUILD="-g -O2"2.3632 + else2.3633 + CFLAGS_FOR_BUILD="-g"2.3634 + fi2.3635 +else2.3636 + if test "$GCC" = yes; then2.3637 + CFLAGS_FOR_BUILD="-O2"2.3638 + else2.3639 + CFLAGS_FOR_BUILD=2.3640 + fi2.3641 +fi2.3642 +{ echo "$as_me:$LINENO: checking for $CC_FOR_BUILD option to accept ISO C89" >&52.3643 +echo $ECHO_N "checking for $CC_FOR_BUILD option to accept ISO C89... $ECHO_C" >&6; }2.3644 +if test "${ac_cv_build_prog_cc_stdc+set}" = set; then2.3645 + echo $ECHO_N "(cached) $ECHO_C" >&62.3646 +else2.3647 + ac_cv_build_prog_cc_stdc=no2.3648 +ac_save_CC=$CC_FOR_BUILD2.3649 +cat >conftest.$ac_ext <<_ACEOF2.3650 +/* confdefs.h. */2.3651 +_ACEOF2.3652 +cat confdefs.h >>conftest.$ac_ext2.3653 +cat >>conftest.$ac_ext <<_ACEOF2.3654 +/* end confdefs.h. */2.3655 +#include <stdarg.h>2.3656 +#include <stdio.h>2.3657 +#include <sys/types.h>2.3658 +#include <sys/stat.h>2.3659 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */2.3660 +struct buf { int x; };2.3661 +FILE * (*rcsopen) (struct buf *, struct stat *, int);2.3662 +static char *e (p, i)2.3663 + char **p;2.3664 + int i;2.3665 +{2.3666 + return p[i];2.3667 +}2.3668 +static char *f (char * (*g) (char **, int), char **p, ...)2.3669 +{2.3670 + char *s;2.3671 + va_list v;2.3672 + va_start (v,p);2.3673 + s = g (p, va_arg (v,int));2.3674 + va_end (v);2.3675 + return s;2.3676 +}2.3677 +2.3678 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has2.3679 + function prototypes and stuff, but not '\xHH' hex character constants.2.3680 + These don't provoke an error unfortunately, instead are silently treated2.3681 + as 'x'. The following induces an error, until -std is added to get2.3682 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an2.3683 + array size at least. It's necessary to write '\x00'==0 to get something2.3684 + that's true only with -std. */2.3685 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];2.3686 +2.3687 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters2.3688 + inside strings and character constants. */2.3689 +#define FOO(x) 'x'2.3690 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];2.3691 +2.3692 +int test (int i, double x);2.3693 +struct s1 {int (*f) (int a);};2.3694 +struct s2 {int (*f) (double a);};2.3695 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);2.3696 +int argc;2.3697 +char **argv;2.3698 +int2.3699 +main ()2.3700 +{2.3701 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];2.3702 + ;2.3703 + return 0;2.3704 +}2.3705 +_ACEOF2.3706 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \2.3707 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"2.3708 +do2.3709 + CC_FOR_BUILD="$ac_save_CC $ac_arg"2.3710 + rm -f conftest.$ac_build_objext2.3711 +if { (ac_try="$ac_build_compile"2.3712 +case "(($ac_try" in2.3713 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.3714 + *) ac_try_echo=$ac_try;;2.3715 +esac2.3716 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.3717 + (eval "$ac_build_compile") 2>conftest.er12.3718 + ac_status=$?2.3719 + grep -v '^ *+' conftest.er1 >conftest.err2.3720 + rm -f conftest.er12.3721 + cat conftest.err >&52.3722 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.3723 + (exit $ac_status); } && {2.3724 + test -z "$ac_c_werror_flag" ||2.3725 + test ! -s conftest.err2.3726 + } && test -s conftest.$ac_build_objext; then2.3727 + ac_cv_build_prog_cc_stdc=$ac_arg2.3728 +else2.3729 + echo "$as_me: failed program was:" >&52.3730 +sed 's/^/| /' conftest.$ac_ext >&52.3731 +2.3732 +2.3733 +fi2.3734 +2.3735 +rm -f core conftest.err conftest.$ac_build_objext2.3736 + test "x$ac_cv_build_prog_cc_stdc" != "xno" && break2.3737 +done2.3738 +rm -f conftest.$ac_ext2.3739 +CC_FOR_BUILD=$ac_save_CC2.3740 +2.3741 +fi2.3742 +# AC_CACHE_VAL2.3743 +case "x$ac_cv_build_prog_cc_stdc" in2.3744 + x)2.3745 + { echo "$as_me:$LINENO: result: none needed" >&52.3746 +echo "${ECHO_T}none needed" >&6; } ;;2.3747 + xno)2.3748 + { echo "$as_me:$LINENO: result: unsupported" >&52.3749 +echo "${ECHO_T}unsupported" >&6; } ;;2.3750 + *)2.3751 + CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_build_prog_cc_stdc"2.3752 + { echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_stdc" >&52.3753 +echo "${ECHO_T}$ac_cv_build_prog_cc_stdc" >&6; } ;;2.3754 +esac2.3755 +2.3756 +2.3757 +ac_ext=c2.3758 +ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'2.3759 +ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'2.3760 +ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'2.3761 +ac_build_compiler_gnu=$ac_cv_c_compiler_gnu2.3762 +2.3763 +depcc="$CC_FOR_BUILD" am_compiler_list=2.3764 +2.3765 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&52.3766 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }2.3767 +if test "${am_cv_CC_FOR_BUILD_dependencies_compiler_type+set}" = set; then2.3768 + echo $ECHO_N "(cached) $ECHO_C" >&62.3769 +else2.3770 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then2.3771 + # We make a subdir and do the tests there. Otherwise we can end up2.3772 + # making bogus files that we don't know about and never remove. For2.3773 + # instance it was reported that on HP-UX the gcc test will end up2.3774 + # making a dummy file named `D' -- because `-MD' means `put the output2.3775 + # in D'.2.3776 + mkdir conftest.dir2.3777 + # Copy depcomp to subdir because otherwise we won't find it if we're2.3778 + # using a relative directory.2.3779 + cp "$am_depcomp" conftest.dir2.3780 + cd conftest.dir2.3781 + # We will build objects and dependencies in a subdirectory because2.3782 + # it helps to detect inapplicable dependency modes. For instance2.3783 + # both Tru64's cc and ICC support -MD to output dependencies as a2.3784 + # side effect of compilation, but ICC will put the dependencies in2.3785 + # the current directory while Tru64 will put them in the object2.3786 + # directory.2.3787 + mkdir sub2.3788 +2.3789 + am_cv_CC_FOR_BUILD_dependencies_compiler_type=none2.3790 + if test "$am_compiler_list" = ""; then2.3791 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`2.3792 + fi2.3793 + for depmode in $am_compiler_list; do2.3794 + # Setup a source with many dependencies, because some compilers2.3795 + # like to wrap large dependency lists on column 80 (with \), and2.3796 + # we should not choose a depcomp mode which is confused by this.2.3797 + #2.3798 + # We need to recreate these files for each test, as the compiler may2.3799 + # overwrite some of them when testing with obscure command lines.2.3800 + # This happens at least with the AIX C compiler.2.3801 + : > sub/conftest.c2.3802 + for i in 1 2 3 4 5 6; do2.3803 + echo '#include "conftst'$i'.h"' >> sub/conftest.c2.3804 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with2.3805 + # Solaris 8's {/usr,}/bin/sh.2.3806 + touch sub/conftst$i.h2.3807 + done2.3808 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf2.3809 +2.3810 + case $depmode in2.3811 + nosideeffect)2.3812 + # after this tag, mechanisms are not by side-effect, so they'll2.3813 + # only be used when explicitly requested2.3814 + if test "x$enable_dependency_tracking" = xyes; then2.3815 + continue2.3816 + else2.3817 + break2.3818 + fi2.3819 + ;;2.3820 + none) break ;;2.3821 + esac2.3822 + # We check with `-c' and `-o' for the sake of the "dashmstdout"2.3823 + # mode. It turns out that the SunPro C++ compiler does not properly2.3824 + # handle `-M -o', and we need to detect this.2.3825 + if depmode=$depmode \2.3826 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \2.3827 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \2.3828 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \2.3829 + >/dev/null 2>conftest.err &&2.3830 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&2.3831 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&2.3832 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then2.3833 + # icc doesn't choke on unknown options, it will just issue warnings2.3834 + # or remarks (even with -Werror). So we grep stderr for any message2.3835 + # that says an option was ignored or not supported.2.3836 + # When given -MP, icc 7.0 and 7.1 complain thusly:2.3837 + # icc: Command line warning: ignoring option '-M'; no argument required2.3838 + # The diagnosis changed in icc 8.0:2.3839 + # icc: Command line remark: option '-MP' not supported2.3840 + if (grep 'ignoring option' conftest.err ||2.3841 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else2.3842 + am_cv_CC_FOR_BUILD_dependencies_compiler_type=$depmode2.3843 + break2.3844 + fi2.3845 + fi2.3846 + done2.3847 +2.3848 + cd ..2.3849 + rm -rf conftest.dir2.3850 +else2.3851 + am_cv_CC_FOR_BUILD_dependencies_compiler_type=none2.3852 +fi2.3853 +2.3854 +fi2.3855 +{ echo "$as_me:$LINENO: result: $am_cv_CC_FOR_BUILD_dependencies_compiler_type" >&52.3856 +echo "${ECHO_T}$am_cv_CC_FOR_BUILD_dependencies_compiler_type" >&6; }2.3857 +CC_FOR_BUILDDEPMODE=depmode=$am_cv_CC_FOR_BUILD_dependencies_compiler_type2.3858 +2.3859 +2.3860 +2.3861 +if2.3862 + test "x$enable_dependency_tracking" != xno \2.3863 + && test "$am_cv_CC_FOR_BUILD_dependencies_compiler_type" = gcc3; then2.3864 + am__fastdepCC_FOR_BUILD_TRUE=2.3865 + am__fastdepCC_FOR_BUILD_FALSE='#'2.3866 +else2.3867 + am__fastdepCC_FOR_BUILD_TRUE='#'2.3868 + am__fastdepCC_FOR_BUILD_FALSE=2.3869 +fi2.3870 +2.3871 +2.3872 + case $ac_cv_build_prog_cc_stdc in2.3873 + no) ac_cv_build_prog_cc_stdc=no; ac_cv_build_prog_cc_stdc=no ;;2.3874 + *) { echo "$as_me:$LINENO: checking for $CC_FOR_BUILD option to accept ISO C99" >&52.3875 +echo $ECHO_N "checking for $CC_FOR_BUILD option to accept ISO C99... $ECHO_C" >&6; }2.3876 +if test "${ac_cv_build_prog_cc_stdc+set}" = set; then2.3877 + echo $ECHO_N "(cached) $ECHO_C" >&62.3878 +else2.3879 + ac_cv_build_prog_cc_stdc=no2.3880 +ac_save_CC=$CC_FOR_BUILD2.3881 +cat >conftest.$ac_ext <<_ACEOF2.3882 +/* confdefs.h. */2.3883 +_ACEOF2.3884 +cat confdefs.h >>conftest.$ac_ext2.3885 +cat >>conftest.$ac_ext <<_ACEOF2.3886 +/* end confdefs.h. */2.3887 +#include <stdarg.h>2.3888 +#include <stdbool.h>2.3889 +#include <stdlib.h>2.3890 +#include <wchar.h>2.3891 +#include <stdio.h>2.3892 +2.3893 +// Check varargs macros. These examples are taken from C99 6.10.3.5.2.3894 +#define debug(...) fprintf (stderr, __VA_ARGS__)2.3895 +#define showlist(...) puts (#__VA_ARGS__)2.3896 +#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))2.3897 +static void2.3898 +test_varargs_macros (void)2.3899 +{2.3900 + int x = 1234;2.3901 + int y = 5678;2.3902 + debug ("Flag");2.3903 + debug ("X = %d\n", x);2.3904 + showlist (The first, second, and third items.);2.3905 + report (x>y, "x is %d but y is %d", x, y);2.3906 +}2.3907 +2.3908 +// Check long long types.2.3909 +#define BIG64 18446744073709551615ull2.3910 +#define BIG32 4294967295ul2.3911 +#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)2.3912 +#if !BIG_OK2.3913 + your preprocessor is broken;2.3914 +#endif2.3915 +#if BIG_OK2.3916 +#else2.3917 + your preprocessor is broken;2.3918 +#endif2.3919 +static long long int bignum = -9223372036854775807LL;2.3920 +static unsigned long long int ubignum = BIG64;2.3921 +2.3922 +struct incomplete_array2.3923 +{2.3924 + int datasize;2.3925 + double data[];2.3926 +};2.3927 +2.3928 +struct named_init {2.3929 + int number;2.3930 + const wchar_t *name;2.3931 + double average;2.3932 +};2.3933 +2.3934 +typedef const char *ccp;2.3935 +2.3936 +static inline int2.3937 +test_restrict (ccp restrict text)2.3938 +{2.3939 + // See if C++-style comments work.2.3940 + // Iterate through items via the restricted pointer.2.3941 + // Also check for declarations in for loops.2.3942 + for (unsigned int i = 0; *(text+i) != '\0'; ++i)2.3943 + continue;2.3944 + return 0;2.3945 +}2.3946 +2.3947 +// Check varargs and va_copy.2.3948 +static void2.3949 +test_varargs (const char *format, ...)2.3950 +{2.3951 + va_list args;2.3952 + va_start (args, format);2.3953 + va_list args_copy;2.3954 + va_copy (args_copy, args);2.3955 +2.3956 + const char *str;2.3957 + int number;2.3958 + float fnumber;2.3959 +2.3960 + while (*format)2.3961 + {2.3962 + switch (*format++)2.3963 + {2.3964 + case 's': // string2.3965 + str = va_arg (args_copy, const char *);2.3966 + break;2.3967 + case 'd': // int2.3968 + number = va_arg (args_copy, int);2.3969 + break;2.3970 + case 'f': // float2.3971 + fnumber = va_arg (args_copy, double);2.3972 + break;2.3973 + default:2.3974 + break;2.3975 + }2.3976 + }2.3977 + va_end (args_copy);2.3978 + va_end (args);2.3979 +}2.3980 +2.3981 +int2.3982 +main ()2.3983 +{2.3984 +2.3985 + // Check bool.2.3986 + _Bool success = false;2.3987 +2.3988 + // Check restrict.2.3989 + if (test_restrict ("String literal") == 0)2.3990 + success = true;2.3991 + char *restrict newvar = "Another string";2.3992 +2.3993 + // Check varargs.2.3994 + test_varargs ("s, d' f .", "string", 65, 34.234);2.3995 + test_varargs_macros ();2.3996 +2.3997 + // Check flexible array members.2.3998 + struct incomplete_array *ia =2.3999 + malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));2.4000 + ia->datasize = 10;2.4001 + for (int i = 0; i < ia->datasize; ++i)2.4002 + ia->data[i] = i * 1.234;2.4003 +2.4004 + // Check named initializers.2.4005 + struct named_init ni = {2.4006 + .number = 34,2.4007 + .name = L"Test wide string",2.4008 + .average = 543.34343,2.4009 + };2.4010 +2.4011 + ni.number = 58;2.4012 +2.4013 + int dynamic_array[ni.number];2.4014 + dynamic_array[ni.number - 1] = 543;2.4015 +2.4016 + // work around unused variable warnings2.4017 + return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'2.4018 + || dynamic_array[ni.number - 1] != 543);2.4019 +2.4020 + ;2.4021 + return 0;2.4022 +}2.4023 +_ACEOF2.4024 +for ac_arg in '' -std=gnu99 -c99 -qlanglvl=extc992.4025 +do2.4026 + CC_FOR_BUILD="$ac_save_CC $ac_arg"2.4027 + rm -f conftest.$ac_build_objext2.4028 +if { (ac_try="$ac_build_compile"2.4029 +case "(($ac_try" in2.4030 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.4031 + *) ac_try_echo=$ac_try;;2.4032 +esac2.4033 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.4034 + (eval "$ac_build_compile") 2>conftest.er12.4035 + ac_status=$?2.4036 + grep -v '^ *+' conftest.er1 >conftest.err2.4037 + rm -f conftest.er12.4038 + cat conftest.err >&52.4039 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.4040 + (exit $ac_status); } && {2.4041 + test -z "$ac_c_werror_flag" ||2.4042 + test ! -s conftest.err2.4043 + } && test -s conftest.$ac_build_objext; then2.4044 + ac_cv_build_prog_cc_stdc=$ac_arg2.4045 +else2.4046 + echo "$as_me: failed program was:" >&52.4047 +sed 's/^/| /' conftest.$ac_ext >&52.4048 +2.4049 +2.4050 +fi2.4051 +2.4052 +rm -f core conftest.err conftest.$ac_build_objext2.4053 + test "x$ac_cv_build_prog_cc_stdc" != "xno" && break2.4054 +done2.4055 +rm -f conftest.$ac_ext2.4056 +CC_FOR_BUILD=$ac_save_CC2.4057 +2.4058 +fi2.4059 +# AC_CACHE_VAL2.4060 +case "x$ac_cv_build_prog_cc_stdc" in2.4061 + x)2.4062 + { echo "$as_me:$LINENO: result: none needed" >&52.4063 +echo "${ECHO_T}none needed" >&6; } ;;2.4064 + xno)2.4065 + { echo "$as_me:$LINENO: result: unsupported" >&52.4066 +echo "${ECHO_T}unsupported" >&6; } ;;2.4067 + *)2.4068 + CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_build_prog_cc_stdc"2.4069 + { echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_stdc" >&52.4070 +echo "${ECHO_T}$ac_cv_build_prog_cc_stdc" >&6; } ;;2.4071 +esac2.4072 +if test "x$ac_cv_build_prog_cc_stdc" != xno; then2.4073 + ac_cv_build_prog_cc_stdc=$ac_cv_build_prog_cc_stdc2.4074 +else2.4075 + { echo "$as_me:$LINENO: checking for $CC_FOR_BUILD option to accept ISO C89" >&52.4076 +echo $ECHO_N "checking for $CC_FOR_BUILD option to accept ISO C89... $ECHO_C" >&6; }2.4077 +if test "${ac_cv_build_prog_cc_stdc+set}" = set; then2.4078 + echo $ECHO_N "(cached) $ECHO_C" >&62.4079 +else2.4080 + ac_cv_build_prog_cc_stdc=no2.4081 +ac_save_CC=$CC_FOR_BUILD2.4082 +cat >conftest.$ac_ext <<_ACEOF2.4083 +/* confdefs.h. */2.4084 +_ACEOF2.4085 +cat confdefs.h >>conftest.$ac_ext2.4086 +cat >>conftest.$ac_ext <<_ACEOF2.4087 +/* end confdefs.h. */2.4088 +#include <stdarg.h>2.4089 +#include <stdio.h>2.4090 +#include <sys/types.h>2.4091 +#include <sys/stat.h>2.4092 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */2.4093 +struct buf { int x; };2.4094 +FILE * (*rcsopen) (struct buf *, struct stat *, int);2.4095 +static char *e (p, i)2.4096 + char **p;2.4097 + int i;2.4098 +{2.4099 + return p[i];2.4100 +}2.4101 +static char *f (char * (*g) (char **, int), char **p, ...)2.4102 +{2.4103 + char *s;2.4104 + va_list v;2.4105 + va_start (v,p);2.4106 + s = g (p, va_arg (v,int));2.4107 + va_end (v);2.4108 + return s;2.4109 +}2.4110 +2.4111 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has2.4112 + function prototypes and stuff, but not '\xHH' hex character constants.2.4113 + These don't provoke an error unfortunately, instead are silently treated2.4114 + as 'x'. The following induces an error, until -std is added to get2.4115 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an2.4116 + array size at least. It's necessary to write '\x00'==0 to get something2.4117 + that's true only with -std. */2.4118 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];2.4119 +2.4120 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters2.4121 + inside strings and character constants. */2.4122 +#define FOO(x) 'x'2.4123 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];2.4124 +2.4125 +int test (int i, double x);2.4126 +struct s1 {int (*f) (int a);};2.4127 +struct s2 {int (*f) (double a);};2.4128 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);2.4129 +int argc;2.4130 +char **argv;2.4131 +int2.4132 +main ()2.4133 +{2.4134 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];2.4135 + ;2.4136 + return 0;2.4137 +}2.4138 +_ACEOF2.4139 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \2.4140 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"2.4141 +do2.4142 + CC_FOR_BUILD="$ac_save_CC $ac_arg"2.4143 + rm -f conftest.$ac_build_objext2.4144 +if { (ac_try="$ac_build_compile"2.4145 +case "(($ac_try" in2.4146 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.4147 + *) ac_try_echo=$ac_try;;2.4148 +esac2.4149 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.4150 + (eval "$ac_build_compile") 2>conftest.er12.4151 + ac_status=$?2.4152 + grep -v '^ *+' conftest.er1 >conftest.err2.4153 + rm -f conftest.er12.4154 + cat conftest.err >&52.4155 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.4156 + (exit $ac_status); } && {2.4157 + test -z "$ac_c_werror_flag" ||2.4158 + test ! -s conftest.err2.4159 + } && test -s conftest.$ac_build_objext; then2.4160 + ac_cv_build_prog_cc_stdc=$ac_arg2.4161 +else2.4162 + echo "$as_me: failed program was:" >&52.4163 +sed 's/^/| /' conftest.$ac_ext >&52.4164 +2.4165 +2.4166 +fi2.4167 +2.4168 +rm -f core conftest.err conftest.$ac_build_objext2.4169 + test "x$ac_cv_build_prog_cc_stdc" != "xno" && break2.4170 +done2.4171 +rm -f conftest.$ac_ext2.4172 +CC_FOR_BUILD=$ac_save_CC2.4173 +2.4174 +fi2.4175 +# AC_CACHE_VAL2.4176 +case "x$ac_cv_build_prog_cc_stdc" in2.4177 + x)2.4178 + { echo "$as_me:$LINENO: result: none needed" >&52.4179 +echo "${ECHO_T}none needed" >&6; } ;;2.4180 + xno)2.4181 + { echo "$as_me:$LINENO: result: unsupported" >&52.4182 +echo "${ECHO_T}unsupported" >&6; } ;;2.4183 + *)2.4184 + CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_build_prog_cc_stdc"2.4185 + { echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_stdc" >&52.4186 +echo "${ECHO_T}$ac_cv_build_prog_cc_stdc" >&6; } ;;2.4187 +esac2.4188 +if test "x$ac_cv_build_prog_cc_stdc" != xno; then2.4189 + ac_cv_build_prog_cc_stdc=$ac_cv_build_prog_cc_stdc2.4190 +else2.4191 + ac_cv_build_prog_cc_stdc=no2.4192 +fi2.4193 +2.4194 +2.4195 +fi2.4196 +2.4197 + ;;2.4198 +esac2.4199 + { echo "$as_me:$LINENO: checking for $CC_FOR_BUILD option to accept ISO Standard C" >&52.4200 +echo $ECHO_N "checking for $CC_FOR_BUILD option to accept ISO Standard C... $ECHO_C" >&6; }2.4201 + if test "${ac_cv_build_prog_cc_stdc+set}" = set; then2.4202 + echo $ECHO_N "(cached) $ECHO_C" >&62.4203 +fi2.4204 +2.4205 + case $ac_cv_build_prog_cc_stdc in2.4206 + no) { echo "$as_me:$LINENO: result: unsupported" >&52.4207 +echo "${ECHO_T}unsupported" >&6; } ;;2.4208 + '') { echo "$as_me:$LINENO: result: none needed" >&52.4209 +echo "${ECHO_T}none needed" >&6; } ;;2.4210 + *) { echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_stdc" >&52.4211 +echo "${ECHO_T}$ac_cv_build_prog_cc_stdc" >&6; } ;;2.4212 +esac2.4213 +2.4214 +2.4215 +ac_ext=c2.4216 +ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'2.4217 +ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'2.4218 +ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'2.4219 +ac_build_compiler_gnu=$ac_cv_c_compiler_gnu2.4220 +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&52.4221 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }2.4222 +# On Suns, sometimes $CPP names a directory.2.4223 +if test -n "$CPP_FOR_BUILD" && test -d "$CPP_FOR_BUILD"; then2.4224 + CPP_FOR_BUILD=2.4225 +fi2.4226 +if test -z "$CPP_FOR_BUILD"; then2.4227 + if test "${ac_cv_build_prog_CPP+set}" = set; then2.4228 + echo $ECHO_N "(cached) $ECHO_C" >&62.4229 +else2.4230 + # Double quotes because CPP needs to be expanded2.4231 + for CPP_FOR_BUILD in "$CC_FOR_BUILD -E" "$CC_FOR_BUILD -E -traditional-cpp" "/lib/cpp"2.4232 + do2.4233 + ac_preproc_ok=false2.4234 +for ac_c_preproc_warn_flag in '' yes2.4235 +do2.4236 + # Use a header file that comes with gcc, so configuring glibc2.4237 + # with a fresh cross-compiler works.2.4238 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since2.4239 + # <limits.h> exists even on freestanding compilers.2.4240 + # On the NeXT, cc -E runs the code through the compiler's parser,2.4241 + # not just through cpp. "Syntax error" is here to catch this case.2.4242 + cat >conftest.$ac_ext <<_ACEOF2.4243 +/* confdefs.h. */2.4244 +_ACEOF2.4245 +cat confdefs.h >>conftest.$ac_ext2.4246 +cat >>conftest.$ac_ext <<_ACEOF2.4247 +/* end confdefs.h. */2.4248 +#ifdef __STDC__2.4249 +# include <limits.h>2.4250 +#else2.4251 +# include <assert.h>2.4252 +#endif2.4253 + Syntax error2.4254 +_ACEOF2.4255 +if { (ac_try="$ac_build_cpp conftest.$ac_ext"2.4256 +case "(($ac_try" in2.4257 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.4258 + *) ac_try_echo=$ac_try;;2.4259 +esac2.4260 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.4261 + (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er12.4262 + ac_status=$?2.4263 + grep -v '^ *+' conftest.er1 >conftest.err2.4264 + rm -f conftest.er12.4265 + cat conftest.err >&52.4266 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.4267 + (exit $ac_status); } >/dev/null && {2.4268 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||2.4269 + test ! -s conftest.err2.4270 + }; then2.4271 + :2.4272 +else2.4273 + echo "$as_me: failed program was:" >&52.4274 +sed 's/^/| /' conftest.$ac_ext >&52.4275 +2.4276 + # Broken: fails on valid input.2.4277 +continue2.4278 +fi2.4279 +2.4280 +rm -f conftest.err conftest.$ac_ext2.4281 +2.4282 + # OK, works on sane cases. Now check whether nonexistent headers2.4283 + # can be detected and how.2.4284 + cat >conftest.$ac_ext <<_ACEOF2.4285 +/* confdefs.h. */2.4286 +_ACEOF2.4287 +cat confdefs.h >>conftest.$ac_ext2.4288 +cat >>conftest.$ac_ext <<_ACEOF2.4289 +/* end confdefs.h. */2.4290 +#include <ac_nonexistent.h>2.4291 +_ACEOF2.4292 +if { (ac_try="$ac_build_cpp conftest.$ac_ext"2.4293 +case "(($ac_try" in2.4294 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.4295 + *) ac_try_echo=$ac_try;;2.4296 +esac2.4297 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.4298 + (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er12.4299 + ac_status=$?2.4300 + grep -v '^ *+' conftest.er1 >conftest.err2.4301 + rm -f conftest.er12.4302 + cat conftest.err >&52.4303 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.4304 + (exit $ac_status); } >/dev/null && {2.4305 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||2.4306 + test ! -s conftest.err2.4307 + }; then2.4308 + # Broken: success on invalid input.2.4309 +continue2.4310 +else2.4311 + echo "$as_me: failed program was:" >&52.4312 +sed 's/^/| /' conftest.$ac_ext >&52.4313 +2.4314 + # Passes both tests.2.4315 +ac_preproc_ok=:2.4316 +break2.4317 +fi2.4318 +2.4319 +rm -f conftest.err conftest.$ac_ext2.4320 +2.4321 +done2.4322 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.2.4323 +rm -f conftest.err conftest.$ac_ext2.4324 +if $ac_preproc_ok; then2.4325 + break2.4326 +fi2.4327 +2.4328 + done2.4329 + ac_cv_build_prog_CPP=$CPP_FOR_BUILD2.4330 +2.4331 +fi2.4332 + CPP_FOR_BUILD=$ac_cv_build_prog_CPP2.4333 +else2.4334 + ac_cv_build_prog_CPP=$CPP_FOR_BUILD2.4335 +fi2.4336 +{ echo "$as_me:$LINENO: result: $CPP_FOR_BUILD" >&52.4337 +echo "${ECHO_T}$CPP_FOR_BUILD" >&6; }2.4338 +ac_preproc_ok=false2.4339 +for ac_c_preproc_warn_flag in '' yes2.4340 +do2.4341 + # Use a header file that comes with gcc, so configuring glibc2.4342 + # with a fresh cross-compiler works.2.4343 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since2.4344 + # <limits.h> exists even on freestanding compilers.2.4345 + # On the NeXT, cc -E runs the code through the compiler's parser,2.4346 + # not just through cpp. "Syntax error" is here to catch this case.2.4347 + cat >conftest.$ac_ext <<_ACEOF2.4348 +/* confdefs.h. */2.4349 +_ACEOF2.4350 +cat confdefs.h >>conftest.$ac_ext2.4351 +cat >>conftest.$ac_ext <<_ACEOF2.4352 +/* end confdefs.h. */2.4353 +#ifdef __STDC__2.4354 +# include <limits.h>2.4355 +#else2.4356 +# include <assert.h>2.4357 +#endif2.4358 + Syntax error2.4359 +_ACEOF2.4360 +if { (ac_try="$ac_build_cpp conftest.$ac_ext"2.4361 +case "(($ac_try" in2.4362 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.4363 + *) ac_try_echo=$ac_try;;2.4364 +esac2.4365 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.4366 + (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er12.4367 + ac_status=$?2.4368 + grep -v '^ *+' conftest.er1 >conftest.err2.4369 + rm -f conftest.er12.4370 + cat conftest.err >&52.4371 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.4372 + (exit $ac_status); } >/dev/null && {2.4373 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||2.4374 + test ! -s conftest.err2.4375 + }; then2.4376 + :2.4377 +else2.4378 + echo "$as_me: failed program was:" >&52.4379 +sed 's/^/| /' conftest.$ac_ext >&52.4380 +2.4381 + # Broken: fails on valid input.2.4382 +continue2.4383 +fi2.4384 +2.4385 +rm -f conftest.err conftest.$ac_ext2.4386 +2.4387 + # OK, works on sane cases. Now check whether nonexistent headers2.4388 + # can be detected and how.2.4389 + cat >conftest.$ac_ext <<_ACEOF2.4390 +/* confdefs.h. */2.4391 +_ACEOF2.4392 +cat confdefs.h >>conftest.$ac_ext2.4393 +cat >>conftest.$ac_ext <<_ACEOF2.4394 +/* end confdefs.h. */2.4395 +#include <ac_nonexistent.h>2.4396 +_ACEOF2.4397 +if { (ac_try="$ac_build_cpp conftest.$ac_ext"2.4398 +case "(($ac_try" in2.4399 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.4400 + *) ac_try_echo=$ac_try;;2.4401 +esac2.4402 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.4403 + (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er12.4404 + ac_status=$?2.4405 + grep -v '^ *+' conftest.er1 >conftest.err2.4406 + rm -f conftest.er12.4407 + cat conftest.err >&52.4408 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.4409 + (exit $ac_status); } >/dev/null && {2.4410 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||2.4411 + test ! -s conftest.err2.4412 + }; then2.4413 + # Broken: success on invalid input.2.4414 +continue2.4415 +else2.4416 + echo "$as_me: failed program was:" >&52.4417 +sed 's/^/| /' conftest.$ac_ext >&52.4418 +2.4419 + # Passes both tests.2.4420 +ac_preproc_ok=:2.4421 +break2.4422 +fi2.4423 +2.4424 +rm -f conftest.err conftest.$ac_ext2.4425 +2.4426 +done2.4427 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.2.4428 +rm -f conftest.err conftest.$ac_ext2.4429 +if $ac_preproc_ok; then2.4430 + :2.4431 +else2.4432 + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP_FOR_BUILD\" fails sanity check2.4433 +See \`config.log' for more details." >&52.4434 +echo "$as_me: error: C preprocessor \"$CPP_FOR_BUILD\" fails sanity check2.4435 +See \`config.log' for more details." >&2;}2.4436 + { (exit 1); exit 1; }; }2.4437 +fi2.4438 +2.4439 +ac_ext=c2.4440 +ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'2.4441 +ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'2.4442 +ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'2.4443 +ac_build_compiler_gnu=$ac_cv_c_compiler_gnu2.4444 +2.4445 +2.4446 +2.4447 +2.4448 +BUILD_EXEEXT=$ac_build_exeext2.4449 +BUILD_OBJEXT=$ac_build_objext2.4450 +2.4451 +ac_ext=m2.4452 +ac_cpp='$OBJCPP $CPPFLAGS'2.4453 +ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'2.4454 +ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'2.4455 +ac_compiler_gnu=$ac_cv_objc_compiler_gnu2.4456 +if test -n "$ac_tool_prefix"; then2.4457 + for ac_prog in gcc objcc objc cc CC2.4458 + do2.4459 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.2.4460 +set dummy $ac_tool_prefix$ac_prog; ac_word=$22.4461 +{ echo "$as_me:$LINENO: checking for $ac_word" >&52.4462 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.4463 +if test "${ac_cv_prog_OBJC+set}" = set; then2.4464 + echo $ECHO_N "(cached) $ECHO_C" >&62.4465 +else2.4466 + if test -n "$OBJC"; then2.4467 + ac_cv_prog_OBJC="$OBJC" # Let the user override the test.2.4468 +else2.4469 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.4470 +for as_dir in $PATH2.4471 +do2.4472 + IFS=$as_save_IFS2.4473 + test -z "$as_dir" && as_dir=.2.4474 + for ac_exec_ext in '' $ac_executable_extensions; do2.4475 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.4476 + ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"2.4477 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.4478 + break 22.4479 + fi2.4480 +done2.4481 +done2.4482 +IFS=$as_save_IFS2.4483 +2.4484 +fi2.4485 +fi2.4486 +OBJC=$ac_cv_prog_OBJC2.4487 +if test -n "$OBJC"; then2.4488 + { echo "$as_me:$LINENO: result: $OBJC" >&52.4489 +echo "${ECHO_T}$OBJC" >&6; }2.4490 +else2.4491 + { echo "$as_me:$LINENO: result: no" >&52.4492 +echo "${ECHO_T}no" >&6; }2.4493 +fi2.4494 +2.4495 +2.4496 + test -n "$OBJC" && break2.4497 + done2.4498 +fi2.4499 +if test -z "$OBJC"; then2.4500 + ac_ct_OBJC=$OBJC2.4501 + for ac_prog in gcc objcc objc cc CC2.4502 +do2.4503 + # Extract the first word of "$ac_prog", so it can be a program name with args.2.4504 +set dummy $ac_prog; ac_word=$22.4505 +{ echo "$as_me:$LINENO: checking for $ac_word" >&52.4506 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.4507 +if test "${ac_cv_prog_ac_ct_OBJC+set}" = set; then2.4508 + echo $ECHO_N "(cached) $ECHO_C" >&62.4509 +else2.4510 + if test -n "$ac_ct_OBJC"; then2.4511 + ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.2.4512 +else2.4513 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.4514 +for as_dir in $PATH2.4515 +do2.4516 + IFS=$as_save_IFS2.4517 + test -z "$as_dir" && as_dir=.2.4518 + for ac_exec_ext in '' $ac_executable_extensions; do2.4519 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.4520 + ac_cv_prog_ac_ct_OBJC="$ac_prog"2.4521 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.4522 + break 22.4523 + fi2.4524 +done2.4525 +done2.4526 +IFS=$as_save_IFS2.4527 +2.4528 +fi2.4529 +fi2.4530 +ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC2.4531 +if test -n "$ac_ct_OBJC"; then2.4532 + { echo "$as_me:$LINENO: result: $ac_ct_OBJC" >&52.4533 +echo "${ECHO_T}$ac_ct_OBJC" >&6; }2.4534 +else2.4535 + { echo "$as_me:$LINENO: result: no" >&52.4536 +echo "${ECHO_T}no" >&6; }2.4537 +fi2.4538 +2.4539 +2.4540 + test -n "$ac_ct_OBJC" && break2.4541 +done2.4542 +2.4543 + if test "x$ac_ct_OBJC" = x; then2.4544 + OBJC="gcc"2.4545 + else2.4546 + case $cross_compiling:$ac_tool_warned in2.4547 +yes:)2.4548 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools2.4549 +whose name does not start with the host triplet. If you think this2.4550 +configuration is useful to you, please write to autoconf@gnu.org." >&52.4551 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools2.4552 +whose name does not start with the host triplet. If you think this2.4553 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}2.4554 +ac_tool_warned=yes ;;2.4555 +esac2.4556 + OBJC=$ac_ct_OBJC2.4557 + fi2.4558 +fi2.4559 +2.4560 +# Provide some information about the compiler.2.4561 +echo "$as_me:$LINENO: checking for Objective C compiler version" >&52.4562 +ac_compiler=`set X $ac_compile; echo $2`2.4563 +{ (ac_try="$ac_compiler --version >&5"2.4564 +case "(($ac_try" in2.4565 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.4566 + *) ac_try_echo=$ac_try;;2.4567 +esac2.4568 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.4569 + (eval "$ac_compiler --version >&5") 2>&52.4570 + ac_status=$?2.4571 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.4572 + (exit $ac_status); }2.4573 +{ (ac_try="$ac_compiler -v >&5"2.4574 +case "(($ac_try" in2.4575 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.4576 + *) ac_try_echo=$ac_try;;2.4577 +esac2.4578 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.4579 + (eval "$ac_compiler -v >&5") 2>&52.4580 + ac_status=$?2.4581 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.4582 + (exit $ac_status); }2.4583 +{ (ac_try="$ac_compiler -V >&5"2.4584 +case "(($ac_try" in2.4585 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.4586 + *) ac_try_echo=$ac_try;;2.4587 +esac2.4588 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.4589 + (eval "$ac_compiler -V >&5") 2>&52.4590 + ac_status=$?2.4591 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.4592 + (exit $ac_status); }2.4593 +2.4594 +{ echo "$as_me:$LINENO: checking whether we are using the GNU Objective C compiler" >&52.4595 +echo $ECHO_N "checking whether we are using the GNU Objective C compiler... $ECHO_C" >&6; }2.4596 +if test "${ac_cv_objc_compiler_gnu+set}" = set; then2.4597 + echo $ECHO_N "(cached) $ECHO_C" >&62.4598 +else2.4599 + cat >conftest.$ac_ext <<_ACEOF2.4600 +/* confdefs.h. */2.4601 +_ACEOF2.4602 +cat confdefs.h >>conftest.$ac_ext2.4603 +cat >>conftest.$ac_ext <<_ACEOF2.4604 +/* end confdefs.h. */2.4605 +2.4606 +int2.4607 +main ()2.4608 +{2.4609 +#ifndef __GNUC__2.4610 + choke me2.4611 +#endif2.4612 +2.4613 + ;2.4614 + return 0;2.4615 +}2.4616 +_ACEOF2.4617 +rm -f conftest.$ac_objext2.4618 +if { (ac_try="$ac_compile"2.4619 +case "(($ac_try" in2.4620 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.4621 + *) ac_try_echo=$ac_try;;2.4622 +esac2.4623 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.4624 + (eval "$ac_compile") 2>conftest.er12.4625 + ac_status=$?2.4626 + grep -v '^ *+' conftest.er1 >conftest.err2.4627 + rm -f conftest.er12.4628 + cat conftest.err >&52.4629 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.4630 + (exit $ac_status); } && {2.4631 + test -z "$ac_objc_werror_flag" ||2.4632 + test ! -s conftest.err2.4633 + } && test -s conftest.$ac_objext; then2.4634 + ac_compiler_gnu=yes2.4635 +else2.4636 + echo "$as_me: failed program was:" >&52.4637 +sed 's/^/| /' conftest.$ac_ext >&52.4638 +2.4639 + ac_compiler_gnu=no2.4640 +fi2.4641 +2.4642 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2.4643 +ac_cv_objc_compiler_gnu=$ac_compiler_gnu2.4644 +2.4645 +fi2.4646 +{ echo "$as_me:$LINENO: result: $ac_cv_objc_compiler_gnu" >&52.4647 +echo "${ECHO_T}$ac_cv_objc_compiler_gnu" >&6; }2.4648 +GOBJC=`test $ac_compiler_gnu = yes && echo yes`2.4649 +ac_test_OBJCFLAGS=${OBJCFLAGS+set}2.4650 +ac_save_OBJCFLAGS=$OBJCFLAGS2.4651 +{ echo "$as_me:$LINENO: checking whether $OBJC accepts -g" >&52.4652 +echo $ECHO_N "checking whether $OBJC accepts -g... $ECHO_C" >&6; }2.4653 +if test "${ac_cv_prog_objc_g+set}" = set; then2.4654 + echo $ECHO_N "(cached) $ECHO_C" >&62.4655 +else2.4656 + ac_save_objc_werror_flag=$ac_objc_werror_flag2.4657 + ac_objc_werror_flag=yes2.4658 + ac_cv_prog_objc_g=no2.4659 + OBJCFLAGS="-g"2.4660 + cat >conftest.$ac_ext <<_ACEOF2.4661 +/* confdefs.h. */2.4662 +_ACEOF2.4663 +cat confdefs.h >>conftest.$ac_ext2.4664 +cat >>conftest.$ac_ext <<_ACEOF2.4665 +/* end confdefs.h. */2.4666 +2.4667 +int2.4668 +main ()2.4669 +{2.4670 +2.4671 + ;2.4672 + return 0;2.4673 +}2.4674 +_ACEOF2.4675 +rm -f conftest.$ac_objext2.4676 +if { (ac_try="$ac_compile"2.4677 +case "(($ac_try" in2.4678 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.4679 + *) ac_try_echo=$ac_try;;2.4680 +esac2.4681 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.4682 + (eval "$ac_compile") 2>conftest.er12.4683 + ac_status=$?2.4684 + grep -v '^ *+' conftest.er1 >conftest.err2.4685 + rm -f conftest.er12.4686 + cat conftest.err >&52.4687 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.4688 + (exit $ac_status); } && {2.4689 + test -z "$ac_objc_werror_flag" ||2.4690 + test ! -s conftest.err2.4691 + } && test -s conftest.$ac_objext; then2.4692 + ac_cv_prog_objc_g=yes2.4693 +else2.4694 + echo "$as_me: failed program was:" >&52.4695 +sed 's/^/| /' conftest.$ac_ext >&52.4696 +2.4697 + OBJCFLAGS=""2.4698 + cat >conftest.$ac_ext <<_ACEOF2.4699 +/* confdefs.h. */2.4700 +_ACEOF2.4701 +cat confdefs.h >>conftest.$ac_ext2.4702 +cat >>conftest.$ac_ext <<_ACEOF2.4703 +/* end confdefs.h. */2.4704 +2.4705 +int2.4706 +main ()2.4707 +{2.4708 +2.4709 + ;2.4710 + return 0;2.4711 +}2.4712 +_ACEOF2.4713 +rm -f conftest.$ac_objext2.4714 +if { (ac_try="$ac_compile"2.4715 +case "(($ac_try" in2.4716 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.4717 + *) ac_try_echo=$ac_try;;2.4718 +esac2.4719 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.4720 + (eval "$ac_compile") 2>conftest.er12.4721 + ac_status=$?2.4722 + grep -v '^ *+' conftest.er1 >conftest.err2.4723 + rm -f conftest.er12.4724 + cat conftest.err >&52.4725 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.4726 + (exit $ac_status); } && {2.4727 + test -z "$ac_objc_werror_flag" ||2.4728 + test ! -s conftest.err2.4729 + } && test -s conftest.$ac_objext; then2.4730 + :2.4731 +else2.4732 + echo "$as_me: failed program was:" >&52.4733 +sed 's/^/| /' conftest.$ac_ext >&52.4734 +2.4735 + ac_objc_werror_flag=$ac_save_objc_werror_flag2.4736 + OBJCFLAGS="-g"2.4737 + cat >conftest.$ac_ext <<_ACEOF2.4738 +/* confdefs.h. */2.4739 +_ACEOF2.4740 +cat confdefs.h >>conftest.$ac_ext2.4741 +cat >>conftest.$ac_ext <<_ACEOF2.4742 +/* end confdefs.h. */2.4743 +2.4744 +int2.4745 +main ()2.4746 +{2.4747 +2.4748 + ;2.4749 + return 0;2.4750 +}2.4751 +_ACEOF2.4752 +rm -f conftest.$ac_objext2.4753 +if { (ac_try="$ac_compile"2.4754 +case "(($ac_try" in2.4755 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.4756 + *) ac_try_echo=$ac_try;;2.4757 +esac2.4758 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.4759 + (eval "$ac_compile") 2>conftest.er12.4760 + ac_status=$?2.4761 + grep -v '^ *+' conftest.er1 >conftest.err2.4762 + rm -f conftest.er12.4763 + cat conftest.err >&52.4764 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.4765 + (exit $ac_status); } && {2.4766 + test -z "$ac_objc_werror_flag" ||2.4767 + test ! -s conftest.err2.4768 + } && test -s conftest.$ac_objext; then2.4769 + ac_cv_prog_objc_g=yes2.4770 +else2.4771 + echo "$as_me: failed program was:" >&52.4772 +sed 's/^/| /' conftest.$ac_ext >&52.4773 +2.4774 +2.4775 +fi2.4776 +2.4777 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2.4778 +fi2.4779 +2.4780 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2.4781 +fi2.4782 +2.4783 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2.4784 + ac_objc_werror_flag=$ac_save_objc_werror_flag2.4785 +fi2.4786 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_objc_g" >&52.4787 +echo "${ECHO_T}$ac_cv_prog_objc_g" >&6; }2.4788 +if test "$ac_test_OBJCFLAGS" = set; then2.4789 + OBJCFLAGS=$ac_save_OBJCFLAGS2.4790 +elif test $ac_cv_prog_objc_g = yes; then2.4791 + if test "$GOBJC" = yes; then2.4792 + OBJCFLAGS="-g -O2"2.4793 + else2.4794 + OBJCFLAGS="-g"2.4795 + fi2.4796 +else2.4797 + if test "$GOBJC" = yes; then2.4798 + OBJCFLAGS="-O2"2.4799 + else2.4800 + OBJCFLAGS=2.4801 + fi2.4802 +fi2.4803 +ac_ext=c2.4804 +ac_cpp='$CPP $CPPFLAGS'2.4805 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'2.4806 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'2.4807 +ac_compiler_gnu=$ac_cv_c_compiler_gnu2.4808 +2.4809 +{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&52.4810 +echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }2.4811 +if test "${ac_cv_path_SED+set}" = set; then2.4812 + echo $ECHO_N "(cached) $ECHO_C" >&62.4813 +else2.4814 + ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/2.4815 + for ac_i in 1 2 3 4 5 6 7; do2.4816 + ac_script="$ac_script$as_nl$ac_script"2.4817 + done2.4818 + echo "$ac_script" | sed 99q >conftest.sed2.4819 + $as_unset ac_script || ac_script=2.4820 + # Extract the first word of "sed gsed" to use in msg output2.4821 +if test -z "$SED"; then2.4822 +set dummy sed gsed; ac_prog_name=$22.4823 +if test "${ac_cv_path_SED+set}" = set; then2.4824 + echo $ECHO_N "(cached) $ECHO_C" >&62.4825 +else2.4826 + ac_path_SED_found=false2.4827 +# Loop through the user's path and test for each of PROGNAME-LIST2.4828 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.4829 +for as_dir in $PATH2.4830 +do2.4831 + IFS=$as_save_IFS2.4832 + test -z "$as_dir" && as_dir=.2.4833 + for ac_prog in sed gsed; do2.4834 + for ac_exec_ext in '' $ac_executable_extensions; do2.4835 + ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"2.4836 + { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue2.4837 + # Check for GNU ac_path_SED and select it if it is found.2.4838 + # Check for GNU $ac_path_SED2.4839 +case `"$ac_path_SED" --version 2>&1` in2.4840 +*GNU*)2.4841 + ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;2.4842 +*)2.4843 + ac_count=02.4844 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"2.4845 + while :2.4846 + do2.4847 + cat "conftest.in" "conftest.in" >"conftest.tmp"2.4848 + mv "conftest.tmp" "conftest.in"2.4849 + cp "conftest.in" "conftest.nl"2.4850 + echo '' >> "conftest.nl"2.4851 + "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break2.4852 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break2.4853 + ac_count=`expr $ac_count + 1`2.4854 + if test $ac_count -gt ${ac_path_SED_max-0}; then2.4855 + # Best one so far, save it but keep looking for a better one2.4856 + ac_cv_path_SED="$ac_path_SED"2.4857 + ac_path_SED_max=$ac_count2.4858 + fi2.4859 + # 10*(2^10) chars as input seems more than enough2.4860 + test $ac_count -gt 10 && break2.4861 + done2.4862 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;2.4863 +esac2.4864 +2.4865 +2.4866 + $ac_path_SED_found && break 32.4867 + done2.4868 +done2.4869 +2.4870 +done2.4871 +IFS=$as_save_IFS2.4872 +2.4873 +2.4874 +fi2.4875 +2.4876 +SED="$ac_cv_path_SED"2.4877 +if test -z "$SED"; then2.4878 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&52.4879 +echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}2.4880 + { (exit 1); exit 1; }; }2.4881 +fi2.4882 +2.4883 +else2.4884 + ac_cv_path_SED=$SED2.4885 +fi2.4886 +2.4887 +fi2.4888 +{ echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&52.4889 +echo "${ECHO_T}$ac_cv_path_SED" >&6; }2.4890 + SED="$ac_cv_path_SED"2.4891 + rm -f conftest.sed2.4892 +2.4893 +# By default we simply use the C compiler to build assembly code.2.4894 +2.4895 +test "${CCAS+set}" = set || CCAS=$CC2.4896 +test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS2.4897 +2.4898 +2.4899 +2.4900 +if test -n "$ac_tool_prefix"; then2.4901 + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.2.4902 +set dummy ${ac_tool_prefix}ranlib; ac_word=$22.4903 +{ echo "$as_me:$LINENO: checking for $ac_word" >&52.4904 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.4905 +if test "${ac_cv_prog_RANLIB+set}" = set; then2.4906 + echo $ECHO_N "(cached) $ECHO_C" >&62.4907 +else2.4908 + if test -n "$RANLIB"; then2.4909 + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.2.4910 +else2.4911 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.4912 +for as_dir in $PATH2.4913 +do2.4914 + IFS=$as_save_IFS2.4915 + test -z "$as_dir" && as_dir=.2.4916 + for ac_exec_ext in '' $ac_executable_extensions; do2.4917 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.4918 + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"2.4919 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.4920 + break 22.4921 + fi2.4922 +done2.4923 +done2.4924 +IFS=$as_save_IFS2.4925 +2.4926 +fi2.4927 +fi2.4928 +RANLIB=$ac_cv_prog_RANLIB2.4929 +if test -n "$RANLIB"; then2.4930 + { echo "$as_me:$LINENO: result: $RANLIB" >&52.4931 +echo "${ECHO_T}$RANLIB" >&6; }2.4932 +else2.4933 + { echo "$as_me:$LINENO: result: no" >&52.4934 +echo "${ECHO_T}no" >&6; }2.4935 +fi2.4936 +2.4937 +2.4938 +fi2.4939 +if test -z "$ac_cv_prog_RANLIB"; then2.4940 + ac_ct_RANLIB=$RANLIB2.4941 + # Extract the first word of "ranlib", so it can be a program name with args.2.4942 +set dummy ranlib; ac_word=$22.4943 +{ echo "$as_me:$LINENO: checking for $ac_word" >&52.4944 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.4945 +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then2.4946 + echo $ECHO_N "(cached) $ECHO_C" >&62.4947 +else2.4948 + if test -n "$ac_ct_RANLIB"; then2.4949 + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.2.4950 +else2.4951 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.4952 +for as_dir in $PATH2.4953 +do2.4954 + IFS=$as_save_IFS2.4955 + test -z "$as_dir" && as_dir=.2.4956 + for ac_exec_ext in '' $ac_executable_extensions; do2.4957 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.4958 + ac_cv_prog_ac_ct_RANLIB="ranlib"2.4959 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.4960 + break 22.4961 + fi2.4962 +done2.4963 +done2.4964 +IFS=$as_save_IFS2.4965 +2.4966 +fi2.4967 +fi2.4968 +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB2.4969 +if test -n "$ac_ct_RANLIB"; then2.4970 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&52.4971 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }2.4972 +else2.4973 + { echo "$as_me:$LINENO: result: no" >&52.4974 +echo "${ECHO_T}no" >&6; }2.4975 +fi2.4976 +2.4977 + if test "x$ac_ct_RANLIB" = x; then2.4978 + RANLIB=":"2.4979 + else2.4980 + case $cross_compiling:$ac_tool_warned in2.4981 +yes:)2.4982 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools2.4983 +whose name does not start with the host triplet. If you think this2.4984 +configuration is useful to you, please write to autoconf@gnu.org." >&52.4985 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools2.4986 +whose name does not start with the host triplet. If you think this2.4987 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}2.4988 +ac_tool_warned=yes ;;2.4989 +esac2.4990 + RANLIB=$ac_ct_RANLIB2.4991 + fi2.4992 +else2.4993 + RANLIB="$ac_cv_prog_RANLIB"2.4994 +fi2.4995 +2.4996 +2.4997 +{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&52.4998 +echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }2.4999 +if test "${ac_cv_path_GREP+set}" = set; then2.5000 + echo $ECHO_N "(cached) $ECHO_C" >&62.5001 +else2.5002 + # Extract the first word of "grep ggrep" to use in msg output2.5003 +if test -z "$GREP"; then2.5004 +set dummy grep ggrep; ac_prog_name=$22.5005 +if test "${ac_cv_path_GREP+set}" = set; then2.5006 + echo $ECHO_N "(cached) $ECHO_C" >&62.5007 +else2.5008 + ac_path_GREP_found=false2.5009 +# Loop through the user's path and test for each of PROGNAME-LIST2.5010 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.5011 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin2.5012 +do2.5013 + IFS=$as_save_IFS2.5014 + test -z "$as_dir" && as_dir=.2.5015 + for ac_prog in grep ggrep; do2.5016 + for ac_exec_ext in '' $ac_executable_extensions; do2.5017 + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"2.5018 + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue2.5019 + # Check for GNU ac_path_GREP and select it if it is found.2.5020 + # Check for GNU $ac_path_GREP2.5021 +case `"$ac_path_GREP" --version 2>&1` in2.5022 +*GNU*)2.5023 + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;2.5024 +*)2.5025 + ac_count=02.5026 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"2.5027 + while :2.5028 + do2.5029 + cat "conftest.in" "conftest.in" >"conftest.tmp"2.5030 + mv "conftest.tmp" "conftest.in"2.5031 + cp "conftest.in" "conftest.nl"2.5032 + echo 'GREP' >> "conftest.nl"2.5033 + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break2.5034 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break2.5035 + ac_count=`expr $ac_count + 1`2.5036 + if test $ac_count -gt ${ac_path_GREP_max-0}; then2.5037 + # Best one so far, save it but keep looking for a better one2.5038 + ac_cv_path_GREP="$ac_path_GREP"2.5039 + ac_path_GREP_max=$ac_count2.5040 + fi2.5041 + # 10*(2^10) chars as input seems more than enough2.5042 + test $ac_count -gt 10 && break2.5043 + done2.5044 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;2.5045 +esac2.5046 +2.5047 +2.5048 + $ac_path_GREP_found && break 32.5049 + done2.5050 +done2.5051 +2.5052 +done2.5053 +IFS=$as_save_IFS2.5054 +2.5055 +2.5056 +fi2.5057 +2.5058 +GREP="$ac_cv_path_GREP"2.5059 +if test -z "$GREP"; then2.5060 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&52.5061 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}2.5062 + { (exit 1); exit 1; }; }2.5063 +fi2.5064 +2.5065 +else2.5066 + ac_cv_path_GREP=$GREP2.5067 +fi2.5068 +2.5069 +2.5070 +fi2.5071 +{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&52.5072 +echo "${ECHO_T}$ac_cv_path_GREP" >&6; }2.5073 + GREP="$ac_cv_path_GREP"2.5074 +2.5075 +2.5076 +{ echo "$as_me:$LINENO: checking for egrep" >&52.5077 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }2.5078 +if test "${ac_cv_path_EGREP+set}" = set; then2.5079 + echo $ECHO_N "(cached) $ECHO_C" >&62.5080 +else2.5081 + if echo a | $GREP -E '(a|b)' >/dev/null 2>&12.5082 + then ac_cv_path_EGREP="$GREP -E"2.5083 + else2.5084 + # Extract the first word of "egrep" to use in msg output2.5085 +if test -z "$EGREP"; then2.5086 +set dummy egrep; ac_prog_name=$22.5087 +if test "${ac_cv_path_EGREP+set}" = set; then2.5088 + echo $ECHO_N "(cached) $ECHO_C" >&62.5089 +else2.5090 + ac_path_EGREP_found=false2.5091 +# Loop through the user's path and test for each of PROGNAME-LIST2.5092 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.5093 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin2.5094 +do2.5095 + IFS=$as_save_IFS2.5096 + test -z "$as_dir" && as_dir=.2.5097 + for ac_prog in egrep; do2.5098 + for ac_exec_ext in '' $ac_executable_extensions; do2.5099 + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"2.5100 + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue2.5101 + # Check for GNU ac_path_EGREP and select it if it is found.2.5102 + # Check for GNU $ac_path_EGREP2.5103 +case `"$ac_path_EGREP" --version 2>&1` in2.5104 +*GNU*)2.5105 + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;2.5106 +*)2.5107 + ac_count=02.5108 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"2.5109 + while :2.5110 + do2.5111 + cat "conftest.in" "conftest.in" >"conftest.tmp"2.5112 + mv "conftest.tmp" "conftest.in"2.5113 + cp "conftest.in" "conftest.nl"2.5114 + echo 'EGREP' >> "conftest.nl"2.5115 + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break2.5116 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break2.5117 + ac_count=`expr $ac_count + 1`2.5118 + if test $ac_count -gt ${ac_path_EGREP_max-0}; then2.5119 + # Best one so far, save it but keep looking for a better one2.5120 + ac_cv_path_EGREP="$ac_path_EGREP"2.5121 + ac_path_EGREP_max=$ac_count2.5122 + fi2.5123 + # 10*(2^10) chars as input seems more than enough2.5124 + test $ac_count -gt 10 && break2.5125 + done2.5126 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;2.5127 +esac2.5128 +2.5129 +2.5130 + $ac_path_EGREP_found && break 32.5131 + done2.5132 +done2.5133 +2.5134 +done2.5135 +IFS=$as_save_IFS2.5136 +2.5137 +2.5138 +fi2.5139 +2.5140 +EGREP="$ac_cv_path_EGREP"2.5141 +if test -z "$EGREP"; then2.5142 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&52.5143 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}2.5144 + { (exit 1); exit 1; }; }2.5145 +fi2.5146 +2.5147 +else2.5148 + ac_cv_path_EGREP=$EGREP2.5149 +fi2.5150 +2.5151 +2.5152 + fi2.5153 +fi2.5154 +{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&52.5155 +echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }2.5156 + EGREP="$ac_cv_path_EGREP"2.5157 +2.5158 +2.5159 +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&52.5160 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }2.5161 +if test "${ac_cv_header_stdc+set}" = set; then2.5162 + echo $ECHO_N "(cached) $ECHO_C" >&62.5163 +else2.5164 + cat >conftest.$ac_ext <<_ACEOF2.5165 +/* confdefs.h. */2.5166 +_ACEOF2.5167 +cat confdefs.h >>conftest.$ac_ext2.5168 +cat >>conftest.$ac_ext <<_ACEOF2.5169 +/* end confdefs.h. */2.5170 +#include <stdlib.h>2.5171 +#include <stdarg.h>2.5172 +#include <string.h>2.5173 +#include <float.h>2.5174 +2.5175 +int2.5176 +main ()2.5177 +{2.5178 +2.5179 + ;2.5180 + return 0;2.5181 +}2.5182 +_ACEOF2.5183 +rm -f conftest.$ac_objext2.5184 +if { (ac_try="$ac_compile"2.5185 +case "(($ac_try" in2.5186 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.5187 + *) ac_try_echo=$ac_try;;2.5188 +esac2.5189 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.5190 + (eval "$ac_compile") 2>conftest.er12.5191 + ac_status=$?2.5192 + grep -v '^ *+' conftest.er1 >conftest.err2.5193 + rm -f conftest.er12.5194 + cat conftest.err >&52.5195 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.5196 + (exit $ac_status); } && {2.5197 + test -z "$ac_c_werror_flag" ||2.5198 + test ! -s conftest.err2.5199 + } && test -s conftest.$ac_objext; then2.5200 + ac_cv_header_stdc=yes2.5201 +else2.5202 + echo "$as_me: failed program was:" >&52.5203 +sed 's/^/| /' conftest.$ac_ext >&52.5204 +2.5205 + ac_cv_header_stdc=no2.5206 +fi2.5207 +2.5208 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2.5209 +2.5210 +if test $ac_cv_header_stdc = yes; then2.5211 + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.2.5212 + cat >conftest.$ac_ext <<_ACEOF2.5213 +/* confdefs.h. */2.5214 +_ACEOF2.5215 +cat confdefs.h >>conftest.$ac_ext2.5216 +cat >>conftest.$ac_ext <<_ACEOF2.5217 +/* end confdefs.h. */2.5218 +#include <string.h>2.5219 +2.5220 +_ACEOF2.5221 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |2.5222 + $EGREP "memchr" >/dev/null 2>&1; then2.5223 + :2.5224 +else2.5225 + ac_cv_header_stdc=no2.5226 +fi2.5227 +rm -f conftest*2.5228 +2.5229 +fi2.5230 +2.5231 +if test $ac_cv_header_stdc = yes; then2.5232 + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.2.5233 + cat >conftest.$ac_ext <<_ACEOF2.5234 +/* confdefs.h. */2.5235 +_ACEOF2.5236 +cat confdefs.h >>conftest.$ac_ext2.5237 +cat >>conftest.$ac_ext <<_ACEOF2.5238 +/* end confdefs.h. */2.5239 +#include <stdlib.h>2.5240 +2.5241 +_ACEOF2.5242 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |2.5243 + $EGREP "free" >/dev/null 2>&1; then2.5244 + :2.5245 +else2.5246 + ac_cv_header_stdc=no2.5247 +fi2.5248 +rm -f conftest*2.5249 +2.5250 +fi2.5251 +2.5252 +if test $ac_cv_header_stdc = yes; then2.5253 + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.2.5254 + if test "$cross_compiling" = yes; then2.5255 + :2.5256 +else2.5257 + cat >conftest.$ac_ext <<_ACEOF2.5258 +/* confdefs.h. */2.5259 +_ACEOF2.5260 +cat confdefs.h >>conftest.$ac_ext2.5261 +cat >>conftest.$ac_ext <<_ACEOF2.5262 +/* end confdefs.h. */2.5263 +#include <ctype.h>2.5264 +#include <stdlib.h>2.5265 +#if ((' ' & 0x0FF) == 0x020)2.5266 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')2.5267 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))2.5268 +#else2.5269 +# define ISLOWER(c) \2.5270 + (('a' <= (c) && (c) <= 'i') \2.5271 + || ('j' <= (c) && (c) <= 'r') \2.5272 + || ('s' <= (c) && (c) <= 'z'))2.5273 +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))2.5274 +#endif2.5275 +2.5276 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))2.5277 +int2.5278 +main ()2.5279 +{2.5280 + int i;2.5281 + for (i = 0; i < 256; i++)2.5282 + if (XOR (islower (i), ISLOWER (i))2.5283 + || toupper (i) != TOUPPER (i))2.5284 + return 2;2.5285 + return 0;2.5286 +}2.5287 +_ACEOF2.5288 +rm -f conftest$ac_exeext2.5289 +if { (ac_try="$ac_link"2.5290 +case "(($ac_try" in2.5291 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.5292 + *) ac_try_echo=$ac_try;;2.5293 +esac2.5294 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.5295 + (eval "$ac_link") 2>&52.5296 + ac_status=$?2.5297 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.5298 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'2.5299 + { (case "(($ac_try" in2.5300 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.5301 + *) ac_try_echo=$ac_try;;2.5302 +esac2.5303 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.5304 + (eval "$ac_try") 2>&52.5305 + ac_status=$?2.5306 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.5307 + (exit $ac_status); }; }; then2.5308 + :2.5309 +else2.5310 + echo "$as_me: program exited with status $ac_status" >&52.5311 +echo "$as_me: failed program was:" >&52.5312 +sed 's/^/| /' conftest.$ac_ext >&52.5313 +2.5314 +( exit $ac_status )2.5315 +ac_cv_header_stdc=no2.5316 +fi2.5317 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext2.5318 +fi2.5319 +2.5320 +2.5321 +fi2.5322 +fi2.5323 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&52.5324 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }2.5325 +if test $ac_cv_header_stdc = yes; then2.5326 +2.5327 +cat >>confdefs.h <<\_ACEOF2.5328 +#define STDC_HEADERS 12.5329 +_ACEOF2.5330 +2.5331 +fi2.5332 +2.5333 +# On IRIX 5.3, sys/types and inttypes.h are conflicting.2.5334 +2.5335 +2.5336 +2.5337 +2.5338 +2.5339 +2.5340 +2.5341 +2.5342 +2.5343 +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \2.5344 + inttypes.h stdint.h unistd.h2.5345 +do2.5346 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`2.5347 +{ echo "$as_me:$LINENO: checking for $ac_header" >&52.5348 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }2.5349 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then2.5350 + echo $ECHO_N "(cached) $ECHO_C" >&62.5351 +else2.5352 + cat >conftest.$ac_ext <<_ACEOF2.5353 +/* confdefs.h. */2.5354 +_ACEOF2.5355 +cat confdefs.h >>conftest.$ac_ext2.5356 +cat >>conftest.$ac_ext <<_ACEOF2.5357 +/* end confdefs.h. */2.5358 +$ac_includes_default2.5359 +2.5360 +#include <$ac_header>2.5361 +_ACEOF2.5362 +rm -f conftest.$ac_objext2.5363 +if { (ac_try="$ac_compile"2.5364 +case "(($ac_try" in2.5365 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.5366 + *) ac_try_echo=$ac_try;;2.5367 +esac2.5368 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.5369 + (eval "$ac_compile") 2>conftest.er12.5370 + ac_status=$?2.5371 + grep -v '^ *+' conftest.er1 >conftest.err2.5372 + rm -f conftest.er12.5373 + cat conftest.err >&52.5374 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.5375 + (exit $ac_status); } && {2.5376 + test -z "$ac_c_werror_flag" ||2.5377 + test ! -s conftest.err2.5378 + } && test -s conftest.$ac_objext; then2.5379 + eval "$as_ac_Header=yes"2.5380 +else2.5381 + echo "$as_me: failed program was:" >&52.5382 +sed 's/^/| /' conftest.$ac_ext >&52.5383 +2.5384 + eval "$as_ac_Header=no"2.5385 +fi2.5386 +2.5387 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2.5388 +fi2.5389 +ac_res=`eval echo '${'$as_ac_Header'}'`2.5390 + { echo "$as_me:$LINENO: result: $ac_res" >&52.5391 +echo "${ECHO_T}$ac_res" >&6; }2.5392 +if test `eval echo '${'$as_ac_Header'}'` = yes; then2.5393 + cat >>confdefs.h <<_ACEOF2.5394 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 12.5395 +_ACEOF2.5396 +2.5397 +fi2.5398 +2.5399 +done2.5400 +2.5401 +2.5402 +{ echo "$as_me:$LINENO: checking for void *" >&52.5403 +echo $ECHO_N "checking for void *... $ECHO_C" >&6; }2.5404 +if test "${ac_cv_type_void_p+set}" = set; then2.5405 + echo $ECHO_N "(cached) $ECHO_C" >&62.5406 +else2.5407 + cat >conftest.$ac_ext <<_ACEOF2.5408 +/* confdefs.h. */2.5409 +_ACEOF2.5410 +cat confdefs.h >>conftest.$ac_ext2.5411 +cat >>conftest.$ac_ext <<_ACEOF2.5412 +/* end confdefs.h. */2.5413 +$ac_includes_default2.5414 +typedef void * ac__type_new_;2.5415 +int2.5416 +main ()2.5417 +{2.5418 +if ((ac__type_new_ *) 0)2.5419 + return 0;2.5420 +if (sizeof (ac__type_new_))2.5421 + return 0;2.5422 + ;2.5423 + return 0;2.5424 +}2.5425 +_ACEOF2.5426 +rm -f conftest.$ac_objext2.5427 +if { (ac_try="$ac_compile"2.5428 +case "(($ac_try" in2.5429 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.5430 + *) ac_try_echo=$ac_try;;2.5431 +esac2.5432 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.5433 + (eval "$ac_compile") 2>conftest.er12.5434 + ac_status=$?2.5435 + grep -v '^ *+' conftest.er1 >conftest.err2.5436 + rm -f conftest.er12.5437 + cat conftest.err >&52.5438 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.5439 + (exit $ac_status); } && {2.5440 + test -z "$ac_c_werror_flag" ||2.5441 + test ! -s conftest.err2.5442 + } && test -s conftest.$ac_objext; then2.5443 + ac_cv_type_void_p=yes2.5444 +else2.5445 + echo "$as_me: failed program was:" >&52.5446 +sed 's/^/| /' conftest.$ac_ext >&52.5447 +2.5448 + ac_cv_type_void_p=no2.5449 +fi2.5450 +2.5451 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2.5452 +fi2.5453 +{ echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&52.5454 +echo "${ECHO_T}$ac_cv_type_void_p" >&6; }2.5455 +2.5456 +# The cast to long int works around a bug in the HP C Compiler2.5457 +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects2.5458 +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.2.5459 +# This bug is HP SR number 8606223364.2.5460 +{ echo "$as_me:$LINENO: checking size of void *" >&52.5461 +echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }2.5462 +if test "${ac_cv_sizeof_void_p+set}" = set; then2.5463 + echo $ECHO_N "(cached) $ECHO_C" >&62.5464 +else2.5465 + if test "$cross_compiling" = yes; then2.5466 + # Depending upon the size, compute the lo and hi bounds.2.5467 +cat >conftest.$ac_ext <<_ACEOF2.5468 +/* confdefs.h. */2.5469 +_ACEOF2.5470 +cat confdefs.h >>conftest.$ac_ext2.5471 +cat >>conftest.$ac_ext <<_ACEOF2.5472 +/* end confdefs.h. */2.5473 +$ac_includes_default2.5474 + typedef void * ac__type_sizeof_;2.5475 +int2.5476 +main ()2.5477 +{2.5478 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];2.5479 +test_array [0] = 02.5480 +2.5481 + ;2.5482 + return 0;2.5483 +}2.5484 +_ACEOF2.5485 +rm -f conftest.$ac_objext2.5486 +if { (ac_try="$ac_compile"2.5487 +case "(($ac_try" in2.5488 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.5489 + *) ac_try_echo=$ac_try;;2.5490 +esac2.5491 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.5492 + (eval "$ac_compile") 2>conftest.er12.5493 + ac_status=$?2.5494 + grep -v '^ *+' conftest.er1 >conftest.err2.5495 + rm -f conftest.er12.5496 + cat conftest.err >&52.5497 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.5498 + (exit $ac_status); } && {2.5499 + test -z "$ac_c_werror_flag" ||2.5500 + test ! -s conftest.err2.5501 + } && test -s conftest.$ac_objext; then2.5502 + ac_lo=0 ac_mid=02.5503 + while :; do2.5504 + cat >conftest.$ac_ext <<_ACEOF2.5505 +/* confdefs.h. */2.5506 +_ACEOF2.5507 +cat confdefs.h >>conftest.$ac_ext2.5508 +cat >>conftest.$ac_ext <<_ACEOF2.5509 +/* end confdefs.h. */2.5510 +$ac_includes_default2.5511 + typedef void * ac__type_sizeof_;2.5512 +int2.5513 +main ()2.5514 +{2.5515 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];2.5516 +test_array [0] = 02.5517 +2.5518 + ;2.5519 + return 0;2.5520 +}2.5521 +_ACEOF2.5522 +rm -f conftest.$ac_objext2.5523 +if { (ac_try="$ac_compile"2.5524 +case "(($ac_try" in2.5525 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.5526 + *) ac_try_echo=$ac_try;;2.5527 +esac2.5528 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.5529 + (eval "$ac_compile") 2>conftest.er12.5530 + ac_status=$?2.5531 + grep -v '^ *+' conftest.er1 >conftest.err2.5532 + rm -f conftest.er12.5533 + cat conftest.err >&52.5534 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.5535 + (exit $ac_status); } && {2.5536 + test -z "$ac_c_werror_flag" ||2.5537 + test ! -s conftest.err2.5538 + } && test -s conftest.$ac_objext; then2.5539 + ac_hi=$ac_mid; break2.5540 +else2.5541 + echo "$as_me: failed program was:" >&52.5542 +sed 's/^/| /' conftest.$ac_ext >&52.5543 +2.5544 + ac_lo=`expr $ac_mid + 1`2.5545 + if test $ac_lo -le $ac_mid; then2.5546 + ac_lo= ac_hi=2.5547 + break2.5548 + fi2.5549 + ac_mid=`expr 2 '*' $ac_mid + 1`2.5550 +fi2.5551 +2.5552 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2.5553 + done2.5554 +else2.5555 + echo "$as_me: failed program was:" >&52.5556 +sed 's/^/| /' conftest.$ac_ext >&52.5557 +2.5558 + cat >conftest.$ac_ext <<_ACEOF2.5559 +/* confdefs.h. */2.5560 +_ACEOF2.5561 +cat confdefs.h >>conftest.$ac_ext2.5562 +cat >>conftest.$ac_ext <<_ACEOF2.5563 +/* end confdefs.h. */2.5564 +$ac_includes_default2.5565 + typedef void * ac__type_sizeof_;2.5566 +int2.5567 +main ()2.5568 +{2.5569 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];2.5570 +test_array [0] = 02.5571 +2.5572 + ;2.5573 + return 0;2.5574 +}2.5575 +_ACEOF2.5576 +rm -f conftest.$ac_objext2.5577 +if { (ac_try="$ac_compile"2.5578 +case "(($ac_try" in2.5579 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.5580 + *) ac_try_echo=$ac_try;;2.5581 +esac2.5582 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.5583 + (eval "$ac_compile") 2>conftest.er12.5584 + ac_status=$?2.5585 + grep -v '^ *+' conftest.er1 >conftest.err2.5586 + rm -f conftest.er12.5587 + cat conftest.err >&52.5588 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.5589 + (exit $ac_status); } && {2.5590 + test -z "$ac_c_werror_flag" ||2.5591 + test ! -s conftest.err2.5592 + } && test -s conftest.$ac_objext; then2.5593 + ac_hi=-1 ac_mid=-12.5594 + while :; do2.5595 + cat >conftest.$ac_ext <<_ACEOF2.5596 +/* confdefs.h. */2.5597 +_ACEOF2.5598 +cat confdefs.h >>conftest.$ac_ext2.5599 +cat >>conftest.$ac_ext <<_ACEOF2.5600 +/* end confdefs.h. */2.5601 +$ac_includes_default2.5602 + typedef void * ac__type_sizeof_;2.5603 +int2.5604 +main ()2.5605 +{2.5606 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];2.5607 +test_array [0] = 02.5608 +2.5609 + ;2.5610 + return 0;2.5611 +}2.5612 +_ACEOF2.5613 +rm -f conftest.$ac_objext2.5614 +if { (ac_try="$ac_compile"2.5615 +case "(($ac_try" in2.5616 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.5617 + *) ac_try_echo=$ac_try;;2.5618 +esac2.5619 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.5620 + (eval "$ac_compile") 2>conftest.er12.5621 + ac_status=$?2.5622 + grep -v '^ *+' conftest.er1 >conftest.err2.5623 + rm -f conftest.er12.5624 + cat conftest.err >&52.5625 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.5626 + (exit $ac_status); } && {2.5627 + test -z "$ac_c_werror_flag" ||2.5628 + test ! -s conftest.err2.5629 + } && test -s conftest.$ac_objext; then2.5630 + ac_lo=$ac_mid; break2.5631 +else2.5632 + echo "$as_me: failed program was:" >&52.5633 +sed 's/^/| /' conftest.$ac_ext >&52.5634 +2.5635 + ac_hi=`expr '(' $ac_mid ')' - 1`2.5636 + if test $ac_mid -le $ac_hi; then2.5637 + ac_lo= ac_hi=2.5638 + break2.5639 + fi2.5640 + ac_mid=`expr 2 '*' $ac_mid`2.5641 +fi2.5642 +2.5643 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2.5644 + done2.5645 +else2.5646 + echo "$as_me: failed program was:" >&52.5647 +sed 's/^/| /' conftest.$ac_ext >&52.5648 +2.5649 + ac_lo= ac_hi=2.5650 +fi2.5651 +2.5652 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2.5653 +fi2.5654 +2.5655 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2.5656 +# Binary search between lo and hi bounds.2.5657 +while test "x$ac_lo" != "x$ac_hi"; do2.5658 + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`2.5659 + cat >conftest.$ac_ext <<_ACEOF2.5660 +/* confdefs.h. */2.5661 +_ACEOF2.5662 +cat confdefs.h >>conftest.$ac_ext2.5663 +cat >>conftest.$ac_ext <<_ACEOF2.5664 +/* end confdefs.h. */2.5665 +$ac_includes_default2.5666 + typedef void * ac__type_sizeof_;2.5667 +int2.5668 +main ()2.5669 +{2.5670 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];2.5671 +test_array [0] = 02.5672 +2.5673 + ;2.5674 + return 0;2.5675 +}2.5676 +_ACEOF2.5677 +rm -f conftest.$ac_objext2.5678 +if { (ac_try="$ac_compile"2.5679 +case "(($ac_try" in2.5680 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.5681 + *) ac_try_echo=$ac_try;;2.5682 +esac2.5683 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.5684 + (eval "$ac_compile") 2>conftest.er12.5685 + ac_status=$?2.5686 + grep -v '^ *+' conftest.er1 >conftest.err2.5687 + rm -f conftest.er12.5688 + cat conftest.err >&52.5689 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.5690 + (exit $ac_status); } && {2.5691 + test -z "$ac_c_werror_flag" ||2.5692 + test ! -s conftest.err2.5693 + } && test -s conftest.$ac_objext; then2.5694 + ac_hi=$ac_mid2.5695 +else2.5696 + echo "$as_me: failed program was:" >&52.5697 +sed 's/^/| /' conftest.$ac_ext >&52.5698 +2.5699 + ac_lo=`expr '(' $ac_mid ')' + 1`2.5700 +fi2.5701 +2.5702 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2.5703 +done2.5704 +case $ac_lo in2.5705 +?*) ac_cv_sizeof_void_p=$ac_lo;;2.5706 +'') if test "$ac_cv_type_void_p" = yes; then2.5707 + { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)2.5708 +See \`config.log' for more details." >&52.5709 +echo "$as_me: error: cannot compute sizeof (void *)2.5710 +See \`config.log' for more details." >&2;}2.5711 + { (exit 77); exit 77; }; }2.5712 + else2.5713 + ac_cv_sizeof_void_p=02.5714 + fi ;;2.5715 +esac2.5716 +else2.5717 + cat >conftest.$ac_ext <<_ACEOF2.5718 +/* confdefs.h. */2.5719 +_ACEOF2.5720 +cat confdefs.h >>conftest.$ac_ext2.5721 +cat >>conftest.$ac_ext <<_ACEOF2.5722 +/* end confdefs.h. */2.5723 +$ac_includes_default2.5724 + typedef void * ac__type_sizeof_;2.5725 +static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }2.5726 +static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }2.5727 +#include <stdio.h>2.5728 +#include <stdlib.h>2.5729 +int2.5730 +main ()2.5731 +{2.5732 +2.5733 + FILE *f = fopen ("conftest.val", "w");2.5734 + if (! f)2.5735 + return 1;2.5736 + if (((long int) (sizeof (ac__type_sizeof_))) < 0)2.5737 + {2.5738 + long int i = longval ();2.5739 + if (i != ((long int) (sizeof (ac__type_sizeof_))))2.5740 + return 1;2.5741 + fprintf (f, "%ld\n", i);2.5742 + }2.5743 + else2.5744 + {2.5745 + unsigned long int i = ulongval ();2.5746 + if (i != ((long int) (sizeof (ac__type_sizeof_))))2.5747 + return 1;2.5748 + fprintf (f, "%lu\n", i);2.5749 + }2.5750 + return ferror (f) || fclose (f) != 0;2.5751 +2.5752 + ;2.5753 + return 0;2.5754 +}2.5755 +_ACEOF2.5756 +rm -f conftest$ac_exeext2.5757 +if { (ac_try="$ac_link"2.5758 +case "(($ac_try" in2.5759 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.5760 + *) ac_try_echo=$ac_try;;2.5761 +esac2.5762 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.5763 + (eval "$ac_link") 2>&52.5764 + ac_status=$?2.5765 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.5766 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'2.5767 + { (case "(($ac_try" in2.5768 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.5769 + *) ac_try_echo=$ac_try;;2.5770 +esac2.5771 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.5772 + (eval "$ac_try") 2>&52.5773 + ac_status=$?2.5774 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.5775 + (exit $ac_status); }; }; then2.5776 + ac_cv_sizeof_void_p=`cat conftest.val`2.5777 +else2.5778 + echo "$as_me: program exited with status $ac_status" >&52.5779 +echo "$as_me: failed program was:" >&52.5780 +sed 's/^/| /' conftest.$ac_ext >&52.5781 +2.5782 +( exit $ac_status )2.5783 +if test "$ac_cv_type_void_p" = yes; then2.5784 + { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)2.5785 +See \`config.log' for more details." >&52.5786 +echo "$as_me: error: cannot compute sizeof (void *)2.5787 +See \`config.log' for more details." >&2;}2.5788 + { (exit 77); exit 77; }; }2.5789 + else2.5790 + ac_cv_sizeof_void_p=02.5791 + fi2.5792 +fi2.5793 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext2.5794 +fi2.5795 +rm -f conftest.val2.5796 +fi2.5797 +{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&52.5798 +echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }2.5799 +2.5800 +2.5801 +2.5802 +cat >>confdefs.h <<_ACEOF2.5803 +#define SIZEOF_VOID_P $ac_cv_sizeof_void_p2.5804 +_ACEOF2.5805 +2.5806 +2.5807 +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&52.5808 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }2.5809 +if test "${ac_cv_header_stdc+set}" = set; then2.5810 + echo $ECHO_N "(cached) $ECHO_C" >&62.5811 +else2.5812 + cat >conftest.$ac_ext <<_ACEOF2.5813 +/* confdefs.h. */2.5814 +_ACEOF2.5815 +cat confdefs.h >>conftest.$ac_ext2.5816 +cat >>conftest.$ac_ext <<_ACEOF2.5817 +/* end confdefs.h. */2.5818 +#include <stdlib.h>2.5819 +#include <stdarg.h>2.5820 +#include <string.h>2.5821 +#include <float.h>2.5822 +2.5823 +int2.5824 +main ()2.5825 +{2.5826 +2.5827 + ;2.5828 + return 0;2.5829 +}2.5830 +_ACEOF2.5831 +rm -f conftest.$ac_objext2.5832 +if { (ac_try="$ac_compile"2.5833 +case "(($ac_try" in2.5834 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.5835 + *) ac_try_echo=$ac_try;;2.5836 +esac2.5837 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.5838 + (eval "$ac_compile") 2>conftest.er12.5839 + ac_status=$?2.5840 + grep -v '^ *+' conftest.er1 >conftest.err2.5841 + rm -f conftest.er12.5842 + cat conftest.err >&52.5843 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.5844 + (exit $ac_status); } && {2.5845 + test -z "$ac_c_werror_flag" ||2.5846 + test ! -s conftest.err2.5847 + } && test -s conftest.$ac_objext; then2.5848 + ac_cv_header_stdc=yes2.5849 +else2.5850 + echo "$as_me: failed program was:" >&52.5851 +sed 's/^/| /' conftest.$ac_ext >&52.5852 +2.5853 + ac_cv_header_stdc=no2.5854 +fi2.5855 +2.5856 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2.5857 +2.5858 +if test $ac_cv_header_stdc = yes; then2.5859 + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.2.5860 + cat >conftest.$ac_ext <<_ACEOF2.5861 +/* confdefs.h. */2.5862 +_ACEOF2.5863 +cat confdefs.h >>conftest.$ac_ext2.5864 +cat >>conftest.$ac_ext <<_ACEOF2.5865 +/* end confdefs.h. */2.5866 +#include <string.h>2.5867 +2.5868 +_ACEOF2.5869 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |2.5870 + $EGREP "memchr" >/dev/null 2>&1; then2.5871 + :2.5872 +else2.5873 + ac_cv_header_stdc=no2.5874 +fi2.5875 +rm -f conftest*2.5876 +2.5877 +fi2.5878 +2.5879 +if test $ac_cv_header_stdc = yes; then2.5880 + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.2.5881 + cat >conftest.$ac_ext <<_ACEOF2.5882 +/* confdefs.h. */2.5883 +_ACEOF2.5884 +cat confdefs.h >>conftest.$ac_ext2.5885 +cat >>conftest.$ac_ext <<_ACEOF2.5886 +/* end confdefs.h. */2.5887 +#include <stdlib.h>2.5888 +2.5889 +_ACEOF2.5890 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |2.5891 + $EGREP "free" >/dev/null 2>&1; then2.5892 + :2.5893 +else2.5894 + ac_cv_header_stdc=no2.5895 +fi2.5896 +rm -f conftest*2.5897 +2.5898 +fi2.5899 +2.5900 +if test $ac_cv_header_stdc = yes; then2.5901 + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.2.5902 + if test "$cross_compiling" = yes; then2.5903 + :2.5904 +else2.5905 + cat >conftest.$ac_ext <<_ACEOF2.5906 +/* confdefs.h. */2.5907 +_ACEOF2.5908 +cat confdefs.h >>conftest.$ac_ext2.5909 +cat >>conftest.$ac_ext <<_ACEOF2.5910 +/* end confdefs.h. */2.5911 +#include <ctype.h>2.5912 +#include <stdlib.h>2.5913 +#if ((' ' & 0x0FF) == 0x020)2.5914 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')2.5915 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))2.5916 +#else2.5917 +# define ISLOWER(c) \2.5918 + (('a' <= (c) && (c) <= 'i') \2.5919 + || ('j' <= (c) && (c) <= 'r') \2.5920 + || ('s' <= (c) && (c) <= 'z'))2.5921 +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))2.5922 +#endif2.5923 +2.5924 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))2.5925 +int2.5926 +main ()2.5927 +{2.5928 + int i;2.5929 + for (i = 0; i < 256; i++)2.5930 + if (XOR (islower (i), ISLOWER (i))2.5931 + || toupper (i) != TOUPPER (i))2.5932 + return 2;2.5933 + return 0;2.5934 +}2.5935 +_ACEOF2.5936 +rm -f conftest$ac_exeext2.5937 +if { (ac_try="$ac_link"2.5938 +case "(($ac_try" in2.5939 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.5940 + *) ac_try_echo=$ac_try;;2.5941 +esac2.5942 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.5943 + (eval "$ac_link") 2>&52.5944 + ac_status=$?2.5945 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.5946 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'2.5947 + { (case "(($ac_try" in2.5948 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.5949 + *) ac_try_echo=$ac_try;;2.5950 +esac2.5951 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.5952 + (eval "$ac_try") 2>&52.5953 + ac_status=$?2.5954 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.5955 + (exit $ac_status); }; }; then2.5956 + :2.5957 +else2.5958 + echo "$as_me: program exited with status $ac_status" >&52.5959 +echo "$as_me: failed program was:" >&52.5960 +sed 's/^/| /' conftest.$ac_ext >&52.5961 +2.5962 +( exit $ac_status )2.5963 +ac_cv_header_stdc=no2.5964 +fi2.5965 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext2.5966 +fi2.5967 +2.5968 +2.5969 +fi2.5970 +fi2.5971 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&52.5972 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }2.5973 +if test $ac_cv_header_stdc = yes; then2.5974 +2.5975 +cat >>confdefs.h <<\_ACEOF2.5976 +#define STDC_HEADERS 12.5977 +_ACEOF2.5978 +2.5979 +fi2.5980 +2.5981 +2.5982 +2.5983 +depcc="$OBJC" am_compiler_list='gcc3 gcc'2.5984 +2.5985 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&52.5986 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }2.5987 +if test "${am_cv_OBJC_dependencies_compiler_type+set}" = set; then2.5988 + echo $ECHO_N "(cached) $ECHO_C" >&62.5989 +else2.5990 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then2.5991 + # We make a subdir and do the tests there. Otherwise we can end up2.5992 + # making bogus files that we don't know about and never remove. For2.5993 + # instance it was reported that on HP-UX the gcc test will end up2.5994 + # making a dummy file named `D' -- because `-MD' means `put the output2.5995 + # in D'.2.5996 + mkdir conftest.dir2.5997 + # Copy depcomp to subdir because otherwise we won't find it if we're2.5998 + # using a relative directory.2.5999 + cp "$am_depcomp" conftest.dir2.6000 + cd conftest.dir2.6001 + # We will build objects and dependencies in a subdirectory because2.6002 + # it helps to detect inapplicable dependency modes. For instance2.6003 + # both Tru64's cc and ICC support -MD to output dependencies as a2.6004 + # side effect of compilation, but ICC will put the dependencies in2.6005 + # the current directory while Tru64 will put them in the object2.6006 + # directory.2.6007 + mkdir sub2.6008 +2.6009 + am_cv_OBJC_dependencies_compiler_type=none2.6010 + if test "$am_compiler_list" = ""; then2.6011 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`2.6012 + fi2.6013 + for depmode in $am_compiler_list; do2.6014 + # Setup a source with many dependencies, because some compilers2.6015 + # like to wrap large dependency lists on column 80 (with \), and2.6016 + # we should not choose a depcomp mode which is confused by this.2.6017 + #2.6018 + # We need to recreate these files for each test, as the compiler may2.6019 + # overwrite some of them when testing with obscure command lines.2.6020 + # This happens at least with the AIX C compiler.2.6021 + : > sub/conftest.c2.6022 + for i in 1 2 3 4 5 6; do2.6023 + echo '#include "conftst'$i'.h"' >> sub/conftest.c2.6024 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with2.6025 + # Solaris 8's {/usr,}/bin/sh.2.6026 + touch sub/conftst$i.h2.6027 + done2.6028 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf2.6029 +2.6030 + case $depmode in2.6031 + nosideeffect)2.6032 + # after this tag, mechanisms are not by side-effect, so they'll2.6033 + # only be used when explicitly requested2.6034 + if test "x$enable_dependency_tracking" = xyes; then2.6035 + continue2.6036 + else2.6037 + break2.6038 + fi2.6039 + ;;2.6040 + none) break ;;2.6041 + esac2.6042 + # We check with `-c' and `-o' for the sake of the "dashmstdout"2.6043 + # mode. It turns out that the SunPro C++ compiler does not properly2.6044 + # handle `-M -o', and we need to detect this.2.6045 + if depmode=$depmode \2.6046 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \2.6047 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \2.6048 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \2.6049 + >/dev/null 2>conftest.err &&2.6050 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&2.6051 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&2.6052 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then2.6053 + # icc doesn't choke on unknown options, it will just issue warnings2.6054 + # or remarks (even with -Werror). So we grep stderr for any message2.6055 + # that says an option was ignored or not supported.2.6056 + # When given -MP, icc 7.0 and 7.1 complain thusly:2.6057 + # icc: Command line warning: ignoring option '-M'; no argument required2.6058 + # The diagnosis changed in icc 8.0:2.6059 + # icc: Command line remark: option '-MP' not supported2.6060 + if (grep 'ignoring option' conftest.err ||2.6061 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else2.6062 + am_cv_OBJC_dependencies_compiler_type=$depmode2.6063 + break2.6064 + fi2.6065 + fi2.6066 + done2.6067 +2.6068 + cd ..2.6069 + rm -rf conftest.dir2.6070 +else2.6071 + am_cv_OBJC_dependencies_compiler_type=none2.6072 +fi2.6073 +2.6074 +fi2.6075 +{ echo "$as_me:$LINENO: result: $am_cv_OBJC_dependencies_compiler_type" >&52.6076 +echo "${ECHO_T}$am_cv_OBJC_dependencies_compiler_type" >&6; }2.6077 +OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type2.6078 +2.6079 +2.6080 +2.6081 +if2.6082 + test "x$enable_dependency_tracking" != xno \2.6083 + && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then2.6084 + am__fastdepOBJC_TRUE=2.6085 + am__fastdepOBJC_FALSE='#'2.6086 +else2.6087 + am__fastdepOBJC_TRUE='#'2.6088 + am__fastdepOBJC_FALSE=2.6089 +fi2.6090 +2.6091 +2.6092 +2.6093 +# Extract the first word of "pod2man", so it can be a program name with args.2.6094 +set dummy pod2man; ac_word=$22.6095 +{ echo "$as_me:$LINENO: checking for $ac_word" >&52.6096 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.6097 +if test "${ac_cv_path_POD2MAN+set}" = set; then2.6098 + echo $ECHO_N "(cached) $ECHO_C" >&62.6099 +else2.6100 + case $POD2MAN in2.6101 + [\\/]* | ?:[\\/]*)2.6102 + ac_cv_path_POD2MAN="$POD2MAN" # Let the user override the test with a path.2.6103 + ;;2.6104 + *)2.6105 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.6106 +for as_dir in $PATH2.6107 +do2.6108 + IFS=$as_save_IFS2.6109 + test -z "$as_dir" && as_dir=.2.6110 + for ac_exec_ext in '' $ac_executable_extensions; do2.6111 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.6112 + ac_cv_path_POD2MAN="$as_dir/$ac_word$ac_exec_ext"2.6113 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.6114 + break 22.6115 + fi2.6116 +done2.6117 +done2.6118 +IFS=$as_save_IFS2.6119 +2.6120 + ;;2.6121 +esac2.6122 +fi2.6123 +POD2MAN=$ac_cv_path_POD2MAN2.6124 +if test -n "$POD2MAN"; then2.6125 + { echo "$as_me:$LINENO: result: $POD2MAN" >&52.6126 +echo "${ECHO_T}$POD2MAN" >&6; }2.6127 +else2.6128 + { echo "$as_me:$LINENO: result: no" >&52.6129 +echo "${ECHO_T}no" >&6; }2.6130 +fi2.6131 +2.6132 +2.6133 +# Extract the first word of "pod2html", so it can be a program name with args.2.6134 +set dummy pod2html; ac_word=$22.6135 +{ echo "$as_me:$LINENO: checking for $ac_word" >&52.6136 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.6137 +if test "${ac_cv_path_POD2HTML+set}" = set; then2.6138 + echo $ECHO_N "(cached) $ECHO_C" >&62.6139 +else2.6140 + case $POD2HTML in2.6141 + [\\/]* | ?:[\\/]*)2.6142 + ac_cv_path_POD2HTML="$POD2HTML" # Let the user override the test with a path.2.6143 + ;;2.6144 + *)2.6145 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.6146 +for as_dir in $PATH2.6147 +do2.6148 + IFS=$as_save_IFS2.6149 + test -z "$as_dir" && as_dir=.2.6150 + for ac_exec_ext in '' $ac_executable_extensions; do2.6151 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.6152 + ac_cv_path_POD2HTML="$as_dir/$ac_word$ac_exec_ext"2.6153 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.6154 + break 22.6155 + fi2.6156 +done2.6157 +done2.6158 +IFS=$as_save_IFS2.6159 +2.6160 + ;;2.6161 +esac2.6162 +fi2.6163 +POD2HTML=$ac_cv_path_POD2HTML2.6164 +if test -n "$POD2HTML"; then2.6165 + { echo "$as_me:$LINENO: result: $POD2HTML" >&52.6166 +echo "${ECHO_T}$POD2HTML" >&6; }2.6167 +else2.6168 + { echo "$as_me:$LINENO: result: no" >&52.6169 +echo "${ECHO_T}no" >&6; }2.6170 +fi2.6171 +2.6172 +2.6173 +2.6174 +2.6175 +cat >>confdefs.h <<_ACEOF2.6176 +#define BUILD_SED_PROG "${SED}"2.6177 +_ACEOF2.6178 +2.6179 +2.6180 +cat >>confdefs.h <<_ACEOF2.6181 +#define BUILD_CPP_PROG "${CPP}"2.6182 +_ACEOF2.6183 +2.6184 +2.6185 +2.6186 +# Check whether --enable-strict-warn was given.2.6187 +if test "${enable_strict_warn+set}" = set; then2.6188 + enableval=$enable_strict_warn; if test "$enableval" == "yes"; then2.6189 + enable_strictwarn=yes2.6190 + fi2.6191 +fi2.6192 +2.6193 +# Check whether --enable-translator was given.2.6194 +if test "${enable_translator+set}" = set; then2.6195 + enableval=$enable_translator; true2.6196 +else2.6197 + enable_translator=yes2.6198 +fi2.6199 +2.6200 +# Check whether --enable-optimized was given.2.6201 +if test "${enable_optimized+set}" = set; then2.6202 + enableval=$enable_optimized; true2.6203 +else2.6204 + enable_optimized=yes2.6205 +fi2.6206 +2.6207 +# Check whether --enable-shared was given.2.6208 +if test "${enable_shared+set}" = set; then2.6209 + enableval=$enable_shared; if test "$enableval" == "yes"; then enable_shared=yes; else enable_shared=no; fi2.6210 +else2.6211 + enable_shared=cond2.6212 +fi2.6213 +2.6214 +# Check whether --enable-profiled was given.2.6215 +if test "${enable_profiled+set}" = set; then2.6216 + enableval=$enable_profiled; if test "$enableval" == "yes"; then2.6217 + enable_profiled=yes;2.6218 + fi2.6219 +fi2.6220 +2.6221 +# Check whether --enable-trace was given.2.6222 +if test "${enable_trace+set}" = set; then2.6223 + enableval=$enable_trace; if test "$enableval" == "yes"; then2.6224 +2.6225 +cat >>confdefs.h <<\_ACEOF2.6226 +#define ENABLE_TRACE_IO 12.6227 +_ACEOF2.6228 +2.6229 + fi2.6230 +fi2.6231 +2.6232 +# Check whether --enable-watch was given.2.6233 +if test "${enable_watch+set}" = set; then2.6234 + enableval=$enable_watch; if test "$enableval" == "yes"; then2.6235 +2.6236 +cat >>confdefs.h <<\_ACEOF2.6237 +#define ENABLE_WATCH 12.6238 +_ACEOF2.6239 +2.6240 + fi2.6241 +fi2.6242 +2.6243 +# Check whether --enable-sh4stats was given.2.6244 +if test "${enable_sh4stats+set}" = set; then2.6245 + enableval=$enable_sh4stats; if test "$enableval" == "yes"; then2.6246 +2.6247 +cat >>confdefs.h <<\_ACEOF2.6248 +#define ENABLE_SH4STATS 12.6249 +_ACEOF2.6250 +2.6251 + fi2.6252 +fi2.6253 +2.6254 +2.6255 +# Check whether --with-osmesa was given.2.6256 +if test "${with_osmesa+set}" = set; then2.6257 + withval=$with_osmesa;2.6258 +else2.6259 + with_osmesa=no2.6260 +fi2.6261 +2.6262 +2.6263 +# Check whether --with-gtk was given.2.6264 +if test "${with_gtk+set}" = set; then2.6265 + withval=$with_gtk; with_gtk=yes2.6266 +else2.6267 + with_gtk=x112.6268 +fi2.6269 +2.6270 +2.6271 +# Check whether --with-esd was given.2.6272 +if test "${with_esd+set}" = set; then2.6273 + withval=$with_esd;2.6274 +fi2.6275 +2.6276 +2.6277 +# Check whether --with-pulse was given.2.6278 +if test "${with_pulse+set}" = set; then2.6279 + withval=$with_pulse;2.6280 +fi2.6281 +2.6282 +2.6283 +# Check whether --with-sdl was given.2.6284 +if test "${with_sdl+set}" = set; then2.6285 + withval=$with_sdl;2.6286 +fi2.6287 +2.6288 +2.6289 +2.6290 +# Check whether --with-sysroot was given.2.6291 +if test "${with_sysroot+set}" = set; then2.6292 + withval=$with_sysroot;2.6293 + if test -d "$with_sysroot/lib/pkgconfig"; then2.6294 + LDFLAGS="$LDFLAGS -L$with_sysroot/lib"2.6295 + CPPFLAGS="$CPPFLAGS -I$with_sysroot/include"2.6296 + BUILD_PKG_CONFIG_LIBDIR="$PKG_CONFIG_LIBDIR"2.6297 + TARGET_PKG_CONFIG_LIBDIR="$with_sysroot/lib/pkgconfig"2.6298 + PKG_CONFIG_LIBDIR="$TARGET_PKG_CONFIG_LIBDIR"2.6299 + export PKG_CONFIG_LIBDIR;2.6300 + else2.6301 + { { echo "$as_me:$LINENO: error: pkg-config directory $with_sysroot/lib/pkgconfig not found, when using --with-sysroot=$with_sysroot option2.6302 +See \`config.log' for more details." >&52.6303 +echo "$as_me: error: pkg-config directory $with_sysroot/lib/pkgconfig not found, when using --with-sysroot=$with_sysroot option2.6304 +See \`config.log' for more details." >&2;}2.6305 + { (exit 1); exit 1; }; }2.6306 + fi2.6307 +2.6308 +fi2.6309 +2.6310 +2.6311 +2.6314 # Check whether --with-android was given.2.6315 @@ -2748,7 +8989,6 @@2.6316 CPP="$ANDROID_NDK_BIN/${host_alias}-cpp"2.6317 LD="$ANDROID_NDK_BIN/${host_alias}-ld"2.6318 AR="$ANDROID_NDK_BIN/${host_alias}-ar"2.6319 - GDB="$ANDROID_NDK_BIN/${host_alias}-gdb"2.6320 RANLIB="$ANDROID_NDK_BIN/${host_alias}-ranlib"2.6321 STRIP="$ANDROID_NDK_BIN/${host_alias}-strip"2.6322 OBJDUMP="$ANDROID_NDK_BIN/${host_alias}-objdump"2.6323 @@ -2763,7 +9003,6 @@2.6327 -2.6328 ANDROID_BUILD=yes2.6329 cross_compiling=yes2.6330 fi2.6331 @@ -2781,6234 +9020,11 @@2.6335 -DEPDIR="${am__leading_dot}deps"2.6336 -2.6337 -ac_config_commands="$ac_config_commands depfiles"2.6338 -2.6339 -2.6340 -am_make=${MAKE-make}2.6341 -cat > confinc << 'END'2.6342 -am__doit:2.6343 - @echo done2.6344 -.PHONY: am__doit2.6345 -END2.6346 -# If we don't find an include directive, just comment out the code.2.6347 -{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&52.6348 -echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }2.6349 -am__include="#"2.6350 -am__quote=2.6351 -_am_result=none2.6352 -# First try GNU make style include.2.6353 -echo "include confinc" > confmf2.6354 -# We grep out `Entering directory' and `Leaving directory'2.6355 -# messages which can occur if `w' ends up in MAKEFLAGS.2.6356 -# In particular we don't look at `^make:' because GNU make might2.6357 -# be invoked under some other name (usually "gmake"), in which2.6358 -# case it prints its new name instead of `make'.2.6359 -if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then2.6360 - am__include=include2.6361 - am__quote=2.6362 - _am_result=GNU2.6363 -fi2.6364 -# Now try BSD make style include.2.6365 -if test "$am__include" = "#"; then2.6366 - echo '.include "confinc"' > confmf2.6367 - if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then2.6368 - am__include=.include2.6369 - am__quote="\""2.6370 - _am_result=BSD2.6371 - fi2.6372 -fi2.6373 -2.6374 -2.6375 -{ echo "$as_me:$LINENO: result: $_am_result" >&52.6376 -echo "${ECHO_T}$_am_result" >&6; }2.6377 -rm -f confinc confmf2.6378 -2.6379 -# Check whether --enable-dependency-tracking was given.2.6380 -if test "${enable_dependency_tracking+set}" = set; then2.6381 - enableval=$enable_dependency_tracking;2.6382 -fi2.6383 -2.6384 -if test "x$enable_dependency_tracking" != xno; then2.6385 - am_depcomp="$ac_aux_dir/depcomp"2.6386 - AMDEPBACKSLASH='\'2.6387 -fi2.6388 -2.6389 -2.6390 -if test "x$enable_dependency_tracking" != xno; then2.6391 - AMDEP_TRUE=2.6392 - AMDEP_FALSE='#'2.6393 -else2.6394 - AMDEP_TRUE='#'2.6395 - AMDEP_FALSE=2.6396 -fi2.6397 -2.6398 -2.6399 -2.6400 -ac_ext=c2.6401 -ac_cpp='$CPP $CPPFLAGS'2.6402 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'2.6403 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'2.6404 -ac_compiler_gnu=$ac_cv_c_compiler_gnu2.6405 -if test -n "$ac_tool_prefix"; then2.6406 - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.2.6407 -set dummy ${ac_tool_prefix}gcc; ac_word=$22.6408 -{ echo "$as_me:$LINENO: checking for $ac_word" >&52.6409 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.6410 -if test "${ac_cv_prog_CC+set}" = set; then2.6411 - echo $ECHO_N "(cached) $ECHO_C" >&62.6412 -else2.6413 - if test -n "$CC"; then2.6414 - ac_cv_prog_CC="$CC" # Let the user override the test.2.6415 -else2.6416 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.6417 -for as_dir in $PATH2.6418 -do2.6419 - IFS=$as_save_IFS2.6420 - test -z "$as_dir" && as_dir=.2.6421 - for ac_exec_ext in '' $ac_executable_extensions; do2.6422 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.6423 - ac_cv_prog_CC="${ac_tool_prefix}gcc"2.6424 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.6425 - break 22.6426 - fi2.6427 -done2.6428 -done2.6429 -IFS=$as_save_IFS2.6430 -2.6431 -fi2.6432 -fi2.6433 -CC=$ac_cv_prog_CC2.6434 -if test -n "$CC"; then2.6435 - { echo "$as_me:$LINENO: result: $CC" >&52.6436 -echo "${ECHO_T}$CC" >&6; }2.6437 -else2.6438 - { echo "$as_me:$LINENO: result: no" >&52.6439 -echo "${ECHO_T}no" >&6; }2.6440 -fi2.6441 -2.6442 -2.6443 -fi2.6444 -if test -z "$ac_cv_prog_CC"; then2.6445 - ac_ct_CC=$CC2.6446 - # Extract the first word of "gcc", so it can be a program name with args.2.6447 -set dummy gcc; ac_word=$22.6448 -{ echo "$as_me:$LINENO: checking for $ac_word" >&52.6449 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.6450 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2.6451 - echo $ECHO_N "(cached) $ECHO_C" >&62.6452 -else2.6453 - if test -n "$ac_ct_CC"; then2.6454 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.2.6455 -else2.6456 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.6457 -for as_dir in $PATH2.6458 -do2.6459 - IFS=$as_save_IFS2.6460 - test -z "$as_dir" && as_dir=.2.6461 - for ac_exec_ext in '' $ac_executable_extensions; do2.6462 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.6463 - ac_cv_prog_ac_ct_CC="gcc"2.6464 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.6465 - break 22.6466 - fi2.6467 -done2.6468 -done2.6469 -IFS=$as_save_IFS2.6470 -2.6471 -fi2.6472 -fi2.6473 -ac_ct_CC=$ac_cv_prog_ac_ct_CC2.6474 -if test -n "$ac_ct_CC"; then2.6475 - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52.6476 -echo "${ECHO_T}$ac_ct_CC" >&6; }2.6477 -else2.6478 - { echo "$as_me:$LINENO: result: no" >&52.6479 -echo "${ECHO_T}no" >&6; }2.6480 -fi2.6481 -2.6482 - if test "x$ac_ct_CC" = x; then2.6483 - CC=""2.6484 - else2.6485 - case $cross_compiling:$ac_tool_warned in2.6486 -yes:)2.6487 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools2.6488 -whose name does not start with the host triplet. If you think this2.6489 -configuration is useful to you, please write to autoconf@gnu.org." >&52.6490 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools2.6491 -whose name does not start with the host triplet. If you think this2.6492 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}2.6493 -ac_tool_warned=yes ;;2.6494 -esac2.6495 - CC=$ac_ct_CC2.6496 - fi2.6497 -else2.6498 - CC="$ac_cv_prog_CC"2.6499 -fi2.6500 -2.6501 -if test -z "$CC"; then2.6502 - if test -n "$ac_tool_prefix"; then2.6503 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.2.6504 -set dummy ${ac_tool_prefix}cc; ac_word=$22.6505 -{ echo "$as_me:$LINENO: checking for $ac_word" >&52.6506 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.6507 -if test "${ac_cv_prog_CC+set}" = set; then2.6508 - echo $ECHO_N "(cached) $ECHO_C" >&62.6509 -else2.6510 - if test -n "$CC"; then2.6511 - ac_cv_prog_CC="$CC" # Let the user override the test.2.6512 -else2.6513 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.6514 -for as_dir in $PATH2.6515 -do2.6516 - IFS=$as_save_IFS2.6517 - test -z "$as_dir" && as_dir=.2.6518 - for ac_exec_ext in '' $ac_executable_extensions; do2.6519 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.6520 - ac_cv_prog_CC="${ac_tool_prefix}cc"2.6521 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.6522 - break 22.6523 - fi2.6524 -done2.6525 -done2.6526 -IFS=$as_save_IFS2.6527 -2.6528 -fi2.6529 -fi2.6530 -CC=$ac_cv_prog_CC2.6531 -if test -n "$CC"; then2.6532 - { echo "$as_me:$LINENO: result: $CC" >&52.6533 -echo "${ECHO_T}$CC" >&6; }2.6534 -else2.6535 - { echo "$as_me:$LINENO: result: no" >&52.6536 -echo "${ECHO_T}no" >&6; }2.6537 -fi2.6538 -2.6539 -2.6540 - fi2.6541 -fi2.6542 -if test -z "$CC"; then2.6543 - # Extract the first word of "cc", so it can be a program name with args.2.6544 -set dummy cc; ac_word=$22.6545 -{ echo "$as_me:$LINENO: checking for $ac_word" >&52.6546 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.6547 -if test "${ac_cv_prog_CC+set}" = set; then2.6548 - echo $ECHO_N "(cached) $ECHO_C" >&62.6549 -else2.6550 - if test -n "$CC"; then2.6551 - ac_cv_prog_CC="$CC" # Let the user override the test.2.6552 -else2.6553 - ac_prog_rejected=no2.6554 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.6555 -for as_dir in $PATH2.6556 -do2.6557 - IFS=$as_save_IFS2.6558 - test -z "$as_dir" && as_dir=.2.6559 - for ac_exec_ext in '' $ac_executable_extensions; do2.6560 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.6561 - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then2.6562 - ac_prog_rejected=yes2.6563 - continue2.6564 - fi2.6565 - ac_cv_prog_CC="cc"2.6566 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.6567 - break 22.6568 - fi2.6569 -done2.6570 -done2.6571 -IFS=$as_save_IFS2.6572 -2.6573 -if test $ac_prog_rejected = yes; then2.6574 - # We found a bogon in the path, so make sure we never use it.2.6575 - set dummy $ac_cv_prog_CC2.6576 - shift2.6577 - if test $# != 0; then2.6578 - # We chose a different compiler from the bogus one.2.6579 - # However, it has the same basename, so the bogon will be chosen2.6580 - # first if we set CC to just the basename; use the full file name.2.6581 - shift2.6582 - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"2.6583 - fi2.6584 -fi2.6585 -fi2.6586 -fi2.6587 -CC=$ac_cv_prog_CC2.6588 -if test -n "$CC"; then2.6589 - { echo "$as_me:$LINENO: result: $CC" >&52.6590 -echo "${ECHO_T}$CC" >&6; }2.6591 -else2.6592 - { echo "$as_me:$LINENO: result: no" >&52.6593 -echo "${ECHO_T}no" >&6; }2.6594 -fi2.6595 -2.6596 -2.6597 -fi2.6598 -if test -z "$CC"; then2.6599 - if test -n "$ac_tool_prefix"; then2.6600 - for ac_prog in cl.exe2.6601 - do2.6602 - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.2.6603 -set dummy $ac_tool_prefix$ac_prog; ac_word=$22.6604 -{ echo "$as_me:$LINENO: checking for $ac_word" >&52.6605 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.6606 -if test "${ac_cv_prog_CC+set}" = set; then2.6607 - echo $ECHO_N "(cached) $ECHO_C" >&62.6608 -else2.6609 - if test -n "$CC"; then2.6610 - ac_cv_prog_CC="$CC" # Let the user override the test.2.6611 -else2.6612 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.6613 -for as_dir in $PATH2.6614 -do2.6615 - IFS=$as_save_IFS2.6616 - test -z "$as_dir" && as_dir=.2.6617 - for ac_exec_ext in '' $ac_executable_extensions; do2.6618 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.6619 - ac_cv_prog_CC="$ac_tool_prefix$ac_prog"2.6620 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.6621 - break 22.6622 - fi2.6623 -done2.6624 -done2.6625 -IFS=$as_save_IFS2.6626 -2.6627 -fi2.6628 -fi2.6629 -CC=$ac_cv_prog_CC2.6630 -if test -n "$CC"; then2.6631 - { echo "$as_me:$LINENO: result: $CC" >&52.6632 -echo "${ECHO_T}$CC" >&6; }2.6633 -else2.6634 - { echo "$as_me:$LINENO: result: no" >&52.6635 -echo "${ECHO_T}no" >&6; }2.6636 -fi2.6637 -2.6638 -2.6639 - test -n "$CC" && break2.6640 - done2.6641 -fi2.6642 -if test -z "$CC"; then2.6643 - ac_ct_CC=$CC2.6644 - for ac_prog in cl.exe2.6645 -do2.6646 - # Extract the first word of "$ac_prog", so it can be a program name with args.2.6647 -set dummy $ac_prog; ac_word=$22.6648 -{ echo "$as_me:$LINENO: checking for $ac_word" >&52.6649 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.6650 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2.6651 - echo $ECHO_N "(cached) $ECHO_C" >&62.6652 -else2.6653 - if test -n "$ac_ct_CC"; then2.6654 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.2.6655 -else2.6656 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.6657 -for as_dir in $PATH2.6658 -do2.6659 - IFS=$as_save_IFS2.6660 - test -z "$as_dir" && as_dir=.2.6661 - for ac_exec_ext in '' $ac_executable_extensions; do2.6662 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.6663 - ac_cv_prog_ac_ct_CC="$ac_prog"2.6664 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.6665 - break 22.6666 - fi2.6667 -done2.6668 -done2.6669 -IFS=$as_save_IFS2.6670 -2.6671 -fi2.6672 -fi2.6673 -ac_ct_CC=$ac_cv_prog_ac_ct_CC2.6674 -if test -n "$ac_ct_CC"; then2.6675 - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52.6676 -echo "${ECHO_T}$ac_ct_CC" >&6; }2.6677 -else2.6678 - { echo "$as_me:$LINENO: result: no" >&52.6679 -echo "${ECHO_T}no" >&6; }2.6680 -fi2.6681 -2.6682 -2.6683 - test -n "$ac_ct_CC" && break2.6684 -done2.6685 -2.6686 - if test "x$ac_ct_CC" = x; then2.6687 - CC=""2.6688 - else2.6689 - case $cross_compiling:$ac_tool_warned in2.6690 -yes:)2.6691 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools2.6692 -whose name does not start with the host triplet. If you think this2.6693 -configuration is useful to you, please write to autoconf@gnu.org." >&52.6694 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools2.6695 -whose name does not start with the host triplet. If you think this2.6696 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}2.6697 -ac_tool_warned=yes ;;2.6698 -esac2.6699 - CC=$ac_ct_CC2.6700 - fi2.6701 -fi2.6702 -2.6703 -fi2.6704 -2.6705 -2.6706 -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH2.6707 -See \`config.log' for more details." >&52.6708 -echo "$as_me: error: no acceptable C compiler found in \$PATH2.6709 -See \`config.log' for more details." >&2;}2.6710 - { (exit 1); exit 1; }; }2.6711 -2.6712 -# Provide some information about the compiler.2.6713 -echo "$as_me:$LINENO: checking for C compiler version" >&52.6714 -ac_compiler=`set X $ac_compile; echo $2`2.6715 -{ (ac_try="$ac_compiler --version >&5"2.6716 -case "(($ac_try" in2.6717 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.6718 - *) ac_try_echo=$ac_try;;2.6719 -esac2.6720 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.6721 - (eval "$ac_compiler --version >&5") 2>&52.6722 - ac_status=$?2.6723 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.6724 - (exit $ac_status); }2.6725 -{ (ac_try="$ac_compiler -v >&5"2.6726 -case "(($ac_try" in2.6727 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.6728 - *) ac_try_echo=$ac_try;;2.6729 -esac2.6730 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.6731 - (eval "$ac_compiler -v >&5") 2>&52.6732 - ac_status=$?2.6733 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.6734 - (exit $ac_status); }2.6735 -{ (ac_try="$ac_compiler -V >&5"2.6736 -case "(($ac_try" in2.6737 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.6738 - *) ac_try_echo=$ac_try;;2.6739 -esac2.6740 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.6741 - (eval "$ac_compiler -V >&5") 2>&52.6742 - ac_status=$?2.6743 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.6744 - (exit $ac_status); }2.6745 -2.6746 -cat >conftest.$ac_ext <<_ACEOF2.6747 -/* confdefs.h. */2.6748 -_ACEOF2.6749 -cat confdefs.h >>conftest.$ac_ext2.6750 -cat >>conftest.$ac_ext <<_ACEOF2.6751 -/* end confdefs.h. */2.6752 -2.6753 -int2.6754 -main ()2.6755 -{2.6756 -2.6757 - ;2.6758 - return 0;2.6759 -}2.6760 -_ACEOF2.6761 -ac_clean_files_save=$ac_clean_files2.6762 -ac_clean_files="$ac_clean_files a.out a.exe b.out"2.6763 -# Try to create an executable without -o first, disregard a.out.2.6764 -# It will help us diagnose broken compilers, and finding out an intuition2.6765 -# of exeext.2.6766 -{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&52.6767 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }2.6768 -ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`2.6769 -#2.6770 -# List of possible output files, starting from the most likely.2.6771 -# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)2.6772 -# only as a last resort. b.out is created by i960 compilers.2.6773 -ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'2.6774 -#2.6775 -# The IRIX 6 linker writes into existing files which may not be2.6776 -# executable, retaining their permissions. Remove them first so a2.6777 -# subsequent execution test works.2.6778 -ac_rmfiles=2.6779 -for ac_file in $ac_files2.6780 -do2.6781 - case $ac_file in2.6782 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;2.6783 - * ) ac_rmfiles="$ac_rmfiles $ac_file";;2.6784 - esac2.6785 -done2.6786 -rm -f $ac_rmfiles2.6787 -2.6788 -if { (ac_try="$ac_link_default"2.6789 -case "(($ac_try" in2.6790 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.6791 - *) ac_try_echo=$ac_try;;2.6792 -esac2.6793 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.6794 - (eval "$ac_link_default") 2>&52.6795 - ac_status=$?2.6796 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.6797 - (exit $ac_status); }; then2.6798 - # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.2.6799 -# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'2.6800 -# in a Makefile. We should not override ac_cv_exeext if it was cached,2.6801 -# so that the user can short-circuit this test for compilers unknown to2.6802 -# Autoconf.2.6803 -for ac_file in $ac_files ''2.6804 -do2.6805 - test -f "$ac_file" || continue2.6806 - case $ac_file in2.6807 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )2.6808 - ;;2.6809 - [ab].out )2.6810 - # We found the default executable, but exeext='' is most2.6811 - # certainly right.2.6812 - break;;2.6813 - *.* )2.6814 - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;2.6815 - then :; else2.6816 - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`2.6817 - fi2.6818 - # We set ac_cv_exeext here because the later test for it is not2.6819 - # safe: cross compilers may not add the suffix if given an `-o'2.6820 - # argument, so we may need to know it at that point already.2.6821 - # Even if this section looks crufty: it has the advantage of2.6822 - # actually working.2.6823 - break;;2.6824 - * )2.6825 - break;;2.6826 - esac2.6827 -done2.6828 -test "$ac_cv_exeext" = no && ac_cv_exeext=2.6829 -2.6830 -else2.6831 - ac_file=''2.6832 -fi2.6833 -2.6834 -{ echo "$as_me:$LINENO: result: $ac_file" >&52.6835 -echo "${ECHO_T}$ac_file" >&6; }2.6836 -if test -z "$ac_file"; then2.6837 - echo "$as_me: failed program was:" >&52.6838 -sed 's/^/| /' conftest.$ac_ext >&52.6839 -2.6840 -{ { echo "$as_me:$LINENO: error: C compiler cannot create executables2.6841 -See \`config.log' for more details." >&52.6842 -echo "$as_me: error: C compiler cannot create executables2.6843 -See \`config.log' for more details." >&2;}2.6844 - { (exit 77); exit 77; }; }2.6845 -fi2.6846 -2.6847 -ac_exeext=$ac_cv_exeext2.6848 -2.6849 -# Check that the compiler produces executables we can run. If not, either2.6850 -# the compiler is broken, or we cross compile.2.6851 -{ echo "$as_me:$LINENO: checking whether the C compiler works" >&52.6852 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }2.6853 -# FIXME: These cross compiler hacks should be removed for Autoconf 3.02.6854 -# If not cross compiling, check that we can run a simple program.2.6855 -if test "$cross_compiling" != yes; then2.6856 - if { ac_try='./$ac_file'2.6857 - { (case "(($ac_try" in2.6858 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.6859 - *) ac_try_echo=$ac_try;;2.6860 -esac2.6861 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.6862 - (eval "$ac_try") 2>&52.6863 - ac_status=$?2.6864 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.6865 - (exit $ac_status); }; }; then2.6866 - cross_compiling=no2.6867 - else2.6868 - if test "$cross_compiling" = maybe; then2.6869 - cross_compiling=yes2.6870 - else2.6871 - { { echo "$as_me:$LINENO: error: cannot run C compiled programs.2.6872 -If you meant to cross compile, use \`--host'.2.6873 -See \`config.log' for more details." >&52.6874 -echo "$as_me: error: cannot run C compiled programs.2.6875 -If you meant to cross compile, use \`--host'.2.6876 -See \`config.log' for more details." >&2;}2.6877 - { (exit 1); exit 1; }; }2.6878 - fi2.6879 - fi2.6880 -fi2.6881 -{ echo "$as_me:$LINENO: result: yes" >&52.6882 -echo "${ECHO_T}yes" >&6; }2.6883 -2.6884 -rm -f a.out a.exe conftest$ac_cv_exeext b.out2.6885 -ac_clean_files=$ac_clean_files_save2.6886 -# Check that the compiler produces executables we can run. If not, either2.6887 -# the compiler is broken, or we cross compile.2.6888 -{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&52.6889 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }2.6890 -{ echo "$as_me:$LINENO: result: $cross_compiling" >&52.6891 -echo "${ECHO_T}$cross_compiling" >&6; }2.6892 -2.6893 -{ echo "$as_me:$LINENO: checking for suffix of executables" >&52.6894 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }2.6895 -if { (ac_try="$ac_link"2.6896 -case "(($ac_try" in2.6897 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.6898 - *) ac_try_echo=$ac_try;;2.6899 -esac2.6900 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.6901 - (eval "$ac_link") 2>&52.6902 - ac_status=$?2.6903 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.6904 - (exit $ac_status); }; then2.6905 - # If both `conftest.exe' and `conftest' are `present' (well, observable)2.6906 -# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will2.6907 -# work properly (i.e., refer to `conftest.exe'), while it won't with2.6908 -# `rm'.2.6909 -for ac_file in conftest.exe conftest conftest.*; do2.6910 - test -f "$ac_file" || continue2.6911 - case $ac_file in2.6912 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;2.6913 - *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`2.6914 - break;;2.6915 - * ) break;;2.6916 - esac2.6917 -done2.6918 -else2.6919 - { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link2.6920 -See \`config.log' for more details." >&52.6921 -echo "$as_me: error: cannot compute suffix of executables: cannot compile and link2.6922 -See \`config.log' for more details." >&2;}2.6923 - { (exit 1); exit 1; }; }2.6924 -fi2.6925 -2.6926 -rm -f conftest$ac_cv_exeext2.6927 -{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&52.6928 -echo "${ECHO_T}$ac_cv_exeext" >&6; }2.6929 -2.6930 -rm -f conftest.$ac_ext2.6931 -EXEEXT=$ac_cv_exeext2.6932 -ac_exeext=$EXEEXT2.6933 -{ echo "$as_me:$LINENO: checking for suffix of object files" >&52.6934 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }2.6935 -if test "${ac_cv_objext+set}" = set; then2.6936 - echo $ECHO_N "(cached) $ECHO_C" >&62.6937 -else2.6938 - cat >conftest.$ac_ext <<_ACEOF2.6939 -/* confdefs.h. */2.6940 -_ACEOF2.6941 -cat confdefs.h >>conftest.$ac_ext2.6942 -cat >>conftest.$ac_ext <<_ACEOF2.6943 -/* end confdefs.h. */2.6944 -2.6945 -int2.6946 -main ()2.6947 -{2.6948 -2.6949 - ;2.6950 - return 0;2.6951 -}2.6952 -_ACEOF2.6953 -rm -f conftest.o conftest.obj2.6954 -if { (ac_try="$ac_compile"2.6955 -case "(($ac_try" in2.6956 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.6957 - *) ac_try_echo=$ac_try;;2.6958 -esac2.6959 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.6960 - (eval "$ac_compile") 2>&52.6961 - ac_status=$?2.6962 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.6963 - (exit $ac_status); }; then2.6964 - for ac_file in conftest.o conftest.obj conftest.*; do2.6965 - test -f "$ac_file" || continue;2.6966 - case $ac_file in2.6967 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;2.6968 - *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`2.6969 - break;;2.6970 - esac2.6971 -done2.6972 -else2.6973 - echo "$as_me: failed program was:" >&52.6974 -sed 's/^/| /' conftest.$ac_ext >&52.6975 -2.6976 -{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile2.6977 -See \`config.log' for more details." >&52.6978 -echo "$as_me: error: cannot compute suffix of object files: cannot compile2.6979 -See \`config.log' for more details." >&2;}2.6980 - { (exit 1); exit 1; }; }2.6981 -fi2.6982 -2.6983 -rm -f conftest.$ac_cv_objext conftest.$ac_ext2.6984 -fi2.6985 -{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&52.6986 -echo "${ECHO_T}$ac_cv_objext" >&6; }2.6987 -OBJEXT=$ac_cv_objext2.6988 -ac_objext=$OBJEXT2.6989 -{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&52.6990 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }2.6991 -if test "${ac_cv_c_compiler_gnu+set}" = set; then2.6992 - echo $ECHO_N "(cached) $ECHO_C" >&62.6993 -else2.6994 - cat >conftest.$ac_ext <<_ACEOF2.6995 -/* confdefs.h. */2.6996 -_ACEOF2.6997 -cat confdefs.h >>conftest.$ac_ext2.6998 -cat >>conftest.$ac_ext <<_ACEOF2.6999 -/* end confdefs.h. */2.7000 -2.7001 -int2.7002 -main ()2.7003 -{2.7004 -#ifndef __GNUC__2.7005 - choke me2.7006 -#endif2.7007 -2.7008 - ;2.7009 - return 0;2.7010 -}2.7011 -_ACEOF2.7012 -rm -f conftest.$ac_objext2.7013 -if { (ac_try="$ac_compile"2.7014 -case "(($ac_try" in2.7015 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.7016 - *) ac_try_echo=$ac_try;;2.7017 -esac2.7018 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.7019 - (eval "$ac_compile") 2>conftest.er12.7020 - ac_status=$?2.7021 - grep -v '^ *+' conftest.er1 >conftest.err2.7022 - rm -f conftest.er12.7023 - cat conftest.err >&52.7024 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.7025 - (exit $ac_status); } && {2.7026 - test -z "$ac_c_werror_flag" ||2.7027 - test ! -s conftest.err2.7028 - } && test -s conftest.$ac_objext; then2.7029 - ac_compiler_gnu=yes2.7030 -else2.7031 - echo "$as_me: failed program was:" >&52.7032 -sed 's/^/| /' conftest.$ac_ext >&52.7033 -2.7034 - ac_compiler_gnu=no2.7035 -fi2.7036 -2.7037 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2.7038 -ac_cv_c_compiler_gnu=$ac_compiler_gnu2.7039 -2.7040 -fi2.7041 -{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&52.7042 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }2.7043 -GCC=`test $ac_compiler_gnu = yes && echo yes`2.7044 -ac_test_CFLAGS=${CFLAGS+set}2.7045 -ac_save_CFLAGS=$CFLAGS2.7046 -{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&52.7047 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }2.7048 -if test "${ac_cv_prog_cc_g+set}" = set; then2.7049 - echo $ECHO_N "(cached) $ECHO_C" >&62.7050 -else2.7051 - ac_save_c_werror_flag=$ac_c_werror_flag2.7052 - ac_c_werror_flag=yes2.7053 - ac_cv_prog_cc_g=no2.7054 - CFLAGS="-g"2.7055 - cat >conftest.$ac_ext <<_ACEOF2.7056 -/* confdefs.h. */2.7057 -_ACEOF2.7058 -cat confdefs.h >>conftest.$ac_ext2.7059 -cat >>conftest.$ac_ext <<_ACEOF2.7060 -/* end confdefs.h. */2.7061 -2.7062 -int2.7063 -main ()2.7064 -{2.7065 -2.7066 - ;2.7067 - return 0;2.7068 -}2.7069 -_ACEOF2.7070 -rm -f conftest.$ac_objext2.7071 -if { (ac_try="$ac_compile"2.7072 -case "(($ac_try" in2.7073 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.7074 - *) ac_try_echo=$ac_try;;2.7075 -esac2.7076 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.7077 - (eval "$ac_compile") 2>conftest.er12.7078 - ac_status=$?2.7079 - grep -v '^ *+' conftest.er1 >conftest.err2.7080 - rm -f conftest.er12.7081 - cat conftest.err >&52.7082 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.7083 - (exit $ac_status); } && {2.7084 - test -z "$ac_c_werror_flag" ||2.7085 - test ! -s conftest.err2.7086 - } && test -s conftest.$ac_objext; then2.7087 - ac_cv_prog_cc_g=yes2.7088 -else2.7089 - echo "$as_me: failed program was:" >&52.7090 -sed 's/^/| /' conftest.$ac_ext >&52.7091 -2.7092 - CFLAGS=""2.7093 - cat >conftest.$ac_ext <<_ACEOF2.7094 -/* confdefs.h. */2.7095 -_ACEOF2.7096 -cat confdefs.h >>conftest.$ac_ext2.7097 -cat >>conftest.$ac_ext <<_ACEOF2.7098 -/* end confdefs.h. */2.7099 -2.7100 -int2.7101 -main ()2.7102 -{2.7103 -2.7104 - ;2.7105 - return 0;2.7106 -}2.7107 -_ACEOF2.7108 -rm -f conftest.$ac_objext2.7109 -if { (ac_try="$ac_compile"2.7110 -case "(($ac_try" in2.7111 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.7112 - *) ac_try_echo=$ac_try;;2.7113 -esac2.7114 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.7115 - (eval "$ac_compile") 2>conftest.er12.7116 - ac_status=$?2.7117 - grep -v '^ *+' conftest.er1 >conftest.err2.7118 - rm -f conftest.er12.7119 - cat conftest.err >&52.7120 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.7121 - (exit $ac_status); } && {2.7122 - test -z "$ac_c_werror_flag" ||2.7123 - test ! -s conftest.err2.7124 - } && test -s conftest.$ac_objext; then2.7125 - :2.7126 -else2.7127 - echo "$as_me: failed program was:" >&52.7128 -sed 's/^/| /' conftest.$ac_ext >&52.7129 -2.7130 - ac_c_werror_flag=$ac_save_c_werror_flag2.7131 - CFLAGS="-g"2.7132 - cat >conftest.$ac_ext <<_ACEOF2.7133 -/* confdefs.h. */2.7134 -_ACEOF2.7135 -cat confdefs.h >>conftest.$ac_ext2.7136 -cat >>conftest.$ac_ext <<_ACEOF2.7137 -/* end confdefs.h. */2.7138 -2.7139 -int2.7140 -main ()2.7141 -{2.7142 -2.7143 - ;2.7144 - return 0;2.7145 -}2.7146 -_ACEOF2.7147 -rm -f conftest.$ac_objext2.7148 -if { (ac_try="$ac_compile"2.7149 -case "(($ac_try" in2.7150 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.7151 - *) ac_try_echo=$ac_try;;2.7152 -esac2.7153 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.7154 - (eval "$ac_compile") 2>conftest.er12.7155 - ac_status=$?2.7156 - grep -v '^ *+' conftest.er1 >conftest.err2.7157 - rm -f conftest.er12.7158 - cat conftest.err >&52.7159 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.7160 - (exit $ac_status); } && {2.7161 - test -z "$ac_c_werror_flag" ||2.7162 - test ! -s conftest.err2.7163 - } && test -s conftest.$ac_objext; then2.7164 - ac_cv_prog_cc_g=yes2.7165 -else2.7166 - echo "$as_me: failed program was:" >&52.7167 -sed 's/^/| /' conftest.$ac_ext >&52.7168 -2.7169 -2.7170 -fi2.7171 -2.7172 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2.7173 -fi2.7174 -2.7175 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2.7176 -fi2.7177 -2.7178 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2.7179 - ac_c_werror_flag=$ac_save_c_werror_flag2.7180 -fi2.7181 -{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&52.7182 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }2.7183 -if test "$ac_test_CFLAGS" = set; then2.7184 - CFLAGS=$ac_save_CFLAGS2.7185 -elif test $ac_cv_prog_cc_g = yes; then2.7186 - if test "$GCC" = yes; then2.7187 - CFLAGS="-g -O2"2.7188 - else2.7189 - CFLAGS="-g"2.7190 - fi2.7191 -else2.7192 - if test "$GCC" = yes; then2.7193 - CFLAGS="-O2"2.7194 - else2.7195 - CFLAGS=2.7196 - fi2.7197 -fi2.7198 -{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&52.7199 -echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }2.7200 -if test "${ac_cv_prog_cc_c89+set}" = set; then2.7201 - echo $ECHO_N "(cached) $ECHO_C" >&62.7202 -else2.7203 - ac_cv_prog_cc_c89=no2.7204 -ac_save_CC=$CC2.7205 -cat >conftest.$ac_ext <<_ACEOF2.7206 -/* confdefs.h. */2.7207 -_ACEOF2.7208 -cat confdefs.h >>conftest.$ac_ext2.7209 -cat >>conftest.$ac_ext <<_ACEOF2.7210 -/* end confdefs.h. */2.7211 -#include <stdarg.h>2.7212 -#include <stdio.h>2.7213 -#include <sys/types.h>2.7214 -#include <sys/stat.h>2.7215 -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */2.7216 -struct buf { int x; };2.7217 -FILE * (*rcsopen) (struct buf *, struct stat *, int);2.7218 -static char *e (p, i)2.7219 - char **p;2.7220 - int i;2.7221 -{2.7222 - return p[i];2.7223 -}2.7224 -static char *f (char * (*g) (char **, int), char **p, ...)2.7225 -{2.7226 - char *s;2.7227 - va_list v;2.7228 - va_start (v,p);2.7229 - s = g (p, va_arg (v,int));2.7230 - va_end (v);2.7231 - return s;2.7232 -}2.7233 -2.7234 -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has2.7235 - function prototypes and stuff, but not '\xHH' hex character constants.2.7236 - These don't provoke an error unfortunately, instead are silently treated2.7237 - as 'x'. The following induces an error, until -std is added to get2.7238 - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an2.7239 - array size at least. It's necessary to write '\x00'==0 to get something2.7240 - that's true only with -std. */2.7241 -int osf4_cc_array ['\x00' == 0 ? 1 : -1];2.7242 -2.7243 -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters2.7244 - inside strings and character constants. */2.7245 -#define FOO(x) 'x'2.7246 -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];2.7247 -2.7248 -int test (int i, double x);2.7249 -struct s1 {int (*f) (int a);};2.7250 -struct s2 {int (*f) (double a);};2.7251 -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);2.7252 -int argc;2.7253 -char **argv;2.7254 -int2.7255 -main ()2.7256 -{2.7257 -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];2.7258 - ;2.7259 - return 0;2.7260 -}2.7261 -_ACEOF2.7262 -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \2.7263 - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"2.7264 -do2.7265 - CC="$ac_save_CC $ac_arg"2.7266 - rm -f conftest.$ac_objext2.7267 -if { (ac_try="$ac_compile"2.7268 -case "(($ac_try" in2.7269 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.7270 - *) ac_try_echo=$ac_try;;2.7271 -esac2.7272 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.7273 - (eval "$ac_compile") 2>conftest.er12.7274 - ac_status=$?2.7275 - grep -v '^ *+' conftest.er1 >conftest.err2.7276 - rm -f conftest.er12.7277 - cat conftest.err >&52.7278 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.7279 - (exit $ac_status); } && {2.7280 - test -z "$ac_c_werror_flag" ||2.7281 - test ! -s conftest.err2.7282 - } && test -s conftest.$ac_objext; then2.7283 - ac_cv_prog_cc_c89=$ac_arg2.7284 -else2.7285 - echo "$as_me: failed program was:" >&52.7286 -sed 's/^/| /' conftest.$ac_ext >&52.7287 -2.7288 -2.7289 -fi2.7290 -2.7291 -rm -f core conftest.err conftest.$ac_objext2.7292 - test "x$ac_cv_prog_cc_c89" != "xno" && break2.7293 -done2.7294 -rm -f conftest.$ac_ext2.7295 -CC=$ac_save_CC2.7296 -2.7297 -fi2.7298 -# AC_CACHE_VAL2.7299 -case "x$ac_cv_prog_cc_c89" in2.7300 - x)2.7301 - { echo "$as_me:$LINENO: result: none needed" >&52.7302 -echo "${ECHO_T}none needed" >&6; } ;;2.7303 - xno)2.7304 - { echo "$as_me:$LINENO: result: unsupported" >&52.7305 -echo "${ECHO_T}unsupported" >&6; } ;;2.7306 - *)2.7307 - CC="$CC $ac_cv_prog_cc_c89"2.7308 - { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&52.7309 -echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;2.7310 -esac2.7311 -2.7312 -2.7313 -ac_ext=c2.7314 -ac_cpp='$CPP $CPPFLAGS'2.7315 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'2.7316 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'2.7317 -ac_compiler_gnu=$ac_cv_c_compiler_gnu2.7318 -2.7319 -depcc="$CC" am_compiler_list=2.7320 -2.7321 -{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&52.7322 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }2.7323 -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then2.7324 - echo $ECHO_N "(cached) $ECHO_C" >&62.7325 -else2.7326 - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then2.7327 - # We make a subdir and do the tests there. Otherwise we can end up2.7328 - # making bogus files that we don't know about and never remove. For2.7329 - # instance it was reported that on HP-UX the gcc test will end up2.7330 - # making a dummy file named `D' -- because `-MD' means `put the output2.7331 - # in D'.2.7332 - mkdir conftest.dir2.7333 - # Copy depcomp to subdir because otherwise we won't find it if we're2.7334 - # using a relative directory.2.7335 - cp "$am_depcomp" conftest.dir2.7336 - cd conftest.dir2.7337 - # We will build objects and dependencies in a subdirectory because2.7338 - # it helps to detect inapplicable dependency modes. For instance2.7339 - # both Tru64's cc and ICC support -MD to output dependencies as a2.7340 - # side effect of compilation, but ICC will put the dependencies in2.7341 - # the current directory while Tru64 will put them in the object2.7342 - # directory.2.7343 - mkdir sub2.7344 -2.7345 - am_cv_CC_dependencies_compiler_type=none2.7346 - if test "$am_compiler_list" = ""; then2.7347 - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`2.7348 - fi2.7349 - for depmode in $am_compiler_list; do2.7350 - # Setup a source with many dependencies, because some compilers2.7351 - # like to wrap large dependency lists on column 80 (with \), and2.7352 - # we should not choose a depcomp mode which is confused by this.2.7353 - #2.7354 - # We need to recreate these files for each test, as the compiler may2.7355 - # overwrite some of them when testing with obscure command lines.2.7356 - # This happens at least with the AIX C compiler.2.7357 - : > sub/conftest.c2.7358 - for i in 1 2 3 4 5 6; do2.7359 - echo '#include "conftst'$i'.h"' >> sub/conftest.c2.7360 - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with2.7361 - # Solaris 8's {/usr,}/bin/sh.2.7362 - touch sub/conftst$i.h2.7363 - done2.7364 - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf2.7365 -2.7366 - case $depmode in2.7367 - nosideeffect)2.7368 - # after this tag, mechanisms are not by side-effect, so they'll2.7369 - # only be used when explicitly requested2.7370 - if test "x$enable_dependency_tracking" = xyes; then2.7371 - continue2.7372 - else2.7373 - break2.7374 - fi2.7375 - ;;2.7376 - none) break ;;2.7377 - esac2.7378 - # We check with `-c' and `-o' for the sake of the "dashmstdout"2.7379 - # mode. It turns out that the SunPro C++ compiler does not properly2.7380 - # handle `-M -o', and we need to detect this.2.7381 - if depmode=$depmode \2.7382 - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \2.7383 - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \2.7384 - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \2.7385 - >/dev/null 2>conftest.err &&2.7386 - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&2.7387 - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&2.7388 - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then2.7389 - # icc doesn't choke on unknown options, it will just issue warnings2.7390 - # or remarks (even with -Werror). So we grep stderr for any message2.7391 - # that says an option was ignored or not supported.2.7392 - # When given -MP, icc 7.0 and 7.1 complain thusly:2.7393 - # icc: Command line warning: ignoring option '-M'; no argument required2.7394 - # The diagnosis changed in icc 8.0:2.7395 - # icc: Command line remark: option '-MP' not supported2.7396 - if (grep 'ignoring option' conftest.err ||2.7397 - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else2.7398 - am_cv_CC_dependencies_compiler_type=$depmode2.7399 - break2.7400 - fi2.7401 - fi2.7402 - done2.7403 -2.7404 - cd ..2.7405 - rm -rf conftest.dir2.7406 -else2.7407 - am_cv_CC_dependencies_compiler_type=none2.7408 -fi2.7409 -2.7410 -fi2.7411 -{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&52.7412 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }2.7413 -CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type2.7414 -2.7415 -2.7416 -2.7417 -if2.7418 - test "x$enable_dependency_tracking" != xno \2.7419 - && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then2.7420 - am__fastdepCC_TRUE=2.7421 - am__fastdepCC_FALSE='#'2.7422 -else2.7423 - am__fastdepCC_TRUE='#'2.7424 - am__fastdepCC_FALSE=2.7425 -fi2.7426 -2.7427 -2.7428 -2.7429 -2.7430 - { echo "$as_me:$LINENO: checking for strerror in -lcposix" >&52.7431 -echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6; }2.7432 -if test "${ac_cv_lib_cposix_strerror+set}" = set; then2.7433 - echo $ECHO_N "(cached) $ECHO_C" >&62.7434 -else2.7435 - ac_check_lib_save_LIBS=$LIBS2.7436 -LIBS="-lcposix $LIBS"2.7437 -cat >conftest.$ac_ext <<_ACEOF2.7438 -/* confdefs.h. */2.7439 -_ACEOF2.7440 -cat confdefs.h >>conftest.$ac_ext2.7441 -cat >>conftest.$ac_ext <<_ACEOF2.7442 -/* end confdefs.h. */2.7443 -2.7444 -/* Override any GCC internal prototype to avoid an error.2.7445 - Use char because int might match the return type of a GCC2.7446 - builtin and then its argument prototype would still apply. */2.7447 -#ifdef __cplusplus2.7448 -extern "C"2.7449 -#endif2.7450 -char strerror ();2.7451 -int2.7452 -main ()2.7453 -{2.7454 -return strerror ();2.7455 - ;2.7456 - return 0;2.7457 -}2.7458 -_ACEOF2.7459 -rm -f conftest.$ac_objext conftest$ac_exeext2.7460 -if { (ac_try="$ac_link"2.7461 -case "(($ac_try" in2.7462 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.7463 - *) ac_try_echo=$ac_try;;2.7464 -esac2.7465 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.7466 - (eval "$ac_link") 2>conftest.er12.7467 - ac_status=$?2.7468 - grep -v '^ *+' conftest.er1 >conftest.err2.7469 - rm -f conftest.er12.7470 - cat conftest.err >&52.7471 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.7472 - (exit $ac_status); } && {2.7473 - test -z "$ac_c_werror_flag" ||2.7474 - test ! -s conftest.err2.7475 - } && test -s conftest$ac_exeext &&2.7476 - $as_test_x conftest$ac_exeext; then2.7477 - ac_cv_lib_cposix_strerror=yes2.7478 -else2.7479 - echo "$as_me: failed program was:" >&52.7480 -sed 's/^/| /' conftest.$ac_ext >&52.7481 -2.7482 - ac_cv_lib_cposix_strerror=no2.7483 -fi2.7484 -2.7485 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \2.7486 - conftest$ac_exeext conftest.$ac_ext2.7487 -LIBS=$ac_check_lib_save_LIBS2.7488 -fi2.7489 -{ echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&52.7490 -echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6; }2.7491 -if test $ac_cv_lib_cposix_strerror = yes; then2.7492 - LIBS="$LIBS -lcposix"2.7493 -fi2.7494 -2.7495 -2.7496 -2.7497 -ac_ext=c2.7498 -ac_cpp='$CPP $CPPFLAGS'2.7499 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'2.7500 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'2.7501 -ac_compiler_gnu=$ac_cv_c_compiler_gnu2.7502 -if test -n "$ac_tool_prefix"; then2.7503 - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.2.7504 -set dummy ${ac_tool_prefix}gcc; ac_word=$22.7505 -{ echo "$as_me:$LINENO: checking for $ac_word" >&52.7506 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.7507 -if test "${ac_cv_prog_CC+set}" = set; then2.7508 - echo $ECHO_N "(cached) $ECHO_C" >&62.7509 -else2.7510 - if test -n "$CC"; then2.7511 - ac_cv_prog_CC="$CC" # Let the user override the test.2.7512 -else2.7513 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.7514 -for as_dir in $PATH2.7515 -do2.7516 - IFS=$as_save_IFS2.7517 - test -z "$as_dir" && as_dir=.2.7518 - for ac_exec_ext in '' $ac_executable_extensions; do2.7519 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.7520 - ac_cv_prog_CC="${ac_tool_prefix}gcc"2.7521 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.7522 - break 22.7523 - fi2.7524 -done2.7525 -done2.7526 -IFS=$as_save_IFS2.7527 -2.7528 -fi2.7529 -fi2.7530 -CC=$ac_cv_prog_CC2.7531 -if test -n "$CC"; then2.7532 - { echo "$as_me:$LINENO: result: $CC" >&52.7533 -echo "${ECHO_T}$CC" >&6; }2.7534 -else2.7535 - { echo "$as_me:$LINENO: result: no" >&52.7536 -echo "${ECHO_T}no" >&6; }2.7537 -fi2.7538 -2.7539 -2.7540 -fi2.7541 -if test -z "$ac_cv_prog_CC"; then2.7542 - ac_ct_CC=$CC2.7543 - # Extract the first word of "gcc", so it can be a program name with args.2.7544 -set dummy gcc; ac_word=$22.7545 -{ echo "$as_me:$LINENO: checking for $ac_word" >&52.7546 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.7547 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2.7548 - echo $ECHO_N "(cached) $ECHO_C" >&62.7549 -else2.7550 - if test -n "$ac_ct_CC"; then2.7551 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.2.7552 -else2.7553 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.7554 -for as_dir in $PATH2.7555 -do2.7556 - IFS=$as_save_IFS2.7557 - test -z "$as_dir" && as_dir=.2.7558 - for ac_exec_ext in '' $ac_executable_extensions; do2.7559 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.7560 - ac_cv_prog_ac_ct_CC="gcc"2.7561 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.7562 - break 22.7563 - fi2.7564 -done2.7565 -done2.7566 -IFS=$as_save_IFS2.7567 -2.7568 -fi2.7569 -fi2.7570 -ac_ct_CC=$ac_cv_prog_ac_ct_CC2.7571 -if test -n "$ac_ct_CC"; then2.7572 - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52.7573 -echo "${ECHO_T}$ac_ct_CC" >&6; }2.7574 -else2.7575 - { echo "$as_me:$LINENO: result: no" >&52.7576 -echo "${ECHO_T}no" >&6; }2.7577 -fi2.7578 -2.7579 - if test "x$ac_ct_CC" = x; then2.7580 - CC=""2.7581 - else2.7582 - case $cross_compiling:$ac_tool_warned in2.7583 -yes:)2.7584 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools2.7585 -whose name does not start with the host triplet. If you think this2.7586 -configuration is useful to you, please write to autoconf@gnu.org." >&52.7587 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools2.7588 -whose name does not start with the host triplet. If you think this2.7589 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}2.7590 -ac_tool_warned=yes ;;2.7591 -esac2.7592 - CC=$ac_ct_CC2.7593 - fi2.7594 -else2.7595 - CC="$ac_cv_prog_CC"2.7596 -fi2.7597 -2.7598 -if test -z "$CC"; then2.7599 - if test -n "$ac_tool_prefix"; then2.7600 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.2.7601 -set dummy ${ac_tool_prefix}cc; ac_word=$22.7602 -{ echo "$as_me:$LINENO: checking for $ac_word" >&52.7603 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.7604 -if test "${ac_cv_prog_CC+set}" = set; then2.7605 - echo $ECHO_N "(cached) $ECHO_C" >&62.7606 -else2.7607 - if test -n "$CC"; then2.7608 - ac_cv_prog_CC="$CC" # Let the user override the test.2.7609 -else2.7610 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.7611 -for as_dir in $PATH2.7612 -do2.7613 - IFS=$as_save_IFS2.7614 - test -z "$as_dir" && as_dir=.2.7615 - for ac_exec_ext in '' $ac_executable_extensions; do2.7616 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.7617 - ac_cv_prog_CC="${ac_tool_prefix}cc"2.7618 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.7619 - break 22.7620 - fi2.7621 -done2.7622 -done2.7623 -IFS=$as_save_IFS2.7624 -2.7625 -fi2.7626 -fi2.7627 -CC=$ac_cv_prog_CC2.7628 -if test -n "$CC"; then2.7629 - { echo "$as_me:$LINENO: result: $CC" >&52.7630 -echo "${ECHO_T}$CC" >&6; }2.7631 -else2.7632 - { echo "$as_me:$LINENO: result: no" >&52.7633 -echo "${ECHO_T}no" >&6; }2.7634 -fi2.7635 -2.7636 -2.7637 - fi2.7638 -fi2.7639 -if test -z "$CC"; then2.7640 - # Extract the first word of "cc", so it can be a program name with args.2.7641 -set dummy cc; ac_word=$22.7642 -{ echo "$as_me:$LINENO: checking for $ac_word" >&52.7643 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.7644 -if test "${ac_cv_prog_CC+set}" = set; then2.7645 - echo $ECHO_N "(cached) $ECHO_C" >&62.7646 -else2.7647 - if test -n "$CC"; then2.7648 - ac_cv_prog_CC="$CC" # Let the user override the test.2.7649 -else2.7650 - ac_prog_rejected=no2.7651 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.7652 -for as_dir in $PATH2.7653 -do2.7654 - IFS=$as_save_IFS2.7655 - test -z "$as_dir" && as_dir=.2.7656 - for ac_exec_ext in '' $ac_executable_extensions; do2.7657 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.7658 - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then2.7659 - ac_prog_rejected=yes2.7660 - continue2.7661 - fi2.7662 - ac_cv_prog_CC="cc"2.7663 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.7664 - break 22.7665 - fi2.7666 -done2.7667 -done2.7668 -IFS=$as_save_IFS2.7669 -2.7670 -if test $ac_prog_rejected = yes; then2.7671 - # We found a bogon in the path, so make sure we never use it.2.7672 - set dummy $ac_cv_prog_CC2.7673 - shift2.7674 - if test $# != 0; then2.7675 - # We chose a different compiler from the bogus one.2.7676 - # However, it has the same basename, so the bogon will be chosen2.7677 - # first if we set CC to just the basename; use the full file name.2.7678 - shift2.7679 - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"2.7680 - fi2.7681 -fi2.7682 -fi2.7683 -fi2.7684 -CC=$ac_cv_prog_CC2.7685 -if test -n "$CC"; then2.7686 - { echo "$as_me:$LINENO: result: $CC" >&52.7687 -echo "${ECHO_T}$CC" >&6; }2.7688 -else2.7689 - { echo "$as_me:$LINENO: result: no" >&52.7690 -echo "${ECHO_T}no" >&6; }2.7691 -fi2.7692 -2.7693 -2.7694 -fi2.7695 -if test -z "$CC"; then2.7696 - if test -n "$ac_tool_prefix"; then2.7697 - for ac_prog in cl.exe2.7698 - do2.7699 - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.2.7700 -set dummy $ac_tool_prefix$ac_prog; ac_word=$22.7701 -{ echo "$as_me:$LINENO: checking for $ac_word" >&52.7702 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.7703 -if test "${ac_cv_prog_CC+set}" = set; then2.7704 - echo $ECHO_N "(cached) $ECHO_C" >&62.7705 -else2.7706 - if test -n "$CC"; then2.7707 - ac_cv_prog_CC="$CC" # Let the user override the test.2.7708 -else2.7709 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.7710 -for as_dir in $PATH2.7711 -do2.7712 - IFS=$as_save_IFS2.7713 - test -z "$as_dir" && as_dir=.2.7714 - for ac_exec_ext in '' $ac_executable_extensions; do2.7715 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.7716 - ac_cv_prog_CC="$ac_tool_prefix$ac_prog"2.7717 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.7718 - break 22.7719 - fi2.7720 -done2.7721 -done2.7722 -IFS=$as_save_IFS2.7723 -2.7724 -fi2.7725 -fi2.7726 -CC=$ac_cv_prog_CC2.7727 -if test -n "$CC"; then2.7728 - { echo "$as_me:$LINENO: result: $CC" >&52.7729 -echo "${ECHO_T}$CC" >&6; }2.7730 -else2.7731 - { echo "$as_me:$LINENO: result: no" >&52.7732 -echo "${ECHO_T}no" >&6; }2.7733 -fi2.7734 -2.7735 -2.7736 - test -n "$CC" && break2.7737 - done2.7738 -fi2.7739 -if test -z "$CC"; then2.7740 - ac_ct_CC=$CC2.7741 - for ac_prog in cl.exe2.7742 -do2.7743 - # Extract the first word of "$ac_prog", so it can be a program name with args.2.7744 -set dummy $ac_prog; ac_word=$22.7745 -{ echo "$as_me:$LINENO: checking for $ac_word" >&52.7746 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.7747 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2.7748 - echo $ECHO_N "(cached) $ECHO_C" >&62.7749 -else2.7750 - if test -n "$ac_ct_CC"; then2.7751 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.2.7752 -else2.7753 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.7754 -for as_dir in $PATH2.7755 -do2.7756 - IFS=$as_save_IFS2.7757 - test -z "$as_dir" && as_dir=.2.7758 - for ac_exec_ext in '' $ac_executable_extensions; do2.7759 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.7760 - ac_cv_prog_ac_ct_CC="$ac_prog"2.7761 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.7762 - break 22.7763 - fi2.7764 -done2.7765 -done2.7766 -IFS=$as_save_IFS2.7767 -2.7768 -fi2.7769 -fi2.7770 -ac_ct_CC=$ac_cv_prog_ac_ct_CC2.7771 -if test -n "$ac_ct_CC"; then2.7772 - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52.7773 -echo "${ECHO_T}$ac_ct_CC" >&6; }2.7774 -else2.7775 - { echo "$as_me:$LINENO: result: no" >&52.7776 -echo "${ECHO_T}no" >&6; }2.7777 -fi2.7778 -2.7779 -2.7780 - test -n "$ac_ct_CC" && break2.7781 -done2.7782 -2.7783 - if test "x$ac_ct_CC" = x; then2.7784 - CC=""2.7785 - else2.7786 - case $cross_compiling:$ac_tool_warned in2.7787 -yes:)2.7788 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools2.7789 -whose name does not start with the host triplet. If you think this2.7790 -configuration is useful to you, please write to autoconf@gnu.org." >&52.7791 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools2.7792 -whose name does not start with the host triplet. If you think this2.7793 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}2.7794 -ac_tool_warned=yes ;;2.7795 -esac2.7796 - CC=$ac_ct_CC2.7797 - fi2.7798 -fi2.7799 -2.7800 -fi2.7801 -2.7802 -2.7803 -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH2.7804 -See \`config.log' for more details." >&52.7805 -echo "$as_me: error: no acceptable C compiler found in \$PATH2.7806 -See \`config.log' for more details." >&2;}2.7807 - { (exit 1); exit 1; }; }2.7808 -2.7809 -# Provide some information about the compiler.2.7810 -echo "$as_me:$LINENO: checking for C compiler version" >&52.7811 -ac_compiler=`set X $ac_compile; echo $2`2.7812 -{ (ac_try="$ac_compiler --version >&5"2.7813 -case "(($ac_try" in2.7814 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.7815 - *) ac_try_echo=$ac_try;;2.7816 -esac2.7817 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.7818 - (eval "$ac_compiler --version >&5") 2>&52.7819 - ac_status=$?2.7820 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.7821 - (exit $ac_status); }2.7822 -{ (ac_try="$ac_compiler -v >&5"2.7823 -case "(($ac_try" in2.7824 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.7825 - *) ac_try_echo=$ac_try;;2.7826 -esac2.7827 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.7828 - (eval "$ac_compiler -v >&5") 2>&52.7829 - ac_status=$?2.7830 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.7831 - (exit $ac_status); }2.7832 -{ (ac_try="$ac_compiler -V >&5"2.7833 -case "(($ac_try" in2.7834 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.7835 - *) ac_try_echo=$ac_try;;2.7836 -esac2.7837 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.7838 - (eval "$ac_compiler -V >&5") 2>&52.7839 - ac_status=$?2.7840 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.7841 - (exit $ac_status); }2.7842 -2.7843 -{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&52.7844 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }2.7845 -if test "${ac_cv_c_compiler_gnu+set}" = set; then2.7846 - echo $ECHO_N "(cached) $ECHO_C" >&62.7847 -else2.7848 - cat >conftest.$ac_ext <<_ACEOF2.7849 -/* confdefs.h. */2.7850 -_ACEOF2.7851 -cat confdefs.h >>conftest.$ac_ext2.7852 -cat >>conftest.$ac_ext <<_ACEOF2.7853 -/* end confdefs.h. */2.7854 -2.7855 -int2.7856 -main ()2.7857 -{2.7858 -#ifndef __GNUC__2.7859 - choke me2.7860 -#endif2.7861 -2.7862 - ;2.7863 - return 0;2.7864 -}2.7865 -_ACEOF2.7866 -rm -f conftest.$ac_objext2.7867 -if { (ac_try="$ac_compile"2.7868 -case "(($ac_try" in2.7869 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.7870 - *) ac_try_echo=$ac_try;;2.7871 -esac2.7872 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.7873 - (eval "$ac_compile") 2>conftest.er12.7874 - ac_status=$?2.7875 - grep -v '^ *+' conftest.er1 >conftest.err2.7876 - rm -f conftest.er12.7877 - cat conftest.err >&52.7878 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.7879 - (exit $ac_status); } && {2.7880 - test -z "$ac_c_werror_flag" ||2.7881 - test ! -s conftest.err2.7882 - } && test -s conftest.$ac_objext; then2.7883 - ac_compiler_gnu=yes2.7884 -else2.7885 - echo "$as_me: failed program was:" >&52.7886 -sed 's/^/| /' conftest.$ac_ext >&52.7887 -2.7888 - ac_compiler_gnu=no2.7889 -fi2.7890 -2.7891 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2.7892 -ac_cv_c_compiler_gnu=$ac_compiler_gnu2.7893 -2.7894 -fi2.7895 -{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&52.7896 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }2.7897 -GCC=`test $ac_compiler_gnu = yes && echo yes`2.7898 -ac_test_CFLAGS=${CFLAGS+set}2.7899 -ac_save_CFLAGS=$CFLAGS2.7900 -{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&52.7901 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }2.7902 -if test "${ac_cv_prog_cc_g+set}" = set; then2.7903 - echo $ECHO_N "(cached) $ECHO_C" >&62.7904 -else2.7905 - ac_save_c_werror_flag=$ac_c_werror_flag2.7906 - ac_c_werror_flag=yes2.7907 - ac_cv_prog_cc_g=no2.7908 - CFLAGS="-g"2.7909 - cat >conftest.$ac_ext <<_ACEOF2.7910 -/* confdefs.h. */2.7911 -_ACEOF2.7912 -cat confdefs.h >>conftest.$ac_ext2.7913 -cat >>conftest.$ac_ext <<_ACEOF2.7914 -/* end confdefs.h. */2.7915 -2.7916 -int2.7917 -main ()2.7918 -{2.7919 -2.7920 - ;2.7921 - return 0;2.7922 -}2.7923 -_ACEOF2.7924 -rm -f conftest.$ac_objext2.7925 -if { (ac_try="$ac_compile"2.7926 -case "(($ac_try" in2.7927 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.7928 - *) ac_try_echo=$ac_try;;2.7929 -esac2.7930 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.7931 - (eval "$ac_compile") 2>conftest.er12.7932 - ac_status=$?2.7933 - grep -v '^ *+' conftest.er1 >conftest.err2.7934 - rm -f conftest.er12.7935 - cat conftest.err >&52.7936 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.7937 - (exit $ac_status); } && {2.7938 - test -z "$ac_c_werror_flag" ||2.7939 - test ! -s conftest.err2.7940 - } && test -s conftest.$ac_objext; then2.7941 - ac_cv_prog_cc_g=yes2.7942 -else2.7943 - echo "$as_me: failed program was:" >&52.7944 -sed 's/^/| /' conftest.$ac_ext >&52.7945 -2.7946 - CFLAGS=""2.7947 - cat >conftest.$ac_ext <<_ACEOF2.7948 -/* confdefs.h. */2.7949 -_ACEOF2.7950 -cat confdefs.h >>conftest.$ac_ext2.7951 -cat >>conftest.$ac_ext <<_ACEOF2.7952 -/* end confdefs.h. */2.7953 -2.7954 -int2.7955 -main ()2.7956 -{2.7957 -2.7958 - ;2.7959 - return 0;2.7960 -}2.7961 -_ACEOF2.7962 -rm -f conftest.$ac_objext2.7963 -if { (ac_try="$ac_compile"2.7964 -case "(($ac_try" in2.7965 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.7966 - *) ac_try_echo=$ac_try;;2.7967 -esac2.7968 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.7969 - (eval "$ac_compile") 2>conftest.er12.7970 - ac_status=$?2.7971 - grep -v '^ *+' conftest.er1 >conftest.err2.7972 - rm -f conftest.er12.7973 - cat conftest.err >&52.7974 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.7975 - (exit $ac_status); } && {2.7976 - test -z "$ac_c_werror_flag" ||2.7977 - test ! -s conftest.err2.7978 - } && test -s conftest.$ac_objext; then2.7979 - :2.7980 -else2.7981 - echo "$as_me: failed program was:" >&52.7982 -sed 's/^/| /' conftest.$ac_ext >&52.7983 -2.7984 - ac_c_werror_flag=$ac_save_c_werror_flag2.7985 - CFLAGS="-g"2.7986 - cat >conftest.$ac_ext <<_ACEOF2.7987 -/* confdefs.h. */2.7988 -_ACEOF2.7989 -cat confdefs.h >>conftest.$ac_ext2.7990 -cat >>conftest.$ac_ext <<_ACEOF2.7991 -/* end confdefs.h. */2.7992 -2.7993 -int2.7994 -main ()2.7995 -{2.7996 -2.7997 - ;2.7998 - return 0;2.7999 -}2.8000 -_ACEOF2.8001 -rm -f conftest.$ac_objext2.8002 -if { (ac_try="$ac_compile"2.8003 -case "(($ac_try" in2.8004 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.8005 - *) ac_try_echo=$ac_try;;2.8006 -esac2.8007 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.8008 - (eval "$ac_compile") 2>conftest.er12.8009 - ac_status=$?2.8010 - grep -v '^ *+' conftest.er1 >conftest.err2.8011 - rm -f conftest.er12.8012 - cat conftest.err >&52.8013 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.8014 - (exit $ac_status); } && {2.8015 - test -z "$ac_c_werror_flag" ||2.8016 - test ! -s conftest.err2.8017 - } && test -s conftest.$ac_objext; then2.8018 - ac_cv_prog_cc_g=yes2.8019 -else2.8020 - echo "$as_me: failed program was:" >&52.8021 -sed 's/^/| /' conftest.$ac_ext >&52.8022 -2.8023 -2.8024 -fi2.8025 -2.8026 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2.8027 -fi2.8028 -2.8029 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2.8030 -fi2.8031 -2.8032 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2.8033 - ac_c_werror_flag=$ac_save_c_werror_flag2.8034 -fi2.8035 -{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&52.8036 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }2.8037 -if test "$ac_test_CFLAGS" = set; then2.8038 - CFLAGS=$ac_save_CFLAGS2.8039 -elif test $ac_cv_prog_cc_g = yes; then2.8040 - if test "$GCC" = yes; then2.8041 - CFLAGS="-g -O2"2.8042 - else2.8043 - CFLAGS="-g"2.8044 - fi2.8045 -else2.8046 - if test "$GCC" = yes; then2.8047 - CFLAGS="-O2"2.8048 - else2.8049 - CFLAGS=2.8050 - fi2.8051 -fi2.8052 -{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&52.8053 -echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }2.8054 -if test "${ac_cv_prog_cc_c89+set}" = set; then2.8055 - echo $ECHO_N "(cached) $ECHO_C" >&62.8056 -else2.8057 - ac_cv_prog_cc_c89=no2.8058 -ac_save_CC=$CC2.8059 -cat >conftest.$ac_ext <<_ACEOF2.8060 -/* confdefs.h. */2.8061 -_ACEOF2.8062 -cat confdefs.h >>conftest.$ac_ext2.8063 -cat >>conftest.$ac_ext <<_ACEOF2.8064 -/* end confdefs.h. */2.8065 -#include <stdarg.h>2.8066 -#include <stdio.h>2.8067 -#include <sys/types.h>2.8068 -#include <sys/stat.h>2.8069 -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */2.8070 -struct buf { int x; };2.8071 -FILE * (*rcsopen) (struct buf *, struct stat *, int);2.8072 -static char *e (p, i)2.8073 - char **p;2.8074 - int i;2.8075 -{2.8076 - return p[i];2.8077 -}2.8078 -static char *f (char * (*g) (char **, int), char **p, ...)2.8079 -{2.8080 - char *s;2.8081 - va_list v;2.8082 - va_start (v,p);2.8083 - s = g (p, va_arg (v,int));2.8084 - va_end (v);2.8085 - return s;2.8086 -}2.8087 -2.8088 -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has2.8089 - function prototypes and stuff, but not '\xHH' hex character constants.2.8090 - These don't provoke an error unfortunately, instead are silently treated2.8091 - as 'x'. The following induces an error, until -std is added to get2.8092 - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an2.8093 - array size at least. It's necessary to write '\x00'==0 to get something2.8094 - that's true only with -std. */2.8095 -int osf4_cc_array ['\x00' == 0 ? 1 : -1];2.8096 -2.8097 -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters2.8098 - inside strings and character constants. */2.8099 -#define FOO(x) 'x'2.8100 -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];2.8101 -2.8102 -int test (int i, double x);2.8103 -struct s1 {int (*f) (int a);};2.8104 -struct s2 {int (*f) (double a);};2.8105 -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);2.8106 -int argc;2.8107 -char **argv;2.8108 -int2.8109 -main ()2.8110 -{2.8111 -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];2.8112 - ;2.8113 - return 0;2.8114 -}2.8115 -_ACEOF2.8116 -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \2.8117 - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"2.8118 -do2.8119 - CC="$ac_save_CC $ac_arg"2.8120 - rm -f conftest.$ac_objext2.8121 -if { (ac_try="$ac_compile"2.8122 -case "(($ac_try" in2.8123 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.8124 - *) ac_try_echo=$ac_try;;2.8125 -esac2.8126 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.8127 - (eval "$ac_compile") 2>conftest.er12.8128 - ac_status=$?2.8129 - grep -v '^ *+' conftest.er1 >conftest.err2.8130 - rm -f conftest.er12.8131 - cat conftest.err >&52.8132 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.8133 - (exit $ac_status); } && {2.8134 - test -z "$ac_c_werror_flag" ||2.8135 - test ! -s conftest.err2.8136 - } && test -s conftest.$ac_objext; then2.8137 - ac_cv_prog_cc_c89=$ac_arg2.8138 -else2.8139 - echo "$as_me: failed program was:" >&52.8140 -sed 's/^/| /' conftest.$ac_ext >&52.8141 -2.8142 -2.8143 -fi2.8144 -2.8145 -rm -f core conftest.err conftest.$ac_objext2.8146 - test "x$ac_cv_prog_cc_c89" != "xno" && break2.8147 -done2.8148 -rm -f conftest.$ac_ext2.8149 -CC=$ac_save_CC2.8150 -2.8151 -fi2.8152 -# AC_CACHE_VAL2.8153 -case "x$ac_cv_prog_cc_c89" in2.8154 - x)2.8155 - { echo "$as_me:$LINENO: result: none needed" >&52.8156 -echo "${ECHO_T}none needed" >&6; } ;;2.8157 - xno)2.8158 - { echo "$as_me:$LINENO: result: unsupported" >&52.8159 -echo "${ECHO_T}unsupported" >&6; } ;;2.8160 - *)2.8161 - CC="$CC $ac_cv_prog_cc_c89"2.8162 - { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&52.8163 -echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;2.8164 -esac2.8165 -2.8166 -2.8167 -ac_ext=c2.8168 -ac_cpp='$CPP $CPPFLAGS'2.8169 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'2.8170 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'2.8171 -ac_compiler_gnu=$ac_cv_c_compiler_gnu2.8172 -2.8173 -depcc="$CC" am_compiler_list=2.8174 -2.8175 -{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&52.8176 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }2.8177 -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then2.8178 - echo $ECHO_N "(cached) $ECHO_C" >&62.8179 -else2.8180 - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then2.8181 - # We make a subdir and do the tests there. Otherwise we can end up2.8182 - # making bogus files that we don't know about and never remove. For2.8183 - # instance it was reported that on HP-UX the gcc test will end up2.8184 - # making a dummy file named `D' -- because `-MD' means `put the output2.8185 - # in D'.2.8186 - mkdir conftest.dir2.8187 - # Copy depcomp to subdir because otherwise we won't find it if we're2.8188 - # using a relative directory.2.8189 - cp "$am_depcomp" conftest.dir2.8190 - cd conftest.dir2.8191 - # We will build objects and dependencies in a subdirectory because2.8192 - # it helps to detect inapplicable dependency modes. For instance2.8193 - # both Tru64's cc and ICC support -MD to output dependencies as a2.8194 - # side effect of compilation, but ICC will put the dependencies in2.8195 - # the current directory while Tru64 will put them in the object2.8196 - # directory.2.8197 - mkdir sub2.8198 -2.8199 - am_cv_CC_dependencies_compiler_type=none2.8200 - if test "$am_compiler_list" = ""; then2.8201 - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`2.8202 - fi2.8203 - for depmode in $am_compiler_list; do2.8204 - # Setup a source with many dependencies, because some compilers2.8205 - # like to wrap large dependency lists on column 80 (with \), and2.8206 - # we should not choose a depcomp mode which is confused by this.2.8207 - #2.8208 - # We need to recreate these files for each test, as the compiler may2.8209 - # overwrite some of them when testing with obscure command lines.2.8210 - # This happens at least with the AIX C compiler.2.8211 - : > sub/conftest.c2.8212 - for i in 1 2 3 4 5 6; do2.8213 - echo '#include "conftst'$i'.h"' >> sub/conftest.c2.8214 - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with2.8215 - # Solaris 8's {/usr,}/bin/sh.2.8216 - touch sub/conftst$i.h2.8217 - done2.8218 - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf2.8219 -2.8220 - case $depmode in2.8221 - nosideeffect)2.8222 - # after this tag, mechanisms are not by side-effect, so they'll2.8223 - # only be used when explicitly requested2.8224 - if test "x$enable_dependency_tracking" = xyes; then2.8225 - continue2.8226 - else2.8227 - break2.8228 - fi2.8229 - ;;2.8230 - none) break ;;2.8231 - esac2.8232 - # We check with `-c' and `-o' for the sake of the "dashmstdout"2.8233 - # mode. It turns out that the SunPro C++ compiler does not properly2.8234 - # handle `-M -o', and we need to detect this.2.8235 - if depmode=$depmode \2.8236 - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \2.8237 - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \2.8238 - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \2.8239 - >/dev/null 2>conftest.err &&2.8240 - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&2.8241 - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&2.8242 - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then2.8243 - # icc doesn't choke on unknown options, it will just issue warnings2.8244 - # or remarks (even with -Werror). So we grep stderr for any message2.8245 - # that says an option was ignored or not supported.2.8246 - # When given -MP, icc 7.0 and 7.1 complain thusly:2.8247 - # icc: Command line warning: ignoring option '-M'; no argument required2.8248 - # The diagnosis changed in icc 8.0:2.8249 - # icc: Command line remark: option '-MP' not supported2.8250 - if (grep 'ignoring option' conftest.err ||2.8251 - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else2.8252 - am_cv_CC_dependencies_compiler_type=$depmode2.8253 - break2.8254 - fi2.8255 - fi2.8256 - done2.8257 -2.8258 - cd ..2.8259 - rm -rf conftest.dir2.8260 -else2.8261 - am_cv_CC_dependencies_compiler_type=none2.8262 -fi2.8263 -2.8264 -fi2.8265 -{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&52.8266 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }2.8267 -CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type2.8268 -2.8269 -2.8270 -2.8271 -if2.8272 - test "x$enable_dependency_tracking" != xno \2.8273 - && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then2.8274 - am__fastdepCC_TRUE=2.8275 - am__fastdepCC_FALSE='#'2.8276 -else2.8277 - am__fastdepCC_TRUE='#'2.8278 - am__fastdepCC_FALSE=2.8279 -fi2.8280 -2.8281 -2.8282 -ac_ext=c2.8283 -ac_cpp='$CPP $CPPFLAGS'2.8284 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'2.8285 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'2.8286 -ac_compiler_gnu=$ac_cv_c_compiler_gnu2.8287 -if test -n "$ac_tool_prefix"; then2.8288 - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.2.8289 -set dummy ${ac_tool_prefix}gcc; ac_word=$22.8290 -{ echo "$as_me:$LINENO: checking for $ac_word" >&52.8291 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.8292 -if test "${ac_cv_prog_CC+set}" = set; then2.8293 - echo $ECHO_N "(cached) $ECHO_C" >&62.8294 -else2.8295 - if test -n "$CC"; then2.8296 - ac_cv_prog_CC="$CC" # Let the user override the test.2.8297 -else2.8298 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.8299 -for as_dir in $PATH2.8300 -do2.8301 - IFS=$as_save_IFS2.8302 - test -z "$as_dir" && as_dir=.2.8303 - for ac_exec_ext in '' $ac_executable_extensions; do2.8304 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.8305 - ac_cv_prog_CC="${ac_tool_prefix}gcc"2.8306 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.8307 - break 22.8308 - fi2.8309 -done2.8310 -done2.8311 -IFS=$as_save_IFS2.8312 -2.8313 -fi2.8314 -fi2.8315 -CC=$ac_cv_prog_CC2.8316 -if test -n "$CC"; then2.8317 - { echo "$as_me:$LINENO: result: $CC" >&52.8318 -echo "${ECHO_T}$CC" >&6; }2.8319 -else2.8320 - { echo "$as_me:$LINENO: result: no" >&52.8321 -echo "${ECHO_T}no" >&6; }2.8322 -fi2.8323 -2.8324 -2.8325 -fi2.8326 -if test -z "$ac_cv_prog_CC"; then2.8327 - ac_ct_CC=$CC2.8328 - # Extract the first word of "gcc", so it can be a program name with args.2.8329 -set dummy gcc; ac_word=$22.8330 -{ echo "$as_me:$LINENO: checking for $ac_word" >&52.8331 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.8332 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2.8333 - echo $ECHO_N "(cached) $ECHO_C" >&62.8334 -else2.8335 - if test -n "$ac_ct_CC"; then2.8336 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.2.8337 -else2.8338 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.8339 -for as_dir in $PATH2.8340 -do2.8341 - IFS=$as_save_IFS2.8342 - test -z "$as_dir" && as_dir=.2.8343 - for ac_exec_ext in '' $ac_executable_extensions; do2.8344 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.8345 - ac_cv_prog_ac_ct_CC="gcc"2.8346 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.8347 - break 22.8348 - fi2.8349 -done2.8350 -done2.8351 -IFS=$as_save_IFS2.8352 -2.8353 -fi2.8354 -fi2.8355 -ac_ct_CC=$ac_cv_prog_ac_ct_CC2.8356 -if test -n "$ac_ct_CC"; then2.8357 - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52.8358 -echo "${ECHO_T}$ac_ct_CC" >&6; }2.8359 -else2.8360 - { echo "$as_me:$LINENO: result: no" >&52.8361 -echo "${ECHO_T}no" >&6; }2.8362 -fi2.8363 -2.8364 - if test "x$ac_ct_CC" = x; then2.8365 - CC=""2.8366 - else2.8367 - case $cross_compiling:$ac_tool_warned in2.8368 -yes:)2.8369 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools2.8370 -whose name does not start with the host triplet. If you think this2.8371 -configuration is useful to you, please write to autoconf@gnu.org." >&52.8372 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools2.8373 -whose name does not start with the host triplet. If you think this2.8374 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}2.8375 -ac_tool_warned=yes ;;2.8376 -esac2.8377 - CC=$ac_ct_CC2.8378 - fi2.8379 -else2.8380 - CC="$ac_cv_prog_CC"2.8381 -fi2.8382 -2.8383 -if test -z "$CC"; then2.8384 - if test -n "$ac_tool_prefix"; then2.8385 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.2.8386 -set dummy ${ac_tool_prefix}cc; ac_word=$22.8387 -{ echo "$as_me:$LINENO: checking for $ac_word" >&52.8388 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.8389 -if test "${ac_cv_prog_CC+set}" = set; then2.8390 - echo $ECHO_N "(cached) $ECHO_C" >&62.8391 -else2.8392 - if test -n "$CC"; then2.8393 - ac_cv_prog_CC="$CC" # Let the user override the test.2.8394 -else2.8395 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.8396 -for as_dir in $PATH2.8397 -do2.8398 - IFS=$as_save_IFS2.8399 - test -z "$as_dir" && as_dir=.2.8400 - for ac_exec_ext in '' $ac_executable_extensions; do2.8401 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.8402 - ac_cv_prog_CC="${ac_tool_prefix}cc"2.8403 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.8404 - break 22.8405 - fi2.8406 -done2.8407 -done2.8408 -IFS=$as_save_IFS2.8409 -2.8410 -fi2.8411 -fi2.8412 -CC=$ac_cv_prog_CC2.8413 -if test -n "$CC"; then2.8414 - { echo "$as_me:$LINENO: result: $CC" >&52.8415 -echo "${ECHO_T}$CC" >&6; }2.8416 -else2.8417 - { echo "$as_me:$LINENO: result: no" >&52.8418 -echo "${ECHO_T}no" >&6; }2.8419 -fi2.8420 -2.8421 -2.8422 - fi2.8423 -fi2.8424 -if test -z "$CC"; then2.8425 - # Extract the first word of "cc", so it can be a program name with args.2.8426 -set dummy cc; ac_word=$22.8427 -{ echo "$as_me:$LINENO: checking for $ac_word" >&52.8428 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.8429 -if test "${ac_cv_prog_CC+set}" = set; then2.8430 - echo $ECHO_N "(cached) $ECHO_C" >&62.8431 -else2.8432 - if test -n "$CC"; then2.8433 - ac_cv_prog_CC="$CC" # Let the user override the test.2.8434 -else2.8435 - ac_prog_rejected=no2.8436 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.8437 -for as_dir in $PATH2.8438 -do2.8439 - IFS=$as_save_IFS2.8440 - test -z "$as_dir" && as_dir=.2.8441 - for ac_exec_ext in '' $ac_executable_extensions; do2.8442 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.8443 - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then2.8444 - ac_prog_rejected=yes2.8445 - continue2.8446 - fi2.8447 - ac_cv_prog_CC="cc"2.8448 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.8449 - break 22.8450 - fi2.8451 -done2.8452 -done2.8453 -IFS=$as_save_IFS2.8454 -2.8455 -if test $ac_prog_rejected = yes; then2.8456 - # We found a bogon in the path, so make sure we never use it.2.8457 - set dummy $ac_cv_prog_CC2.8458 - shift2.8459 - if test $# != 0; then2.8460 - # We chose a different compiler from the bogus one.2.8461 - # However, it has the same basename, so the bogon will be chosen2.8462 - # first if we set CC to just the basename; use the full file name.2.8463 - shift2.8464 - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"2.8465 - fi2.8466 -fi2.8467 -fi2.8468 -fi2.8469 -CC=$ac_cv_prog_CC2.8470 -if test -n "$CC"; then2.8471 - { echo "$as_me:$LINENO: result: $CC" >&52.8472 -echo "${ECHO_T}$CC" >&6; }2.8473 -else2.8474 - { echo "$as_me:$LINENO: result: no" >&52.8475 -echo "${ECHO_T}no" >&6; }2.8476 -fi2.8477 -2.8478 -2.8479 -fi2.8480 -if test -z "$CC"; then2.8481 - if test -n "$ac_tool_prefix"; then2.8482 - for ac_prog in cl.exe2.8483 - do2.8484 - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.2.8485 -set dummy $ac_tool_prefix$ac_prog; ac_word=$22.8486 -{ echo "$as_me:$LINENO: checking for $ac_word" >&52.8487 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.8488 -if test "${ac_cv_prog_CC+set}" = set; then2.8489 - echo $ECHO_N "(cached) $ECHO_C" >&62.8490 -else2.8491 - if test -n "$CC"; then2.8492 - ac_cv_prog_CC="$CC" # Let the user override the test.2.8493 -else2.8494 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.8495 -for as_dir in $PATH2.8496 -do2.8497 - IFS=$as_save_IFS2.8498 - test -z "$as_dir" && as_dir=.2.8499 - for ac_exec_ext in '' $ac_executable_extensions; do2.8500 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.8501 - ac_cv_prog_CC="$ac_tool_prefix$ac_prog"2.8502 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.8503 - break 22.8504 - fi2.8505 -done2.8506 -done2.8507 -IFS=$as_save_IFS2.8508 -2.8509 -fi2.8510 -fi2.8511 -CC=$ac_cv_prog_CC2.8512 -if test -n "$CC"; then2.8513 - { echo "$as_me:$LINENO: result: $CC" >&52.8514 -echo "${ECHO_T}$CC" >&6; }2.8515 -else2.8516 - { echo "$as_me:$LINENO: result: no" >&52.8517 -echo "${ECHO_T}no" >&6; }2.8518 -fi2.8519 -2.8520 -2.8521 - test -n "$CC" && break2.8522 - done2.8523 -fi2.8524 -if test -z "$CC"; then2.8525 - ac_ct_CC=$CC2.8526 - for ac_prog in cl.exe2.8527 -do2.8528 - # Extract the first word of "$ac_prog", so it can be a program name with args.2.8529 -set dummy $ac_prog; ac_word=$22.8530 -{ echo "$as_me:$LINENO: checking for $ac_word" >&52.8531 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.8532 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2.8533 - echo $ECHO_N "(cached) $ECHO_C" >&62.8534 -else2.8535 - if test -n "$ac_ct_CC"; then2.8536 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.2.8537 -else2.8538 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.8539 -for as_dir in $PATH2.8540 -do2.8541 - IFS=$as_save_IFS2.8542 - test -z "$as_dir" && as_dir=.2.8543 - for ac_exec_ext in '' $ac_executable_extensions; do2.8544 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.8545 - ac_cv_prog_ac_ct_CC="$ac_prog"2.8546 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.8547 - break 22.8548 - fi2.8549 -done2.8550 -done2.8551 -IFS=$as_save_IFS2.8552 -2.8553 -fi2.8554 -fi2.8555 -ac_ct_CC=$ac_cv_prog_ac_ct_CC2.8556 -if test -n "$ac_ct_CC"; then2.8557 - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52.8558 -echo "${ECHO_T}$ac_ct_CC" >&6; }2.8559 -else2.8560 - { echo "$as_me:$LINENO: result: no" >&52.8561 -echo "${ECHO_T}no" >&6; }2.8562 -fi2.8563 -2.8564 -2.8565 - test -n "$ac_ct_CC" && break2.8566 -done2.8567 -2.8568 - if test "x$ac_ct_CC" = x; then2.8569 - CC=""2.8570 - else2.8571 - case $cross_compiling:$ac_tool_warned in2.8572 -yes:)2.8573 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools2.8574 -whose name does not start with the host triplet. If you think this2.8575 -configuration is useful to you, please write to autoconf@gnu.org." >&52.8576 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools2.8577 -whose name does not start with the host triplet. If you think this2.8578 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}2.8579 -ac_tool_warned=yes ;;2.8580 -esac2.8581 - CC=$ac_ct_CC2.8582 - fi2.8583 -fi2.8584 -2.8585 -fi2.8586 -2.8587 -2.8588 -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH2.8589 -See \`config.log' for more details." >&52.8590 -echo "$as_me: error: no acceptable C compiler found in \$PATH2.8591 -See \`config.log' for more details." >&2;}2.8592 - { (exit 1); exit 1; }; }2.8593 -2.8594 -# Provide some information about the compiler.2.8595 -echo "$as_me:$LINENO: checking for C compiler version" >&52.8596 -ac_compiler=`set X $ac_compile; echo $2`2.8597 -{ (ac_try="$ac_compiler --version >&5"2.8598 -case "(($ac_try" in2.8599 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.8600 - *) ac_try_echo=$ac_try;;2.8601 -esac2.8602 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.8603 - (eval "$ac_compiler --version >&5") 2>&52.8604 - ac_status=$?2.8605 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.8606 - (exit $ac_status); }2.8607 -{ (ac_try="$ac_compiler -v >&5"2.8608 -case "(($ac_try" in2.8609 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.8610 - *) ac_try_echo=$ac_try;;2.8611 -esac2.8612 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.8613 - (eval "$ac_compiler -v >&5") 2>&52.8614 - ac_status=$?2.8615 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.8616 - (exit $ac_status); }2.8617 -{ (ac_try="$ac_compiler -V >&5"2.8618 -case "(($ac_try" in2.8619 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.8620 - *) ac_try_echo=$ac_try;;2.8621 -esac2.8622 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.8623 - (eval "$ac_compiler -V >&5") 2>&52.8624 - ac_status=$?2.8625 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.8626 - (exit $ac_status); }2.8627 -2.8628 -{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&52.8629 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }2.8630 -if test "${ac_cv_c_compiler_gnu+set}" = set; then2.8631 - echo $ECHO_N "(cached) $ECHO_C" >&62.8632 -else2.8633 - cat >conftest.$ac_ext <<_ACEOF2.8634 -/* confdefs.h. */2.8635 -_ACEOF2.8636 -cat confdefs.h >>conftest.$ac_ext2.8637 -cat >>conftest.$ac_ext <<_ACEOF2.8638 -/* end confdefs.h. */2.8639 -2.8640 -int2.8641 -main ()2.8642 -{2.8643 -#ifndef __GNUC__2.8644 - choke me2.8645 -#endif2.8646 -2.8647 - ;2.8648 - return 0;2.8649 -}2.8650 -_ACEOF2.8651 -rm -f conftest.$ac_objext2.8652 -if { (ac_try="$ac_compile"2.8653 -case "(($ac_try" in2.8654 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.8655 - *) ac_try_echo=$ac_try;;2.8656 -esac2.8657 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.8658 - (eval "$ac_compile") 2>conftest.er12.8659 - ac_status=$?2.8660 - grep -v '^ *+' conftest.er1 >conftest.err2.8661 - rm -f conftest.er12.8662 - cat conftest.err >&52.8663 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.8664 - (exit $ac_status); } && {2.8665 - test -z "$ac_c_werror_flag" ||2.8666 - test ! -s conftest.err2.8667 - } && test -s conftest.$ac_objext; then2.8668 - ac_compiler_gnu=yes2.8669 -else2.8670 - echo "$as_me: failed program was:" >&52.8671 -sed 's/^/| /' conftest.$ac_ext >&52.8672 -2.8673 - ac_compiler_gnu=no2.8674 -fi2.8675 -2.8676 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2.8677 -ac_cv_c_compiler_gnu=$ac_compiler_gnu2.8678 -2.8679 -fi2.8680 -{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&52.8681 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }2.8682 -GCC=`test $ac_compiler_gnu = yes && echo yes`2.8683 -ac_test_CFLAGS=${CFLAGS+set}2.8684 -ac_save_CFLAGS=$CFLAGS2.8685 -{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&52.8686 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }2.8687 -if test "${ac_cv_prog_cc_g+set}" = set; then2.8688 - echo $ECHO_N "(cached) $ECHO_C" >&62.8689 -else2.8690 - ac_save_c_werror_flag=$ac_c_werror_flag2.8691 - ac_c_werror_flag=yes2.8692 - ac_cv_prog_cc_g=no2.8693 - CFLAGS="-g"2.8694 - cat >conftest.$ac_ext <<_ACEOF2.8695 -/* confdefs.h. */2.8696 -_ACEOF2.8697 -cat confdefs.h >>conftest.$ac_ext2.8698 -cat >>conftest.$ac_ext <<_ACEOF2.8699 -/* end confdefs.h. */2.8700 -2.8701 -int2.8702 -main ()2.8703 -{2.8704 -2.8705 - ;2.8706 - return 0;2.8707 -}2.8708 -_ACEOF2.8709 -rm -f conftest.$ac_objext2.8710 -if { (ac_try="$ac_compile"2.8711 -case "(($ac_try" in2.8712 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.8713 - *) ac_try_echo=$ac_try;;2.8714 -esac2.8715 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.8716 - (eval "$ac_compile") 2>conftest.er12.8717 - ac_status=$?2.8718 - grep -v '^ *+' conftest.er1 >conftest.err2.8719 - rm -f conftest.er12.8720 - cat conftest.err >&52.8721 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.8722 - (exit $ac_status); } && {2.8723 - test -z "$ac_c_werror_flag" ||2.8724 - test ! -s conftest.err2.8725 - } && test -s conftest.$ac_objext; then2.8726 - ac_cv_prog_cc_g=yes2.8727 -else2.8728 - echo "$as_me: failed program was:" >&52.8729 -sed 's/^/| /' conftest.$ac_ext >&52.8730 -2.8731 - CFLAGS=""2.8732 - cat >conftest.$ac_ext <<_ACEOF2.8733 -/* confdefs.h. */2.8734 -_ACEOF2.8735 -cat confdefs.h >>conftest.$ac_ext2.8736 -cat >>conftest.$ac_ext <<_ACEOF2.8737 -/* end confdefs.h. */2.8738 -2.8739 -int2.8740 -main ()2.8741 -{2.8742 -2.8743 - ;2.8744 - return 0;2.8745 -}2.8746 -_ACEOF2.8747 -rm -f conftest.$ac_objext2.8748 -if { (ac_try="$ac_compile"2.8749 -case "(($ac_try" in2.8750 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.8751 - *) ac_try_echo=$ac_try;;2.8752 -esac2.8753 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.8754 - (eval "$ac_compile") 2>conftest.er12.8755 - ac_status=$?2.8756 - grep -v '^ *+' conftest.er1 >conftest.err2.8757 - rm -f conftest.er12.8758 - cat conftest.err >&52.8759 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.8760 - (exit $ac_status); } && {2.8761 - test -z "$ac_c_werror_flag" ||2.8762 - test ! -s conftest.err2.8763 - } && test -s conftest.$ac_objext; then2.8764 - :2.8765 -else2.8766 - echo "$as_me: failed program was:" >&52.8767 -sed 's/^/| /' conftest.$ac_ext >&52.8768 -2.8769 - ac_c_werror_flag=$ac_save_c_werror_flag2.8770 - CFLAGS="-g"2.8771 - cat >conftest.$ac_ext <<_ACEOF2.8772 -/* confdefs.h. */2.8773 -_ACEOF2.8774 -cat confdefs.h >>conftest.$ac_ext2.8775 -cat >>conftest.$ac_ext <<_ACEOF2.8776 -/* end confdefs.h. */2.8777 -2.8778 -int2.8779 -main ()2.8780 -{2.8781 -2.8782 - ;2.8783 - return 0;2.8784 -}2.8785 -_ACEOF2.8786 -rm -f conftest.$ac_objext2.8787 -if { (ac_try="$ac_compile"2.8788 -case "(($ac_try" in2.8789 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.8790 - *) ac_try_echo=$ac_try;;2.8791 -esac2.8792 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.8793 - (eval "$ac_compile") 2>conftest.er12.8794 - ac_status=$?2.8795 - grep -v '^ *+' conftest.er1 >conftest.err2.8796 - rm -f conftest.er12.8797 - cat conftest.err >&52.8798 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.8799 - (exit $ac_status); } && {2.8800 - test -z "$ac_c_werror_flag" ||2.8801 - test ! -s conftest.err2.8802 - } && test -s conftest.$ac_objext; then2.8803 - ac_cv_prog_cc_g=yes2.8804 -else2.8805 - echo "$as_me: failed program was:" >&52.8806 -sed 's/^/| /' conftest.$ac_ext >&52.8807 -2.8808 -2.8809 -fi2.8810 -2.8811 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2.8812 -fi2.8813 -2.8814 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2.8815 -fi2.8816 -2.8817 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2.8818 - ac_c_werror_flag=$ac_save_c_werror_flag2.8819 -fi2.8820 -{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&52.8821 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }2.8822 -if test "$ac_test_CFLAGS" = set; then2.8823 - CFLAGS=$ac_save_CFLAGS2.8824 -elif test $ac_cv_prog_cc_g = yes; then2.8825 - if test "$GCC" = yes; then2.8826 - CFLAGS="-g -O2"2.8827 - else2.8828 - CFLAGS="-g"2.8829 - fi2.8830 -else2.8831 - if test "$GCC" = yes; then2.8832 - CFLAGS="-O2"2.8833 - else2.8834 - CFLAGS=2.8835 - fi2.8836 -fi2.8837 -{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&52.8838 -echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }2.8839 -if test "${ac_cv_prog_cc_c89+set}" = set; then2.8840 - echo $ECHO_N "(cached) $ECHO_C" >&62.8841 -else2.8842 - ac_cv_prog_cc_c89=no2.8843 -ac_save_CC=$CC2.8844 -cat >conftest.$ac_ext <<_ACEOF2.8845 -/* confdefs.h. */2.8846 -_ACEOF2.8847 -cat confdefs.h >>conftest.$ac_ext2.8848 -cat >>conftest.$ac_ext <<_ACEOF2.8849 -/* end confdefs.h. */2.8850 -#include <stdarg.h>2.8851 -#include <stdio.h>2.8852 -#include <sys/types.h>2.8853 -#include <sys/stat.h>2.8854 -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */2.8855 -struct buf { int x; };2.8856 -FILE * (*rcsopen) (struct buf *, struct stat *, int);2.8857 -static char *e (p, i)2.8858 - char **p;2.8859 - int i;2.8860 -{2.8861 - return p[i];2.8862 -}2.8863 -static char *f (char * (*g) (char **, int), char **p, ...)2.8864 -{2.8865 - char *s;2.8866 - va_list v;2.8867 - va_start (v,p);2.8868 - s = g (p, va_arg (v,int));2.8869 - va_end (v);2.8870 - return s;2.8871 -}2.8872 -2.8873 -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has2.8874 - function prototypes and stuff, but not '\xHH' hex character constants.2.8875 - These don't provoke an error unfortunately, instead are silently treated2.8876 - as 'x'. The following induces an error, until -std is added to get2.8877 - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an2.8878 - array size at least. It's necessary to write '\x00'==0 to get something2.8879 - that's true only with -std. */2.8880 -int osf4_cc_array ['\x00' == 0 ? 1 : -1];2.8881 -2.8882 -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters2.8883 - inside strings and character constants. */2.8884 -#define FOO(x) 'x'2.8885 -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];2.8886 -2.8887 -int test (int i, double x);2.8888 -struct s1 {int (*f) (int a);};2.8889 -struct s2 {int (*f) (double a);};2.8890 -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);2.8891 -int argc;2.8892 -char **argv;2.8893 -int2.8894 -main ()2.8895 -{2.8896 -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];2.8897 - ;2.8898 - return 0;2.8899 -}2.8900 -_ACEOF2.8901 -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \2.8902 - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"2.8903 -do2.8904 - CC="$ac_save_CC $ac_arg"2.8905 - rm -f conftest.$ac_objext2.8906 -if { (ac_try="$ac_compile"2.8907 -case "(($ac_try" in2.8908 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.8909 - *) ac_try_echo=$ac_try;;2.8910 -esac2.8911 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.8912 - (eval "$ac_compile") 2>conftest.er12.8913 - ac_status=$?2.8914 - grep -v '^ *+' conftest.er1 >conftest.err2.8915 - rm -f conftest.er12.8916 - cat conftest.err >&52.8917 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.8918 - (exit $ac_status); } && {2.8919 - test -z "$ac_c_werror_flag" ||2.8920 - test ! -s conftest.err2.8921 - } && test -s conftest.$ac_objext; then2.8922 - ac_cv_prog_cc_c89=$ac_arg2.8923 -else2.8924 - echo "$as_me: failed program was:" >&52.8925 -sed 's/^/| /' conftest.$ac_ext >&52.8926 -2.8927 -2.8928 -fi2.8929 -2.8930 -rm -f core conftest.err conftest.$ac_objext2.8931 - test "x$ac_cv_prog_cc_c89" != "xno" && break2.8932 -done2.8933 -rm -f conftest.$ac_ext2.8934 -CC=$ac_save_CC2.8935 -2.8936 -fi2.8937 -# AC_CACHE_VAL2.8938 -case "x$ac_cv_prog_cc_c89" in2.8939 - x)2.8940 - { echo "$as_me:$LINENO: result: none needed" >&52.8941 -echo "${ECHO_T}none needed" >&6; } ;;2.8942 - xno)2.8943 - { echo "$as_me:$LINENO: result: unsupported" >&52.8944 -echo "${ECHO_T}unsupported" >&6; } ;;2.8945 - *)2.8946 - CC="$CC $ac_cv_prog_cc_c89"2.8947 - { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&52.8948 -echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;2.8949 -esac2.8950 -2.8951 -2.8952 -ac_ext=c2.8953 -ac_cpp='$CPP $CPPFLAGS'2.8954 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'2.8955 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'2.8956 -ac_compiler_gnu=$ac_cv_c_compiler_gnu2.8957 -2.8958 -depcc="$CC" am_compiler_list=2.8959 -2.8960 -{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&52.8961 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }2.8962 -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then2.8963 - echo $ECHO_N "(cached) $ECHO_C" >&62.8964 -else2.8965 - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then2.8966 - # We make a subdir and do the tests there. Otherwise we can end up2.8967 - # making bogus files that we don't know about and never remove. For2.8968 - # instance it was reported that on HP-UX the gcc test will end up2.8969 - # making a dummy file named `D' -- because `-MD' means `put the output2.8970 - # in D'.2.8971 - mkdir conftest.dir2.8972 - # Copy depcomp to subdir because otherwise we won't find it if we're2.8973 - # using a relative directory.2.8974 - cp "$am_depcomp" conftest.dir2.8975 - cd conftest.dir2.8976 - # We will build objects and dependencies in a subdirectory because2.8977 - # it helps to detect inapplicable dependency modes. For instance2.8978 - # both Tru64's cc and ICC support -MD to output dependencies as a2.8979 - # side effect of compilation, but ICC will put the dependencies in2.8980 - # the current directory while Tru64 will put them in the object2.8981 - # directory.2.8982 - mkdir sub2.8983 -2.8984 - am_cv_CC_dependencies_compiler_type=none2.8985 - if test "$am_compiler_list" = ""; then2.8986 - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`2.8987 - fi2.8988 - for depmode in $am_compiler_list; do2.8989 - # Setup a source with many dependencies, because some compilers2.8990 - # like to wrap large dependency lists on column 80 (with \), and2.8991 - # we should not choose a depcomp mode which is confused by this.2.8992 - #2.8993 - # We need to recreate these files for each test, as the compiler may2.8994 - # overwrite some of them when testing with obscure command lines.2.8995 - # This happens at least with the AIX C compiler.2.8996 - : > sub/conftest.c2.8997 - for i in 1 2 3 4 5 6; do2.8998 - echo '#include "conftst'$i'.h"' >> sub/conftest.c2.8999 - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with2.9000 - # Solaris 8's {/usr,}/bin/sh.2.9001 - touch sub/conftst$i.h2.9002 - done2.9003 - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf2.9004 -2.9005 - case $depmode in2.9006 - nosideeffect)2.9007 - # after this tag, mechanisms are not by side-effect, so they'll2.9008 - # only be used when explicitly requested2.9009 - if test "x$enable_dependency_tracking" = xyes; then2.9010 - continue2.9011 - else2.9012 - break2.9013 - fi2.9014 - ;;2.9015 - none) break ;;2.9016 - esac2.9017 - # We check with `-c' and `-o' for the sake of the "dashmstdout"2.9018 - # mode. It turns out that the SunPro C++ compiler does not properly2.9019 - # handle `-M -o', and we need to detect this.2.9020 - if depmode=$depmode \2.9021 - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \2.9022 - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \2.9023 - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \2.9024 - >/dev/null 2>conftest.err &&2.9025 - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&2.9026 - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&2.9027 - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then2.9028 - # icc doesn't choke on unknown options, it will just issue warnings2.9029 - # or remarks (even with -Werror). So we grep stderr for any message2.9030 - # that says an option was ignored or not supported.2.9031 - # When given -MP, icc 7.0 and 7.1 complain thusly:2.9032 - # icc: Command line warning: ignoring option '-M'; no argument required2.9033 - # The diagnosis changed in icc 8.0:2.9034 - # icc: Command line remark: option '-MP' not supported2.9035 - if (grep 'ignoring option' conftest.err ||2.9036 - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else2.9037 - am_cv_CC_dependencies_compiler_type=$depmode2.9038 - break2.9039 - fi2.9040 - fi2.9041 - done2.9042 -2.9043 - cd ..2.9044 - rm -rf conftest.dir2.9045 -else2.9046 - am_cv_CC_dependencies_compiler_type=none2.9047 -fi2.9048 -2.9049 -fi2.9050 -{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&52.9051 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }2.9052 -CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type2.9053 -2.9054 -2.9055 -2.9056 -if2.9057 - test "x$enable_dependency_tracking" != xno \2.9058 - && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then2.9059 - am__fastdepCC_TRUE=2.9060 - am__fastdepCC_FALSE='#'2.9061 -else2.9062 - am__fastdepCC_TRUE='#'2.9063 - am__fastdepCC_FALSE=2.9064 -fi2.9065 -2.9066 -2.9067 -2.9068 -am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc2.9069 -2.9070 -ac_ext=c2.9071 -ac_cpp='$CPP $CPPFLAGS'2.9072 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'2.9073 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'2.9074 -ac_compiler_gnu=$ac_cv_c_compiler_gnu2.9075 -{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&52.9076 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }2.9077 -# On Suns, sometimes $CPP names a directory.2.9078 -if test -n "$CPP" && test -d "$CPP"; then2.9079 - CPP=2.9080 -fi2.9081 -if test -z "$CPP"; then2.9082 - if test "${ac_cv_prog_CPP+set}" = set; then2.9083 - echo $ECHO_N "(cached) $ECHO_C" >&62.9084 -else2.9085 - # Double quotes because CPP needs to be expanded2.9086 - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"2.9087 - do2.9088 - ac_preproc_ok=false2.9089 -for ac_c_preproc_warn_flag in '' yes2.9090 -do2.9091 - # Use a header file that comes with gcc, so configuring glibc2.9092 - # with a fresh cross-compiler works.2.9093 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since2.9094 - # <limits.h> exists even on freestanding compilers.2.9095 - # On the NeXT, cc -E runs the code through the compiler's parser,2.9096 - # not just through cpp. "Syntax error" is here to catch this case.2.9097 - cat >conftest.$ac_ext <<_ACEOF2.9098 -/* confdefs.h. */2.9099 -_ACEOF2.9100 -cat confdefs.h >>conftest.$ac_ext2.9101 -cat >>conftest.$ac_ext <<_ACEOF2.9102 -/* end confdefs.h. */2.9103 -#ifdef __STDC__2.9104 -# include <limits.h>2.9105 -#else2.9106 -# include <assert.h>2.9107 -#endif2.9108 - Syntax error2.9109 -_ACEOF2.9110 -if { (ac_try="$ac_cpp conftest.$ac_ext"2.9111 -case "(($ac_try" in2.9112 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.9113 - *) ac_try_echo=$ac_try;;2.9114 -esac2.9115 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.9116 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er12.9117 - ac_status=$?2.9118 - grep -v '^ *+' conftest.er1 >conftest.err2.9119 - rm -f conftest.er12.9120 - cat conftest.err >&52.9121 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.9122 - (exit $ac_status); } >/dev/null && {2.9123 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||2.9124 - test ! -s conftest.err2.9125 - }; then2.9126 - :2.9127 -else2.9128 - echo "$as_me: failed program was:" >&52.9129 -sed 's/^/| /' conftest.$ac_ext >&52.9130 -2.9131 - # Broken: fails on valid input.2.9132 -continue2.9133 -fi2.9134 -2.9135 -rm -f conftest.err conftest.$ac_ext2.9136 -2.9137 - # OK, works on sane cases. Now check whether nonexistent headers2.9138 - # can be detected and how.2.9139 - cat >conftest.$ac_ext <<_ACEOF2.9140 -/* confdefs.h. */2.9141 -_ACEOF2.9142 -cat confdefs.h >>conftest.$ac_ext2.9143 -cat >>conftest.$ac_ext <<_ACEOF2.9144 -/* end confdefs.h. */2.9145 -#include <ac_nonexistent.h>2.9146 -_ACEOF2.9147 -if { (ac_try="$ac_cpp conftest.$ac_ext"2.9148 -case "(($ac_try" in2.9149 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.9150 - *) ac_try_echo=$ac_try;;2.9151 -esac2.9152 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.9153 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er12.9154 - ac_status=$?2.9155 - grep -v '^ *+' conftest.er1 >conftest.err2.9156 - rm -f conftest.er12.9157 - cat conftest.err >&52.9158 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.9159 - (exit $ac_status); } >/dev/null && {2.9160 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||2.9161 - test ! -s conftest.err2.9162 - }; then2.9163 - # Broken: success on invalid input.2.9164 -continue2.9165 -else2.9166 - echo "$as_me: failed program was:" >&52.9167 -sed 's/^/| /' conftest.$ac_ext >&52.9168 -2.9169 - # Passes both tests.2.9170 -ac_preproc_ok=:2.9171 -break2.9172 -fi2.9173 -2.9174 -rm -f conftest.err conftest.$ac_ext2.9175 -2.9176 -done2.9177 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.2.9178 -rm -f conftest.err conftest.$ac_ext2.9179 -if $ac_preproc_ok; then2.9180 - break2.9181 -fi2.9182 -2.9183 - done2.9184 - ac_cv_prog_CPP=$CPP2.9185 -2.9186 -fi2.9187 - CPP=$ac_cv_prog_CPP2.9188 -else2.9189 - ac_cv_prog_CPP=$CPP2.9190 -fi2.9191 -{ echo "$as_me:$LINENO: result: $CPP" >&52.9192 -echo "${ECHO_T}$CPP" >&6; }2.9193 -ac_preproc_ok=false2.9194 -for ac_c_preproc_warn_flag in '' yes2.9195 -do2.9196 - # Use a header file that comes with gcc, so configuring glibc2.9197 - # with a fresh cross-compiler works.2.9198 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since2.9199 - # <limits.h> exists even on freestanding compilers.2.9200 - # On the NeXT, cc -E runs the code through the compiler's parser,2.9201 - # not just through cpp. "Syntax error" is here to catch this case.2.9202 - cat >conftest.$ac_ext <<_ACEOF2.9203 -/* confdefs.h. */2.9204 -_ACEOF2.9205 -cat confdefs.h >>conftest.$ac_ext2.9206 -cat >>conftest.$ac_ext <<_ACEOF2.9207 -/* end confdefs.h. */2.9208 -#ifdef __STDC__2.9209 -# include <limits.h>2.9210 -#else2.9211 -# include <assert.h>2.9212 -#endif2.9213 - Syntax error2.9214 -_ACEOF2.9215 -if { (ac_try="$ac_cpp conftest.$ac_ext"2.9216 -case "(($ac_try" in2.9217 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.9218 - *) ac_try_echo=$ac_try;;2.9219 -esac2.9220 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.9221 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er12.9222 - ac_status=$?2.9223 - grep -v '^ *+' conftest.er1 >conftest.err2.9224 - rm -f conftest.er12.9225 - cat conftest.err >&52.9226 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.9227 - (exit $ac_status); } >/dev/null && {2.9228 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||2.9229 - test ! -s conftest.err2.9230 - }; then2.9231 - :2.9232 -else2.9233 - echo "$as_me: failed program was:" >&52.9234 -sed 's/^/| /' conftest.$ac_ext >&52.9235 -2.9236 - # Broken: fails on valid input.2.9237 -continue2.9238 -fi2.9239 -2.9240 -rm -f conftest.err conftest.$ac_ext2.9241 -2.9242 - # OK, works on sane cases. Now check whether nonexistent headers2.9243 - # can be detected and how.2.9244 - cat >conftest.$ac_ext <<_ACEOF2.9245 -/* confdefs.h. */2.9246 -_ACEOF2.9247 -cat confdefs.h >>conftest.$ac_ext2.9248 -cat >>conftest.$ac_ext <<_ACEOF2.9249 -/* end confdefs.h. */2.9250 -#include <ac_nonexistent.h>2.9251 -_ACEOF2.9252 -if { (ac_try="$ac_cpp conftest.$ac_ext"2.9253 -case "(($ac_try" in2.9254 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.9255 - *) ac_try_echo=$ac_try;;2.9256 -esac2.9257 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.9258 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er12.9259 - ac_status=$?2.9260 - grep -v '^ *+' conftest.er1 >conftest.err2.9261 - rm -f conftest.er12.9262 - cat conftest.err >&52.9263 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.9264 - (exit $ac_status); } >/dev/null && {2.9265 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||2.9266 - test ! -s conftest.err2.9267 - }; then2.9268 - # Broken: success on invalid input.2.9269 -continue2.9270 -else2.9271 - echo "$as_me: failed program was:" >&52.9272 -sed 's/^/| /' conftest.$ac_ext >&52.9273 -2.9274 - # Passes both tests.2.9275 -ac_preproc_ok=:2.9276 -break2.9277 -fi2.9278 -2.9279 -rm -f conftest.err conftest.$ac_ext2.9280 -2.9281 -done2.9282 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.2.9283 -rm -f conftest.err conftest.$ac_ext2.9284 -if $ac_preproc_ok; then2.9285 - :2.9286 -else2.9287 - { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check2.9288 -See \`config.log' for more details." >&52.9289 -echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check2.9290 -See \`config.log' for more details." >&2;}2.9291 - { (exit 1); exit 1; }; }2.9292 -fi2.9293 -2.9294 -ac_ext=c2.9295 -ac_cpp='$CPP $CPPFLAGS'2.9296 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'2.9297 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'2.9298 -ac_compiler_gnu=$ac_cv_c_compiler_gnu2.9299 -2.9300 -2.9301 -ac_main_cc="$CC"2.9302 -test -n "$build_alias" && ac_build_tool_prefix=$build_alias-2.9303 -2.9304 -if test -z "$CC_FOR_BUILD"; then2.9305 - if test "$#" = yes; then2.9306 - { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling2.9307 -See \`config.log' for more details." >&52.9308 -echo "$as_me: error: cannot run test program while cross compiling2.9309 -See \`config.log' for more details." >&2;}2.9310 - { (exit 1); exit 1; }; }2.9311 -else2.9312 - cat >conftest.$ac_ext <<_ACEOF2.9313 -int main(){return 0;}2.9314 -_ACEOF2.9315 -rm -f conftest$ac_exeext2.9316 -if { (ac_try="$ac_link"2.9317 -case "(($ac_try" in2.9318 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.9319 - *) ac_try_echo=$ac_try;;2.9320 -esac2.9321 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.9322 - (eval "$ac_link") 2>&52.9323 - ac_status=$?2.9324 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.9325 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'2.9326 - { (case "(($ac_try" in2.9327 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.9328 - *) ac_try_echo=$ac_try;;2.9329 -esac2.9330 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.9331 - (eval "$ac_try") 2>&52.9332 - ac_status=$?2.9333 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.9334 - (exit $ac_status); }; }; then2.9335 - CC_FOR_BUILD="$CC"2.9336 -else2.9337 - echo "$as_me: program exited with status $ac_status" >&52.9338 -echo "$as_me: failed program was:" >&52.9339 -sed 's/^/| /' conftest.$ac_ext >&52.9340 -2.9341 -fi2.9342 -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext2.9343 -fi2.9344 -2.9345 -2.9346 -fi2.9347 -2.9348 -2.9349 -ac_ext=c2.9350 -ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'2.9351 -ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'2.9352 -ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'2.9353 -ac_build_compiler_gnu=$ac_cv_c_compiler_gnu2.9354 -if test -n "$ac_build_tool_prefix"; then2.9355 - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.2.9356 -set dummy ${ac_build_tool_prefix}gcc; ac_word=$22.9357 -{ echo "$as_me:$LINENO: checking for $ac_word" >&52.9358 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.9359 -if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then2.9360 - echo $ECHO_N "(cached) $ECHO_C" >&62.9361 -else2.9362 - if test -n "$CC_FOR_BUILD"; then2.9363 - ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.2.9364 -else2.9365 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.9366 -for as_dir in $PATH2.9367 -do2.9368 - IFS=$as_save_IFS2.9369 - test -z "$as_dir" && as_dir=.2.9370 - for ac_exec_ext in '' $ac_executable_extensions; do2.9371 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.9372 - ac_cv_prog_CC_FOR_BUILD="${ac_build_tool_prefix}gcc"2.9373 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.9374 - break 22.9375 - fi2.9376 -done2.9377 -done2.9378 -IFS=$as_save_IFS2.9379 -2.9380 -fi2.9381 -fi2.9382 -CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD2.9383 -if test -n "$CC_FOR_BUILD"; then2.9384 - { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&52.9385 -echo "${ECHO_T}$CC_FOR_BUILD" >&6; }2.9386 -else2.9387 - { echo "$as_me:$LINENO: result: no" >&52.9388 -echo "${ECHO_T}no" >&6; }2.9389 -fi2.9390 -2.9391 -2.9392 -fi2.9393 -if test -z "$ac_cv_prog_CC_FOR_BUILD"; then2.9394 - ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD2.9395 - # Extract the first word of "gcc", so it can be a program name with args.2.9396 -set dummy gcc; ac_word=$22.9397 -{ echo "$as_me:$LINENO: checking for $ac_word" >&52.9398 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.9399 -if test "${ac_cv_prog_ac_ct_CC_FOR_BUILD+set}" = set; then2.9400 - echo $ECHO_N "(cached) $ECHO_C" >&62.9401 -else2.9402 - if test -n "$ac_ct_CC_FOR_BUILD"; then2.9403 - ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test.2.9404 -else2.9405 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.9406 -for as_dir in $PATH2.9407 -do2.9408 - IFS=$as_save_IFS2.9409 - test -z "$as_dir" && as_dir=.2.9410 - for ac_exec_ext in '' $ac_executable_extensions; do2.9411 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.9412 - ac_cv_prog_ac_ct_CC_FOR_BUILD="gcc"2.9413 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.9414 - break 22.9415 - fi2.9416 -done2.9417 -done2.9418 -IFS=$as_save_IFS2.9419 -2.9420 -fi2.9421 -fi2.9422 -ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD2.9423 -if test -n "$ac_ct_CC_FOR_BUILD"; then2.9424 - { echo "$as_me:$LINENO: result: $ac_ct_CC_FOR_BUILD" >&52.9425 -echo "${ECHO_T}$ac_ct_CC_FOR_BUILD" >&6; }2.9426 -else2.9427 - { echo "$as_me:$LINENO: result: no" >&52.9428 -echo "${ECHO_T}no" >&6; }2.9429 -fi2.9430 -2.9431 - if test "x$ac_ct_CC_FOR_BUILD" = x; then2.9432 - CC_FOR_BUILD=""2.9433 - else2.9434 - case $#:$ac_tool_warned in2.9435 -yes:)2.9436 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools2.9437 -whose name does not start with the build triplet. If you think this2.9438 -configuration is useful to you, please write to autoconf@gnu.org." >&52.9439 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools2.9440 -whose name does not start with the build triplet. If you think this2.9441 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}2.9442 -ac_tool_warned=yes ;;2.9443 -esac2.9444 - CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD2.9445 - fi2.9446 -else2.9447 - CC_FOR_BUILD="$ac_cv_prog_CC_FOR_BUILD"2.9448 -fi2.9449 -2.9450 -if test -z "$CC_FOR_BUILD"; then2.9451 - if test -n "$ac_build_tool_prefix"; then2.9452 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.2.9453 -set dummy ${ac_build_tool_prefix}cc; ac_word=$22.9454 -{ echo "$as_me:$LINENO: checking for $ac_word" >&52.9455 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.9456 -if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then2.9457 - echo $ECHO_N "(cached) $ECHO_C" >&62.9458 -else2.9459 - if test -n "$CC_FOR_BUILD"; then2.9460 - ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.2.9461 -else2.9462 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.9463 -for as_dir in $PATH2.9464 -do2.9465 - IFS=$as_save_IFS2.9466 - test -z "$as_dir" && as_dir=.2.9467 - for ac_exec_ext in '' $ac_executable_extensions; do2.9468 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.9469 - ac_cv_prog_CC_FOR_BUILD="${ac_build_tool_prefix}cc"2.9470 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.9471 - break 22.9472 - fi2.9473 -done2.9474 -done2.9475 -IFS=$as_save_IFS2.9476 -2.9477 -fi2.9478 -fi2.9479 -CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD2.9480 -if test -n "$CC_FOR_BUILD"; then2.9481 - { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&52.9482 -echo "${ECHO_T}$CC_FOR_BUILD" >&6; }2.9483 -else2.9484 - { echo "$as_me:$LINENO: result: no" >&52.9485 -echo "${ECHO_T}no" >&6; }2.9486 -fi2.9487 -2.9488 -2.9489 - fi2.9490 -fi2.9491 -if test -z "$CC_FOR_BUILD"; then2.9492 - # Extract the first word of "cc", so it can be a program name with args.2.9493 -set dummy cc; ac_word=$22.9494 -{ echo "$as_me:$LINENO: checking for $ac_word" >&52.9495 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.9496 -if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then2.9497 - echo $ECHO_N "(cached) $ECHO_C" >&62.9498 -else2.9499 - if test -n "$CC_FOR_BUILD"; then2.9500 - ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.2.9501 -else2.9502 - ac_prog_rejected=no2.9503 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.9504 -for as_dir in $PATH2.9505 -do2.9506 - IFS=$as_save_IFS2.9507 - test -z "$as_dir" && as_dir=.2.9508 - for ac_exec_ext in '' $ac_executable_extensions; do2.9509 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.9510 - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then2.9511 - ac_prog_rejected=yes2.9512 - continue2.9513 - fi2.9514 - ac_cv_prog_CC_FOR_BUILD="cc"2.9515 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.9516 - break 22.9517 - fi2.9518 -done2.9519 -done2.9520 -IFS=$as_save_IFS2.9521 -2.9522 -if test $ac_prog_rejected = yes; then2.9523 - # We found a bogon in the path, so make sure we never use it.2.9524 - set dummy $ac_cv_prog_CC_FOR_BUILD2.9525 - shift2.9526 - if test $# != 0; then2.9527 - # We chose a different compiler from the bogus one.2.9528 - # However, it has the same basename, so the bogon will be chosen2.9529 - # first if we set CC_FOR_BUILD to just the basename; use the full file name.2.9530 - shift2.9531 - ac_cv_prog_CC_FOR_BUILD="$as_dir/$ac_word${1+' '}$@"2.9532 - fi2.9533 -fi2.9534 -fi2.9535 -fi2.9536 -CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD2.9537 -if test -n "$CC_FOR_BUILD"; then2.9538 - { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&52.9539 -echo "${ECHO_T}$CC_FOR_BUILD" >&6; }2.9540 -else2.9541 - { echo "$as_me:$LINENO: result: no" >&52.9542 -echo "${ECHO_T}no" >&6; }2.9543 -fi2.9544 -2.9545 -2.9546 -fi2.9547 -if test -z "$CC_FOR_BUILD"; then2.9548 - if test -n "$ac_build_tool_prefix"; then2.9549 - for ac_prog in cl.exe2.9550 - do2.9551 - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.2.9552 -set dummy $ac_build_tool_prefix$ac_prog; ac_word=$22.9553 -{ echo "$as_me:$LINENO: checking for $ac_word" >&52.9554 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.9555 -if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then2.9556 - echo $ECHO_N "(cached) $ECHO_C" >&62.9557 -else2.9558 - if test -n "$CC_FOR_BUILD"; then2.9559 - ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.2.9560 -else2.9561 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.9562 -for as_dir in $PATH2.9563 -do2.9564 - IFS=$as_save_IFS2.9565 - test -z "$as_dir" && as_dir=.2.9566 - for ac_exec_ext in '' $ac_executable_extensions; do2.9567 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.9568 - ac_cv_prog_CC_FOR_BUILD="$ac_build_tool_prefix$ac_prog"2.9569 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.9570 - break 22.9571 - fi2.9572 -done2.9573 -done2.9574 -IFS=$as_save_IFS2.9575 -2.9576 -fi2.9577 -fi2.9578 -CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD2.9579 -if test -n "$CC_FOR_BUILD"; then2.9580 - { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&52.9581 -echo "${ECHO_T}$CC_FOR_BUILD" >&6; }2.9582 -else2.9583 - { echo "$as_me:$LINENO: result: no" >&52.9584 -echo "${ECHO_T}no" >&6; }2.9585 -fi2.9586 -2.9587 -2.9588 - test -n "$CC_FOR_BUILD" && break2.9589 - done2.9590 -fi2.9591 -if test -z "$CC_FOR_BUILD"; then2.9592 - ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD2.9593 - for ac_prog in cl.exe2.9594 -do2.9595 - # Extract the first word of "$ac_prog", so it can be a program name with args.2.9596 -set dummy $ac_prog; ac_word=$22.9597 -{ echo "$as_me:$LINENO: checking for $ac_word" >&52.9598 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.9599 -if test "${ac_cv_prog_ac_ct_CC_FOR_BUILD+set}" = set; then2.9600 - echo $ECHO_N "(cached) $ECHO_C" >&62.9601 -else2.9602 - if test -n "$ac_ct_CC_FOR_BUILD"; then2.9603 - ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test.2.9604 -else2.9605 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.9606 -for as_dir in $PATH2.9607 -do2.9608 - IFS=$as_save_IFS2.9609 - test -z "$as_dir" && as_dir=.2.9610 - for ac_exec_ext in '' $ac_executable_extensions; do2.9611 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.9612 - ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_prog"2.9613 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.9614 - break 22.9615 - fi2.9616 -done2.9617 -done2.9618 -IFS=$as_save_IFS2.9619 -2.9620 -fi2.9621 -fi2.9622 -ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD2.9623 -if test -n "$ac_ct_CC_FOR_BUILD"; then2.9624 - { echo "$as_me:$LINENO: result: $ac_ct_CC_FOR_BUILD" >&52.9625 -echo "${ECHO_T}$ac_ct_CC_FOR_BUILD" >&6; }2.9626 -else2.9627 - { echo "$as_me:$LINENO: result: no" >&52.9628 -echo "${ECHO_T}no" >&6; }2.9629 -fi2.9630 -2.9631 -2.9632 - test -n "$ac_ct_CC_FOR_BUILD" && break2.9633 -done2.9634 -2.9635 - if test "x$ac_ct_CC_FOR_BUILD" = x; then2.9636 - CC_FOR_BUILD=""2.9637 - else2.9638 - case $#:$ac_tool_warned in2.9639 -yes:)2.9640 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools2.9641 -whose name does not start with the build triplet. If you think this2.9642 -configuration is useful to you, please write to autoconf@gnu.org." >&52.9643 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools2.9644 -whose name does not start with the build triplet. If you think this2.9645 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}2.9646 -ac_tool_warned=yes ;;2.9647 -esac2.9648 - CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD2.9649 - fi2.9650 -fi2.9651 -2.9652 -fi2.9653 -2.9654 -2.9655 -test -z "$CC_FOR_BUILD" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH2.9656 -See \`config.log' for more details." >&52.9657 -echo "$as_me: error: no acceptable C compiler found in \$PATH2.9658 -See \`config.log' for more details." >&2;}2.9659 - { (exit 1); exit 1; }; }2.9660 -2.9661 -# Provide some information about the compiler.2.9662 -echo "$as_me:$LINENO: checking for C compiler version" >&52.9663 -ac_compiler=`set X $ac_build_compile; echo $2`2.9664 -{ (ac_try="$ac_compiler --version >&5"2.9665 -case "(($ac_try" in2.9666 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.9667 - *) ac_try_echo=$ac_try;;2.9668 -esac2.9669 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.9670 - (eval "$ac_compiler --version >&5") 2>&52.9671 - ac_status=$?2.9672 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.9673 - (exit $ac_status); }2.9674 -{ (ac_try="$ac_compiler -v >&5"2.9675 -case "(($ac_try" in2.9676 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.9677 - *) ac_try_echo=$ac_try;;2.9678 -esac2.9679 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.9680 - (eval "$ac_compiler -v >&5") 2>&52.9681 - ac_status=$?2.9682 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.9683 - (exit $ac_status); }2.9684 -{ (ac_try="$ac_compiler -V >&5"2.9685 -case "(($ac_try" in2.9686 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.9687 - *) ac_try_echo=$ac_try;;2.9688 -esac2.9689 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.9690 - (eval "$ac_compiler -V >&5") 2>&52.9691 - ac_status=$?2.9692 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.9693 - (exit $ac_status); }2.9694 -2.9695 -{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&52.9696 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }2.9697 -if test "${ac_cv_c_compiler_gnu+set}" = set; then2.9698 - echo $ECHO_N "(cached) $ECHO_C" >&62.9699 -else2.9700 - cat >conftest.$ac_ext <<_ACEOF2.9701 -/* confdefs.h. */2.9702 -_ACEOF2.9703 -cat confdefs.h >>conftest.$ac_ext2.9704 -cat >>conftest.$ac_ext <<_ACEOF2.9705 -/* end confdefs.h. */2.9706 -2.9707 -int2.9708 -main ()2.9709 -{2.9710 -#ifndef __GNUC__2.9711 - choke me2.9712 -#endif2.9713 -2.9714 - ;2.9715 - return 0;2.9716 -}2.9717 -_ACEOF2.9718 -rm -f conftest.$ac_build_objext2.9719 -if { (ac_try="$ac_build_compile"2.9720 -case "(($ac_try" in2.9721 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.9722 - *) ac_try_echo=$ac_try;;2.9723 -esac2.9724 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.9725 - (eval "$ac_build_compile") 2>conftest.er12.9726 - ac_status=$?2.9727 - grep -v '^ *+' conftest.er1 >conftest.err2.9728 - rm -f conftest.er12.9729 - cat conftest.err >&52.9730 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.9731 - (exit $ac_status); } && {2.9732 - test -z "$ac_c_werror_flag" ||2.9733 - test ! -s conftest.err2.9734 - } && test -s conftest.$ac_build_objext; then2.9735 - ac_build_compiler_gnu=yes2.9736 -else2.9737 - echo "$as_me: failed program was:" >&52.9738 -sed 's/^/| /' conftest.$ac_ext >&52.9739 -2.9740 - ac_build_compiler_gnu=no2.9741 -fi2.9742 -2.9743 -rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext2.9744 -ac_cv_c_compiler_gnu=$ac_build_compiler_gnu2.9745 -2.9746 -fi2.9747 -{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&52.9748 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }2.9749 -GCC=`test $ac_build_compiler_gnu = yes && echo yes`2.9750 -ac_test_CFLAGS=${CFLAGS_FOR_BUILD+set}2.9751 -ac_save_CFLAGS=$CFLAGS_FOR_BUILD2.9752 -{ echo "$as_me:$LINENO: checking whether $CC_FOR_BUILD accepts -g" >&52.9753 -echo $ECHO_N "checking whether $CC_FOR_BUILD accepts -g... $ECHO_C" >&6; }2.9754 -if test "${ac_cv_build_prog_cc_g+set}" = set; then2.9755 - echo $ECHO_N "(cached) $ECHO_C" >&62.9756 -else2.9757 - ac_save_c_werror_flag=$ac_c_werror_flag2.9758 - ac_c_werror_flag=yes2.9759 - ac_cv_build_prog_cc_g=no2.9760 - CFLAGS_FOR_BUILD="-g"2.9761 - cat >conftest.$ac_ext <<_ACEOF2.9762 -/* confdefs.h. */2.9763 -_ACEOF2.9764 -cat confdefs.h >>conftest.$ac_ext2.9765 -cat >>conftest.$ac_ext <<_ACEOF2.9766 -/* end confdefs.h. */2.9767 -2.9768 -int2.9769 -main ()2.9770 -{2.9771 -2.9772 - ;2.9773 - return 0;2.9774 -}2.9775 -_ACEOF2.9776 -rm -f conftest.$ac_build_objext2.9777 -if { (ac_try="$ac_build_compile"2.9778 -case "(($ac_try" in2.9779 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.9780 - *) ac_try_echo=$ac_try;;2.9781 -esac2.9782 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.9783 - (eval "$ac_build_compile") 2>conftest.er12.9784 - ac_status=$?2.9785 - grep -v '^ *+' conftest.er1 >conftest.err2.9786 - rm -f conftest.er12.9787 - cat conftest.err >&52.9788 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.9789 - (exit $ac_status); } && {2.9790 - test -z "$ac_c_werror_flag" ||2.9791 - test ! -s conftest.err2.9792 - } && test -s conftest.$ac_build_objext; then2.9793 - ac_cv_build_prog_cc_g=yes2.9794 -else2.9795 - echo "$as_me: failed program was:" >&52.9796 -sed 's/^/| /' conftest.$ac_ext >&52.9797 -2.9798 - CFLAGS_FOR_BUILD=""2.9799 - cat >conftest.$ac_ext <<_ACEOF2.9800 -/* confdefs.h. */2.9801 -_ACEOF2.9802 -cat confdefs.h >>conftest.$ac_ext2.9803 -cat >>conftest.$ac_ext <<_ACEOF2.9804 -/* end confdefs.h. */2.9805 -2.9806 -int2.9807 -main ()2.9808 -{2.9809 -2.9810 - ;2.9811 - return 0;2.9812 -}2.9813 -_ACEOF2.9814 -rm -f conftest.$ac_build_objext2.9815 -if { (ac_try="$ac_build_compile"2.9816 -case "(($ac_try" in2.9817 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.9818 - *) ac_try_echo=$ac_try;;2.9819 -esac2.9820 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.9821 - (eval "$ac_build_compile") 2>conftest.er12.9822 - ac_status=$?2.9823 - grep -v '^ *+' conftest.er1 >conftest.err2.9824 - rm -f conftest.er12.9825 - cat conftest.err >&52.9826 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.9827 - (exit $ac_status); } && {2.9828 - test -z "$ac_c_werror_flag" ||2.9829 - test ! -s conftest.err2.9830 - } && test -s conftest.$ac_build_objext; then2.9831 - :2.9832 -else2.9833 - echo "$as_me: failed program was:" >&52.9834 -sed 's/^/| /' conftest.$ac_ext >&52.9835 -2.9836 - ac_c_werror_flag=$ac_save_c_werror_flag2.9837 - CFLAGS_FOR_BUILD="-g"2.9838 - cat >conftest.$ac_ext <<_ACEOF2.9839 -/* confdefs.h. */2.9840 -_ACEOF2.9841 -cat confdefs.h >>conftest.$ac_ext2.9842 -cat >>conftest.$ac_ext <<_ACEOF2.9843 -/* end confdefs.h. */2.9844 -2.9845 -int2.9846 -main ()2.9847 -{2.9848 -2.9849 - ;2.9850 - return 0;2.9851 -}2.9852 -_ACEOF2.9853 -rm -f conftest.$ac_build_objext2.9854 -if { (ac_try="$ac_build_compile"2.9855 -case "(($ac_try" in2.9856 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.9857 - *) ac_try_echo=$ac_try;;2.9858 -esac2.9859 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.9860 - (eval "$ac_build_compile") 2>conftest.er12.9861 - ac_status=$?2.9862 - grep -v '^ *+' conftest.er1 >conftest.err2.9863 - rm -f conftest.er12.9864 - cat conftest.err >&52.9865 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.9866 - (exit $ac_status); } && {2.9867 - test -z "$ac_c_werror_flag" ||2.9868 - test ! -s conftest.err2.9869 - } && test -s conftest.$ac_build_objext; then2.9870 - ac_cv_build_prog_cc_g=yes2.9871 -else2.9872 - echo "$as_me: failed program was:" >&52.9873 -sed 's/^/| /' conftest.$ac_ext >&52.9874 -2.9875 -2.9876 -fi2.9877 -2.9878 -rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext2.9879 -fi2.9880 -2.9881 -rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext2.9882 -fi2.9883 -2.9884 -rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext2.9885 - ac_c_werror_flag=$ac_save_c_werror_flag2.9886 -fi2.9887 -{ echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_g" >&52.9888 -echo "${ECHO_T}$ac_cv_build_prog_cc_g" >&6; }2.9889 -if test "$ac_test_CFLAGS" = set; then2.9890 - CFLAGS_FOR_BUILD=$ac_save_CFLAGS2.9891 -elif test $ac_cv_build_prog_cc_g = yes; then2.9892 - if test "$GCC" = yes; then2.9893 - CFLAGS_FOR_BUILD="-g -O2"2.9894 - else2.9895 - CFLAGS_FOR_BUILD="-g"2.9896 - fi2.9897 -else2.9898 - if test "$GCC" = yes; then2.9899 - CFLAGS_FOR_BUILD="-O2"2.9900 - else2.9901 - CFLAGS_FOR_BUILD=2.9902 - fi2.9903 -fi2.9904 -{ echo "$as_me:$LINENO: checking for $CC_FOR_BUILD option to accept ISO C89" >&52.9905 -echo $ECHO_N "checking for $CC_FOR_BUILD option to accept ISO C89... $ECHO_C" >&6; }2.9906 -if test "${ac_cv_build_prog_cc_stdc+set}" = set; then2.9907 - echo $ECHO_N "(cached) $ECHO_C" >&62.9908 -else2.9909 - ac_cv_build_prog_cc_stdc=no2.9910 -ac_save_CC=$CC_FOR_BUILD2.9911 -cat >conftest.$ac_ext <<_ACEOF2.9912 -/* confdefs.h. */2.9913 -_ACEOF2.9914 -cat confdefs.h >>conftest.$ac_ext2.9915 -cat >>conftest.$ac_ext <<_ACEOF2.9916 -/* end confdefs.h. */2.9917 -#include <stdarg.h>2.9918 -#include <stdio.h>2.9919 -#include <sys/types.h>2.9920 -#include <sys/stat.h>2.9921 -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */2.9922 -struct buf { int x; };2.9923 -FILE * (*rcsopen) (struct buf *, struct stat *, int);2.9924 -static char *e (p, i)2.9925 - char **p;2.9926 - int i;2.9927 -{2.9928 - return p[i];2.9929 -}2.9930 -static char *f (char * (*g) (char **, int), char **p, ...)2.9931 -{2.9932 - char *s;2.9933 - va_list v;2.9934 - va_start (v,p);2.9935 - s = g (p, va_arg (v,int));2.9936 - va_end (v);2.9937 - return s;2.9938 -}2.9939 -2.9940 -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has2.9941 - function prototypes and stuff, but not '\xHH' hex character constants.2.9942 - These don't provoke an error unfortunately, instead are silently treated2.9943 - as 'x'. The following induces an error, until -std is added to get2.9944 - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an2.9945 - array size at least. It's necessary to write '\x00'==0 to get something2.9946 - that's true only with -std. */2.9947 -int osf4_cc_array ['\x00' == 0 ? 1 : -1];2.9948 -2.9949 -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters2.9950 - inside strings and character constants. */2.9951 -#define FOO(x) 'x'2.9952 -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];2.9953 -2.9954 -int test (int i, double x);2.9955 -struct s1 {int (*f) (int a);};2.9956 -struct s2 {int (*f) (double a);};2.9957 -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);2.9958 -int argc;2.9959 -char **argv;2.9960 -int2.9961 -main ()2.9962 -{2.9963 -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];2.9964 - ;2.9965 - return 0;2.9966 -}2.9967 -_ACEOF2.9968 -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \2.9969 - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"2.9970 -do2.9971 - CC_FOR_BUILD="$ac_save_CC $ac_arg"2.9972 - rm -f conftest.$ac_build_objext2.9973 -if { (ac_try="$ac_build_compile"2.9974 -case "(($ac_try" in2.9975 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.9976 - *) ac_try_echo=$ac_try;;2.9977 -esac2.9978 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.9979 - (eval "$ac_build_compile") 2>conftest.er12.9980 - ac_status=$?2.9981 - grep -v '^ *+' conftest.er1 >conftest.err2.9982 - rm -f conftest.er12.9983 - cat conftest.err >&52.9984 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.9985 - (exit $ac_status); } && {2.9986 - test -z "$ac_c_werror_flag" ||2.9987 - test ! -s conftest.err2.9988 - } && test -s conftest.$ac_build_objext; then2.9989 - ac_cv_build_prog_cc_stdc=$ac_arg2.9990 -else2.9991 - echo "$as_me: failed program was:" >&52.9992 -sed 's/^/| /' conftest.$ac_ext >&52.9993 -2.9994 -2.9995 -fi2.9996 -2.9997 -rm -f core conftest.err conftest.$ac_build_objext2.9998 - test "x$ac_cv_build_prog_cc_stdc" != "xno" && break2.9999 -done2.10000 -rm -f conftest.$ac_ext2.10001 -CC_FOR_BUILD=$ac_save_CC2.10002 -2.10003 -fi2.10004 -# AC_CACHE_VAL2.10005 -case "x$ac_cv_build_prog_cc_stdc" in2.10006 - x)2.10007 - { echo "$as_me:$LINENO: result: none needed" >&52.10008 -echo "${ECHO_T}none needed" >&6; } ;;2.10009 - xno)2.10010 - { echo "$as_me:$LINENO: result: unsupported" >&52.10011 -echo "${ECHO_T}unsupported" >&6; } ;;2.10012 - *)2.10013 - CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_build_prog_cc_stdc"2.10014 - { echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_stdc" >&52.10015 -echo "${ECHO_T}$ac_cv_build_prog_cc_stdc" >&6; } ;;2.10016 -esac2.10017 -2.10018 -2.10019 -ac_ext=c2.10020 -ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'2.10021 -ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'2.10022 -ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'2.10023 -ac_build_compiler_gnu=$ac_cv_c_compiler_gnu2.10024 -2.10025 -depcc="$CC_FOR_BUILD" am_compiler_list=2.10026 -2.10027 -{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&52.10028 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }2.10029 -if test "${am_cv_CC_FOR_BUILD_dependencies_compiler_type+set}" = set; then2.10030 - echo $ECHO_N "(cached) $ECHO_C" >&62.10031 -else2.10032 - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then2.10033 - # We make a subdir and do the tests there. Otherwise we can end up2.10034 - # making bogus files that we don't know about and never remove. For2.10035 - # instance it was reported that on HP-UX the gcc test will end up2.10036 - # making a dummy file named `D' -- because `-MD' means `put the output2.10037 - # in D'.2.10038 - mkdir conftest.dir2.10039 - # Copy depcomp to subdir because otherwise we won't find it if we're2.10040 - # using a relative directory.2.10041 - cp "$am_depcomp" conftest.dir2.10042 - cd conftest.dir2.10043 - # We will build objects and dependencies in a subdirectory because2.10044 - # it helps to detect inapplicable dependency modes. For instance2.10045 - # both Tru64's cc and ICC support -MD to output dependencies as a2.10046 - # side effect of compilation, but ICC will put the dependencies in2.10047 - # the current directory while Tru64 will put them in the object2.10048 - # directory.2.10049 - mkdir sub2.10050 -2.10051 - am_cv_CC_FOR_BUILD_dependencies_compiler_type=none2.10052 - if test "$am_compiler_list" = ""; then2.10053 - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`2.10054 - fi2.10055 - for depmode in $am_compiler_list; do2.10056 - # Setup a source with many dependencies, because some compilers2.10057 - # like to wrap large dependency lists on column 80 (with \), and2.10058 - # we should not choose a depcomp mode which is confused by this.2.10059 - #2.10060 - # We need to recreate these files for each test, as the compiler may2.10061 - # overwrite some of them when testing with obscure command lines.2.10062 - # This happens at least with the AIX C compiler.2.10063 - : > sub/conftest.c2.10064 - for i in 1 2 3 4 5 6; do2.10065 - echo '#include "conftst'$i'.h"' >> sub/conftest.c2.10066 - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with2.10067 - # Solaris 8's {/usr,}/bin/sh.2.10068 - touch sub/conftst$i.h2.10069 - done2.10070 - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf2.10071 -2.10072 - case $depmode in2.10073 - nosideeffect)2.10074 - # after this tag, mechanisms are not by side-effect, so they'll2.10075 - # only be used when explicitly requested2.10076 - if test "x$enable_dependency_tracking" = xyes; then2.10077 - continue2.10078 - else2.10079 - break2.10080 - fi2.10081 - ;;2.10082 - none) break ;;2.10083 - esac2.10084 - # We check with `-c' and `-o' for the sake of the "dashmstdout"2.10085 - # mode. It turns out that the SunPro C++ compiler does not properly2.10086 - # handle `-M -o', and we need to detect this.2.10087 - if depmode=$depmode \2.10088 - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \2.10089 - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \2.10090 - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \2.10091 - >/dev/null 2>conftest.err &&2.10092 - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&2.10093 - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&2.10094 - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then2.10095 - # icc doesn't choke on unknown options, it will just issue warnings2.10096 - # or remarks (even with -Werror). So we grep stderr for any message2.10097 - # that says an option was ignored or not supported.2.10098 - # When given -MP, icc 7.0 and 7.1 complain thusly:2.10099 - # icc: Command line warning: ignoring option '-M'; no argument required2.10100 - # The diagnosis changed in icc 8.0:2.10101 - # icc: Command line remark: option '-MP' not supported2.10102 - if (grep 'ignoring option' conftest.err ||2.10103 - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else2.10104 - am_cv_CC_FOR_BUILD_dependencies_compiler_type=$depmode2.10105 - break2.10106 - fi2.10107 - fi2.10108 - done2.10109 -2.10110 - cd ..2.10111 - rm -rf conftest.dir2.10112 -else2.10113 - am_cv_CC_FOR_BUILD_dependencies_compiler_type=none2.10114 -fi2.10115 -2.10116 -fi2.10117 -{ echo "$as_me:$LINENO: result: $am_cv_CC_FOR_BUILD_dependencies_compiler_type" >&52.10118 -echo "${ECHO_T}$am_cv_CC_FOR_BUILD_dependencies_compiler_type" >&6; }2.10119 -CC_FOR_BUILDDEPMODE=depmode=$am_cv_CC_FOR_BUILD_dependencies_compiler_type2.10120 -2.10121 -2.10122 -2.10123 -if2.10124 - test "x$enable_dependency_tracking" != xno \2.10125 - && test "$am_cv_CC_FOR_BUILD_dependencies_compiler_type" = gcc3; then2.10126 - am__fastdepCC_FOR_BUILD_TRUE=2.10127 - am__fastdepCC_FOR_BUILD_FALSE='#'2.10128 -else2.10129 - am__fastdepCC_FOR_BUILD_TRUE='#'2.10130 - am__fastdepCC_FOR_BUILD_FALSE=2.10131 -fi2.10132 -2.10133 -2.10134 - case $ac_cv_build_prog_cc_stdc in2.10135 - no) ac_cv_build_prog_cc_stdc=no; ac_cv_build_prog_cc_stdc=no ;;2.10136 - *) { echo "$as_me:$LINENO: checking for $CC_FOR_BUILD option to accept ISO C99" >&52.10137 -echo $ECHO_N "checking for $CC_FOR_BUILD option to accept ISO C99... $ECHO_C" >&6; }2.10138 -if test "${ac_cv_build_prog_cc_stdc+set}" = set; then2.10139 - echo $ECHO_N "(cached) $ECHO_C" >&62.10140 -else2.10141 - ac_cv_build_prog_cc_stdc=no2.10142 -ac_save_CC=$CC_FOR_BUILD2.10143 -cat >conftest.$ac_ext <<_ACEOF2.10144 -/* confdefs.h. */2.10145 -_ACEOF2.10146 -cat confdefs.h >>conftest.$ac_ext2.10147 -cat >>conftest.$ac_ext <<_ACEOF2.10148 -/* end confdefs.h. */2.10149 -#include <stdarg.h>2.10150 -#include <stdbool.h>2.10151 -#include <stdlib.h>2.10152 -#include <wchar.h>2.10153 -#include <stdio.h>2.10154 -2.10155 -// Check varargs macros. These examples are taken from C99 6.10.3.5.2.10156 -#define debug(...) fprintf (stderr, __VA_ARGS__)2.10157 -#define showlist(...) puts (#__VA_ARGS__)2.10158 -#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))2.10159 -static void2.10160 -test_varargs_macros (void)2.10161 -{2.10162 - int x = 1234;2.10163 - int y = 5678;2.10164 - debug ("Flag");2.10165 - debug ("X = %d\n", x);2.10166 - showlist (The first, second, and third items.);2.10167 - report (x>y, "x is %d but y is %d", x, y);2.10168 -}2.10169 -2.10170 -// Check long long types.2.10171 -#define BIG64 18446744073709551615ull2.10172 -#define BIG32 4294967295ul2.10173 -#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)2.10174 -#if !BIG_OK2.10175 - your preprocessor is broken;2.10176 -#endif2.10177 -#if BIG_OK2.10178 -#else2.10179 - your preprocessor is broken;2.10180 -#endif2.10181 -static long long int bignum = -9223372036854775807LL;2.10182 -static unsigned long long int ubignum = BIG64;2.10183 -2.10184 -struct incomplete_array2.10185 -{2.10186 - int datasize;2.10187 - double data[];2.10188 -};2.10189 -2.10190 -struct named_init {2.10191 - int number;2.10192 - const wchar_t *name;2.10193 - double average;2.10194 -};2.10195 -2.10196 -typedef const char *ccp;2.10197 -2.10198 -static inline int2.10199 -test_restrict (ccp restrict text)2.10200 -{2.10201 - // See if C++-style comments work.2.10202 - // Iterate through items via the restricted pointer.2.10203 - // Also check for declarations in for loops.2.10204 - for (unsigned int i = 0; *(text+i) != '\0'; ++i)2.10205 - continue;2.10206 - return 0;2.10207 -}2.10208 -2.10209 -// Check varargs and va_copy.2.10210 -static void2.10211 -test_varargs (const char *format, ...)2.10212 -{2.10213 - va_list args;2.10214 - va_start (args, format);2.10215 - va_list args_copy;2.10216 - va_copy (args_copy, args);2.10217 -2.10218 - const char *str;2.10219 - int number;2.10220 - float fnumber;2.10221 -2.10222 - while (*format)2.10223 - {2.10224 - switch (*format++)2.10225 - {2.10226 - case 's': // string2.10227 - str = va_arg (args_copy, const char *);2.10228 - break;2.10229 - case 'd': // int2.10230 - number = va_arg (args_copy, int);2.10231 - break;2.10232 - case 'f': // float2.10233 - fnumber = va_arg (args_copy, double);2.10234 - break;2.10235 - default:2.10236 - break;2.10237 - }2.10238 - }2.10239 - va_end (args_copy);2.10240 - va_end (args);2.10241 -}2.10242 -2.10243 -int2.10244 -main ()2.10245 -{2.10246 -2.10247 - // Check bool.2.10248 - _Bool success = false;2.10249 -2.10250 - // Check restrict.2.10251 - if (test_restrict ("String literal") == 0)2.10252 - success = true;2.10253 - char *restrict newvar = "Another string";2.10254 -2.10255 - // Check varargs.2.10256 - test_varargs ("s, d' f .", "string", 65, 34.234);2.10257 - test_varargs_macros ();2.10258 -2.10259 - // Check flexible array members.2.10260 - struct incomplete_array *ia =2.10261 - malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));2.10262 - ia->datasize = 10;2.10263 - for (int i = 0; i < ia->datasize; ++i)2.10264 - ia->data[i] = i * 1.234;2.10265 -2.10266 - // Check named initializers.2.10267 - struct named_init ni = {2.10268 - .number = 34,2.10269 - .name = L"Test wide string",2.10270 - .average = 543.34343,2.10271 - };2.10272 -2.10273 - ni.number = 58;2.10274 -2.10275 - int dynamic_array[ni.number];2.10276 - dynamic_array[ni.number - 1] = 543;2.10277 -2.10278 - // work around unused variable warnings2.10279 - return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'2.10280 - || dynamic_array[ni.number - 1] != 543);2.10281 -2.10282 - ;2.10283 - return 0;2.10284 -}2.10285 -_ACEOF2.10286 -for ac_arg in '' -std=gnu99 -c99 -qlanglvl=extc992.10287 -do2.10288 - CC_FOR_BUILD="$ac_save_CC $ac_arg"2.10289 - rm -f conftest.$ac_build_objext2.10290 -if { (ac_try="$ac_build_compile"2.10291 -case "(($ac_try" in2.10292 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.10293 - *) ac_try_echo=$ac_try;;2.10294 -esac2.10295 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.10296 - (eval "$ac_build_compile") 2>conftest.er12.10297 - ac_status=$?2.10298 - grep -v '^ *+' conftest.er1 >conftest.err2.10299 - rm -f conftest.er12.10300 - cat conftest.err >&52.10301 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.10302 - (exit $ac_status); } && {2.10303 - test -z "$ac_c_werror_flag" ||2.10304 - test ! -s conftest.err2.10305 - } && test -s conftest.$ac_build_objext; then2.10306 - ac_cv_build_prog_cc_stdc=$ac_arg2.10307 -else2.10308 - echo "$as_me: failed program was:" >&52.10309 -sed 's/^/| /' conftest.$ac_ext >&52.10310 -2.10311 -2.10312 -fi2.10313 -2.10314 -rm -f core conftest.err conftest.$ac_build_objext2.10315 - test "x$ac_cv_build_prog_cc_stdc" != "xno" && break2.10316 -done2.10317 -rm -f conftest.$ac_ext2.10318 -CC_FOR_BUILD=$ac_save_CC2.10319 -2.10320 -fi2.10321 -# AC_CACHE_VAL2.10322 -case "x$ac_cv_build_prog_cc_stdc" in2.10323 - x)2.10324 - { echo "$as_me:$LINENO: result: none needed" >&52.10325 -echo "${ECHO_T}none needed" >&6; } ;;2.10326 - xno)2.10327 - { echo "$as_me:$LINENO: result: unsupported" >&52.10328 -echo "${ECHO_T}unsupported" >&6; } ;;2.10329 - *)2.10330 - CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_build_prog_cc_stdc"2.10331 - { echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_stdc" >&52.10332 -echo "${ECHO_T}$ac_cv_build_prog_cc_stdc" >&6; } ;;2.10333 -esac2.10334 -if test "x$ac_cv_build_prog_cc_stdc" != xno; then2.10335 - ac_cv_build_prog_cc_stdc=$ac_cv_build_prog_cc_stdc2.10336 -else2.10337 - { echo "$as_me:$LINENO: checking for $CC_FOR_BUILD option to accept ISO C89" >&52.10338 -echo $ECHO_N "checking for $CC_FOR_BUILD option to accept ISO C89... $ECHO_C" >&6; }2.10339 -if test "${ac_cv_build_prog_cc_stdc+set}" = set; then2.10340 - echo $ECHO_N "(cached) $ECHO_C" >&62.10341 -else2.10342 - ac_cv_build_prog_cc_stdc=no2.10343 -ac_save_CC=$CC_FOR_BUILD2.10344 -cat >conftest.$ac_ext <<_ACEOF2.10345 -/* confdefs.h. */2.10346 -_ACEOF2.10347 -cat confdefs.h >>conftest.$ac_ext2.10348 -cat >>conftest.$ac_ext <<_ACEOF2.10349 -/* end confdefs.h. */2.10350 -#include <stdarg.h>2.10351 -#include <stdio.h>2.10352 -#include <sys/types.h>2.10353 -#include <sys/stat.h>2.10354 -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */2.10355 -struct buf { int x; };2.10356 -FILE * (*rcsopen) (struct buf *, struct stat *, int);2.10357 -static char *e (p, i)2.10358 - char **p;2.10359 - int i;2.10360 -{2.10361 - return p[i];2.10362 -}2.10363 -static char *f (char * (*g) (char **, int), char **p, ...)2.10364 -{2.10365 - char *s;2.10366 - va_list v;2.10367 - va_start (v,p);2.10368 - s = g (p, va_arg (v,int));2.10369 - va_end (v);2.10370 - return s;2.10371 -}2.10372 -2.10373 -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has2.10374 - function prototypes and stuff, but not '\xHH' hex character constants.2.10375 - These don't provoke an error unfortunately, instead are silently treated2.10376 - as 'x'. The following induces an error, until -std is added to get2.10377 - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an2.10378 - array size at least. It's necessary to write '\x00'==0 to get something2.10379 - that's true only with -std. */2.10380 -int osf4_cc_array ['\x00' == 0 ? 1 : -1];2.10381 -2.10382 -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters2.10383 - inside strings and character constants. */2.10384 -#define FOO(x) 'x'2.10385 -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];2.10386 -2.10387 -int test (int i, double x);2.10388 -struct s1 {int (*f) (int a);};2.10389 -struct s2 {int (*f) (double a);};2.10390 -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);2.10391 -int argc;2.10392 -char **argv;2.10393 -int2.10394 -main ()2.10395 -{2.10396 -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];2.10397 - ;2.10398 - return 0;2.10399 -}2.10400 -_ACEOF2.10401 -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \2.10402 - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"2.10403 -do2.10404 - CC_FOR_BUILD="$ac_save_CC $ac_arg"2.10405 - rm -f conftest.$ac_build_objext2.10406 -if { (ac_try="$ac_build_compile"2.10407 -case "(($ac_try" in2.10408 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.10409 - *) ac_try_echo=$ac_try;;2.10410 -esac2.10411 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.10412 - (eval "$ac_build_compile") 2>conftest.er12.10413 - ac_status=$?2.10414 - grep -v '^ *+' conftest.er1 >conftest.err2.10415 - rm -f conftest.er12.10416 - cat conftest.err >&52.10417 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.10418 - (exit $ac_status); } && {2.10419 - test -z "$ac_c_werror_flag" ||2.10420 - test ! -s conftest.err2.10421 - } && test -s conftest.$ac_build_objext; then2.10422 - ac_cv_build_prog_cc_stdc=$ac_arg2.10423 -else2.10424 - echo "$as_me: failed program was:" >&52.10425 -sed 's/^/| /' conftest.$ac_ext >&52.10426 -2.10427 -2.10428 -fi2.10429 -2.10430 -rm -f core conftest.err conftest.$ac_build_objext2.10431 - test "x$ac_cv_build_prog_cc_stdc" != "xno" && break2.10432 -done2.10433 -rm -f conftest.$ac_ext2.10434 -CC_FOR_BUILD=$ac_save_CC2.10435 -2.10436 -fi2.10437 -# AC_CACHE_VAL2.10438 -case "x$ac_cv_build_prog_cc_stdc" in2.10439 - x)2.10440 - { echo "$as_me:$LINENO: result: none needed" >&52.10441 -echo "${ECHO_T}none needed" >&6; } ;;2.10442 - xno)2.10443 - { echo "$as_me:$LINENO: result: unsupported" >&52.10444 -echo "${ECHO_T}unsupported" >&6; } ;;2.10445 - *)2.10446 - CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_build_prog_cc_stdc"2.10447 - { echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_stdc" >&52.10448 -echo "${ECHO_T}$ac_cv_build_prog_cc_stdc" >&6; } ;;2.10449 -esac2.10450 -if test "x$ac_cv_build_prog_cc_stdc" != xno; then2.10451 - ac_cv_build_prog_cc_stdc=$ac_cv_build_prog_cc_stdc2.10452 -else2.10453 - ac_cv_build_prog_cc_stdc=no2.10454 -fi2.10455 -2.10456 -2.10457 -fi2.10458 -2.10459 - ;;2.10460 -esac2.10461 - { echo "$as_me:$LINENO: checking for $CC_FOR_BUILD option to accept ISO Standard C" >&52.10462 -echo $ECHO_N "checking for $CC_FOR_BUILD option to accept ISO Standard C... $ECHO_C" >&6; }2.10463 - if test "${ac_cv_build_prog_cc_stdc+set}" = set; then2.10464 - echo $ECHO_N "(cached) $ECHO_C" >&62.10465 -fi2.10466 -2.10467 - case $ac_cv_build_prog_cc_stdc in2.10468 - no) { echo "$as_me:$LINENO: result: unsupported" >&52.10469 -echo "${ECHO_T}unsupported" >&6; } ;;2.10470 - '') { echo "$as_me:$LINENO: result: none needed" >&52.10471 -echo "${ECHO_T}none needed" >&6; } ;;2.10472 - *) { echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_stdc" >&52.10473 -echo "${ECHO_T}$ac_cv_build_prog_cc_stdc" >&6; } ;;2.10474 -esac2.10475 -2.10476 -2.10477 -ac_ext=c2.10478 -ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'2.10479 -ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'2.10480 -ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'2.10481 -ac_build_compiler_gnu=$ac_cv_c_compiler_gnu2.10482 -{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&52.10483 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }2.10484 -# On Suns, sometimes $CPP names a directory.2.10485 -if test -n "$CPP_FOR_BUILD" && test -d "$CPP_FOR_BUILD"; then2.10486 - CPP_FOR_BUILD=2.10487 -fi2.10488 -if test -z "$CPP_FOR_BUILD"; then2.10489 - if test "${ac_cv_build_prog_CPP+set}" = set; then2.10490 - echo $ECHO_N "(cached) $ECHO_C" >&62.10491 -else2.10492 - # Double quotes because CPP needs to be expanded2.10493 - for CPP_FOR_BUILD in "$CC_FOR_BUILD -E" "$CC_FOR_BUILD -E -traditional-cpp" "/lib/cpp"2.10494 - do2.10495 - ac_preproc_ok=false2.10496 -for ac_c_preproc_warn_flag in '' yes2.10497 -do2.10498 - # Use a header file that comes with gcc, so configuring glibc2.10499 - # with a fresh cross-compiler works.2.10500 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since2.10501 - # <limits.h> exists even on freestanding compilers.2.10502 - # On the NeXT, cc -E runs the code through the compiler's parser,2.10503 - # not just through cpp. "Syntax error" is here to catch this case.2.10504 - cat >conftest.$ac_ext <<_ACEOF2.10505 -/* confdefs.h. */2.10506 -_ACEOF2.10507 -cat confdefs.h >>conftest.$ac_ext2.10508 -cat >>conftest.$ac_ext <<_ACEOF2.10509 -/* end confdefs.h. */2.10510 -#ifdef __STDC__2.10511 -# include <limits.h>2.10512 -#else2.10513 -# include <assert.h>2.10514 -#endif2.10515 - Syntax error2.10516 -_ACEOF2.10517 -if { (ac_try="$ac_build_cpp conftest.$ac_ext"2.10518 -case "(($ac_try" in2.10519 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.10520 - *) ac_try_echo=$ac_try;;2.10521 -esac2.10522 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.10523 - (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er12.10524 - ac_status=$?2.10525 - grep -v '^ *+' conftest.er1 >conftest.err2.10526 - rm -f conftest.er12.10527 - cat conftest.err >&52.10528 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.10529 - (exit $ac_status); } >/dev/null && {2.10530 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||2.10531 - test ! -s conftest.err2.10532 - }; then2.10533 - :2.10534 -else2.10535 - echo "$as_me: failed program was:" >&52.10536 -sed 's/^/| /' conftest.$ac_ext >&52.10537 -2.10538 - # Broken: fails on valid input.2.10539 -continue2.10540 -fi2.10541 -2.10542 -rm -f conftest.err conftest.$ac_ext2.10543 -2.10544 - # OK, works on sane cases. Now check whether nonexistent headers2.10545 - # can be detected and how.2.10546 - cat >conftest.$ac_ext <<_ACEOF2.10547 -/* confdefs.h. */2.10548 -_ACEOF2.10549 -cat confdefs.h >>conftest.$ac_ext2.10550 -cat >>conftest.$ac_ext <<_ACEOF2.10551 -/* end confdefs.h. */2.10552 -#include <ac_nonexistent.h>2.10553 -_ACEOF2.10554 -if { (ac_try="$ac_build_cpp conftest.$ac_ext"2.10555 -case "(($ac_try" in2.10556 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.10557 - *) ac_try_echo=$ac_try;;2.10558 -esac2.10559 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.10560 - (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er12.10561 - ac_status=$?2.10562 - grep -v '^ *+' conftest.er1 >conftest.err2.10563 - rm -f conftest.er12.10564 - cat conftest.err >&52.10565 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.10566 - (exit $ac_status); } >/dev/null && {2.10567 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||2.10568 - test ! -s conftest.err2.10569 - }; then2.10570 - # Broken: success on invalid input.2.10571 -continue2.10572 -else2.10573 - echo "$as_me: failed program was:" >&52.10574 -sed 's/^/| /' conftest.$ac_ext >&52.10575 -2.10576 - # Passes both tests.2.10577 -ac_preproc_ok=:2.10578 -break2.10579 -fi2.10580 -2.10581 -rm -f conftest.err conftest.$ac_ext2.10582 -2.10583 -done2.10584 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.2.10585 -rm -f conftest.err conftest.$ac_ext2.10586 -if $ac_preproc_ok; then2.10587 - break2.10588 -fi2.10589 -2.10590 - done2.10591 - ac_cv_build_prog_CPP=$CPP_FOR_BUILD2.10592 -2.10593 -fi2.10594 - CPP_FOR_BUILD=$ac_cv_build_prog_CPP2.10595 -else2.10596 - ac_cv_build_prog_CPP=$CPP_FOR_BUILD2.10597 -fi2.10598 -{ echo "$as_me:$LINENO: result: $CPP_FOR_BUILD" >&52.10599 -echo "${ECHO_T}$CPP_FOR_BUILD" >&6; }2.10600 -ac_preproc_ok=false2.10601 -for ac_c_preproc_warn_flag in '' yes2.10602 -do2.10603 - # Use a header file that comes with gcc, so configuring glibc2.10604 - # with a fresh cross-compiler works.2.10605 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since2.10606 - # <limits.h> exists even on freestanding compilers.2.10607 - # On the NeXT, cc -E runs the code through the compiler's parser,2.10608 - # not just through cpp. "Syntax error" is here to catch this case.2.10609 - cat >conftest.$ac_ext <<_ACEOF2.10610 -/* confdefs.h. */2.10611 -_ACEOF2.10612 -cat confdefs.h >>conftest.$ac_ext2.10613 -cat >>conftest.$ac_ext <<_ACEOF2.10614 -/* end confdefs.h. */2.10615 -#ifdef __STDC__2.10616 -# include <limits.h>2.10617 -#else2.10618 -# include <assert.h>2.10619 -#endif2.10620 - Syntax error2.10621 -_ACEOF2.10622 -if { (ac_try="$ac_build_cpp conftest.$ac_ext"2.10623 -case "(($ac_try" in2.10624 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.10625 - *) ac_try_echo=$ac_try;;2.10626 -esac2.10627 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.10628 - (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er12.10629 - ac_status=$?2.10630 - grep -v '^ *+' conftest.er1 >conftest.err2.10631 - rm -f conftest.er12.10632 - cat conftest.err >&52.10633 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.10634 - (exit $ac_status); } >/dev/null && {2.10635 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||2.10636 - test ! -s conftest.err2.10637 - }; then2.10638 - :2.10639 -else2.10640 - echo "$as_me: failed program was:" >&52.10641 -sed 's/^/| /' conftest.$ac_ext >&52.10642 -2.10643 - # Broken: fails on valid input.2.10644 -continue2.10645 -fi2.10646 -2.10647 -rm -f conftest.err conftest.$ac_ext2.10648 -2.10649 - # OK, works on sane cases. Now check whether nonexistent headers2.10650 - # can be detected and how.2.10651 - cat >conftest.$ac_ext <<_ACEOF2.10652 -/* confdefs.h. */2.10653 -_ACEOF2.10654 -cat confdefs.h >>conftest.$ac_ext2.10655 -cat >>conftest.$ac_ext <<_ACEOF2.10656 -/* end confdefs.h. */2.10657 -#include <ac_nonexistent.h>2.10658 -_ACEOF2.10659 -if { (ac_try="$ac_build_cpp conftest.$ac_ext"2.10660 -case "(($ac_try" in2.10661 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.10662 - *) ac_try_echo=$ac_try;;2.10663 -esac2.10664 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.10665 - (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er12.10666 - ac_status=$?2.10667 - grep -v '^ *+' conftest.er1 >conftest.err2.10668 - rm -f conftest.er12.10669 - cat conftest.err >&52.10670 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.10671 - (exit $ac_status); } >/dev/null && {2.10672 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||2.10673 - test ! -s conftest.err2.10674 - }; then2.10675 - # Broken: success on invalid input.2.10676 -continue2.10677 -else2.10678 - echo "$as_me: failed program was:" >&52.10679 -sed 's/^/| /' conftest.$ac_ext >&52.10680 -2.10681 - # Passes both tests.2.10682 -ac_preproc_ok=:2.10683 -break2.10684 -fi2.10685 -2.10686 -rm -f conftest.err conftest.$ac_ext2.10687 -2.10688 -done2.10689 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.2.10690 -rm -f conftest.err conftest.$ac_ext2.10691 -if $ac_preproc_ok; then2.10692 - :2.10693 -else2.10694 - { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP_FOR_BUILD\" fails sanity check2.10695 -See \`config.log' for more details." >&52.10696 -echo "$as_me: error: C preprocessor \"$CPP_FOR_BUILD\" fails sanity check2.10697 -See \`config.log' for more details." >&2;}2.10698 - { (exit 1); exit 1; }; }2.10699 -fi2.10700 -2.10701 -ac_ext=c2.10702 -ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'2.10703 -ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'2.10704 -ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'2.10705 -ac_build_compiler_gnu=$ac_cv_c_compiler_gnu2.10706 -2.10707 -2.10708 -2.10709 -2.10710 -BUILD_EXEEXT=$ac_build_exeext2.10711 -BUILD_OBJEXT=$ac_build_objext2.10712 -2.10713 -ac_ext=m2.10714 -ac_cpp='$OBJCPP $CPPFLAGS'2.10715 -ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'2.10716 -ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'2.10717 -ac_compiler_gnu=$ac_cv_objc_compiler_gnu2.10718 -if test -n "$ac_tool_prefix"; then2.10719 - for ac_prog in gcc objcc objc cc CC2.10720 - do2.10721 - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.2.10722 -set dummy $ac_tool_prefix$ac_prog; ac_word=$22.10723 -{ echo "$as_me:$LINENO: checking for $ac_word" >&52.10724 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.10725 -if test "${ac_cv_prog_OBJC+set}" = set; then2.10726 - echo $ECHO_N "(cached) $ECHO_C" >&62.10727 -else2.10728 - if test -n "$OBJC"; then2.10729 - ac_cv_prog_OBJC="$OBJC" # Let the user override the test.2.10730 -else2.10731 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.10732 -for as_dir in $PATH2.10733 -do2.10734 - IFS=$as_save_IFS2.10735 - test -z "$as_dir" && as_dir=.2.10736 - for ac_exec_ext in '' $ac_executable_extensions; do2.10737 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.10738 - ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"2.10739 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.10740 - break 22.10741 - fi2.10742 -done2.10743 -done2.10744 -IFS=$as_save_IFS2.10745 -2.10746 -fi2.10747 -fi2.10748 -OBJC=$ac_cv_prog_OBJC2.10749 -if test -n "$OBJC"; then2.10750 - { echo "$as_me:$LINENO: result: $OBJC" >&52.10751 -echo "${ECHO_T}$OBJC" >&6; }2.10752 -else2.10753 - { echo "$as_me:$LINENO: result: no" >&52.10754 -echo "${ECHO_T}no" >&6; }2.10755 -fi2.10756 -2.10757 -2.10758 - test -n "$OBJC" && break2.10759 - done2.10760 -fi2.10761 -if test -z "$OBJC"; then2.10762 - ac_ct_OBJC=$OBJC2.10763 - for ac_prog in gcc objcc objc cc CC2.10764 -do2.10765 - # Extract the first word of "$ac_prog", so it can be a program name with args.2.10766 -set dummy $ac_prog; ac_word=$22.10767 -{ echo "$as_me:$LINENO: checking for $ac_word" >&52.10768 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.10769 -if test "${ac_cv_prog_ac_ct_OBJC+set}" = set; then2.10770 - echo $ECHO_N "(cached) $ECHO_C" >&62.10771 -else2.10772 - if test -n "$ac_ct_OBJC"; then2.10773 - ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.2.10774 -else2.10775 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.10776 -for as_dir in $PATH2.10777 -do2.10778 - IFS=$as_save_IFS2.10779 - test -z "$as_dir" && as_dir=.2.10780 - for ac_exec_ext in '' $ac_executable_extensions; do2.10781 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.10782 - ac_cv_prog_ac_ct_OBJC="$ac_prog"2.10783 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.10784 - break 22.10785 - fi2.10786 -done2.10787 -done2.10788 -IFS=$as_save_IFS2.10789 -2.10790 -fi2.10791 -fi2.10792 -ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC2.10793 -if test -n "$ac_ct_OBJC"; then2.10794 - { echo "$as_me:$LINENO: result: $ac_ct_OBJC" >&52.10795 -echo "${ECHO_T}$ac_ct_OBJC" >&6; }2.10796 -else2.10797 - { echo "$as_me:$LINENO: result: no" >&52.10798 -echo "${ECHO_T}no" >&6; }2.10799 -fi2.10800 -2.10801 -2.10802 - test -n "$ac_ct_OBJC" && break2.10803 -done2.10804 -2.10805 - if test "x$ac_ct_OBJC" = x; then2.10806 - OBJC="gcc"2.10807 - else2.10808 - case $cross_compiling:$ac_tool_warned in2.10809 -yes:)2.10810 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools2.10811 -whose name does not start with the host triplet. If you think this2.10812 -configuration is useful to you, please write to autoconf@gnu.org." >&52.10813 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools2.10814 -whose name does not start with the host triplet. If you think this2.10815 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}2.10816 -ac_tool_warned=yes ;;2.10817 -esac2.10818 - OBJC=$ac_ct_OBJC2.10819 - fi2.10820 -fi2.10821 -2.10822 -# Provide some information about the compiler.2.10823 -echo "$as_me:$LINENO: checking for Objective C compiler version" >&52.10824 -ac_compiler=`set X $ac_compile; echo $2`2.10825 -{ (ac_try="$ac_compiler --version >&5"2.10826 -case "(($ac_try" in2.10827 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.10828 - *) ac_try_echo=$ac_try;;2.10829 -esac2.10830 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.10831 - (eval "$ac_compiler --version >&5") 2>&52.10832 - ac_status=$?2.10833 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.10834 - (exit $ac_status); }2.10835 -{ (ac_try="$ac_compiler -v >&5"2.10836 -case "(($ac_try" in2.10837 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.10838 - *) ac_try_echo=$ac_try;;2.10839 -esac2.10840 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.10841 - (eval "$ac_compiler -v >&5") 2>&52.10842 - ac_status=$?2.10843 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.10844 - (exit $ac_status); }2.10845 -{ (ac_try="$ac_compiler -V >&5"2.10846 -case "(($ac_try" in2.10847 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.10848 - *) ac_try_echo=$ac_try;;2.10849 -esac2.10850 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.10851 - (eval "$ac_compiler -V >&5") 2>&52.10852 - ac_status=$?2.10853 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.10854 - (exit $ac_status); }2.10855 -2.10856 -{ echo "$as_me:$LINENO: checking whether we are using the GNU Objective C compiler" >&52.10857 -echo $ECHO_N "checking whether we are using the GNU Objective C compiler... $ECHO_C" >&6; }2.10858 -if test "${ac_cv_objc_compiler_gnu+set}" = set; then2.10859 - echo $ECHO_N "(cached) $ECHO_C" >&62.10860 -else2.10861 - cat >conftest.$ac_ext <<_ACEOF2.10862 -/* confdefs.h. */2.10863 -_ACEOF2.10864 -cat confdefs.h >>conftest.$ac_ext2.10865 -cat >>conftest.$ac_ext <<_ACEOF2.10866 -/* end confdefs.h. */2.10867 -2.10868 -int2.10869 -main ()2.10870 -{2.10871 -#ifndef __GNUC__2.10872 - choke me2.10873 -#endif2.10874 -2.10875 - ;2.10876 - return 0;2.10877 -}2.10878 -_ACEOF2.10879 -rm -f conftest.$ac_objext2.10880 -if { (ac_try="$ac_compile"2.10881 -case "(($ac_try" in2.10882 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.10883 - *) ac_try_echo=$ac_try;;2.10884 -esac2.10885 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.10886 - (eval "$ac_compile") 2>conftest.er12.10887 - ac_status=$?2.10888 - grep -v '^ *+' conftest.er1 >conftest.err2.10889 - rm -f conftest.er12.10890 - cat conftest.err >&52.10891 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.10892 - (exit $ac_status); } && {2.10893 - test -z "$ac_objc_werror_flag" ||2.10894 - test ! -s conftest.err2.10895 - } && test -s conftest.$ac_objext; then2.10896 - ac_compiler_gnu=yes2.10897 -else2.10898 - echo "$as_me: failed program was:" >&52.10899 -sed 's/^/| /' conftest.$ac_ext >&52.10900 -2.10901 - ac_compiler_gnu=no2.10902 -fi2.10903 -2.10904 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2.10905 -ac_cv_objc_compiler_gnu=$ac_compiler_gnu2.10906 -2.10907 -fi2.10908 -{ echo "$as_me:$LINENO: result: $ac_cv_objc_compiler_gnu" >&52.10909 -echo "${ECHO_T}$ac_cv_objc_compiler_gnu" >&6; }2.10910 -GOBJC=`test $ac_compiler_gnu = yes && echo yes`2.10911 -ac_test_OBJCFLAGS=${OBJCFLAGS+set}2.10912 -ac_save_OBJCFLAGS=$OBJCFLAGS2.10913 -{ echo "$as_me:$LINENO: checking whether $OBJC accepts -g" >&52.10914 -echo $ECHO_N "checking whether $OBJC accepts -g... $ECHO_C" >&6; }2.10915 -if test "${ac_cv_prog_objc_g+set}" = set; then2.10916 - echo $ECHO_N "(cached) $ECHO_C" >&62.10917 -else2.10918 - ac_save_objc_werror_flag=$ac_objc_werror_flag2.10919 - ac_objc_werror_flag=yes2.10920 - ac_cv_prog_objc_g=no2.10921 - OBJCFLAGS="-g"2.10922 - cat >conftest.$ac_ext <<_ACEOF2.10923 -/* confdefs.h. */2.10924 -_ACEOF2.10925 -cat confdefs.h >>conftest.$ac_ext2.10926 -cat >>conftest.$ac_ext <<_ACEOF2.10927 -/* end confdefs.h. */2.10928 -2.10929 -int2.10930 -main ()2.10931 -{2.10932 -2.10933 - ;2.10934 - return 0;2.10935 -}2.10936 -_ACEOF2.10937 -rm -f conftest.$ac_objext2.10938 -if { (ac_try="$ac_compile"2.10939 -case "(($ac_try" in2.10940 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.10941 - *) ac_try_echo=$ac_try;;2.10942 -esac2.10943 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.10944 - (eval "$ac_compile") 2>conftest.er12.10945 - ac_status=$?2.10946 - grep -v '^ *+' conftest.er1 >conftest.err2.10947 - rm -f conftest.er12.10948 - cat conftest.err >&52.10949 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.10950 - (exit $ac_status); } && {2.10951 - test -z "$ac_objc_werror_flag" ||2.10952 - test ! -s conftest.err2.10953 - } && test -s conftest.$ac_objext; then2.10954 - ac_cv_prog_objc_g=yes2.10955 -else2.10956 - echo "$as_me: failed program was:" >&52.10957 -sed 's/^/| /' conftest.$ac_ext >&52.10958 -2.10959 - OBJCFLAGS=""2.10960 - cat >conftest.$ac_ext <<_ACEOF2.10961 -/* confdefs.h. */2.10962 -_ACEOF2.10963 -cat confdefs.h >>conftest.$ac_ext2.10964 -cat >>conftest.$ac_ext <<_ACEOF2.10965 -/* end confdefs.h. */2.10966 -2.10967 -int2.10968 -main ()2.10969 -{2.10970 -2.10971 - ;2.10972 - return 0;2.10973 -}2.10974 -_ACEOF2.10975 -rm -f conftest.$ac_objext2.10976 -if { (ac_try="$ac_compile"2.10977 -case "(($ac_try" in2.10978 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.10979 - *) ac_try_echo=$ac_try;;2.10980 -esac2.10981 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.10982 - (eval "$ac_compile") 2>conftest.er12.10983 - ac_status=$?2.10984 - grep -v '^ *+' conftest.er1 >conftest.err2.10985 - rm -f conftest.er12.10986 - cat conftest.err >&52.10987 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.10988 - (exit $ac_status); } && {2.10989 - test -z "$ac_objc_werror_flag" ||2.10990 - test ! -s conftest.err2.10991 - } && test -s conftest.$ac_objext; then2.10992 - :2.10993 -else2.10994 - echo "$as_me: failed program was:" >&52.10995 -sed 's/^/| /' conftest.$ac_ext >&52.10996 -2.10997 - ac_objc_werror_flag=$ac_save_objc_werror_flag2.10998 - OBJCFLAGS="-g"2.10999 - cat >conftest.$ac_ext <<_ACEOF2.11000 -/* confdefs.h. */2.11001 -_ACEOF2.11002 -cat confdefs.h >>conftest.$ac_ext2.11003 -cat >>conftest.$ac_ext <<_ACEOF2.11004 -/* end confdefs.h. */2.11005 -2.11006 -int2.11007 -main ()2.11008 -{2.11009 -2.11010 - ;2.11011 - return 0;2.11012 -}2.11013 -_ACEOF2.11014 -rm -f conftest.$ac_objext2.11015 -if { (ac_try="$ac_compile"2.11016 -case "(($ac_try" in2.11017 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.11018 - *) ac_try_echo=$ac_try;;2.11019 -esac2.11020 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.11021 - (eval "$ac_compile") 2>conftest.er12.11022 - ac_status=$?2.11023 - grep -v '^ *+' conftest.er1 >conftest.err2.11024 - rm -f conftest.er12.11025 - cat conftest.err >&52.11026 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.11027 - (exit $ac_status); } && {2.11028 - test -z "$ac_objc_werror_flag" ||2.11029 - test ! -s conftest.err2.11030 - } && test -s conftest.$ac_objext; then2.11031 - ac_cv_prog_objc_g=yes2.11032 -else2.11033 - echo "$as_me: failed program was:" >&52.11034 -sed 's/^/| /' conftest.$ac_ext >&52.11035 -2.11036 -2.11037 -fi2.11038 -2.11039 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2.11040 -fi2.11041 -2.11042 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2.11043 -fi2.11044 -2.11045 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2.11046 - ac_objc_werror_flag=$ac_save_objc_werror_flag2.11047 -fi2.11048 -{ echo "$as_me:$LINENO: result: $ac_cv_prog_objc_g" >&52.11049 -echo "${ECHO_T}$ac_cv_prog_objc_g" >&6; }2.11050 -if test "$ac_test_OBJCFLAGS" = set; then2.11051 - OBJCFLAGS=$ac_save_OBJCFLAGS2.11052 -elif test $ac_cv_prog_objc_g = yes; then2.11053 - if test "$GOBJC" = yes; then2.11054 - OBJCFLAGS="-g -O2"2.11055 - else2.11056 - OBJCFLAGS="-g"2.11057 - fi2.11058 -else2.11059 - if test "$GOBJC" = yes; then2.11060 - OBJCFLAGS="-O2"2.11061 - else2.11062 - OBJCFLAGS=2.11063 - fi2.11064 -fi2.11065 -ac_ext=c2.11066 -ac_cpp='$CPP $CPPFLAGS'2.11067 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'2.11068 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'2.11069 -ac_compiler_gnu=$ac_cv_c_compiler_gnu2.11070 -2.11071 -{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&52.11072 -echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }2.11073 -if test "${ac_cv_path_SED+set}" = set; then2.11074 - echo $ECHO_N "(cached) $ECHO_C" >&62.11075 -else2.11076 - ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/2.11077 - for ac_i in 1 2 3 4 5 6 7; do2.11078 - ac_script="$ac_script$as_nl$ac_script"2.11079 - done2.11080 - echo "$ac_script" | sed 99q >conftest.sed2.11081 - $as_unset ac_script || ac_script=2.11082 - # Extract the first word of "sed gsed" to use in msg output2.11083 -if test -z "$SED"; then2.11084 -set dummy sed gsed; ac_prog_name=$22.11085 -if test "${ac_cv_path_SED+set}" = set; then2.11086 - echo $ECHO_N "(cached) $ECHO_C" >&62.11087 -else2.11088 - ac_path_SED_found=false2.11089 -# Loop through the user's path and test for each of PROGNAME-LIST2.11090 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.11091 -for as_dir in $PATH2.11092 -do2.11093 - IFS=$as_save_IFS2.11094 - test -z "$as_dir" && as_dir=.2.11095 - for ac_prog in sed gsed; do2.11096 - for ac_exec_ext in '' $ac_executable_extensions; do2.11097 - ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"2.11098 - { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue2.11099 - # Check for GNU ac_path_SED and select it if it is found.2.11100 - # Check for GNU $ac_path_SED2.11101 -case `"$ac_path_SED" --version 2>&1` in2.11102 -*GNU*)2.11103 - ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;2.11104 -*)2.11105 - ac_count=02.11106 - echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"2.11107 - while :2.11108 - do2.11109 - cat "conftest.in" "conftest.in" >"conftest.tmp"2.11110 - mv "conftest.tmp" "conftest.in"2.11111 - cp "conftest.in" "conftest.nl"2.11112 - echo '' >> "conftest.nl"2.11113 - "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break2.11114 - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break2.11115 - ac_count=`expr $ac_count + 1`2.11116 - if test $ac_count -gt ${ac_path_SED_max-0}; then2.11117 - # Best one so far, save it but keep looking for a better one2.11118 - ac_cv_path_SED="$ac_path_SED"2.11119 - ac_path_SED_max=$ac_count2.11120 - fi2.11121 - # 10*(2^10) chars as input seems more than enough2.11122 - test $ac_count -gt 10 && break2.11123 - done2.11124 - rm -f conftest.in conftest.tmp conftest.nl conftest.out;;2.11125 -esac2.11126 -2.11127 -2.11128 - $ac_path_SED_found && break 32.11129 - done2.11130 -done2.11131 -2.11132 -done2.11133 -IFS=$as_save_IFS2.11134 -2.11135 -2.11136 -fi2.11137 -2.11138 -SED="$ac_cv_path_SED"2.11139 -if test -z "$SED"; then2.11140 - { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&52.11141 -echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}2.11142 - { (exit 1); exit 1; }; }2.11143 -fi2.11144 -2.11145 -else2.11146 - ac_cv_path_SED=$SED2.11147 -fi2.11148 -2.11149 -fi2.11150 -{ echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&52.11151 -echo "${ECHO_T}$ac_cv_path_SED" >&6; }2.11152 - SED="$ac_cv_path_SED"2.11153 - rm -f conftest.sed2.11154 -2.11155 -# By default we simply use the C compiler to build assembly code.2.11156 -2.11157 -test "${CCAS+set}" = set || CCAS=$CC2.11158 -test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS2.11159 -2.11160 -2.11161 -2.11162 -if test -n "$ac_tool_prefix"; then2.11163 - # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.2.11164 -set dummy ${ac_tool_prefix}ranlib; ac_word=$22.11165 -{ echo "$as_me:$LINENO: checking for $ac_word" >&52.11166 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.11167 -if test "${ac_cv_prog_RANLIB+set}" = set; then2.11168 - echo $ECHO_N "(cached) $ECHO_C" >&62.11169 -else2.11170 - if test -n "$RANLIB"; then2.11171 - ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.2.11172 -else2.11173 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.11174 -for as_dir in $PATH2.11175 -do2.11176 - IFS=$as_save_IFS2.11177 - test -z "$as_dir" && as_dir=.2.11178 - for ac_exec_ext in '' $ac_executable_extensions; do2.11179 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.11180 - ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"2.11181 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.11182 - break 22.11183 - fi2.11184 -done2.11185 -done2.11186 -IFS=$as_save_IFS2.11187 -2.11188 -fi2.11189 -fi2.11190 -RANLIB=$ac_cv_prog_RANLIB2.11191 -if test -n "$RANLIB"; then2.11192 - { echo "$as_me:$LINENO: result: $RANLIB" >&52.11193 -echo "${ECHO_T}$RANLIB" >&6; }2.11194 -else2.11195 - { echo "$as_me:$LINENO: result: no" >&52.11196 -echo "${ECHO_T}no" >&6; }2.11197 -fi2.11198 -2.11199 -2.11200 -fi2.11201 -if test -z "$ac_cv_prog_RANLIB"; then2.11202 - ac_ct_RANLIB=$RANLIB2.11203 - # Extract the first word of "ranlib", so it can be a program name with args.2.11204 -set dummy ranlib; ac_word=$22.11205 -{ echo "$as_me:$LINENO: checking for $ac_word" >&52.11206 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.11207 -if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then2.11208 - echo $ECHO_N "(cached) $ECHO_C" >&62.11209 -else2.11210 - if test -n "$ac_ct_RANLIB"; then2.11211 - ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.2.11212 -else2.11213 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.11214 -for as_dir in $PATH2.11215 -do2.11216 - IFS=$as_save_IFS2.11217 - test -z "$as_dir" && as_dir=.2.11218 - for ac_exec_ext in '' $ac_executable_extensions; do2.11219 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.11220 - ac_cv_prog_ac_ct_RANLIB="ranlib"2.11221 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.11222 - break 22.11223 - fi2.11224 -done2.11225 -done2.11226 -IFS=$as_save_IFS2.11227 -2.11228 -fi2.11229 -fi2.11230 -ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB2.11231 -if test -n "$ac_ct_RANLIB"; then2.11232 - { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&52.11233 -echo "${ECHO_T}$ac_ct_RANLIB" >&6; }2.11234 -else2.11235 - { echo "$as_me:$LINENO: result: no" >&52.11236 -echo "${ECHO_T}no" >&6; }2.11237 -fi2.11238 -2.11239 - if test "x$ac_ct_RANLIB" = x; then2.11240 - RANLIB=":"2.11241 - else2.11242 - case $cross_compiling:$ac_tool_warned in2.11243 -yes:)2.11244 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools2.11245 -whose name does not start with the host triplet. If you think this2.11246 -configuration is useful to you, please write to autoconf@gnu.org." >&52.11247 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools2.11248 -whose name does not start with the host triplet. If you think this2.11249 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}2.11250 -ac_tool_warned=yes ;;2.11251 -esac2.11252 - RANLIB=$ac_ct_RANLIB2.11253 - fi2.11254 -else2.11255 - RANLIB="$ac_cv_prog_RANLIB"2.11256 -fi2.11257 -2.11258 -2.11259 -{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&52.11260 -echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }2.11261 -if test "${ac_cv_path_GREP+set}" = set; then2.11262 - echo $ECHO_N "(cached) $ECHO_C" >&62.11263 -else2.11264 - # Extract the first word of "grep ggrep" to use in msg output2.11265 -if test -z "$GREP"; then2.11266 -set dummy grep ggrep; ac_prog_name=$22.11267 -if test "${ac_cv_path_GREP+set}" = set; then2.11268 - echo $ECHO_N "(cached) $ECHO_C" >&62.11269 -else2.11270 - ac_path_GREP_found=false2.11271 -# Loop through the user's path and test for each of PROGNAME-LIST2.11272 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.11273 -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin2.11274 -do2.11275 - IFS=$as_save_IFS2.11276 - test -z "$as_dir" && as_dir=.2.11277 - for ac_prog in grep ggrep; do2.11278 - for ac_exec_ext in '' $ac_executable_extensions; do2.11279 - ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"2.11280 - { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue2.11281 - # Check for GNU ac_path_GREP and select it if it is found.2.11282 - # Check for GNU $ac_path_GREP2.11283 -case `"$ac_path_GREP" --version 2>&1` in2.11284 -*GNU*)2.11285 - ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;2.11286 -*)2.11287 - ac_count=02.11288 - echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"2.11289 - while :2.11290 - do2.11291 - cat "conftest.in" "conftest.in" >"conftest.tmp"2.11292 - mv "conftest.tmp" "conftest.in"2.11293 - cp "conftest.in" "conftest.nl"2.11294 - echo 'GREP' >> "conftest.nl"2.11295 - "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break2.11296 - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break2.11297 - ac_count=`expr $ac_count + 1`2.11298 - if test $ac_count -gt ${ac_path_GREP_max-0}; then2.11299 - # Best one so far, save it but keep looking for a better one2.11300 - ac_cv_path_GREP="$ac_path_GREP"2.11301 - ac_path_GREP_max=$ac_count2.11302 - fi2.11303 - # 10*(2^10) chars as input seems more than enough2.11304 - test $ac_count -gt 10 && break2.11305 - done2.11306 - rm -f conftest.in conftest.tmp conftest.nl conftest.out;;2.11307 -esac2.11308 -2.11309 -2.11310 - $ac_path_GREP_found && break 32.11311 - done2.11312 -done2.11313 -2.11314 -done2.11315 -IFS=$as_save_IFS2.11316 -2.11317 -2.11318 -fi2.11319 -2.11320 -GREP="$ac_cv_path_GREP"2.11321 -if test -z "$GREP"; then2.11322 - { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&52.11323 -echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}2.11324 - { (exit 1); exit 1; }; }2.11325 -fi2.11326 -2.11327 -else2.11328 - ac_cv_path_GREP=$GREP2.11329 -fi2.11330 -2.11331 -2.11332 -fi2.11333 -{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&52.11334 -echo "${ECHO_T}$ac_cv_path_GREP" >&6; }2.11335 - GREP="$ac_cv_path_GREP"2.11336 -2.11337 -2.11338 -{ echo "$as_me:$LINENO: checking for egrep" >&52.11339 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }2.11340 -if test "${ac_cv_path_EGREP+set}" = set; then2.11341 - echo $ECHO_N "(cached) $ECHO_C" >&62.11342 -else2.11343 - if echo a | $GREP -E '(a|b)' >/dev/null 2>&12.11344 - then ac_cv_path_EGREP="$GREP -E"2.11345 - else2.11346 - # Extract the first word of "egrep" to use in msg output2.11347 -if test -z "$EGREP"; then2.11348 -set dummy egrep; ac_prog_name=$22.11349 -if test "${ac_cv_path_EGREP+set}" = set; then2.11350 - echo $ECHO_N "(cached) $ECHO_C" >&62.11351 -else2.11352 - ac_path_EGREP_found=false2.11353 -# Loop through the user's path and test for each of PROGNAME-LIST2.11354 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.11355 -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin2.11356 -do2.11357 - IFS=$as_save_IFS2.11358 - test -z "$as_dir" && as_dir=.2.11359 - for ac_prog in egrep; do2.11360 - for ac_exec_ext in '' $ac_executable_extensions; do2.11361 - ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"2.11362 - { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue2.11363 - # Check for GNU ac_path_EGREP and select it if it is found.2.11364 - # Check for GNU $ac_path_EGREP2.11365 -case `"$ac_path_EGREP" --version 2>&1` in2.11366 -*GNU*)2.11367 - ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;2.11368 -*)2.11369 - ac_count=02.11370 - echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"2.11371 - while :2.11372 - do2.11373 - cat "conftest.in" "conftest.in" >"conftest.tmp"2.11374 - mv "conftest.tmp" "conftest.in"2.11375 - cp "conftest.in" "conftest.nl"2.11376 - echo 'EGREP' >> "conftest.nl"2.11377 - "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break2.11378 - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break2.11379 - ac_count=`expr $ac_count + 1`2.11380 - if test $ac_count -gt ${ac_path_EGREP_max-0}; then2.11381 - # Best one so far, save it but keep looking for a better one2.11382 - ac_cv_path_EGREP="$ac_path_EGREP"2.11383 - ac_path_EGREP_max=$ac_count2.11384 - fi2.11385 - # 10*(2^10) chars as input seems more than enough2.11386 - test $ac_count -gt 10 && break2.11387 - done2.11388 - rm -f conftest.in conftest.tmp conftest.nl conftest.out;;2.11389 -esac2.11390 -2.11391 -2.11392 - $ac_path_EGREP_found && break 32.11393 - done2.11394 -done2.11395 -2.11396 -done2.11397 -IFS=$as_save_IFS2.11398 -2.11399 -2.11400 -fi2.11401 -2.11402 -EGREP="$ac_cv_path_EGREP"2.11403 -if test -z "$EGREP"; then2.11404 - { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&52.11405 -echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}2.11406 - { (exit 1); exit 1; }; }2.11407 -fi2.11408 -2.11409 -else2.11410 - ac_cv_path_EGREP=$EGREP2.11411 -fi2.11412 -2.11413 -2.11414 - fi2.11415 -fi2.11416 -{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&52.11417 -echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }2.11418 - EGREP="$ac_cv_path_EGREP"2.11419 -2.11420 -2.11421 -{ echo "$as_me:$LINENO: checking for ANSI C header files" >&52.11422 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }2.11423 -if test "${ac_cv_header_stdc+set}" = set; then2.11424 - echo $ECHO_N "(cached) $ECHO_C" >&62.11425 -else2.11426 - cat >conftest.$ac_ext <<_ACEOF2.11427 -/* confdefs.h. */2.11428 -_ACEOF2.11429 -cat confdefs.h >>conftest.$ac_ext2.11430 -cat >>conftest.$ac_ext <<_ACEOF2.11431 -/* end confdefs.h. */2.11432 -#include <stdlib.h>2.11433 -#include <stdarg.h>2.11434 -#include <string.h>2.11435 -#include <float.h>2.11436 -2.11437 -int2.11438 -main ()2.11439 -{2.11440 -2.11441 - ;2.11442 - return 0;2.11443 -}2.11444 -_ACEOF2.11445 -rm -f conftest.$ac_objext2.11446 -if { (ac_try="$ac_compile"2.11447 -case "(($ac_try" in2.11448 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.11449 - *) ac_try_echo=$ac_try;;2.11450 -esac2.11451 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.11452 - (eval "$ac_compile") 2>conftest.er12.11453 - ac_status=$?2.11454 - grep -v '^ *+' conftest.er1 >conftest.err2.11455 - rm -f conftest.er12.11456 - cat conftest.err >&52.11457 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.11458 - (exit $ac_status); } && {2.11459 - test -z "$ac_c_werror_flag" ||2.11460 - test ! -s conftest.err2.11461 - } && test -s conftest.$ac_objext; then2.11462 - ac_cv_header_stdc=yes2.11463 -else2.11464 - echo "$as_me: failed program was:" >&52.11465 -sed 's/^/| /' conftest.$ac_ext >&52.11466 -2.11467 - ac_cv_header_stdc=no2.11468 -fi2.11469 -2.11470 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2.11471 -2.11472 -if test $ac_cv_header_stdc = yes; then2.11473 - # SunOS 4.x string.h does not declare mem*, contrary to ANSI.2.11474 - cat >conftest.$ac_ext <<_ACEOF2.11475 -/* confdefs.h. */2.11476 -_ACEOF2.11477 -cat confdefs.h >>conftest.$ac_ext2.11478 -cat >>conftest.$ac_ext <<_ACEOF2.11479 -/* end confdefs.h. */2.11480 -#include <string.h>2.11481 -2.11482 -_ACEOF2.11483 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |2.11484 - $EGREP "memchr" >/dev/null 2>&1; then2.11485 - :2.11486 -else2.11487 - ac_cv_header_stdc=no2.11488 -fi2.11489 -rm -f conftest*2.11490 -2.11491 -fi2.11492 -2.11493 -if test $ac_cv_header_stdc = yes; then2.11494 - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.2.11495 - cat >conftest.$ac_ext <<_ACEOF2.11496 -/* confdefs.h. */2.11497 -_ACEOF2.11498 -cat confdefs.h >>conftest.$ac_ext2.11499 -cat >>conftest.$ac_ext <<_ACEOF2.11500 -/* end confdefs.h. */2.11501 -#include <stdlib.h>2.11502 -2.11503 -_ACEOF2.11504 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |2.11505 - $EGREP "free" >/dev/null 2>&1; then2.11506 - :2.11507 -else2.11508 - ac_cv_header_stdc=no2.11509 -fi2.11510 -rm -f conftest*2.11511 -2.11512 -fi2.11513 -2.11514 -if test $ac_cv_header_stdc = yes; then2.11515 - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.2.11516 - if test "$cross_compiling" = yes; then2.11517 - :2.11518 -else2.11519 - cat >conftest.$ac_ext <<_ACEOF2.11520 -/* confdefs.h. */2.11521 -_ACEOF2.11522 -cat confdefs.h >>conftest.$ac_ext2.11523 -cat >>conftest.$ac_ext <<_ACEOF2.11524 -/* end confdefs.h. */2.11525 -#include <ctype.h>2.11526 -#include <stdlib.h>2.11527 -#if ((' ' & 0x0FF) == 0x020)2.11528 -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')2.11529 -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))2.11530 -#else2.11531 -# define ISLOWER(c) \2.11532 - (('a' <= (c) && (c) <= 'i') \2.11533 - || ('j' <= (c) && (c) <= 'r') \2.11534 - || ('s' <= (c) && (c) <= 'z'))2.11535 -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))2.11536 -#endif2.11537 -2.11538 -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))2.11539 -int2.11540 -main ()2.11541 -{2.11542 - int i;2.11543 - for (i = 0; i < 256; i++)2.11544 - if (XOR (islower (i), ISLOWER (i))2.11545 - || toupper (i) != TOUPPER (i))2.11546 - return 2;2.11547 - return 0;2.11548 -}2.11549 -_ACEOF2.11550 -rm -f conftest$ac_exeext2.11551 -if { (ac_try="$ac_link"2.11552 -case "(($ac_try" in2.11553 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.11554 - *) ac_try_echo=$ac_try;;2.11555 -esac2.11556 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.11557 - (eval "$ac_link") 2>&52.11558 - ac_status=$?2.11559 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.11560 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'2.11561 - { (case "(($ac_try" in2.11562 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.11563 - *) ac_try_echo=$ac_try;;2.11564 -esac2.11565 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.11566 - (eval "$ac_try") 2>&52.11567 - ac_status=$?2.11568 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.11569 - (exit $ac_status); }; }; then2.11570 - :2.11571 -else2.11572 - echo "$as_me: program exited with status $ac_status" >&52.11573 -echo "$as_me: failed program was:" >&52.11574 -sed 's/^/| /' conftest.$ac_ext >&52.11575 -2.11576 -( exit $ac_status )2.11577 -ac_cv_header_stdc=no2.11578 -fi2.11579 -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext2.11580 -fi2.11581 -2.11582 -2.11583 -fi2.11584 -fi2.11585 -{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&52.11586 -echo "${ECHO_T}$ac_cv_header_stdc" >&6; }2.11587 -if test $ac_cv_header_stdc = yes; then2.11588 -2.11589 -cat >>confdefs.h <<\_ACEOF2.11590 -#define STDC_HEADERS 12.11591 -_ACEOF2.11592 -2.11593 -fi2.11594 -2.11595 -# On IRIX 5.3, sys/types and inttypes.h are conflicting.2.11596 -2.11597 -2.11598 -2.11599 -2.11600 -2.11601 -2.11602 -2.11603 -2.11604 -2.11605 -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \2.11606 - inttypes.h stdint.h unistd.h2.11607 -do2.11608 -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`2.11609 -{ echo "$as_me:$LINENO: checking for $ac_header" >&52.11610 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }2.11611 -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then2.11612 - echo $ECHO_N "(cached) $ECHO_C" >&62.11613 -else2.11614 - cat >conftest.$ac_ext <<_ACEOF2.11615 -/* confdefs.h. */2.11616 -_ACEOF2.11617 -cat confdefs.h >>conftest.$ac_ext2.11618 -cat >>conftest.$ac_ext <<_ACEOF2.11619 -/* end confdefs.h. */2.11620 -$ac_includes_default2.11621 -2.11622 -#include <$ac_header>2.11623 -_ACEOF2.11624 -rm -f conftest.$ac_objext2.11625 -if { (ac_try="$ac_compile"2.11626 -case "(($ac_try" in2.11627 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.11628 - *) ac_try_echo=$ac_try;;2.11629 -esac2.11630 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.11631 - (eval "$ac_compile") 2>conftest.er12.11632 - ac_status=$?2.11633 - grep -v '^ *+' conftest.er1 >conftest.err2.11634 - rm -f conftest.er12.11635 - cat conftest.err >&52.11636 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.11637 - (exit $ac_status); } && {2.11638 - test -z "$ac_c_werror_flag" ||2.11639 - test ! -s conftest.err2.11640 - } && test -s conftest.$ac_objext; then2.11641 - eval "$as_ac_Header=yes"2.11642 -else2.11643 - echo "$as_me: failed program was:" >&52.11644 -sed 's/^/| /' conftest.$ac_ext >&52.11645 -2.11646 - eval "$as_ac_Header=no"2.11647 -fi2.11648 -2.11649 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2.11650 -fi2.11651 -ac_res=`eval echo '${'$as_ac_Header'}'`2.11652 - { echo "$as_me:$LINENO: result: $ac_res" >&52.11653 -echo "${ECHO_T}$ac_res" >&6; }2.11654 -if test `eval echo '${'$as_ac_Header'}'` = yes; then2.11655 - cat >>confdefs.h <<_ACEOF2.11656 -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 12.11657 -_ACEOF2.11658 -2.11659 -fi2.11660 -2.11661 -done2.11662 -2.11663 -2.11664 -{ echo "$as_me:$LINENO: checking for void *" >&52.11665 -echo $ECHO_N "checking for void *... $ECHO_C" >&6; }2.11666 -if test "${ac_cv_type_void_p+set}" = set; then2.11667 - echo $ECHO_N "(cached) $ECHO_C" >&62.11668 -else2.11669 - cat >conftest.$ac_ext <<_ACEOF2.11670 -/* confdefs.h. */2.11671 -_ACEOF2.11672 -cat confdefs.h >>conftest.$ac_ext2.11673 -cat >>conftest.$ac_ext <<_ACEOF2.11674 -/* end confdefs.h. */2.11675 -$ac_includes_default2.11676 -typedef void * ac__type_new_;2.11677 -int2.11678 -main ()2.11679 -{2.11680 -if ((ac__type_new_ *) 0)2.11681 - return 0;2.11682 -if (sizeof (ac__type_new_))2.11683 - return 0;2.11684 - ;2.11685 - return 0;2.11686 -}2.11687 -_ACEOF2.11688 -rm -f conftest.$ac_objext2.11689 -if { (ac_try="$ac_compile"2.11690 -case "(($ac_try" in2.11691 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.11692 - *) ac_try_echo=$ac_try;;2.11693 -esac2.11694 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.11695 - (eval "$ac_compile") 2>conftest.er12.11696 - ac_status=$?2.11697 - grep -v '^ *+' conftest.er1 >conftest.err2.11698 - rm -f conftest.er12.11699 - cat conftest.err >&52.11700 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.11701 - (exit $ac_status); } && {2.11702 - test -z "$ac_c_werror_flag" ||2.11703 - test ! -s conftest.err2.11704 - } && test -s conftest.$ac_objext; then2.11705 - ac_cv_type_void_p=yes2.11706 -else2.11707 - echo "$as_me: failed program was:" >&52.11708 -sed 's/^/| /' conftest.$ac_ext >&52.11709 -2.11710 - ac_cv_type_void_p=no2.11711 -fi2.11712 -2.11713 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2.11714 -fi2.11715 -{ echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&52.11716 -echo "${ECHO_T}$ac_cv_type_void_p" >&6; }2.11717 -2.11718 -# The cast to long int works around a bug in the HP C Compiler2.11719 -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects2.11720 -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.2.11721 -# This bug is HP SR number 8606223364.2.11722 -{ echo "$as_me:$LINENO: checking size of void *" >&52.11723 -echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }2.11724 -if test "${ac_cv_sizeof_void_p+set}" = set; then2.11725 - echo $ECHO_N "(cached) $ECHO_C" >&62.11726 -else2.11727 - if test "$cross_compiling" = yes; then2.11728 - # Depending upon the size, compute the lo and hi bounds.2.11729 -cat >conftest.$ac_ext <<_ACEOF2.11730 -/* confdefs.h. */2.11731 -_ACEOF2.11732 -cat confdefs.h >>conftest.$ac_ext2.11733 -cat >>conftest.$ac_ext <<_ACEOF2.11734 -/* end confdefs.h. */2.11735 -$ac_includes_default2.11736 - typedef void * ac__type_sizeof_;2.11737 -int2.11738 -main ()2.11739 -{2.11740 -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];2.11741 -test_array [0] = 02.11742 -2.11743 - ;2.11744 - return 0;2.11745 -}2.11746 -_ACEOF2.11747 -rm -f conftest.$ac_objext2.11748 -if { (ac_try="$ac_compile"2.11749 -case "(($ac_try" in2.11750 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.11751 - *) ac_try_echo=$ac_try;;2.11752 -esac2.11753 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.11754 - (eval "$ac_compile") 2>conftest.er12.11755 - ac_status=$?2.11756 - grep -v '^ *+' conftest.er1 >conftest.err2.11757 - rm -f conftest.er12.11758 - cat conftest.err >&52.11759 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.11760 - (exit $ac_status); } && {2.11761 - test -z "$ac_c_werror_flag" ||2.11762 - test ! -s conftest.err2.11763 - } && test -s conftest.$ac_objext; then2.11764 - ac_lo=0 ac_mid=02.11765 - while :; do2.11766 - cat >conftest.$ac_ext <<_ACEOF2.11767 -/* confdefs.h. */2.11768 -_ACEOF2.11769 -cat confdefs.h >>conftest.$ac_ext2.11770 -cat >>conftest.$ac_ext <<_ACEOF2.11771 -/* end confdefs.h. */2.11772 -$ac_includes_default2.11773 - typedef void * ac__type_sizeof_;2.11774 -int2.11775 -main ()2.11776 -{2.11777 -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];2.11778 -test_array [0] = 02.11779 -2.11780 - ;2.11781 - return 0;2.11782 -}2.11783 -_ACEOF2.11784 -rm -f conftest.$ac_objext2.11785 -if { (ac_try="$ac_compile"2.11786 -case "(($ac_try" in2.11787 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.11788 - *) ac_try_echo=$ac_try;;2.11789 -esac2.11790 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.11791 - (eval "$ac_compile") 2>conftest.er12.11792 - ac_status=$?2.11793 - grep -v '^ *+' conftest.er1 >conftest.err2.11794 - rm -f conftest.er12.11795 - cat conftest.err >&52.11796 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.11797 - (exit $ac_status); } && {2.11798 - test -z "$ac_c_werror_flag" ||2.11799 - test ! -s conftest.err2.11800 - } && test -s conftest.$ac_objext; then2.11801 - ac_hi=$ac_mid; break2.11802 -else2.11803 - echo "$as_me: failed program was:" >&52.11804 -sed 's/^/| /' conftest.$ac_ext >&52.11805 -2.11806 - ac_lo=`expr $ac_mid + 1`2.11807 - if test $ac_lo -le $ac_mid; then2.11808 - ac_lo= ac_hi=2.11809 - break2.11810 - fi2.11811 - ac_mid=`expr 2 '*' $ac_mid + 1`2.11812 -fi2.11813 -2.11814 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2.11815 - done2.11816 -else2.11817 - echo "$as_me: failed program was:" >&52.11818 -sed 's/^/| /' conftest.$ac_ext >&52.11819 -2.11820 - cat >conftest.$ac_ext <<_ACEOF2.11821 -/* confdefs.h. */2.11822 -_ACEOF2.11823 -cat confdefs.h >>conftest.$ac_ext2.11824 -cat >>conftest.$ac_ext <<_ACEOF2.11825 -/* end confdefs.h. */2.11826 -$ac_includes_default2.11827 - typedef void * ac__type_sizeof_;2.11828 -int2.11829 -main ()2.11830 -{2.11831 -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];2.11832 -test_array [0] = 02.11833 -2.11834 - ;2.11835 - return 0;2.11836 -}2.11837 -_ACEOF2.11838 -rm -f conftest.$ac_objext2.11839 -if { (ac_try="$ac_compile"2.11840 -case "(($ac_try" in2.11841 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.11842 - *) ac_try_echo=$ac_try;;2.11843 -esac2.11844 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.11845 - (eval "$ac_compile") 2>conftest.er12.11846 - ac_status=$?2.11847 - grep -v '^ *+' conftest.er1 >conftest.err2.11848 - rm -f conftest.er12.11849 - cat conftest.err >&52.11850 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.11851 - (exit $ac_status); } && {2.11852 - test -z "$ac_c_werror_flag" ||2.11853 - test ! -s conftest.err2.11854 - } && test -s conftest.$ac_objext; then2.11855 - ac_hi=-1 ac_mid=-12.11856 - while :; do2.11857 - cat >conftest.$ac_ext <<_ACEOF2.11858 -/* confdefs.h. */2.11859 -_ACEOF2.11860 -cat confdefs.h >>conftest.$ac_ext2.11861 -cat >>conftest.$ac_ext <<_ACEOF2.11862 -/* end confdefs.h. */2.11863 -$ac_includes_default2.11864 - typedef void * ac__type_sizeof_;2.11865 -int2.11866 -main ()2.11867 -{2.11868 -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];2.11869 -test_array [0] = 02.11870 -2.11871 - ;2.11872 - return 0;2.11873 -}2.11874 -_ACEOF2.11875 -rm -f conftest.$ac_objext2.11876 -if { (ac_try="$ac_compile"2.11877 -case "(($ac_try" in2.11878 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.11879 - *) ac_try_echo=$ac_try;;2.11880 -esac2.11881 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.11882 - (eval "$ac_compile") 2>conftest.er12.11883 - ac_status=$?2.11884 - grep -v '^ *+' conftest.er1 >conftest.err2.11885 - rm -f conftest.er12.11886 - cat conftest.err >&52.11887 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.11888 - (exit $ac_status); } && {2.11889 - test -z "$ac_c_werror_flag" ||2.11890 - test ! -s conftest.err2.11891 - } && test -s conftest.$ac_objext; then2.11892 - ac_lo=$ac_mid; break2.11893 -else2.11894 - echo "$as_me: failed program was:" >&52.11895 -sed 's/^/| /' conftest.$ac_ext >&52.11896 -2.11897 - ac_hi=`expr '(' $ac_mid ')' - 1`2.11898 - if test $ac_mid -le $ac_hi; then2.11899 - ac_lo= ac_hi=2.11900 - break2.11901 - fi2.11902 - ac_mid=`expr 2 '*' $ac_mid`2.11903 -fi2.11904 -2.11905 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2.11906 - done2.11907 -else2.11908 - echo "$as_me: failed program was:" >&52.11909 -sed 's/^/| /' conftest.$ac_ext >&52.11910 -2.11911 - ac_lo= ac_hi=2.11912 -fi2.11913 -2.11914 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2.11915 -fi2.11916 -2.11917 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2.11918 -# Binary search between lo and hi bounds.2.11919 -while test "x$ac_lo" != "x$ac_hi"; do2.11920 - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`2.11921 - cat >conftest.$ac_ext <<_ACEOF2.11922 -/* confdefs.h. */2.11923 -_ACEOF2.11924 -cat confdefs.h >>conftest.$ac_ext2.11925 -cat >>conftest.$ac_ext <<_ACEOF2.11926 -/* end confdefs.h. */2.11927 -$ac_includes_default2.11928 - typedef void * ac__type_sizeof_;2.11929 -int2.11930 -main ()2.11931 -{2.11932 -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];2.11933 -test_array [0] = 02.11934 -2.11935 - ;2.11936 - return 0;2.11937 -}2.11938 -_ACEOF2.11939 -rm -f conftest.$ac_objext2.11940 -if { (ac_try="$ac_compile"2.11941 -case "(($ac_try" in2.11942 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.11943 - *) ac_try_echo=$ac_try;;2.11944 -esac2.11945 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.11946 - (eval "$ac_compile") 2>conftest.er12.11947 - ac_status=$?2.11948 - grep -v '^ *+' conftest.er1 >conftest.err2.11949 - rm -f conftest.er12.11950 - cat conftest.err >&52.11951 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.11952 - (exit $ac_status); } && {2.11953 - test -z "$ac_c_werror_flag" ||2.11954 - test ! -s conftest.err2.11955 - } && test -s conftest.$ac_objext; then2.11956 - ac_hi=$ac_mid2.11957 -else2.11958 - echo "$as_me: failed program was:" >&52.11959 -sed 's/^/| /' conftest.$ac_ext >&52.11960 -2.11961 - ac_lo=`expr '(' $ac_mid ')' + 1`2.11962 -fi2.11963 -2.11964 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2.11965 -done2.11966 -case $ac_lo in2.11967 -?*) ac_cv_sizeof_void_p=$ac_lo;;2.11968 -'') if test "$ac_cv_type_void_p" = yes; then2.11969 - { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)2.11970 -See \`config.log' for more details." >&52.11971 -echo "$as_me: error: cannot compute sizeof (void *)2.11972 -See \`config.log' for more details." >&2;}2.11973 - { (exit 77); exit 77; }; }2.11974 - else2.11975 - ac_cv_sizeof_void_p=02.11976 - fi ;;2.11977 -esac2.11978 -else2.11979 - cat >conftest.$ac_ext <<_ACEOF2.11980 -/* confdefs.h. */2.11981 -_ACEOF2.11982 -cat confdefs.h >>conftest.$ac_ext2.11983 -cat >>conftest.$ac_ext <<_ACEOF2.11984 -/* end confdefs.h. */2.11985 -$ac_includes_default2.11986 - typedef void * ac__type_sizeof_;2.11987 -static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }2.11988 -static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }2.11989 -#include <stdio.h>2.11990 -#include <stdlib.h>2.11991 -int2.11992 -main ()2.11993 -{2.11994 -2.11995 - FILE *f = fopen ("conftest.val", "w");2.11996 - if (! f)2.11997 - return 1;2.11998 - if (((long int) (sizeof (ac__type_sizeof_))) < 0)2.11999 - {2.12000 - long int i = longval ();2.12001 - if (i != ((long int) (sizeof (ac__type_sizeof_))))2.12002 - return 1;2.12003 - fprintf (f, "%ld\n", i);2.12004 - }2.12005 - else2.12006 - {2.12007 - unsigned long int i = ulongval ();2.12008 - if (i != ((long int) (sizeof (ac__type_sizeof_))))2.12009 - return 1;2.12010 - fprintf (f, "%lu\n", i);2.12011 - }2.12012 - return ferror (f) || fclose (f) != 0;2.12013 -2.12014 - ;2.12015 - return 0;2.12016 -}2.12017 -_ACEOF2.12018 -rm -f conftest$ac_exeext2.12019 -if { (ac_try="$ac_link"2.12020 -case "(($ac_try" in2.12021 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.12022 - *) ac_try_echo=$ac_try;;2.12023 -esac2.12024 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.12025 - (eval "$ac_link") 2>&52.12026 - ac_status=$?2.12027 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.12028 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'2.12029 - { (case "(($ac_try" in2.12030 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.12031 - *) ac_try_echo=$ac_try;;2.12032 -esac2.12033 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.12034 - (eval "$ac_try") 2>&52.12035 - ac_status=$?2.12036 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.12037 - (exit $ac_status); }; }; then2.12038 - ac_cv_sizeof_void_p=`cat conftest.val`2.12039 -else2.12040 - echo "$as_me: program exited with status $ac_status" >&52.12041 -echo "$as_me: failed program was:" >&52.12042 -sed 's/^/| /' conftest.$ac_ext >&52.12043 -2.12044 -( exit $ac_status )2.12045 -if test "$ac_cv_type_void_p" = yes; then2.12046 - { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)2.12047 -See \`config.log' for more details." >&52.12048 -echo "$as_me: error: cannot compute sizeof (void *)2.12049 -See \`config.log' for more details." >&2;}2.12050 - { (exit 77); exit 77; }; }2.12051 - else2.12052 - ac_cv_sizeof_void_p=02.12053 - fi2.12054 -fi2.12055 -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext2.12056 -fi2.12057 -rm -f conftest.val2.12058 -fi2.12059 -{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&52.12060 -echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }2.12061 -2.12062 -2.12063 -2.12064 -cat >>confdefs.h <<_ACEOF2.12065 -#define SIZEOF_VOID_P $ac_cv_sizeof_void_p2.12066 -_ACEOF2.12067 -2.12068 -2.12069 -{ echo "$as_me:$LINENO: checking for ANSI C header files" >&52.12070 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }2.12071 -if test "${ac_cv_header_stdc+set}" = set; then2.12072 - echo $ECHO_N "(cached) $ECHO_C" >&62.12073 -else2.12074 - cat >conftest.$ac_ext <<_ACEOF2.12075 -/* confdefs.h. */2.12076 -_ACEOF2.12077 -cat confdefs.h >>conftest.$ac_ext2.12078 -cat >>conftest.$ac_ext <<_ACEOF2.12079 -/* end confdefs.h. */2.12080 -#include <stdlib.h>2.12081 -#include <stdarg.h>2.12082 -#include <string.h>2.12083 -#include <float.h>2.12084 -2.12085 -int2.12086 -main ()2.12087 -{2.12088 -2.12089 - ;2.12090 - return 0;2.12091 -}2.12092 -_ACEOF2.12093 -rm -f conftest.$ac_objext2.12094 -if { (ac_try="$ac_compile"2.12095 -case "(($ac_try" in2.12096 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.12097 - *) ac_try_echo=$ac_try;;2.12098 -esac2.12099 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.12100 - (eval "$ac_compile") 2>conftest.er12.12101 - ac_status=$?2.12102 - grep -v '^ *+' conftest.er1 >conftest.err2.12103 - rm -f conftest.er12.12104 - cat conftest.err >&52.12105 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.12106 - (exit $ac_status); } && {2.12107 - test -z "$ac_c_werror_flag" ||2.12108 - test ! -s conftest.err2.12109 - } && test -s conftest.$ac_objext; then2.12110 - ac_cv_header_stdc=yes2.12111 -else2.12112 - echo "$as_me: failed program was:" >&52.12113 -sed 's/^/| /' conftest.$ac_ext >&52.12114 -2.12115 - ac_cv_header_stdc=no2.12116 -fi2.12117 -2.12118 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2.12119 -2.12120 -if test $ac_cv_header_stdc = yes; then2.12121 - # SunOS 4.x string.h does not declare mem*, contrary to ANSI.2.12122 - cat >conftest.$ac_ext <<_ACEOF2.12123 -/* confdefs.h. */2.12124 -_ACEOF2.12125 -cat confdefs.h >>conftest.$ac_ext2.12126 -cat >>conftest.$ac_ext <<_ACEOF2.12127 -/* end confdefs.h. */2.12128 -#include <string.h>2.12129 -2.12130 -_ACEOF2.12131 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |2.12132 - $EGREP "memchr" >/dev/null 2>&1; then2.12133 - :2.12134 -else2.12135 - ac_cv_header_stdc=no2.12136 -fi2.12137 -rm -f conftest*2.12138 -2.12139 -fi2.12140 -2.12141 -if test $ac_cv_header_stdc = yes; then2.12142 - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.2.12143 - cat >conftest.$ac_ext <<_ACEOF2.12144 -/* confdefs.h. */2.12145 -_ACEOF2.12146 -cat confdefs.h >>conftest.$ac_ext2.12147 -cat >>conftest.$ac_ext <<_ACEOF2.12148 -/* end confdefs.h. */2.12149 -#include <stdlib.h>2.12150 -2.12151 -_ACEOF2.12152 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |2.12153 - $EGREP "free" >/dev/null 2>&1; then2.12154 - :2.12155 -else2.12156 - ac_cv_header_stdc=no2.12157 -fi2.12158 -rm -f conftest*2.12159 -2.12160 -fi2.12161 -2.12162 -if test $ac_cv_header_stdc = yes; then2.12163 - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.2.12164 - if test "$cross_compiling" = yes; then2.12165 - :2.12166 -else2.12167 - cat >conftest.$ac_ext <<_ACEOF2.12168 -/* confdefs.h. */2.12169 -_ACEOF2.12170 -cat confdefs.h >>conftest.$ac_ext2.12171 -cat >>conftest.$ac_ext <<_ACEOF2.12172 -/* end confdefs.h. */2.12173 -#include <ctype.h>2.12174 -#include <stdlib.h>2.12175 -#if ((' ' & 0x0FF) == 0x020)2.12176 -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')2.12177 -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))2.12178 -#else2.12179 -# define ISLOWER(c) \2.12180 - (('a' <= (c) && (c) <= 'i') \2.12181 - || ('j' <= (c) && (c) <= 'r') \2.12182 - || ('s' <= (c) && (c) <= 'z'))2.12183 -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))2.12184 -#endif2.12185 -2.12186 -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))2.12187 -int2.12188 -main ()2.12189 -{2.12190 - int i;2.12191 - for (i = 0; i < 256; i++)2.12192 - if (XOR (islower (i), ISLOWER (i))2.12193 - || toupper (i) != TOUPPER (i))2.12194 - return 2;2.12195 - return 0;2.12196 -}2.12197 -_ACEOF2.12198 -rm -f conftest$ac_exeext2.12199 -if { (ac_try="$ac_link"2.12200 -case "(($ac_try" in2.12201 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.12202 - *) ac_try_echo=$ac_try;;2.12203 -esac2.12204 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.12205 - (eval "$ac_link") 2>&52.12206 - ac_status=$?2.12207 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.12208 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'2.12209 - { (case "(($ac_try" in2.12210 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.12211 - *) ac_try_echo=$ac_try;;2.12212 -esac2.12213 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.12214 - (eval "$ac_try") 2>&52.12215 - ac_status=$?2.12216 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.12217 - (exit $ac_status); }; }; then2.12218 - :2.12219 -else2.12220 - echo "$as_me: program exited with status $ac_status" >&52.12221 -echo "$as_me: failed program was:" >&52.12222 -sed 's/^/| /' conftest.$ac_ext >&52.12223 -2.12224 -( exit $ac_status )2.12225 -ac_cv_header_stdc=no2.12226 -fi2.12227 -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext2.12228 -fi2.12229 -2.12230 -2.12231 -fi2.12232 -fi2.12233 -{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&52.12234 -echo "${ECHO_T}$ac_cv_header_stdc" >&6; }2.12235 -if test $ac_cv_header_stdc = yes; then2.12236 -2.12237 -cat >>confdefs.h <<\_ACEOF2.12238 -#define STDC_HEADERS 12.12239 -_ACEOF2.12240 -2.12241 -fi2.12242 -2.12243 -2.12244 -2.12245 -depcc="$OBJC" am_compiler_list='gcc3 gcc'2.12246 -2.12247 -{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&52.12248 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }2.12249 -if test "${am_cv_OBJC_dependencies_compiler_type+set}" = set; then2.12250 - echo $ECHO_N "(cached) $ECHO_C" >&62.12251 -else2.12252 - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then2.12253 - # We make a subdir and do the tests there. Otherwise we can end up2.12254 - # making bogus files that we don't know about and never remove. For2.12255 - # instance it was reported that on HP-UX the gcc test will end up2.12256 - # making a dummy file named `D' -- because `-MD' means `put the output2.12257 - # in D'.2.12258 - mkdir conftest.dir2.12259 - # Copy depcomp to subdir because otherwise we won't find it if we're2.12260 - # using a relative directory.2.12261 - cp "$am_depcomp" conftest.dir2.12262 - cd conftest.dir2.12263 - # We will build objects and dependencies in a subdirectory because2.12264 - # it helps to detect inapplicable dependency modes. For instance2.12265 - # both Tru64's cc and ICC support -MD to output dependencies as a2.12266 - # side effect of compilation, but ICC will put the dependencies in2.12267 - # the current directory while Tru64 will put them in the object2.12268 - # directory.2.12269 - mkdir sub2.12270 -2.12271 - am_cv_OBJC_dependencies_compiler_type=none2.12272 - if test "$am_compiler_list" = ""; then2.12273 - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`2.12274 - fi2.12275 - for depmode in $am_compiler_list; do2.12276 - # Setup a source with many dependencies, because some compilers2.12277 - # like to wrap large dependency lists on column 80 (with \), and2.12278 - # we should not choose a depcomp mode which is confused by this.2.12279 - #2.12280 - # We need to recreate these files for each test, as the compiler may2.12281 - # overwrite some of them when testing with obscure command lines.2.12282 - # This happens at least with the AIX C compiler.2.12283 - : > sub/conftest.c2.12284 - for i in 1 2 3 4 5 6; do2.12285 - echo '#include "conftst'$i'.h"' >> sub/conftest.c2.12286 - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with2.12287 - # Solaris 8's {/usr,}/bin/sh.2.12288 - touch sub/conftst$i.h2.12289 - done2.12290 - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf2.12291 -2.12292 - case $depmode in2.12293 - nosideeffect)2.12294 - # after this tag, mechanisms are not by side-effect, so they'll2.12295 - # only be used when explicitly requested2.12296 - if test "x$enable_dependency_tracking" = xyes; then2.12297 - continue2.12298 - else2.12299 - break2.12300 - fi2.12301 - ;;2.12302 - none) break ;;2.12303 - esac2.12304 - # We check with `-c' and `-o' for the sake of the "dashmstdout"2.12305 - # mode. It turns out that the SunPro C++ compiler does not properly2.12306 - # handle `-M -o', and we need to detect this.2.12307 - if depmode=$depmode \2.12308 - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \2.12309 - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \2.12310 - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \2.12311 - >/dev/null 2>conftest.err &&2.12312 - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&2.12313 - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&2.12314 - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then2.12315 - # icc doesn't choke on unknown options, it will just issue warnings2.12316 - # or remarks (even with -Werror). So we grep stderr for any message2.12317 - # that says an option was ignored or not supported.2.12318 - # When given -MP, icc 7.0 and 7.1 complain thusly:2.12319 - # icc: Command line warning: ignoring option '-M'; no argument required2.12320 - # The diagnosis changed in icc 8.0:2.12321 - # icc: Command line remark: option '-MP' not supported2.12322 - if (grep 'ignoring option' conftest.err ||2.12323 - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else2.12324 - am_cv_OBJC_dependencies_compiler_type=$depmode2.12325 - break2.12326 - fi2.12327 - fi2.12328 - done2.12329 -2.12330 - cd ..2.12331 - rm -rf conftest.dir2.12332 -else2.12333 - am_cv_OBJC_dependencies_compiler_type=none2.12334 -fi2.12335 -2.12336 -fi2.12337 -{ echo "$as_me:$LINENO: result: $am_cv_OBJC_dependencies_compiler_type" >&52.12338 -echo "${ECHO_T}$am_cv_OBJC_dependencies_compiler_type" >&6; }2.12339 -OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type2.12340 -2.12341 -2.12342 -2.12343 -if2.12344 - test "x$enable_dependency_tracking" != xno \2.12345 - && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then2.12346 - am__fastdepOBJC_TRUE=2.12347 - am__fastdepOBJC_FALSE='#'2.12348 -else2.12349 - am__fastdepOBJC_TRUE='#'2.12350 - am__fastdepOBJC_FALSE=2.12351 -fi2.12352 -2.12353 -2.12354 -2.12355 -# Extract the first word of "pod2man", so it can be a program name with args.2.12356 -set dummy pod2man; ac_word=$22.12357 -{ echo "$as_me:$LINENO: checking for $ac_word" >&52.12358 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.12359 -if test "${ac_cv_path_POD2MAN+set}" = set; then2.12360 - echo $ECHO_N "(cached) $ECHO_C" >&62.12361 -else2.12362 - case $POD2MAN in2.12363 - [\\/]* | ?:[\\/]*)2.12364 - ac_cv_path_POD2MAN="$POD2MAN" # Let the user override the test with a path.2.12365 - ;;2.12366 - *)2.12367 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.12368 -for as_dir in $PATH2.12369 -do2.12370 - IFS=$as_save_IFS2.12371 - test -z "$as_dir" && as_dir=.2.12372 - for ac_exec_ext in '' $ac_executable_extensions; do2.12373 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.12374 - ac_cv_path_POD2MAN="$as_dir/$ac_word$ac_exec_ext"2.12375 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.12376 - break 22.12377 - fi2.12378 -done2.12379 -done2.12380 -IFS=$as_save_IFS2.12381 -2.12382 - ;;2.12383 -esac2.12384 -fi2.12385 -POD2MAN=$ac_cv_path_POD2MAN2.12386 -if test -n "$POD2MAN"; then2.12387 - { echo "$as_me:$LINENO: result: $POD2MAN" >&52.12388 -echo "${ECHO_T}$POD2MAN" >&6; }2.12389 -else2.12390 - { echo "$as_me:$LINENO: result: no" >&52.12391 -echo "${ECHO_T}no" >&6; }2.12392 -fi2.12393 -2.12394 -2.12395 -# Extract the first word of "pod2html", so it can be a program name with args.2.12396 -set dummy pod2html; ac_word=$22.12397 -{ echo "$as_me:$LINENO: checking for $ac_word" >&52.12398 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2.12399 -if test "${ac_cv_path_POD2HTML+set}" = set; then2.12400 - echo $ECHO_N "(cached) $ECHO_C" >&62.12401 -else2.12402 - case $POD2HTML in2.12403 - [\\/]* | ?:[\\/]*)2.12404 - ac_cv_path_POD2HTML="$POD2HTML" # Let the user override the test with a path.2.12405 - ;;2.12406 - *)2.12407 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2.12408 -for as_dir in $PATH2.12409 -do2.12410 - IFS=$as_save_IFS2.12411 - test -z "$as_dir" && as_dir=.2.12412 - for ac_exec_ext in '' $ac_executable_extensions; do2.12413 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2.12414 - ac_cv_path_POD2HTML="$as_dir/$ac_word$ac_exec_ext"2.12415 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52.12416 - break 22.12417 - fi2.12418 -done2.12419 -done2.12420 -IFS=$as_save_IFS2.12421 -2.12422 - ;;2.12423 -esac2.12424 -fi2.12425 -POD2HTML=$ac_cv_path_POD2HTML2.12426 -if test -n "$POD2HTML"; then2.12427 - { echo "$as_me:$LINENO: result: $POD2HTML" >&52.12428 -echo "${ECHO_T}$POD2HTML" >&6; }2.12429 -else2.12430 - { echo "$as_me:$LINENO: result: no" >&52.12431 -echo "${ECHO_T}no" >&6; }2.12432 -fi2.12433 -2.12434 -2.12435 -2.12436 -2.12437 -cat >>confdefs.h <<_ACEOF2.12438 -#define BUILD_SED_PROG "${SED}"2.12439 -_ACEOF2.12440 -2.12441 -2.12442 -cat >>confdefs.h <<_ACEOF2.12443 -#define BUILD_CPP_PROG "${CPP}"2.12444 -_ACEOF2.12445 -2.12446 -2.12447 -2.12448 -# Check whether --enable-strict-warn was given.2.12449 -if test "${enable_strict_warn+set}" = set; then2.12450 - enableval=$enable_strict_warn; if test "$enableval" == "yes"; then2.12451 - enable_strictwarn=yes2.12452 - fi2.12453 -fi2.12454 -2.12455 -# Check whether --enable-translator was given.2.12456 -if test "${enable_translator+set}" = set; then2.12457 - enableval=$enable_translator; true2.12458 -else2.12459 - enable_translator=yes2.12460 -fi2.12461 -2.12462 -# Check whether --enable-optimized was given.2.12463 -if test "${enable_optimized+set}" = set; then2.12464 - enableval=$enable_optimized; true2.12465 -else2.12466 - enable_optimized=yes2.12467 -fi2.12468 -2.12469 -# Check whether --enable-shared was given.2.12470 -if test "${enable_shared+set}" = set; then2.12471 - enableval=$enable_shared; if test "$enableval" == "yes"; then enable_shared=yes; else enable_shared=no; fi2.12472 -else2.12473 - enable_shared=cond2.12474 -fi2.12475 -2.12476 -# Check whether --enable-profiled was given.2.12477 -if test "${enable_profiled+set}" = set; then2.12478 - enableval=$enable_profiled; if test "$enableval" == "yes"; then2.12479 - enable_profiled=yes;2.12480 - fi2.12481 -fi2.12482 -2.12483 -# Check whether --enable-trace was given.2.12484 -if test "${enable_trace+set}" = set; then2.12485 - enableval=$enable_trace; if test "$enableval" == "yes"; then2.12486 -2.12487 -cat >>confdefs.h <<\_ACEOF2.12488 -#define ENABLE_TRACE_IO 12.12489 -_ACEOF2.12490 -2.12491 - fi2.12492 -fi2.12493 -2.12494 -# Check whether --enable-watch was given.2.12495 -if test "${enable_watch+set}" = set; then2.12496 - enableval=$enable_watch; if test "$enableval" == "yes"; then2.12497 -2.12498 -cat >>confdefs.h <<\_ACEOF2.12499 -#define ENABLE_WATCH 12.12500 -_ACEOF2.12501 -2.12502 - fi2.12503 -fi2.12504 -2.12505 -# Check whether --enable-sh4stats was given.2.12506 -if test "${enable_sh4stats+set}" = set; then2.12507 - enableval=$enable_sh4stats; if test "$enableval" == "yes"; then2.12508 -2.12509 -cat >>confdefs.h <<\_ACEOF2.12510 -#define ENABLE_SH4STATS 12.12511 -_ACEOF2.12512 -2.12513 - fi2.12514 -fi2.12515 -2.12516 -2.12517 -# Check whether --with-osmesa was given.2.12518 -if test "${with_osmesa+set}" = set; then2.12519 - withval=$with_osmesa;2.12520 -else2.12521 - with_osmesa=no2.12522 -fi2.12523 -2.12524 -2.12525 -# Check whether --with-gtk was given.2.12526 -if test "${with_gtk+set}" = set; then2.12527 - withval=$with_gtk; with_gtk=yes2.12528 -else2.12529 - with_gtk=x112.12530 -fi2.12531 -2.12532 -2.12533 -# Check whether --with-esd was given.2.12534 -if test "${with_esd+set}" = set; then2.12535 - withval=$with_esd;2.12536 -fi2.12537 -2.12538 -2.12539 -# Check whether --with-pulse was given.2.12540 -if test "${with_pulse+set}" = set; then2.12541 - withval=$with_pulse;2.12542 -fi2.12543 -2.12544 -2.12545 -# Check whether --with-sdl was given.2.12546 -if test "${with_sdl+set}" = set; then2.12547 - withval=$with_sdl;2.12548 -fi2.12549 -2.12550 -2.12552 if test "$ANDROID_BUILD" = "yes"; then2.12553 with_gtk=no;2.12554 EXTRA_OUTPUT_FILES="src/android/build.properties"2.12555 - LIBS="-lEGL -lGLESv2 $LIBS"2.12556 -2.12557 -cat >>confdefs.h <<\_ACEOF2.12558 -#define HAVE_GLES2 12.12559 -_ACEOF2.12560 -2.12561 UI_DRIVER="Android"2.12562 - VIDEO_DRIVERS="egl"2.12563 with_sdl=no2.12564 else2.12566 @@ -11325,6 +11341,12 @@2.12567 fi2.12570 +if test "$BUILD_PKG_CONFIG_LIBDIR" != "$TARGET_PKG_CONFIG_LIBDIR"; then2.12571 + PKG_CONFIG_LIBDIR="$BUILD_PKG_CONFIG_LIBDIR";2.12572 + if test "x$PKG_CONFIG_LIBDIR" = "x"; then2.12573 + export -n PKG_CONFIG_LIBDIR2.12574 + fi2.12575 +fi2.12577 pkg_failed=no2.12578 { echo "$as_me:$LINENO: checking for GLIB_FOR_BUILD" >&52.12579 @@ -11432,6 +11454,10 @@2.12580 echo "${ECHO_T}yes" >&6; }2.12581 :2.12582 fi2.12583 +if test "$BUILD_PKG_CONFIG_LIBDIR" != "$TARGET_PKG_CONFIG_LIBDIR"; then2.12584 + PKG_CONFIG_LIBDIR="$TARGET_PKG_CONFIG_LIBDIR";2.12585 + export PKG_CONFIG_LIBDIR2.12586 +fi2.12590 @@ -11779,7 +11805,7 @@2.12591 else2.12594 - if test "x$APPLE_BUILD" != 'xyes' -a "x$ANDROID_BUILD" != 'xyes'; then2.12595 + if test "x$APPLE_BUILD" != 'xyes'; then2.12597 pkg_failed=no2.12598 { echo "$as_me:$LINENO: checking for LIBGL" >&52.12599 @@ -11789,12 +11815,12 @@2.12600 pkg_cv_LIBGL_CFLAGS="$LIBGL_CFLAGS"2.12601 elif test -n "$PKG_CONFIG"; then2.12602 if test -n "$PKG_CONFIG" && \2.12603 - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gl \"") >&52.12604 - ($PKG_CONFIG --exists --print-errors "gl ") 2>&52.12605 - ac_status=$?2.12606 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.12607 - (exit $ac_status); }; then2.12608 - pkg_cv_LIBGL_CFLAGS=`$PKG_CONFIG --cflags "gl " 2>/dev/null`2.12609 + { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gl\"") >&52.12610 + ($PKG_CONFIG --exists --print-errors "gl") 2>&52.12611 + ac_status=$?2.12612 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.12613 + (exit $ac_status); }; then2.12614 + pkg_cv_LIBGL_CFLAGS=`$PKG_CONFIG --cflags "gl" 2>/dev/null`2.12615 else2.12616 pkg_failed=yes2.12617 fi2.12618 @@ -11805,12 +11831,12 @@2.12619 pkg_cv_LIBGL_LIBS="$LIBGL_LIBS"2.12620 elif test -n "$PKG_CONFIG"; then2.12621 if test -n "$PKG_CONFIG" && \2.12622 - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gl \"") >&52.12623 - ($PKG_CONFIG --exists --print-errors "gl ") 2>&52.12624 - ac_status=$?2.12625 - echo "$as_me:$LINENO: \$? = $ac_status" >&52.12626 - (exit $ac_status); }; then2.12627 - pkg_cv_LIBGL_LIBS=`$PKG_CONFIG --libs "gl " 2>/dev/null`2.12628 + { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gl\"") >&52.12629 + ($PKG_CONFIG --exists --print-errors "gl") 2>&52.12630 + ac_status=$?2.12631 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.12632 + (exit $ac_status); }; then2.12633 + pkg_cv_LIBGL_LIBS=`$PKG_CONFIG --libs "gl" 2>/dev/null`2.12634 else2.12635 pkg_failed=yes2.12636 fi2.12637 @@ -11828,67 +11854,173 @@2.12638 _pkg_short_errors_supported=no2.12639 fi2.12640 if test $_pkg_short_errors_supported = yes; then2.12641 - LIBGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gl " 2>&1`2.12642 + LIBGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gl" 2>&1`2.12643 else2.12644 - LIBGL_PKG_ERRORS=`$PKG_CONFIG --print-errors "gl " 2>&1`2.12645 + LIBGL_PKG_ERRORS=`$PKG_CONFIG --print-errors "gl" 2>&1`2.12646 fi2.12647 # Put the nasty error message in config.log where it belongs2.12648 echo "$LIBGL_PKG_ERRORS" >&52.12650 - { { echo "$as_me:$LINENO: error: Package requirements (gl ) were not met:2.12651 -2.12652 -$LIBGL_PKG_ERRORS2.12653 -2.12654 -Consider adjusting the PKG_CONFIG_PATH environment variable if you2.12655 -installed software in a non-standard prefix.2.12656 -2.12657 -Alternatively, you may set the environment variables LIBGL_CFLAGS2.12658 -and LIBGL_LIBS to avoid the need to call pkg-config.2.12659 -See the pkg-config man page for more details.2.12660 -" >&52.12661 -echo "$as_me: error: Package requirements (gl ) were not met:2.12662 -2.12663 -$LIBGL_PKG_ERRORS2.12664 -2.12665 -Consider adjusting the PKG_CONFIG_PATH environment variable if you2.12666 -installed software in a non-standard prefix.2.12667 -2.12668 -Alternatively, you may set the environment variables LIBGL_CFLAGS2.12669 -and LIBGL_LIBS to avoid the need to call pkg-config.2.12670 -See the pkg-config man page for more details.2.12671 -" >&2;}2.12672 - { (exit 1); exit 1; }; }2.12673 + { echo "$as_me:$LINENO: result: no" >&52.12674 +echo "${ECHO_T}no" >&6; }2.12675 +2.12676 + { echo "$as_me:$LINENO: checking for glEnable in -lGLESv2" >&52.12677 +echo $ECHO_N "checking for glEnable in -lGLESv2... $ECHO_C" >&6; }2.12678 +if test "${ac_cv_lib_GLESv2_glEnable+set}" = set; then2.12679 + echo $ECHO_N "(cached) $ECHO_C" >&62.12680 +else2.12681 + ac_check_lib_save_LIBS=$LIBS2.12682 +LIBS="-lGLESv2 $LIBS"2.12683 +cat >conftest.$ac_ext <<_ACEOF2.12684 +/* confdefs.h. */2.12685 +_ACEOF2.12686 +cat confdefs.h >>conftest.$ac_ext2.12687 +cat >>conftest.$ac_ext <<_ACEOF2.12688 +/* end confdefs.h. */2.12689 +2.12690 +/* Override any GCC internal prototype to avoid an error.2.12691 + Use char because int might match the return type of a GCC2.12692 + builtin and then its argument prototype would still apply. */2.12693 +#ifdef __cplusplus2.12694 +extern "C"2.12695 +#endif2.12696 +char glEnable ();2.12697 +int2.12698 +main ()2.12699 +{2.12700 +return glEnable ();2.12701 + ;2.12702 + return 0;2.12703 +}2.12704 +_ACEOF2.12705 +rm -f conftest.$ac_objext conftest$ac_exeext2.12706 +if { (ac_try="$ac_link"2.12707 +case "(($ac_try" in2.12708 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.12709 + *) ac_try_echo=$ac_try;;2.12710 +esac2.12711 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.12712 + (eval "$ac_link") 2>conftest.er12.12713 + ac_status=$?2.12714 + grep -v '^ *+' conftest.er1 >conftest.err2.12715 + rm -f conftest.er12.12716 + cat conftest.err >&52.12717 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.12718 + (exit $ac_status); } && {2.12719 + test -z "$ac_c_werror_flag" ||2.12720 + test ! -s conftest.err2.12721 + } && test -s conftest$ac_exeext &&2.12722 + $as_test_x conftest$ac_exeext; then2.12723 + ac_cv_lib_GLESv2_glEnable=yes2.12724 +else2.12725 + echo "$as_me: failed program was:" >&52.12726 +sed 's/^/| /' conftest.$ac_ext >&52.12727 +2.12728 + ac_cv_lib_GLESv2_glEnable=no2.12729 +fi2.12730 +2.12731 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \2.12732 + conftest$ac_exeext conftest.$ac_ext2.12733 +LIBS=$ac_check_lib_save_LIBS2.12734 +fi2.12735 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_GLESv2_glEnable" >&52.12736 +echo "${ECHO_T}$ac_cv_lib_GLESv2_glEnable" >&6; }2.12737 +if test $ac_cv_lib_GLESv2_glEnable = yes; then2.12738 + LIBS="-lGLESv2 $LIBS"; HAVE_GLES2='yes'2.12739 +else2.12740 + { { echo "$as_me:$LINENO: error: Neither the OpenGL library (libGL.so) nor the OpenGL ES 2.0 library (libGLESv2.so) could be found, but one is required.2.12741 +See \`config.log' for more details." >&52.12742 +echo "$as_me: error: Neither the OpenGL library (libGL.so) nor the OpenGL ES 2.0 library (libGLESv2.so) could be found, but one is required.2.12743 +See \`config.log' for more details." >&2;}2.12744 + { (exit 1); exit 1; }; }2.12745 +fi2.12746 +2.12747 +2.12748 elif test $pkg_failed = untried; then2.12749 - { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it2.12750 -is in your PATH or set the PKG_CONFIG environment variable to the full2.12751 -path to pkg-config.2.12752 -2.12753 -Alternatively, you may set the environment variables LIBGL_CFLAGS2.12754 -and LIBGL_LIBS to avoid the need to call pkg-config.2.12755 -See the pkg-config man page for more details.2.12756 -2.12757 -To get pkg-config, see <http://pkg-config.freedesktop.org/>.2.12758 -See \`config.log' for more details." >&52.12759 -echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it2.12760 -is in your PATH or set the PKG_CONFIG environment variable to the full2.12761 -path to pkg-config.2.12762 -2.12763 -Alternatively, you may set the environment variables LIBGL_CFLAGS2.12764 -and LIBGL_LIBS to avoid the need to call pkg-config.2.12765 -See the pkg-config man page for more details.2.12766 -2.12767 -To get pkg-config, see <http://pkg-config.freedesktop.org/>.2.12768 -See \`config.log' for more details." >&2;}2.12769 - { (exit 1); exit 1; }; }2.12770 +2.12771 + { echo "$as_me:$LINENO: checking for glEnable in -lGLESv2" >&52.12772 +echo $ECHO_N "checking for glEnable in -lGLESv2... $ECHO_C" >&6; }2.12773 +if test "${ac_cv_lib_GLESv2_glEnable+set}" = set; then2.12774 + echo $ECHO_N "(cached) $ECHO_C" >&62.12775 +else2.12776 + ac_check_lib_save_LIBS=$LIBS2.12777 +LIBS="-lGLESv2 $LIBS"2.12778 +cat >conftest.$ac_ext <<_ACEOF2.12779 +/* confdefs.h. */2.12780 +_ACEOF2.12781 +cat confdefs.h >>conftest.$ac_ext2.12782 +cat >>conftest.$ac_ext <<_ACEOF2.12783 +/* end confdefs.h. */2.12784 +2.12785 +/* Override any GCC internal prototype to avoid an error.2.12786 + Use char because int might match the return type of a GCC2.12787 + builtin and then its argument prototype would still apply. */2.12788 +#ifdef __cplusplus2.12789 +extern "C"2.12790 +#endif2.12791 +char glEnable ();2.12792 +int2.12793 +main ()2.12794 +{2.12795 +return glEnable ();2.12796 + ;2.12797 + return 0;2.12798 +}2.12799 +_ACEOF2.12800 +rm -f conftest.$ac_objext conftest$ac_exeext2.12801 +if { (ac_try="$ac_link"2.12802 +case "(($ac_try" in2.12803 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.12804 + *) ac_try_echo=$ac_try;;2.12805 +esac2.12806 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.12807 + (eval "$ac_link") 2>conftest.er12.12808 + ac_status=$?2.12809 + grep -v '^ *+' conftest.er1 >conftest.err2.12810 + rm -f conftest.er12.12811 + cat conftest.err >&52.12812 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.12813 + (exit $ac_status); } && {2.12814 + test -z "$ac_c_werror_flag" ||2.12815 + test ! -s conftest.err2.12816 + } && test -s conftest$ac_exeext &&2.12817 + $as_test_x conftest$ac_exeext; then2.12818 + ac_cv_lib_GLESv2_glEnable=yes2.12819 +else2.12820 + echo "$as_me: failed program was:" >&52.12821 +sed 's/^/| /' conftest.$ac_ext >&52.12822 +2.12823 + ac_cv_lib_GLESv2_glEnable=no2.12824 +fi2.12825 +2.12826 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \2.12827 + conftest$ac_exeext conftest.$ac_ext2.12828 +LIBS=$ac_check_lib_save_LIBS2.12829 +fi2.12830 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_GLESv2_glEnable" >&52.12831 +echo "${ECHO_T}$ac_cv_lib_GLESv2_glEnable" >&6; }2.12832 +if test $ac_cv_lib_GLESv2_glEnable = yes; then2.12833 + LIBS="-lGLESv2 $LIBS"; HAVE_GLES2='yes'2.12834 +else2.12835 + { { echo "$as_me:$LINENO: error: Neither the OpenGL library (libGL.so) nor the OpenGL ES 2.0 library (libGLESv2.so) could be found, but one is required.2.12836 +See \`config.log' for more details." >&52.12837 +echo "$as_me: error: Neither the OpenGL library (libGL.so) nor the OpenGL ES 2.0 library (libGLESv2.so) could be found, but one is required.2.12838 +See \`config.log' for more details." >&2;}2.12839 + { (exit 1); exit 1; }; }2.12840 +fi2.12841 +2.12842 +2.12843 else2.12844 LIBGL_CFLAGS=$pkg_cv_LIBGL_CFLAGS2.12845 LIBGL_LIBS=$pkg_cv_LIBGL_LIBS2.12846 { echo "$as_me:$LINENO: result: yes" >&52.12847 echo "${ECHO_T}yes" >&6; }2.12848 - :2.12849 -fi2.12850 - LIBS="$LIBS $LIBGL_LIBS";2.12851 - CPPFLAGS="$CPPFLAGS $LIBGL_CFLAGS";2.12852 +2.12853 + LIBS="$LIBS $LIBGL_LIBS";2.12854 + CPPFLAGS="$CPPFLAGS $LIBGL_CFLAGS";2.12855 +2.12856 +fi2.12857 +2.12858 else2.12859 { echo "$as_me:$LINENO: checking for NSOpenGLGetVersion" >&52.12860 echo $ECHO_N "checking for NSOpenGLGetVersion... $ECHO_C" >&6; }2.12861 @@ -11982,13 +12114,12 @@2.12863 fi2.12865 + if test "x$HAVE_GTK_X11" = "xyes"; then2.12866 + LIBS="$LIBS -L/usr/X11/lib -lGL"2.12867 + fi2.12868 fi2.12870 - if test "x$HAVE_GTK_X11" = "xyes"; then2.12871 - if test "x$APPLE_BUILD" = "xyes"; then2.12872 - LIBS="$LIBS -L/usr/X11/lib -lGL"2.12873 - fi2.12874 - { echo "$as_me:$LINENO: checking for glXQueryVersion" >&52.12875 + { echo "$as_me:$LINENO: checking for glXQueryVersion" >&52.12876 echo $ECHO_N "checking for glXQueryVersion... $ECHO_C" >&6; }2.12877 if test "${ac_cv_func_glXQueryVersion+set}" = set; then2.12878 echo $ECHO_N "(cached) $ECHO_C" >&62.12879 @@ -12071,8 +12202,8 @@2.12880 echo "${ECHO_T}$ac_cv_func_glXQueryVersion" >&6; }2.12881 if test $ac_cv_func_glXQueryVersion = yes; then2.12883 - HAVE_GLX='yes'2.12884 - VIDEO_DRIVERS="$VIDEO_DRIVERS glx"2.12885 + HAVE_GLX='yes'2.12886 + VIDEO_DRIVERS="$VIDEO_DRIVERS glx"2.12888 cat >>confdefs.h <<\_ACEOF2.12889 #define HAVE_GLX 12.12890 @@ -12080,13 +12211,85 @@2.12892 fi2.12894 - fi2.12895 -2.12896 -2.12897 -fi2.12898 -2.12899 -2.12900 -2.12901 + { echo "$as_me:$LINENO: checking for eglGetDisplay in -lEGL" >&52.12902 +echo $ECHO_N "checking for eglGetDisplay in -lEGL... $ECHO_C" >&6; }2.12903 +if test "${ac_cv_lib_EGL_eglGetDisplay+set}" = set; then2.12904 + echo $ECHO_N "(cached) $ECHO_C" >&62.12905 +else2.12906 + ac_check_lib_save_LIBS=$LIBS2.12907 +LIBS="-lEGL $LIBS"2.12908 +cat >conftest.$ac_ext <<_ACEOF2.12909 +/* confdefs.h. */2.12910 +_ACEOF2.12911 +cat confdefs.h >>conftest.$ac_ext2.12912 +cat >>conftest.$ac_ext <<_ACEOF2.12913 +/* end confdefs.h. */2.12914 +2.12915 +/* Override any GCC internal prototype to avoid an error.2.12916 + Use char because int might match the return type of a GCC2.12917 + builtin and then its argument prototype would still apply. */2.12918 +#ifdef __cplusplus2.12919 +extern "C"2.12920 +#endif2.12921 +char eglGetDisplay ();2.12922 +int2.12923 +main ()2.12924 +{2.12925 +return eglGetDisplay ();2.12926 + ;2.12927 + return 0;2.12928 +}2.12929 +_ACEOF2.12930 +rm -f conftest.$ac_objext conftest$ac_exeext2.12931 +if { (ac_try="$ac_link"2.12932 +case "(($ac_try" in2.12933 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2.12934 + *) ac_try_echo=$ac_try;;2.12935 +esac2.12936 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&52.12937 + (eval "$ac_link") 2>conftest.er12.12938 + ac_status=$?2.12939 + grep -v '^ *+' conftest.er1 >conftest.err2.12940 + rm -f conftest.er12.12941 + cat conftest.err >&52.12942 + echo "$as_me:$LINENO: \$? = $ac_status" >&52.12943 + (exit $ac_status); } && {2.12944 + test -z "$ac_c_werror_flag" ||2.12945 + test ! -s conftest.err2.12946 + } && test -s conftest$ac_exeext &&2.12947 + $as_test_x conftest$ac_exeext; then2.12948 + ac_cv_lib_EGL_eglGetDisplay=yes2.12949 +else2.12950 + echo "$as_me: failed program was:" >&52.12951 +sed 's/^/| /' conftest.$ac_ext >&52.12952 +2.12953 + ac_cv_lib_EGL_eglGetDisplay=no2.12954 +fi2.12955 +2.12956 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \2.12957 + conftest$ac_exeext conftest.$ac_ext2.12958 +LIBS=$ac_check_lib_save_LIBS2.12959 +fi2.12960 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_EGL_eglGetDisplay" >&52.12961 +echo "${ECHO_T}$ac_cv_lib_EGL_eglGetDisplay" >&6; }2.12962 +if test $ac_cv_lib_EGL_eglGetDisplay = yes; then2.12963 +2.12964 + LIBS="-lEGL $LIBS"2.12965 + HAVE_EGL='yes'2.12966 + VIDEO_DRIVERS="$VIDEO_DRIVERS egl"2.12967 +fi2.12968 +2.12969 +2.12970 +fi2.12971 +2.12972 +2.12973 +if test "x$HAVE_GLES2" = "xyes"; then2.12974 +2.12975 +cat >>confdefs.h <<\_ACEOF2.12976 +#define HAVE_GLES2 12.12977 +_ACEOF2.12978 +2.12979 +fi2.12983 @@ -12119,6 +12322,16 @@2.12984 fi2.12987 +2.12988 +if test "x$HAVE_EGL" = "xyes"; then2.12989 + VIDEO_EGL_TRUE=2.12990 + VIDEO_EGL_FALSE='#'2.12991 +else2.12992 + VIDEO_EGL_TRUE='#'2.12993 + VIDEO_EGL_FALSE=2.12994 +fi2.12995 +2.12996 +2.12997 { echo "$as_me:$LINENO: checking for glGenFramebuffers" >&52.12998 echo $ECHO_N "checking for glGenFramebuffers... $ECHO_C" >&6; }2.12999 if test "${ac_cv_func_glGenFramebuffers+set}" = set; then2.13000 @@ -16063,6 +16276,48 @@2.13001 Usually this means the macro was only invoked conditionally." >&2;}2.13002 { (exit 1); exit 1; }; }2.13003 fi2.13004 +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then2.13005 + { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.2.13006 +Usually this means the macro was only invoked conditionally." >&52.13007 +echo "$as_me: error: conditional \"AMDEP\" was never defined.2.13008 +Usually this means the macro was only invoked conditionally." >&2;}2.13009 + { (exit 1); exit 1; }; }2.13010 +fi2.13011 +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then2.13012 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.2.13013 +Usually this means the macro was only invoked conditionally." >&52.13014 +echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.2.13015 +Usually this means the macro was only invoked conditionally." >&2;}2.13016 + { (exit 1); exit 1; }; }2.13017 +fi2.13018 +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then2.13019 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.2.13020 +Usually this means the macro was only invoked conditionally." >&52.13021 +echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.2.13022 +Usually this means the macro was only invoked conditionally." >&2;}2.13023 + { (exit 1); exit 1; }; }2.13024 +fi2.13025 +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then2.13026 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.2.13027 +Usually this means the macro was only invoked conditionally." >&52.13028 +echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.2.13029 +Usually this means the macro was only invoked conditionally." >&2;}2.13030 + { (exit 1); exit 1; }; }2.13031 +fi2.13032 +if test -z "${am__fastdepCC_FOR_BUILD_TRUE}" && test -z "${am__fastdepCC_FOR_BUILD_FALSE}"; then2.13033 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC_FOR_BUILD\" was never defined.2.13034 +Usually this means the macro was only invoked conditionally." >&52.13035 +echo "$as_me: error: conditional \"am__fastdepCC_FOR_BUILD\" was never defined.2.13036 +Usually this means the macro was only invoked conditionally." >&2;}2.13037 + { (exit 1); exit 1; }; }2.13038 +fi2.13039 +if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then2.13040 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepOBJC\" was never defined.2.13041 +Usually this means the macro was only invoked conditionally." >&52.13042 +echo "$as_me: error: conditional \"am__fastdepOBJC\" was never defined.2.13043 +Usually this means the macro was only invoked conditionally." >&2;}2.13044 + { (exit 1); exit 1; }; }2.13045 +fi2.13046 if test -z "${GUI_ANDROID_TRUE}" && test -z "${GUI_ANDROID_FALSE}"; then2.13047 { { echo "$as_me:$LINENO: error: conditional \"GUI_ANDROID\" was never defined.2.13048 Usually this means the macro was only invoked conditionally." >&52.13049 @@ -16070,48 +16325,6 @@2.13050 Usually this means the macro was only invoked conditionally." >&2;}2.13051 { (exit 1); exit 1; }; }2.13052 fi2.13053 -if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then2.13054 - { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.2.13055 -Usually this means the macro was only invoked conditionally." >&52.13056 -echo "$as_me: error: conditional \"AMDEP\" was never defined.2.13057 -Usually this means the macro was only invoked conditionally." >&2;}2.13058 - { (exit 1); exit 1; }; }2.13059 -fi2.13060 -if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then2.13061 - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.2.13062 -Usually this means the macro was only invoked conditionally." >&52.13063 -echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.2.13064 -Usually this means the macro was only invoked conditionally." >&2;}2.13065 - { (exit 1); exit 1; }; }2.13066 -fi2.13067 -if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then2.13068 - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.2.13069 -Usually this means the macro was only invoked conditionally." >&52.13070 -echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.2.13071 -Usually this means the macro was only invoked conditionally." >&2;}2.13072 - { (exit 1); exit 1; }; }2.13073 -fi2.13074 -if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then2.13075 - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.2.13076 -Usually this means the macro was only invoked conditionally." >&52.13077 -echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.2.13078 -Usually this means the macro was only invoked conditionally." >&2;}2.13079 - { (exit 1); exit 1; }; }2.13080 -fi2.13081 -if test -z "${am__fastdepCC_FOR_BUILD_TRUE}" && test -z "${am__fastdepCC_FOR_BUILD_FALSE}"; then2.13082 - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC_FOR_BUILD\" was never defined.2.13083 -Usually this means the macro was only invoked conditionally." >&52.13084 -echo "$as_me: error: conditional \"am__fastdepCC_FOR_BUILD\" was never defined.2.13085 -Usually this means the macro was only invoked conditionally." >&2;}2.13086 - { (exit 1); exit 1; }; }2.13087 -fi2.13088 -if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then2.13089 - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepOBJC\" was never defined.2.13090 -Usually this means the macro was only invoked conditionally." >&52.13091 -echo "$as_me: error: conditional \"am__fastdepOBJC\" was never defined.2.13092 -Usually this means the macro was only invoked conditionally." >&2;}2.13093 - { (exit 1); exit 1; }; }2.13094 -fi2.13095 if test -z "${GUI_COCOA_TRUE}" && test -z "${GUI_COCOA_FALSE}"; then2.13096 { { echo "$as_me:$LINENO: error: conditional \"GUI_COCOA\" was never defined.2.13097 Usually this means the macro was only invoked conditionally." >&52.13098 @@ -16154,6 +16367,13 @@2.13099 Usually this means the macro was only invoked conditionally." >&2;}2.13100 { (exit 1); exit 1; }; }2.13101 fi2.13102 +if test -z "${VIDEO_EGL_TRUE}" && test -z "${VIDEO_EGL_FALSE}"; then2.13103 + { { echo "$as_me:$LINENO: error: conditional \"VIDEO_EGL\" was never defined.2.13104 +Usually this means the macro was only invoked conditionally." >&52.13105 +echo "$as_me: error: conditional \"VIDEO_EGL\" was never defined.2.13106 +Usually this means the macro was only invoked conditionally." >&2;}2.13107 + { (exit 1); exit 1; }; }2.13108 +fi2.13109 if test -z "${BUILD_SH4X86_TRUE}" && test -z "${BUILD_SH4X86_FALSE}"; then2.13110 { { echo "$as_me:$LINENO: error: conditional \"BUILD_SH4X86\" was never defined.2.13111 Usually this means the macro was only invoked conditionally." >&52.13112 @@ -16852,16 +17072,6 @@2.13113 host_cpu!$host_cpu$ac_delim2.13114 host_vendor!$host_vendor$ac_delim2.13115 host_os!$host_os$ac_delim2.13116 -ANT!$ANT$ac_delim2.13117 -ANDROID_ABI!$ANDROID_ABI$ac_delim2.13118 -ANDROID_SDK_HOME!$ANDROID_SDK_HOME$ac_delim2.13119 -ANDROID_NDK_HOME!$ANDROID_NDK_HOME$ac_delim2.13120 -ANDROID_SDK_VERSION!$ANDROID_SDK_VERSION$ac_delim2.13121 -ANDROID_NDK_VERSION!$ANDROID_NDK_VERSION$ac_delim2.13122 -ANDROID_GDBSERVER!$ANDROID_GDBSERVER$ac_delim2.13123 -GDB!$GDB$ac_delim2.13124 -GUI_ANDROID_TRUE!$GUI_ANDROID_TRUE$ac_delim2.13125 -GUI_ANDROID_FALSE!$GUI_ANDROID_FALSE$ac_delim2.13126 CC!$CC$ac_delim2.13127 CFLAGS!$CFLAGS$ac_delim2.13128 LDFLAGS!$LDFLAGS$ac_delim2.13129 @@ -16880,6 +17090,16 @@2.13130 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim2.13131 CPP!$CPP$ac_delim2.13132 CC!$CC$ac_delim2.13133 +CFLAGS!$CFLAGS$ac_delim2.13134 +CPPFLAGS!$CPPFLAGS$ac_delim2.13135 +CC_FOR_BUILD!$CC_FOR_BUILD$ac_delim2.13136 +ac_ct_CC_FOR_BUILD!$ac_ct_CC_FOR_BUILD$ac_delim2.13137 +CC_FOR_BUILDDEPMODE!$CC_FOR_BUILDDEPMODE$ac_delim2.13138 +am__fastdepCC_FOR_BUILD_TRUE!$am__fastdepCC_FOR_BUILD_TRUE$ac_delim2.13139 +am__fastdepCC_FOR_BUILD_FALSE!$am__fastdepCC_FOR_BUILD_FALSE$ac_delim2.13140 +CPP!$CPP$ac_delim2.13141 +CPPFLAGS!$CPPFLAGS$ac_delim2.13142 +CPP_FOR_BUILD!$CPP_FOR_BUILD$ac_delim2.13143 _ACEOF2.13145 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then2.13146 @@ -16921,16 +17141,6 @@2.13147 ac_delim='%!_!# '2.13148 for ac_last_try in false false false false false :; do2.13149 cat >conf$$subs.sed <<_ACEOF2.13150 -CFLAGS!$CFLAGS$ac_delim2.13151 -CPPFLAGS!$CPPFLAGS$ac_delim2.13152 -CC_FOR_BUILD!$CC_FOR_BUILD$ac_delim2.13153 -ac_ct_CC_FOR_BUILD!$ac_ct_CC_FOR_BUILD$ac_delim2.13154 -CC_FOR_BUILDDEPMODE!$CC_FOR_BUILDDEPMODE$ac_delim2.13155 -am__fastdepCC_FOR_BUILD_TRUE!$am__fastdepCC_FOR_BUILD_TRUE$ac_delim2.13156 -am__fastdepCC_FOR_BUILD_FALSE!$am__fastdepCC_FOR_BUILD_FALSE$ac_delim2.13157 -CPP!$CPP$ac_delim2.13158 -CPPFLAGS!$CPPFLAGS$ac_delim2.13159 -CPP_FOR_BUILD!$CPP_FOR_BUILD$ac_delim2.13160 BUILD_EXEEXT!$BUILD_EXEEXT$ac_delim2.13161 BUILD_OBJEXT!$BUILD_OBJEXT$ac_delim2.13162 CFLAGS_FOR_BUILD!$CFLAGS_FOR_BUILD$ac_delim2.13163 @@ -16949,6 +17159,15 @@2.13164 am__fastdepOBJC_FALSE!$am__fastdepOBJC_FALSE$ac_delim2.13165 POD2MAN!$POD2MAN$ac_delim2.13166 POD2HTML!$POD2HTML$ac_delim2.13167 +ANT!$ANT$ac_delim2.13168 +ANDROID_ABI!$ANDROID_ABI$ac_delim2.13169 +ANDROID_SDK_HOME!$ANDROID_SDK_HOME$ac_delim2.13170 +ANDROID_NDK_HOME!$ANDROID_NDK_HOME$ac_delim2.13171 +ANDROID_SDK_VERSION!$ANDROID_SDK_VERSION$ac_delim2.13172 +ANDROID_NDK_VERSION!$ANDROID_NDK_VERSION$ac_delim2.13173 +ANDROID_GDBSERVER!$ANDROID_GDBSERVER$ac_delim2.13174 +GUI_ANDROID_TRUE!$GUI_ANDROID_TRUE$ac_delim2.13175 +GUI_ANDROID_FALSE!$GUI_ANDROID_FALSE$ac_delim2.13176 GUI_COCOA_TRUE!$GUI_COCOA_TRUE$ac_delim2.13177 GUI_COCOA_FALSE!$GUI_COCOA_FALSE$ac_delim2.13178 SOEXT!$SOEXT$ac_delim2.13179 @@ -16979,6 +17198,8 @@2.13180 VIDEO_GLX_FALSE!$VIDEO_GLX_FALSE$ac_delim2.13181 VIDEO_NSGL_TRUE!$VIDEO_NSGL_TRUE$ac_delim2.13182 VIDEO_NSGL_FALSE!$VIDEO_NSGL_FALSE$ac_delim2.13183 +VIDEO_EGL_TRUE!$VIDEO_EGL_TRUE$ac_delim2.13184 +VIDEO_EGL_FALSE!$VIDEO_EGL_FALSE$ac_delim2.13185 BUILD_SH4X86_TRUE!$BUILD_SH4X86_TRUE$ac_delim2.13186 BUILD_SH4X86_FALSE!$BUILD_SH4X86_FALSE$ac_delim2.13187 AUDIO_OSX_TRUE!$AUDIO_OSX_TRUE$ac_delim2.13188 @@ -17017,7 +17238,6 @@2.13189 ARMOBJCOPY!$ARMOBJCOPY$ac_delim2.13190 BUILD_SYSTEST_TRUE!$BUILD_SYSTEST_TRUE$ac_delim2.13191 BUILD_SYSTEST_FALSE!$BUILD_SYSTEST_FALSE$ac_delim2.13192 -BUILD_ARMTEST_TRUE!$BUILD_ARMTEST_TRUE$ac_delim2.13193 _ACEOF2.13195 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then2.13196 @@ -17059,6 +17279,7 @@2.13197 ac_delim='%!_!# '2.13198 for ac_last_try in false false false false false :; do2.13199 cat >conf$$subs.sed <<_ACEOF2.13200 +BUILD_ARMTEST_TRUE!$BUILD_ARMTEST_TRUE$ac_delim2.13201 BUILD_ARMTEST_FALSE!$BUILD_ARMTEST_FALSE$ac_delim2.13202 LXDREAM_LIBS!$LXDREAM_LIBS$ac_delim2.13203 GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim2.13204 @@ -17082,7 +17303,7 @@2.13205 LTLIBOBJS!$LTLIBOBJS$ac_delim2.13206 _ACEOF2.13208 - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 21; then2.13209 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 22; then2.13210 break2.13211 elif $ac_last_try; then2.13212 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3.1 --- a/configure.in Sun Jul 01 13:19:27 2012 +10003.2 +++ b/configure.in Sun Jul 01 13:20:34 2012 +10003.3 @@ -10,7 +10,6 @@3.5 m4_include([m4/ccforbuild.m4])3.6 m4_include([m4/android.m4])3.7 -LX_ANDROID_BUILD3.9 AC_ISC_POSIX3.10 AC_PROG_CC3.11 @@ -79,16 +78,30 @@3.12 AC_ARG_WITH( sdl,3.13 AS_HELP_STRING( [--with-sdl], [Build with support for SDL audio]) )3.15 +AC_ARG_WITH( sysroot,3.16 + AS_HELP_STRING( [--with-sysroot=SYSROOT], [Build using an alternate sysroot]),3.17 + [ m4_pattern_allow([PKG_CONFIG_LIBDIR])3.18 + if test -d "$with_sysroot/lib/pkgconfig"; then3.19 + LDFLAGS="$LDFLAGS -L$with_sysroot/lib"3.20 + CPPFLAGS="$CPPFLAGS -I$with_sysroot/include"3.21 + BUILD_PKG_CONFIG_LIBDIR="$PKG_CONFIG_LIBDIR"3.22 + TARGET_PKG_CONFIG_LIBDIR="$with_sysroot/lib/pkgconfig"3.23 + PKG_CONFIG_LIBDIR="$TARGET_PKG_CONFIG_LIBDIR"3.24 + export PKG_CONFIG_LIBDIR;3.25 + else3.26 + AC_MSG_FAILURE([pkg-config directory $with_sysroot/lib/pkgconfig not found, when using --with-sysroot=$with_sysroot option])3.27 + fi3.28 + ])3.29 +3.30 +LX_ANDROID_BUILD3.31 +3.32 dnl ------------ Check if we're building on Darwin or Android --------------3.34 dnl For starters, do we have a working objective-c compiler?3.35 if test "$ANDROID_BUILD" = "yes"; then3.36 with_gtk=no;3.37 EXTRA_OUTPUT_FILES="src/android/build.properties"3.38 - LIBS="-lEGL -lGLESv2 $LIBS"3.39 - AC_DEFINE(HAVE_GLES2, 1, [Using GLESv2])3.40 UI_DRIVER="Android"3.41 - VIDEO_DRIVERS="egl"3.42 with_sdl=no3.43 else3.44 AC_HAVE_OBJC([3.45 @@ -255,7 +268,17 @@3.46 fi3.48 AC_PUSH_CC_FOR_BUILD3.49 +if test "$BUILD_PKG_CONFIG_LIBDIR" != "$TARGET_PKG_CONFIG_LIBDIR"; then3.50 + PKG_CONFIG_LIBDIR="$BUILD_PKG_CONFIG_LIBDIR";3.51 + if test "x$PKG_CONFIG_LIBDIR" = "x"; then3.52 + export -n PKG_CONFIG_LIBDIR3.53 + fi3.54 +fi3.55 PKG_CHECK_MODULES(GLIB_FOR_BUILD, glib-2.0)3.56 +if test "$BUILD_PKG_CONFIG_LIBDIR" != "$TARGET_PKG_CONFIG_LIBDIR"; then3.57 + PKG_CONFIG_LIBDIR="$TARGET_PKG_CONFIG_LIBDIR";3.58 + export PKG_CONFIG_LIBDIR3.59 +fi3.60 AC_POP_CC_FOR_BUILD3.62 AM_CONDITIONAL(GUI_GTK, [test "$HAVE_GTK" = 'yes'])3.63 @@ -281,39 +304,45 @@3.65 dnl Otherwise we want a real GL library (unless we're on darwin or android, in which case it's already3.66 dnl taken care of above).3.67 - if test "x$APPLE_BUILD" != 'xyes' -a "x$ANDROID_BUILD" != 'xyes'; then3.68 - PKG_CHECK_MODULES(LIBGL, [gl] )3.69 - dnl AC_CHECK_LIB(GL, glVertex3f, [], [3.70 - dnl AC_MSG_FAILURE( ["The OpenGL library (libGL.so) could not be found, but is required."])])3.71 - dnl AC_CHECK_HEADER([GL/gl.h], [], [3.72 - dnl AC_MSG_FAILURE( ["The OpenGL header files (eg GL/gl.h) could not be found, but are required."])])3.73 - LIBS="$LIBS $LIBGL_LIBS";3.74 - CPPFLAGS="$CPPFLAGS $LIBGL_CFLAGS";3.75 + if test "x$APPLE_BUILD" != 'xyes'; then3.76 + PKG_CHECK_MODULES(LIBGL, [gl], [3.77 + LIBS="$LIBS $LIBGL_LIBS";3.78 + CPPFLAGS="$CPPFLAGS $LIBGL_CFLAGS";3.79 + ], [3.80 + dnl GL library not found, try for GLESv2 + EGL3.81 + AC_CHECK_LIB(GLESv2, glEnable, [LIBS="-lGLESv2 $LIBS"; HAVE_GLES2='yes'],3.82 + [ AC_MSG_FAILURE([Neither the OpenGL library (libGL.so) nor the OpenGL ES 2.0 library (libGLESv2.so) could be found, but one is required.]) ])3.83 + ])3.84 +3.85 else3.86 AC_CHECK_FUNC(NSOpenGLGetVersion, [3.87 HAVE_NSGL='yes'3.88 VIDEO_DRIVERS="$VIDEO_DRIVERS nsgl"3.89 AC_DEFINE([HAVE_NSGL],1, [Have NSOpenGL support]) ] )3.90 + if test "x$HAVE_GTK_X11" = "xyes"; then3.91 + LIBS="$LIBS -L/usr/X11/lib -lGL"3.92 + fi3.93 fi3.95 dnl Now work out how to get from the UI to GL - this is usually the painful part.3.96 - if test "x$HAVE_GTK_X11" = "xyes"; then3.97 - if test "x$APPLE_BUILD" = "xyes"; then3.98 - LIBS="$LIBS -L/usr/X11/lib -lGL"3.99 - fi3.100 - AC_CHECK_FUNC(glXQueryVersion, [3.101 - HAVE_GLX='yes'3.102 - VIDEO_DRIVERS="$VIDEO_DRIVERS glx"3.103 - AC_DEFINE([HAVE_GLX], 1, [Have GLX support]) ] )3.104 - fi3.105 -3.106 + AC_CHECK_FUNC(glXQueryVersion, [3.107 + HAVE_GLX='yes'3.108 + VIDEO_DRIVERS="$VIDEO_DRIVERS glx"3.109 + AC_DEFINE([HAVE_GLX], 1, [Have GLX support]) ] )3.110 + AC_CHECK_LIB(EGL, eglGetDisplay, [3.111 + LIBS="-lEGL $LIBS"3.112 + HAVE_EGL='yes'3.113 + VIDEO_DRIVERS="$VIDEO_DRIVERS egl"])3.114 ])3.116 -3.117 +if test "x$HAVE_GLES2" = "xyes"; then3.118 + AC_DEFINE(HAVE_GLES2, 1, [Using GLESv2])3.119 +fi3.121 AM_CONDITIONAL(VIDEO_OSMESA, [test "x$HAVE_OSMESA" = "xyes"])3.122 AM_CONDITIONAL(VIDEO_GLX, [test "x$HAVE_GLX" = "xyes"])3.123 AM_CONDITIONAL(VIDEO_NSGL, [test "x$HAVE_NSGL" = "xyes"])3.124 +AM_CONDITIONAL(VIDEO_EGL, [test "x$HAVE_EGL" = "xyes"])3.126 dnl Check for optional (but highly desireable) OpenGL features3.127 AC_CHECK_FUNC(glGenFramebuffers, [ AC_DEFINE([HAVE_OPENGL_FBO],1,[Have 2.0 framebuffer_object support]) ], [])
4.1 --- a/src/Makefile.am Sun Jul 01 13:19:27 2012 +10004.2 +++ b/src/Makefile.am Sun Jul 01 13:20:34 2012 +10004.3 @@ -116,7 +116,7 @@4.4 endif4.6 if GUI_ANDROID4.7 -lxdream_SOURCES += gui_none.c drivers/video_egl.c drivers/video_egl.h4.8 +lxdream_SOURCES += gui_none.c4.9 noinst_PROGRAMS=liblxdream.so4.10 liblxdream_so_LINK = $(LINK) -Wl,-soname,liblxdream.so -shared4.11 liblxdream_so_LDADD = liblxdream-core.a @GLIB_LIBS@ @GTK_LIBS@ @LIBPNG_LIBS@ @LIBISOFS_LIBS@ $(INTLLIBS) @LXDREAM_LIBS@ -lm4.12 @@ -145,6 +145,10 @@4.13 lxdream_SOURCES += drivers/video_nsgl.m drivers/video_nsgl.h4.14 endif4.16 +if VIDEO_EGL4.17 +lxdream_SOURCES += drivers/video_egl.c drivers/video_egl.h4.18 +endif4.19 +4.20 if AUDIO_OSX4.21 lxdream_SOURCES += drivers/audio_osx.m4.22 endif
5.1 --- a/src/Makefile.in Sun Jul 01 13:19:27 2012 +10005.2 +++ b/src/Makefile.in Sun Jul 01 13:20:34 2012 +10005.3 @@ -60,7 +60,7 @@5.4 @GUI_GTK_TRUE@ gtkui/gtk_ctrl.c gtkui/gtk_gd.c \5.5 @GUI_GTK_TRUE@ drivers/video_gtk.c5.7 -@GUI_ANDROID_TRUE@am__append_5 = gui_none.c drivers/video_egl.c drivers/video_egl.h5.8 +@GUI_ANDROID_TRUE@am__append_5 = gui_none.c5.9 @GUI_ANDROID_TRUE@noinst_PROGRAMS = liblxdream.so$(EXEEXT)5.10 @GUI_COCOA_TRUE@am__append_6 = cocoaui/paths_osx.m drivers/io_osx.m drivers/mac_keymap.h drivers/mac_keymap.txt5.11 @GUI_COCOA_TRUE@am__append_7 = cocoaui/cocoaui.m cocoaui/cocoaui.h cocoaui/cocoa_cfg.m \5.12 @@ -71,27 +71,28 @@5.13 @VIDEO_OSMESA_TRUE@am__append_9 = drivers/video_gdk.c5.14 @VIDEO_GLX_TRUE@am__append_10 = drivers/video_glx.c drivers/video_glx.h5.15 @VIDEO_NSGL_TRUE@am__append_11 = drivers/video_nsgl.m drivers/video_nsgl.h5.16 -@AUDIO_OSX_TRUE@am__append_12 = drivers/audio_osx.m5.17 -@BUILD_PLUGINS_TRUE@am__append_13 = lxdream_dummy.@SOEXT@5.18 -@AUDIO_SDL_TRUE@@BUILD_PLUGINS_TRUE@am__append_14 = audio_sdl.@SOEXT@5.19 -@AUDIO_PULSE_TRUE@@BUILD_PLUGINS_TRUE@am__append_15 = audio_pulse.@SOEXT@5.20 -@AUDIO_ESOUND_TRUE@@BUILD_PLUGINS_TRUE@am__append_16 = audio_esd.@SOEXT@5.21 -@AUDIO_ALSA_TRUE@@BUILD_PLUGINS_TRUE@am__append_17 = audio_alsa.@SOEXT@5.22 -@BUILD_PLUGINS_TRUE@@INPUT_LIRC_TRUE@am__append_18 = input_lirc.@SOEXT@5.23 -@AUDIO_SDL_TRUE@@BUILD_PLUGINS_FALSE@am__append_19 = drivers/audio_sdl.c5.24 -@AUDIO_SDL_TRUE@@BUILD_PLUGINS_FALSE@am__append_20 = @SDL_LIBS@5.25 -@AUDIO_PULSE_TRUE@@BUILD_PLUGINS_FALSE@am__append_21 = drivers/audio_pulse.c5.26 -@AUDIO_PULSE_TRUE@@BUILD_PLUGINS_FALSE@am__append_22 = @PULSE_LIBS@5.27 -@AUDIO_ESOUND_TRUE@@BUILD_PLUGINS_FALSE@am__append_23 = drivers/audio_esd.c5.28 -@AUDIO_ESOUND_TRUE@@BUILD_PLUGINS_FALSE@am__append_24 = @ESOUND_LIBS@5.29 -@AUDIO_ALSA_TRUE@@BUILD_PLUGINS_FALSE@am__append_25 = drivers/audio_alsa.c5.30 -@AUDIO_ALSA_TRUE@@BUILD_PLUGINS_FALSE@am__append_26 = @ALSA_LIBS@5.31 -@BUILD_PLUGINS_FALSE@@INPUT_LIRC_TRUE@am__append_27 = drivers/input_lirc.c5.32 -@BUILD_PLUGINS_FALSE@@INPUT_LIRC_TRUE@am__append_28 = -llirc_client5.33 -@CDROM_LINUX_TRUE@am__append_29 = drivers/cdrom/cd_linux.c5.34 -@CDROM_OSX_TRUE@am__append_30 = drivers/cdrom/cd_osx.c drivers/osx_iokit.m drivers/osx_iokit.h5.35 -@CDROM_NONE_TRUE@am__append_31 = drivers/cdrom/cd_none.c5.36 -@JOY_LINUX_TRUE@am__append_32 = drivers/joy_linux.c drivers/joy_linux.h5.37 +@VIDEO_EGL_TRUE@am__append_12 = drivers/video_egl.c drivers/video_egl.h5.38 +@AUDIO_OSX_TRUE@am__append_13 = drivers/audio_osx.m5.39 +@BUILD_PLUGINS_TRUE@am__append_14 = lxdream_dummy.@SOEXT@5.40 +@AUDIO_SDL_TRUE@@BUILD_PLUGINS_TRUE@am__append_15 = audio_sdl.@SOEXT@5.41 +@AUDIO_PULSE_TRUE@@BUILD_PLUGINS_TRUE@am__append_16 = audio_pulse.@SOEXT@5.42 +@AUDIO_ESOUND_TRUE@@BUILD_PLUGINS_TRUE@am__append_17 = audio_esd.@SOEXT@5.43 +@AUDIO_ALSA_TRUE@@BUILD_PLUGINS_TRUE@am__append_18 = audio_alsa.@SOEXT@5.44 +@BUILD_PLUGINS_TRUE@@INPUT_LIRC_TRUE@am__append_19 = input_lirc.@SOEXT@5.45 +@AUDIO_SDL_TRUE@@BUILD_PLUGINS_FALSE@am__append_20 = drivers/audio_sdl.c5.46 +@AUDIO_SDL_TRUE@@BUILD_PLUGINS_FALSE@am__append_21 = @SDL_LIBS@5.47 +@AUDIO_PULSE_TRUE@@BUILD_PLUGINS_FALSE@am__append_22 = drivers/audio_pulse.c5.48 +@AUDIO_PULSE_TRUE@@BUILD_PLUGINS_FALSE@am__append_23 = @PULSE_LIBS@5.49 +@AUDIO_ESOUND_TRUE@@BUILD_PLUGINS_FALSE@am__append_24 = drivers/audio_esd.c5.50 +@AUDIO_ESOUND_TRUE@@BUILD_PLUGINS_FALSE@am__append_25 = @ESOUND_LIBS@5.51 +@AUDIO_ALSA_TRUE@@BUILD_PLUGINS_FALSE@am__append_26 = drivers/audio_alsa.c5.52 +@AUDIO_ALSA_TRUE@@BUILD_PLUGINS_FALSE@am__append_27 = @ALSA_LIBS@5.53 +@BUILD_PLUGINS_FALSE@@INPUT_LIRC_TRUE@am__append_28 = drivers/input_lirc.c5.54 +@BUILD_PLUGINS_FALSE@@INPUT_LIRC_TRUE@am__append_29 = -llirc_client5.55 +@CDROM_LINUX_TRUE@am__append_30 = drivers/cdrom/cd_linux.c5.56 +@CDROM_OSX_TRUE@am__append_31 = drivers/cdrom/cd_osx.c drivers/osx_iokit.m drivers/osx_iokit.h5.57 +@CDROM_NONE_TRUE@am__append_32 = drivers/cdrom/cd_none.c5.58 +@JOY_LINUX_TRUE@am__append_33 = drivers/joy_linux.c drivers/joy_linux.h5.59 subdir = src5.60 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in5.61 ACLOCAL_M4 = $(top_srcdir)/aclocal.m45.62 @@ -296,11 +297,11 @@5.63 gtkui/gtkui.h gtkui/gtk_win.c gtkui/gtkcb.c gtkui/gtk_cfg.c \5.64 gtkui/gtk_mmio.c gtkui/gtk_debug.c gtkui/gtk_dump.c \5.65 gtkui/gtk_ctrl.c gtkui/gtk_gd.c drivers/video_gtk.c gui_none.c \5.66 - drivers/video_egl.c drivers/video_egl.h cocoaui/cocoaui.m \5.67 - cocoaui/cocoaui.h cocoaui/cocoa_cfg.m cocoaui/cocoa_win.m \5.68 - cocoaui/cocoa_gd.m cocoaui/cocoa_prefs.m cocoaui/cocoa_ctrl.m \5.69 - drivers/video_osx.m drivers/video_gdk.c drivers/video_glx.c \5.70 - drivers/video_glx.h drivers/video_nsgl.m drivers/video_nsgl.h \5.71 + cocoaui/cocoaui.m cocoaui/cocoaui.h cocoaui/cocoa_cfg.m \5.72 + cocoaui/cocoa_win.m cocoaui/cocoa_gd.m cocoaui/cocoa_prefs.m \5.73 + cocoaui/cocoa_ctrl.m drivers/video_osx.m drivers/video_gdk.c \5.74 + drivers/video_glx.c drivers/video_glx.h drivers/video_nsgl.m \5.75 + drivers/video_nsgl.h drivers/video_egl.c drivers/video_egl.h \5.76 drivers/audio_osx.m drivers/audio_sdl.c drivers/audio_pulse.c \5.77 drivers/audio_esd.c drivers/audio_alsa.c drivers/input_lirc.c \5.78 drivers/cdrom/cd_linux.c drivers/cdrom/cd_osx.c \5.79 @@ -318,8 +319,7 @@5.80 @GUI_GTK_TRUE@ lxdream-gtk_ctrl.$(OBJEXT) \5.81 @GUI_GTK_TRUE@ lxdream-gtk_gd.$(OBJEXT) \5.82 @GUI_GTK_TRUE@ lxdream-video_gtk.$(OBJEXT)5.83 -@GUI_ANDROID_TRUE@am__objects_6 = lxdream-gui_none.$(OBJEXT) \5.84 -@GUI_ANDROID_TRUE@ lxdream-video_egl.$(OBJEXT)5.85 +@GUI_ANDROID_TRUE@am__objects_6 = lxdream-gui_none.$(OBJEXT)5.86 @GUI_COCOA_TRUE@am__objects_7 = lxdream-cocoaui.$(OBJEXT) \5.87 @GUI_COCOA_TRUE@ lxdream-cocoa_cfg.$(OBJEXT) \5.88 @GUI_COCOA_TRUE@ lxdream-cocoa_win.$(OBJEXT) \5.89 @@ -330,24 +330,25 @@5.90 @VIDEO_OSMESA_TRUE@am__objects_8 = lxdream-video_gdk.$(OBJEXT)5.91 @VIDEO_GLX_TRUE@am__objects_9 = lxdream-video_glx.$(OBJEXT)5.92 @VIDEO_NSGL_TRUE@am__objects_10 = lxdream-video_nsgl.$(OBJEXT)5.93 -@AUDIO_OSX_TRUE@am__objects_11 = lxdream-audio_osx.$(OBJEXT)5.94 -@AUDIO_SDL_TRUE@@BUILD_PLUGINS_FALSE@am__objects_12 = lxdream-audio_sdl.$(OBJEXT)5.95 -@AUDIO_PULSE_TRUE@@BUILD_PLUGINS_FALSE@am__objects_13 = lxdream-audio_pulse.$(OBJEXT)5.96 -@AUDIO_ESOUND_TRUE@@BUILD_PLUGINS_FALSE@am__objects_14 = lxdream-audio_esd.$(OBJEXT)5.97 -@AUDIO_ALSA_TRUE@@BUILD_PLUGINS_FALSE@am__objects_15 = lxdream-audio_alsa.$(OBJEXT)5.98 -@BUILD_PLUGINS_FALSE@@INPUT_LIRC_TRUE@am__objects_16 = lxdream-input_lirc.$(OBJEXT)5.99 -@CDROM_LINUX_TRUE@am__objects_17 = lxdream-cd_linux.$(OBJEXT)5.100 -@CDROM_OSX_TRUE@am__objects_18 = lxdream-cd_osx.$(OBJEXT) \5.101 +@VIDEO_EGL_TRUE@am__objects_11 = lxdream-video_egl.$(OBJEXT)5.102 +@AUDIO_OSX_TRUE@am__objects_12 = lxdream-audio_osx.$(OBJEXT)5.103 +@AUDIO_SDL_TRUE@@BUILD_PLUGINS_FALSE@am__objects_13 = lxdream-audio_sdl.$(OBJEXT)5.104 +@AUDIO_PULSE_TRUE@@BUILD_PLUGINS_FALSE@am__objects_14 = lxdream-audio_pulse.$(OBJEXT)5.105 +@AUDIO_ESOUND_TRUE@@BUILD_PLUGINS_FALSE@am__objects_15 = lxdream-audio_esd.$(OBJEXT)5.106 +@AUDIO_ALSA_TRUE@@BUILD_PLUGINS_FALSE@am__objects_16 = lxdream-audio_alsa.$(OBJEXT)5.107 +@BUILD_PLUGINS_FALSE@@INPUT_LIRC_TRUE@am__objects_17 = lxdream-input_lirc.$(OBJEXT)5.108 +@CDROM_LINUX_TRUE@am__objects_18 = lxdream-cd_linux.$(OBJEXT)5.109 +@CDROM_OSX_TRUE@am__objects_19 = lxdream-cd_osx.$(OBJEXT) \5.110 @CDROM_OSX_TRUE@ lxdream-osx_iokit.$(OBJEXT)5.111 -@CDROM_NONE_TRUE@am__objects_19 = lxdream-cd_none.$(OBJEXT)5.112 -@JOY_LINUX_TRUE@am__objects_20 = lxdream-joy_linux.$(OBJEXT)5.113 +@CDROM_NONE_TRUE@am__objects_20 = lxdream-cd_none.$(OBJEXT)5.114 +@JOY_LINUX_TRUE@am__objects_21 = lxdream-joy_linux.$(OBJEXT)5.115 am_lxdream_OBJECTS = lxdream-main.$(OBJEXT) $(am__objects_4) \5.116 $(am__objects_5) $(am__objects_6) $(am__objects_7) \5.117 $(am__objects_8) $(am__objects_9) $(am__objects_10) \5.118 $(am__objects_11) $(am__objects_12) $(am__objects_13) \5.119 $(am__objects_14) $(am__objects_15) $(am__objects_16) \5.120 $(am__objects_17) $(am__objects_18) $(am__objects_19) \5.121 - $(am__objects_20)5.122 + $(am__objects_20) $(am__objects_21)5.123 lxdream_OBJECTS = $(am_lxdream_OBJECTS)5.124 lxdream_DEPENDENCIES = liblxdream-core.a $(am__DEPENDENCIES_1) \5.125 $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \5.126 @@ -576,6 +577,8 @@5.127 STRIP = @STRIP@5.128 USE_NLS = @USE_NLS@5.129 VERSION = @VERSION@5.130 +VIDEO_EGL_FALSE = @VIDEO_EGL_FALSE@5.131 +VIDEO_EGL_TRUE = @VIDEO_EGL_TRUE@5.132 VIDEO_GLX_FALSE = @VIDEO_GLX_FALSE@5.133 VIDEO_GLX_TRUE = @VIDEO_GLX_TRUE@5.134 VIDEO_NSGL_FALSE = @VIDEO_NSGL_FALSE@5.135 @@ -655,15 +658,16 @@5.137 lxdream_LINK = $(LINK) @LXDREAMLDFLAGS@5.138 lxdream_LDADD = liblxdream-core.a @GLIB_LIBS@ @GTK_LIBS@ @LIBPNG_LIBS@ \5.139 - @LIBISOFS_LIBS@ $(INTLLIBS) @LXDREAM_LIBS@ $(am__append_20) \5.140 - $(am__append_22) $(am__append_24) $(am__append_26) \5.141 - $(am__append_28)5.142 + @LIBISOFS_LIBS@ $(INTLLIBS) @LXDREAM_LIBS@ $(am__append_21) \5.143 + $(am__append_23) $(am__append_25) $(am__append_27) \5.144 + $(am__append_29)5.145 lxdream_SOURCES = main.c $(am__append_1) $(am__append_4) \5.146 $(am__append_5) $(am__append_7) $(am__append_9) \5.147 $(am__append_10) $(am__append_11) $(am__append_12) \5.148 - $(am__append_19) $(am__append_21) $(am__append_23) \5.149 - $(am__append_25) $(am__append_27) $(am__append_29) \5.150 - $(am__append_30) $(am__append_31) $(am__append_32)5.151 + $(am__append_13) $(am__append_20) $(am__append_22) \5.152 + $(am__append_24) $(am__append_26) $(am__append_28) \5.153 + $(am__append_30) $(am__append_31) $(am__append_32) \5.154 + $(am__append_33)5.155 lxdream_LIBS = liblxdream-core.a5.156 lxdream_CPPFLAGS = @LXDREAMCPPFLAGS@5.157 noinst_LIBRARIES = liblxdream-core.a5.158 @@ -2516,20 +2520,6 @@5.159 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@5.160 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lxdream_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lxdream-gui_none.obj `if test -f 'gui_none.c'; then $(CYGPATH_W) 'gui_none.c'; else $(CYGPATH_W) '$(srcdir)/gui_none.c'; fi`5.162 -lxdream-video_egl.o: drivers/video_egl.c5.163 -@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lxdream_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lxdream-video_egl.o -MD -MP -MF "$(DEPDIR)/lxdream-video_egl.Tpo" -c -o lxdream-video_egl.o `test -f 'drivers/video_egl.c' || echo '$(srcdir)/'`drivers/video_egl.c; \5.164 -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/lxdream-video_egl.Tpo" "$(DEPDIR)/lxdream-video_egl.Po"; else rm -f "$(DEPDIR)/lxdream-video_egl.Tpo"; exit 1; fi5.165 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='drivers/video_egl.c' object='lxdream-video_egl.o' libtool=no @AMDEPBACKSLASH@5.166 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@5.167 -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lxdream_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lxdream-video_egl.o `test -f 'drivers/video_egl.c' || echo '$(srcdir)/'`drivers/video_egl.c5.168 -5.169 -lxdream-video_egl.obj: drivers/video_egl.c5.170 -@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lxdream_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lxdream-video_egl.obj -MD -MP -MF "$(DEPDIR)/lxdream-video_egl.Tpo" -c -o lxdream-video_egl.obj `if test -f 'drivers/video_egl.c'; then $(CYGPATH_W) 'drivers/video_egl.c'; else $(CYGPATH_W) '$(srcdir)/drivers/video_egl.c'; fi`; \5.171 -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/lxdream-video_egl.Tpo" "$(DEPDIR)/lxdream-video_egl.Po"; else rm -f "$(DEPDIR)/lxdream-video_egl.Tpo"; exit 1; fi5.172 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='drivers/video_egl.c' object='lxdream-video_egl.obj' libtool=no @AMDEPBACKSLASH@5.173 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@5.174 -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lxdream_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lxdream-video_egl.obj `if test -f 'drivers/video_egl.c'; then $(CYGPATH_W) 'drivers/video_egl.c'; else $(CYGPATH_W) '$(srcdir)/drivers/video_egl.c'; fi`5.175 -5.176 lxdream-video_gdk.o: drivers/video_gdk.c5.177 @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lxdream_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lxdream-video_gdk.o -MD -MP -MF "$(DEPDIR)/lxdream-video_gdk.Tpo" -c -o lxdream-video_gdk.o `test -f 'drivers/video_gdk.c' || echo '$(srcdir)/'`drivers/video_gdk.c; \5.178 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/lxdream-video_gdk.Tpo" "$(DEPDIR)/lxdream-video_gdk.Po"; else rm -f "$(DEPDIR)/lxdream-video_gdk.Tpo"; exit 1; fi5.179 @@ -2558,6 +2548,20 @@5.180 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@5.181 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lxdream_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lxdream-video_glx.obj `if test -f 'drivers/video_glx.c'; then $(CYGPATH_W) 'drivers/video_glx.c'; else $(CYGPATH_W) '$(srcdir)/drivers/video_glx.c'; fi`5.183 +lxdream-video_egl.o: drivers/video_egl.c5.184 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lxdream_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lxdream-video_egl.o -MD -MP -MF "$(DEPDIR)/lxdream-video_egl.Tpo" -c -o lxdream-video_egl.o `test -f 'drivers/video_egl.c' || echo '$(srcdir)/'`drivers/video_egl.c; \5.185 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/lxdream-video_egl.Tpo" "$(DEPDIR)/lxdream-video_egl.Po"; else rm -f "$(DEPDIR)/lxdream-video_egl.Tpo"; exit 1; fi5.186 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='drivers/video_egl.c' object='lxdream-video_egl.o' libtool=no @AMDEPBACKSLASH@5.187 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@5.188 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lxdream_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lxdream-video_egl.o `test -f 'drivers/video_egl.c' || echo '$(srcdir)/'`drivers/video_egl.c5.189 +5.190 +lxdream-video_egl.obj: drivers/video_egl.c5.191 +@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lxdream_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lxdream-video_egl.obj -MD -MP -MF "$(DEPDIR)/lxdream-video_egl.Tpo" -c -o lxdream-video_egl.obj `if test -f 'drivers/video_egl.c'; then $(CYGPATH_W) 'drivers/video_egl.c'; else $(CYGPATH_W) '$(srcdir)/drivers/video_egl.c'; fi`; \5.192 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/lxdream-video_egl.Tpo" "$(DEPDIR)/lxdream-video_egl.Po"; else rm -f "$(DEPDIR)/lxdream-video_egl.Tpo"; exit 1; fi5.193 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='drivers/video_egl.c' object='lxdream-video_egl.obj' libtool=no @AMDEPBACKSLASH@5.194 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@5.195 +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lxdream_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lxdream-video_egl.obj `if test -f 'drivers/video_egl.c'; then $(CYGPATH_W) 'drivers/video_egl.c'; else $(CYGPATH_W) '$(srcdir)/drivers/video_egl.c'; fi`5.196 +5.197 lxdream-audio_sdl.o: drivers/audio_sdl.c5.198 @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lxdream_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lxdream-audio_sdl.o -MD -MP -MF "$(DEPDIR)/lxdream-audio_sdl.Tpo" -c -o lxdream-audio_sdl.o `test -f 'drivers/audio_sdl.c' || echo '$(srcdir)/'`drivers/audio_sdl.c; \5.199 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/lxdream-audio_sdl.Tpo" "$(DEPDIR)/lxdream-audio_sdl.Po"; else rm -f "$(DEPDIR)/lxdream-audio_sdl.Tpo"; exit 1; fi
6.1 --- a/src/drivers/gl_sl.c Sun Jul 01 13:19:27 2012 +10006.2 +++ b/src/drivers/gl_sl.c Sun Jul 01 13:20:34 2012 +10006.3 @@ -316,12 +316,12 @@6.4 {6.5 }6.7 -static static inline GLint glsl_get_uniform_location(gl_program_t program, const char *name)6.8 +static inline GLint glsl_get_uniform_location(gl_program_t program, const char *name)6.9 {6.10 return 0;6.11 }6.13 -static static inline GLint glsl_get_attrib_location(gl_program_t program, const char *name)6.14 +static inline GLint glsl_get_attrib_location(gl_program_t program, const char *name)6.15 {6.16 return 0;6.17 }
7.1 --- a/src/drivers/video_egl.c Sun Jul 01 13:19:27 2012 +10007.2 +++ b/src/drivers/video_egl.c Sun Jul 01 13:20:34 2012 +10007.3 @@ -72,6 +72,13 @@7.4 EGL_RENDERABLE_TYPE,EGL_OPENGL_ES2_BIT,7.5 EGL_NONE, EGL_NONE };7.7 +static const EGLint alt_attributes[] = {7.8 + EGL_DEPTH_SIZE, 16,7.9 + EGL_STENCIL_SIZE, 8,7.10 + EGL_SURFACE_TYPE, EGL_WINDOW_BIT,7.11 + EGL_RENDERABLE_TYPE,EGL_OPENGL_ES2_BIT,7.12 + EGL_NONE, EGL_NONE };7.13 +7.14 static const EGLint context_attributes[] = {7.15 EGL_CONTEXT_CLIENT_VERSION, 2,7.16 EGL_NONE, EGL_NONE };7.17 @@ -81,60 +88,79 @@7.18 static EGLSurface surface = EGL_NO_SURFACE;7.19 static gboolean fbo_created = FALSE;7.21 -gboolean video_egl_set_window(EGLNativeWindowType window, int width, int height, int format)7.22 +static void video_egl_swap_buffers();7.23 +static int video_egl_major = 0, video_egl_minor = 0;7.24 +7.25 +gboolean video_egl_init()7.26 {7.27 - EGLConfig config;7.28 - EGLint num_config, major = 0, minor = 0;7.29 - const EGLint *attribute_list;7.30 -7.31 display = eglGetDisplay(EGL_DEFAULT_DISPLAY);7.32 - if( eglInitialize(display, &major, &minor) != EGL_TRUE ) {7.33 + if( eglInitialize(display, &video_egl_major, &video_egl_minor) != EGL_TRUE ) {7.34 logEGLError( "Unable to initialise EGL display" );7.35 return FALSE;7.36 }7.37 + return TRUE;7.38 +}7.39 +7.40 +gboolean video_egl_init_context( EGLNativeWindowType window, int format )7.41 +{7.42 + EGLConfig config;7.43 + EGLint num_config;7.44 + const EGLint *attribute_list;7.46 if( format == COLFMT_RGB565 || format == COLFMT_BGRA1555 ) {7.47 attribute_list = RGB565_attributes;7.48 } else {7.49 attribute_list = RGB888_attributes;7.50 }7.51 + eglChooseConfig(display, attribute_list, &config, 1, &num_config);7.53 + surface = eglCreateWindowSurface(display, config, window, NULL);7.54 + if( surface == EGL_NO_SURFACE ) {7.55 + /* Try alternate config in case of failure. This provides a workaround for7.56 + * the Nokia N900 where eglCreateWindowSurface fails when color attributes7.57 + * are specified. (bug report: https://bugs.maemo.org/show_bug.cgi?id=9335)7.58 + */7.59 + eglChooseConfig(display, alt_attributes, &config, 1, &num_config);7.60 + surface = eglCreateWindowSurface(display, config, window, NULL);7.62 - eglChooseConfig(display, attribute_list, &config, 1, &num_config);7.63 + if( surface == EGL_NO_SURFACE ) {7.64 + logEGLError( "Unable to create EGL surface" );7.65 + video_egl_shutdown();7.66 + return FALSE;7.67 + }7.68 + }7.70 context = eglCreateContext(display, config, EGL_NO_CONTEXT, context_attributes);7.71 if( context == EGL_NO_CONTEXT ) {7.72 logEGLError( "Unable to create EGL context" );7.73 - video_egl_clear_window();7.74 + video_egl_shutdown();7.75 return FALSE;7.76 }7.78 - surface = eglCreateWindowSurface(display, config, window, NULL);7.79 - if( surface == EGL_NO_SURFACE ) {7.80 - logEGLError( "Unable to create EGL surface" );7.81 - video_egl_clear_window();7.82 +7.83 +7.84 + if( eglMakeCurrent( display, surface, surface, context ) == EGL_FALSE ) {7.85 + logEGLError( "Unable to make EGL context current" );7.86 + video_egl_shutdown();7.87 return FALSE;7.88 }7.90 - if( eglMakeCurrent( display, surface, surface, context ) == EGL_FALSE ) {7.91 - logEGLError( "Unable to make EGL context current" );7.92 - video_egl_clear_window();7.93 - return FALSE;7.94 - }7.95 + return TRUE;7.96 +}7.98 - display_egl_driver.capabilities.depth_bits = 16; /* TODO: get from config info */7.99 - if( !gl_init_driver(&display_egl_driver, TRUE) ) {7.100 - video_egl_clear_window();7.101 +gboolean video_egl_init_driver( display_driver_t driver )7.102 +{7.103 + driver->swap_buffers = video_egl_swap_buffers;7.104 + driver->capabilities.depth_bits = 16; /* TODO: get from config info */7.105 + if( !gl_init_driver(driver, TRUE) ) {7.106 + video_egl_shutdown();7.107 return FALSE;7.108 }7.109 fbo_created = TRUE;7.110 - gl_set_video_size(width, height, 0);7.111 - pvr2_setup_gl_context();7.112 - INFO( "Initialised EGL %d.%d", major, minor );7.113 return TRUE;7.114 }7.116 -void video_egl_clear_window()7.117 +void video_egl_shutdown()7.118 {7.119 if( fbo_created ) {7.120 pvr2_shutdown_gl_context();7.121 @@ -154,6 +180,24 @@7.122 eglTerminate(display);7.123 display = EGL_NO_DISPLAY;7.124 }7.125 +}7.126 +7.127 +gboolean video_egl_set_window(EGLNativeWindowType window, int width, int height, int format)7.128 +{7.129 + if( ! video_egl_init() ||7.130 + ! video_egl_init_context( window, format ) ||7.131 + ! video_egl_init_driver( &display_egl_driver ) ) {7.132 + return FALSE;7.133 + }7.134 + gl_set_video_size(width, height, 0);7.135 + pvr2_setup_gl_context();7.136 + INFO( "Initialised EGL %d.%d", video_egl_major, video_egl_minor );7.137 + return TRUE;7.138 +}7.139 +7.140 +void video_egl_clear_window()7.141 +{7.142 + video_egl_shutdown();7.143 INFO( "Terminated EGL" );7.144 }
8.1 --- a/src/drivers/video_egl.h Sun Jul 01 13:19:27 2012 +10008.2 +++ b/src/drivers/video_egl.h Sun Jul 01 13:20:34 2012 +10008.3 @@ -28,6 +28,10 @@8.5 #include <EGL/egl.h>8.7 +gboolean video_egl_init();8.8 +gboolean video_egl_init_context(EGLNativeWindowType window, int format);8.9 +gboolean video_egl_init_driver(display_driver_t driver);8.10 +void video_egl_shutdown();8.11 gboolean video_egl_set_window(EGLNativeWindowType window, int width, int height, int format);8.12 void video_egl_clear_window();
9.1 --- a/src/drivers/video_gtk.c Sun Jul 01 13:19:27 2012 +10009.2 +++ b/src/drivers/video_gtk.c Sun Jul 01 13:20:34 2012 +10009.3 @@ -114,6 +114,10 @@9.5 #endif9.7 +#ifdef HAVE_GLES29.8 +#include "drivers/video_egl.h"9.9 +#endif9.10 +9.13 GtkWidget *gtk_video_drawable = NULL;9.14 @@ -266,6 +270,13 @@9.15 GdkColormap *colormap = gdk_colormap_new( gdkvis, FALSE );9.16 gtk_widget_set_colormap( drawable, colormap );9.17 }9.18 +#else9.19 +#ifdef HAVE_GLES29.20 + if( ! video_egl_init() ) {9.21 + ERROR( "Unable to initialize EGL, aborting" );9.22 + exit(3);9.23 + }9.24 +#endif9.25 #endif9.26 gtk_video_drawable = drawable;9.27 return drawable;9.28 @@ -295,6 +306,14 @@9.29 if( ! video_nsgl_init_driver( view, &display_gtk_driver ) ) {9.30 return FALSE;9.31 }9.32 +#else9.33 +#ifdef HAVE_GLES29.34 + Window window = GDK_WINDOW_XWINDOW( GTK_WIDGET(gtk_video_drawable)->window );9.35 + if( ! video_egl_init_context( window, COLFMT_RGB888 ) ||9.36 + ! video_egl_init_driver( &display_gtk_driver ) ) {9.37 + return FALSE;9.38 + }9.39 +#endif9.40 #endif9.41 #endif9.42 #endif9.43 @@ -331,6 +350,10 @@9.44 #else9.45 #ifdef HAVE_NSGL9.46 video_nsgl_shutdown();9.47 +#else9.48 +#ifdef HAVE_GLES29.49 + video_egl_shutdown();9.50 +#endif9.51 #endif9.52 #endif9.53 #endif
10.1 --- a/src/pvr2/glutil.h Sun Jul 01 13:19:27 2012 +100010.2 +++ b/src/pvr2/glutil.h Sun Jul 01 13:20:34 2012 +100010.3 @@ -156,6 +156,20 @@10.4 /* Convenience formatting function for driver use */10.5 void fprint_extensions( FILE *out, const char *extensions );10.7 +/****** Texture formats (missing definitions) *****/10.8 +10.9 +#ifndef GL_UNSIGNED_SHORT_4_4_4_4_REV10.10 +#define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x836510.11 +#endif10.12 +10.13 +#ifndef GL_UNSIGNED_SHORT_1_5_5_5_REV10.14 +#define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x836610.15 +#endif10.16 +10.17 +#ifndef GL_BGRA10.18 +#define GL_BGRA 0x80E110.19 +#endif10.20 +10.21 #ifdef __cplusplus10.22 }10.23 #endif
11.1 --- a/src/tools/Makefile.am Sun Jul 01 13:19:27 2012 +100011.2 +++ b/src/tools/Makefile.am Sun Jul 01 13:20:34 2012 +100011.3 @@ -9,11 +9,11 @@11.4 noinst_PROGRAMS = gendec genglsl genmach11.6 gendec_SOURCES = gendec.c gendec.h insparse.c actparse.c11.7 -gendec_LDADD = @GLIB_LIBS@ @GTK_LIBS@ $(INTLLIBS)11.8 +gendec_LDADD = @GLIB_FOR_BUILD_LIBS@ @GTK_LIBS@ $(INTLLIBS)11.10 genmach_SOURCES = genmach.c genmach.h mdparse.c11.11 -genmach_LDADD = @GLIB_LIBS@ @GTK_LIBS@ $(INTLLIBS)11.12 +genmach_LDADD = @GLIB_FOR_BUILD_LIBS@ @GTK_LIBS@ $(INTLLIBS)11.14 genglsl_SOURCES = genglsl.c11.15 -genglsl_LDADD = @GLIB_LIBS@ @GTK_LIBS@ $(INTLLIBS)11.16 +genglsl_LDADD = @GLIB_FOR_BUILD_LIBS@ @GTK_LIBS@ $(INTLLIBS)
12.1 --- a/src/tools/Makefile.in Sun Jul 01 13:19:27 2012 +100012.2 +++ b/src/tools/Makefile.in Sun Jul 01 13:20:34 2012 +100012.3 @@ -224,6 +224,8 @@12.4 STRIP = @STRIP@12.5 USE_NLS = @USE_NLS@12.6 VERSION = @VERSION@12.7 +VIDEO_EGL_FALSE = @VIDEO_EGL_FALSE@12.8 +VIDEO_EGL_TRUE = @VIDEO_EGL_TRUE@12.9 VIDEO_GLX_FALSE = @VIDEO_GLX_FALSE@12.10 VIDEO_GLX_TRUE = @VIDEO_GLX_TRUE@12.11 VIDEO_NSGL_FALSE = @VIDEO_NSGL_FALSE@12.12 @@ -283,11 +285,11 @@12.13 AM_CPPFLAGS = -I$(top_srcdir)/src $(GLIB_FOR_BUILD_CFLAGS)12.14 AM_LDFLAGS = $(GLIB_FOR_BUILD_LDFLAGS)12.15 gendec_SOURCES = gendec.c gendec.h insparse.c actparse.c12.16 -gendec_LDADD = @GLIB_LIBS@ @GTK_LIBS@ $(INTLLIBS)12.17 +gendec_LDADD = @GLIB_FOR_BUILD_LIBS@ @GTK_LIBS@ $(INTLLIBS)12.18 genmach_SOURCES = genmach.c genmach.h mdparse.c12.19 -genmach_LDADD = @GLIB_LIBS@ @GTK_LIBS@ $(INTLLIBS)12.20 +genmach_LDADD = @GLIB_FOR_BUILD_LIBS@ @GTK_LIBS@ $(INTLLIBS)12.21 genglsl_SOURCES = genglsl.c12.22 -genglsl_LDADD = @GLIB_LIBS@ @GTK_LIBS@ $(INTLLIBS)12.23 +genglsl_LDADD = @GLIB_FOR_BUILD_LIBS@ @GTK_LIBS@ $(INTLLIBS)12.24 all: all-am12.26 .SUFFIXES:
.