1.1 --- a/configure Tue Apr 17 21:35:38 2012 +1000
1.2 +++ b/configure Wed Jul 04 12:01:31 2012 +1000
1.11 -ANDROID_SDK_VERSION
1.12 -ANDROID_NDK_VERSION
1.20 @@ -738,6 +728,15 @@
1.21 am__fastdepOBJC_FALSE
1.28 +ANDROID_SDK_VERSION
1.29 +ANDROID_NDK_VERSION
1.45 @@ -1465,17 +1466,18 @@
1.47 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1.48 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1.49 - --with-android=SDK Specify the location of the Android SDK
1.50 - --with-android-ndk=NDK Specify the location of the Android NDK
1.51 - --with-android-version Specify target Android SDK version
1.52 - --with-android-version Specify target Android NDK version
1.53 - --with-android-abi Specify target Android ABI
1.54 --with-osmesa Build with the osmesa GL library (software
1.56 --with-gtk Build with the GTK UI. Default on X11 systems
1.57 --with-esd Build with support for the ESounD audio system
1.58 --with-pulse Build with support for the PulseAudio audio system
1.59 --with-sdl Build with support for SDL audio
1.60 + --with-sysroot=SYSROOT Build using an alternate sysroot
1.61 + --with-android=SDK Specify the location of the Android SDK
1.62 + --with-android-ndk=NDK Specify the location of the Android NDK
1.63 + --with-android-version Specify target Android SDK version
1.64 + --with-android-version Specify target Android NDK version
1.65 + --with-android-abi Specify target Android ABI
1.67 Some influential environment variables:
1.68 CC C compiler command
1.69 @@ -2530,6 +2532,6245 @@
1.73 +DEPDIR="${am__leading_dot}deps"
1.75 +ac_config_commands="$ac_config_commands depfiles"
1.78 +am_make=${MAKE-make}
1.79 +cat > confinc << 'END'
1.84 +# If we don't find an include directive, just comment out the code.
1.85 +{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
1.86 +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
1.90 +# First try GNU make style include.
1.91 +echo "include confinc" > confmf
1.92 +# We grep out `Entering directory' and `Leaving directory'
1.93 +# messages which can occur if `w' ends up in MAKEFLAGS.
1.94 +# In particular we don't look at `^make:' because GNU make might
1.95 +# be invoked under some other name (usually "gmake"), in which
1.96 +# case it prints its new name instead of `make'.
1.97 +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1.98 + am__include=include
1.102 +# Now try BSD make style include.
1.103 +if test "$am__include" = "#"; then
1.104 + echo '.include "confinc"' > confmf
1.105 + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1.106 + am__include=.include
1.113 +{ echo "$as_me:$LINENO: result: $_am_result" >&5
1.114 +echo "${ECHO_T}$_am_result" >&6; }
1.115 +rm -f confinc confmf
1.117 +# Check whether --enable-dependency-tracking was given.
1.118 +if test "${enable_dependency_tracking+set}" = set; then
1.119 + enableval=$enable_dependency_tracking;
1.122 +if test "x$enable_dependency_tracking" != xno; then
1.123 + am_depcomp="$ac_aux_dir/depcomp"
1.124 + AMDEPBACKSLASH='\'
1.128 +if test "x$enable_dependency_tracking" != xno; then
1.139 +ac_cpp='$CPP $CPPFLAGS'
1.140 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.141 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.142 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.143 +if test -n "$ac_tool_prefix"; then
1.144 + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1.145 +set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.146 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.147 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.148 +if test "${ac_cv_prog_CC+set}" = set; then
1.149 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.151 + if test -n "$CC"; then
1.152 + ac_cv_prog_CC="$CC" # Let the user override the test.
1.154 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.155 +for as_dir in $PATH
1.158 + test -z "$as_dir" && as_dir=.
1.159 + for ac_exec_ext in '' $ac_executable_extensions; do
1.160 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.161 + ac_cv_prog_CC="${ac_tool_prefix}gcc"
1.162 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.172 +if test -n "$CC"; then
1.173 + { echo "$as_me:$LINENO: result: $CC" >&5
1.174 +echo "${ECHO_T}$CC" >&6; }
1.176 + { echo "$as_me:$LINENO: result: no" >&5
1.177 +echo "${ECHO_T}no" >&6; }
1.182 +if test -z "$ac_cv_prog_CC"; then
1.184 + # Extract the first word of "gcc", so it can be a program name with args.
1.185 +set dummy gcc; ac_word=$2
1.186 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.187 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.188 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1.189 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.191 + if test -n "$ac_ct_CC"; then
1.192 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.194 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.195 +for as_dir in $PATH
1.198 + test -z "$as_dir" && as_dir=.
1.199 + for ac_exec_ext in '' $ac_executable_extensions; do
1.200 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.201 + ac_cv_prog_ac_ct_CC="gcc"
1.202 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.211 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
1.212 +if test -n "$ac_ct_CC"; then
1.213 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1.214 +echo "${ECHO_T}$ac_ct_CC" >&6; }
1.216 + { echo "$as_me:$LINENO: result: no" >&5
1.217 +echo "${ECHO_T}no" >&6; }
1.220 + if test "x$ac_ct_CC" = x; then
1.223 + case $cross_compiling:$ac_tool_warned in
1.225 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1.226 +whose name does not start with the host triplet. If you think this
1.227 +configuration is useful to you, please write to autoconf@gnu.org." >&5
1.228 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1.229 +whose name does not start with the host triplet. If you think this
1.230 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1.231 +ac_tool_warned=yes ;;
1.236 + CC="$ac_cv_prog_CC"
1.239 +if test -z "$CC"; then
1.240 + if test -n "$ac_tool_prefix"; then
1.241 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1.242 +set dummy ${ac_tool_prefix}cc; ac_word=$2
1.243 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.244 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.245 +if test "${ac_cv_prog_CC+set}" = set; then
1.246 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.248 + if test -n "$CC"; then
1.249 + ac_cv_prog_CC="$CC" # Let the user override the test.
1.251 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.252 +for as_dir in $PATH
1.255 + test -z "$as_dir" && as_dir=.
1.256 + for ac_exec_ext in '' $ac_executable_extensions; do
1.257 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.258 + ac_cv_prog_CC="${ac_tool_prefix}cc"
1.259 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.269 +if test -n "$CC"; then
1.270 + { echo "$as_me:$LINENO: result: $CC" >&5
1.271 +echo "${ECHO_T}$CC" >&6; }
1.273 + { echo "$as_me:$LINENO: result: no" >&5
1.274 +echo "${ECHO_T}no" >&6; }
1.280 +if test -z "$CC"; then
1.281 + # Extract the first word of "cc", so it can be a program name with args.
1.282 +set dummy cc; ac_word=$2
1.283 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.284 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.285 +if test "${ac_cv_prog_CC+set}" = set; then
1.286 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.288 + if test -n "$CC"; then
1.289 + ac_cv_prog_CC="$CC" # Let the user override the test.
1.291 + ac_prog_rejected=no
1.292 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.293 +for as_dir in $PATH
1.296 + test -z "$as_dir" && as_dir=.
1.297 + for ac_exec_ext in '' $ac_executable_extensions; do
1.298 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.299 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1.300 + ac_prog_rejected=yes
1.303 + ac_cv_prog_CC="cc"
1.304 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.311 +if test $ac_prog_rejected = yes; then
1.312 + # We found a bogon in the path, so make sure we never use it.
1.313 + set dummy $ac_cv_prog_CC
1.315 + if test $# != 0; then
1.316 + # We chose a different compiler from the bogus one.
1.317 + # However, it has the same basename, so the bogon will be chosen
1.318 + # first if we set CC to just the basename; use the full file name.
1.320 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1.326 +if test -n "$CC"; then
1.327 + { echo "$as_me:$LINENO: result: $CC" >&5
1.328 +echo "${ECHO_T}$CC" >&6; }
1.330 + { echo "$as_me:$LINENO: result: no" >&5
1.331 +echo "${ECHO_T}no" >&6; }
1.336 +if test -z "$CC"; then
1.337 + if test -n "$ac_tool_prefix"; then
1.338 + for ac_prog in cl.exe
1.340 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1.341 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.342 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.343 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.344 +if test "${ac_cv_prog_CC+set}" = set; then
1.345 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.347 + if test -n "$CC"; then
1.348 + ac_cv_prog_CC="$CC" # Let the user override the test.
1.350 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.351 +for as_dir in $PATH
1.354 + test -z "$as_dir" && as_dir=.
1.355 + for ac_exec_ext in '' $ac_executable_extensions; do
1.356 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.357 + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.358 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.368 +if test -n "$CC"; then
1.369 + { echo "$as_me:$LINENO: result: $CC" >&5
1.370 +echo "${ECHO_T}$CC" >&6; }
1.372 + { echo "$as_me:$LINENO: result: no" >&5
1.373 +echo "${ECHO_T}no" >&6; }
1.377 + test -n "$CC" && break
1.380 +if test -z "$CC"; then
1.382 + for ac_prog in cl.exe
1.384 + # Extract the first word of "$ac_prog", so it can be a program name with args.
1.385 +set dummy $ac_prog; ac_word=$2
1.386 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.387 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.388 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1.389 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.391 + if test -n "$ac_ct_CC"; then
1.392 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.394 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.395 +for as_dir in $PATH
1.398 + test -z "$as_dir" && as_dir=.
1.399 + for ac_exec_ext in '' $ac_executable_extensions; do
1.400 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.401 + ac_cv_prog_ac_ct_CC="$ac_prog"
1.402 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.411 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
1.412 +if test -n "$ac_ct_CC"; then
1.413 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1.414 +echo "${ECHO_T}$ac_ct_CC" >&6; }
1.416 + { echo "$as_me:$LINENO: result: no" >&5
1.417 +echo "${ECHO_T}no" >&6; }
1.421 + test -n "$ac_ct_CC" && break
1.424 + if test "x$ac_ct_CC" = x; then
1.427 + case $cross_compiling:$ac_tool_warned in
1.429 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1.430 +whose name does not start with the host triplet. If you think this
1.431 +configuration is useful to you, please write to autoconf@gnu.org." >&5
1.432 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1.433 +whose name does not start with the host triplet. If you think this
1.434 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1.435 +ac_tool_warned=yes ;;
1.444 +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1.445 +See \`config.log' for more details." >&5
1.446 +echo "$as_me: error: no acceptable C compiler found in \$PATH
1.447 +See \`config.log' for more details." >&2;}
1.448 + { (exit 1); exit 1; }; }
1.450 +# Provide some information about the compiler.
1.451 +echo "$as_me:$LINENO: checking for C compiler version" >&5
1.452 +ac_compiler=`set X $ac_compile; echo $2`
1.453 +{ (ac_try="$ac_compiler --version >&5"
1.454 +case "(($ac_try" in
1.455 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.456 + *) ac_try_echo=$ac_try;;
1.458 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.459 + (eval "$ac_compiler --version >&5") 2>&5
1.461 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.462 + (exit $ac_status); }
1.463 +{ (ac_try="$ac_compiler -v >&5"
1.464 +case "(($ac_try" in
1.465 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.466 + *) ac_try_echo=$ac_try;;
1.468 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.469 + (eval "$ac_compiler -v >&5") 2>&5
1.471 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.472 + (exit $ac_status); }
1.473 +{ (ac_try="$ac_compiler -V >&5"
1.474 +case "(($ac_try" in
1.475 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.476 + *) ac_try_echo=$ac_try;;
1.478 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.479 + (eval "$ac_compiler -V >&5") 2>&5
1.481 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.482 + (exit $ac_status); }
1.484 +cat >conftest.$ac_ext <<_ACEOF
1.487 +cat confdefs.h >>conftest.$ac_ext
1.488 +cat >>conftest.$ac_ext <<_ACEOF
1.489 +/* end confdefs.h. */
1.499 +ac_clean_files_save=$ac_clean_files
1.500 +ac_clean_files="$ac_clean_files a.out a.exe b.out"
1.501 +# Try to create an executable without -o first, disregard a.out.
1.502 +# It will help us diagnose broken compilers, and finding out an intuition
1.504 +{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1.505 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
1.506 +ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1.508 +# List of possible output files, starting from the most likely.
1.509 +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
1.510 +# only as a last resort. b.out is created by i960 compilers.
1.511 +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
1.513 +# The IRIX 6 linker writes into existing files which may not be
1.514 +# executable, retaining their permissions. Remove them first so a
1.515 +# subsequent execution test works.
1.517 +for ac_file in $ac_files
1.520 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
1.521 + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
1.526 +if { (ac_try="$ac_link_default"
1.527 +case "(($ac_try" in
1.528 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.529 + *) ac_try_echo=$ac_try;;
1.531 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.532 + (eval "$ac_link_default") 2>&5
1.534 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.535 + (exit $ac_status); }; then
1.536 + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
1.537 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
1.538 +# in a Makefile. We should not override ac_cv_exeext if it was cached,
1.539 +# so that the user can short-circuit this test for compilers unknown to
1.541 +for ac_file in $ac_files ''
1.543 + test -f "$ac_file" || continue
1.545 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
1.548 + # We found the default executable, but exeext='' is most
1.549 + # certainly right.
1.552 + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
1.554 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1.556 + # We set ac_cv_exeext here because the later test for it is not
1.557 + # safe: cross compilers may not add the suffix if given an `-o'
1.558 + # argument, so we may need to know it at that point already.
1.559 + # Even if this section looks crufty: it has the advantage of
1.560 + # actually working.
1.566 +test "$ac_cv_exeext" = no && ac_cv_exeext=
1.572 +{ echo "$as_me:$LINENO: result: $ac_file" >&5
1.573 +echo "${ECHO_T}$ac_file" >&6; }
1.574 +if test -z "$ac_file"; then
1.575 + echo "$as_me: failed program was:" >&5
1.576 +sed 's/^/| /' conftest.$ac_ext >&5
1.578 +{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
1.579 +See \`config.log' for more details." >&5
1.580 +echo "$as_me: error: C compiler cannot create executables
1.581 +See \`config.log' for more details." >&2;}
1.582 + { (exit 77); exit 77; }; }
1.585 +ac_exeext=$ac_cv_exeext
1.587 +# Check that the compiler produces executables we can run. If not, either
1.588 +# the compiler is broken, or we cross compile.
1.589 +{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1.590 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
1.591 +# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1.592 +# If not cross compiling, check that we can run a simple program.
1.593 +if test "$cross_compiling" != yes; then
1.594 + if { ac_try='./$ac_file'
1.595 + { (case "(($ac_try" in
1.596 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.597 + *) ac_try_echo=$ac_try;;
1.599 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.600 + (eval "$ac_try") 2>&5
1.602 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.603 + (exit $ac_status); }; }; then
1.604 + cross_compiling=no
1.606 + if test "$cross_compiling" = maybe; then
1.607 + cross_compiling=yes
1.609 + { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1.610 +If you meant to cross compile, use \`--host'.
1.611 +See \`config.log' for more details." >&5
1.612 +echo "$as_me: error: cannot run C compiled programs.
1.613 +If you meant to cross compile, use \`--host'.
1.614 +See \`config.log' for more details." >&2;}
1.615 + { (exit 1); exit 1; }; }
1.619 +{ echo "$as_me:$LINENO: result: yes" >&5
1.620 +echo "${ECHO_T}yes" >&6; }
1.622 +rm -f a.out a.exe conftest$ac_cv_exeext b.out
1.623 +ac_clean_files=$ac_clean_files_save
1.624 +# Check that the compiler produces executables we can run. If not, either
1.625 +# the compiler is broken, or we cross compile.
1.626 +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1.627 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
1.628 +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
1.629 +echo "${ECHO_T}$cross_compiling" >&6; }
1.631 +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
1.632 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
1.633 +if { (ac_try="$ac_link"
1.634 +case "(($ac_try" in
1.635 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.636 + *) ac_try_echo=$ac_try;;
1.638 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.639 + (eval "$ac_link") 2>&5
1.641 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.642 + (exit $ac_status); }; then
1.643 + # If both `conftest.exe' and `conftest' are `present' (well, observable)
1.644 +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1.645 +# work properly (i.e., refer to `conftest.exe'), while it won't with
1.647 +for ac_file in conftest.exe conftest conftest.*; do
1.648 + test -f "$ac_file" || continue
1.650 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
1.651 + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1.657 + { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1.658 +See \`config.log' for more details." >&5
1.659 +echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1.660 +See \`config.log' for more details." >&2;}
1.661 + { (exit 1); exit 1; }; }
1.664 +rm -f conftest$ac_cv_exeext
1.665 +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1.666 +echo "${ECHO_T}$ac_cv_exeext" >&6; }
1.668 +rm -f conftest.$ac_ext
1.669 +EXEEXT=$ac_cv_exeext
1.671 +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
1.672 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
1.673 +if test "${ac_cv_objext+set}" = set; then
1.674 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.676 + cat >conftest.$ac_ext <<_ACEOF
1.679 +cat confdefs.h >>conftest.$ac_ext
1.680 +cat >>conftest.$ac_ext <<_ACEOF
1.681 +/* end confdefs.h. */
1.691 +rm -f conftest.o conftest.obj
1.692 +if { (ac_try="$ac_compile"
1.693 +case "(($ac_try" in
1.694 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.695 + *) ac_try_echo=$ac_try;;
1.697 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.698 + (eval "$ac_compile") 2>&5
1.700 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.701 + (exit $ac_status); }; then
1.702 + for ac_file in conftest.o conftest.obj conftest.*; do
1.703 + test -f "$ac_file" || continue;
1.705 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
1.706 + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1.711 + echo "$as_me: failed program was:" >&5
1.712 +sed 's/^/| /' conftest.$ac_ext >&5
1.714 +{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1.715 +See \`config.log' for more details." >&5
1.716 +echo "$as_me: error: cannot compute suffix of object files: cannot compile
1.717 +See \`config.log' for more details." >&2;}
1.718 + { (exit 1); exit 1; }; }
1.721 +rm -f conftest.$ac_cv_objext conftest.$ac_ext
1.723 +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1.724 +echo "${ECHO_T}$ac_cv_objext" >&6; }
1.725 +OBJEXT=$ac_cv_objext
1.727 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1.728 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
1.729 +if test "${ac_cv_c_compiler_gnu+set}" = set; then
1.730 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.732 + cat >conftest.$ac_ext <<_ACEOF
1.735 +cat confdefs.h >>conftest.$ac_ext
1.736 +cat >>conftest.$ac_ext <<_ACEOF
1.737 +/* end confdefs.h. */
1.750 +rm -f conftest.$ac_objext
1.751 +if { (ac_try="$ac_compile"
1.752 +case "(($ac_try" in
1.753 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.754 + *) ac_try_echo=$ac_try;;
1.756 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.757 + (eval "$ac_compile") 2>conftest.er1
1.759 + grep -v '^ *+' conftest.er1 >conftest.err
1.760 + rm -f conftest.er1
1.761 + cat conftest.err >&5
1.762 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.763 + (exit $ac_status); } && {
1.764 + test -z "$ac_c_werror_flag" ||
1.765 + test ! -s conftest.err
1.766 + } && test -s conftest.$ac_objext; then
1.767 + ac_compiler_gnu=yes
1.769 + echo "$as_me: failed program was:" >&5
1.770 +sed 's/^/| /' conftest.$ac_ext >&5
1.772 + ac_compiler_gnu=no
1.775 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.776 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
1.779 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1.780 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
1.781 +GCC=`test $ac_compiler_gnu = yes && echo yes`
1.782 +ac_test_CFLAGS=${CFLAGS+set}
1.783 +ac_save_CFLAGS=$CFLAGS
1.784 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1.785 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
1.786 +if test "${ac_cv_prog_cc_g+set}" = set; then
1.787 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.789 + ac_save_c_werror_flag=$ac_c_werror_flag
1.790 + ac_c_werror_flag=yes
1.791 + ac_cv_prog_cc_g=no
1.793 + cat >conftest.$ac_ext <<_ACEOF
1.796 +cat confdefs.h >>conftest.$ac_ext
1.797 +cat >>conftest.$ac_ext <<_ACEOF
1.798 +/* end confdefs.h. */
1.808 +rm -f conftest.$ac_objext
1.809 +if { (ac_try="$ac_compile"
1.810 +case "(($ac_try" in
1.811 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.812 + *) ac_try_echo=$ac_try;;
1.814 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.815 + (eval "$ac_compile") 2>conftest.er1
1.817 + grep -v '^ *+' conftest.er1 >conftest.err
1.818 + rm -f conftest.er1
1.819 + cat conftest.err >&5
1.820 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.821 + (exit $ac_status); } && {
1.822 + test -z "$ac_c_werror_flag" ||
1.823 + test ! -s conftest.err
1.824 + } && test -s conftest.$ac_objext; then
1.825 + ac_cv_prog_cc_g=yes
1.827 + echo "$as_me: failed program was:" >&5
1.828 +sed 's/^/| /' conftest.$ac_ext >&5
1.831 + cat >conftest.$ac_ext <<_ACEOF
1.834 +cat confdefs.h >>conftest.$ac_ext
1.835 +cat >>conftest.$ac_ext <<_ACEOF
1.836 +/* end confdefs.h. */
1.846 +rm -f conftest.$ac_objext
1.847 +if { (ac_try="$ac_compile"
1.848 +case "(($ac_try" in
1.849 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.850 + *) ac_try_echo=$ac_try;;
1.852 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.853 + (eval "$ac_compile") 2>conftest.er1
1.855 + grep -v '^ *+' conftest.er1 >conftest.err
1.856 + rm -f conftest.er1
1.857 + cat conftest.err >&5
1.858 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.859 + (exit $ac_status); } && {
1.860 + test -z "$ac_c_werror_flag" ||
1.861 + test ! -s conftest.err
1.862 + } && test -s conftest.$ac_objext; then
1.865 + echo "$as_me: failed program was:" >&5
1.866 +sed 's/^/| /' conftest.$ac_ext >&5
1.868 + ac_c_werror_flag=$ac_save_c_werror_flag
1.870 + cat >conftest.$ac_ext <<_ACEOF
1.873 +cat confdefs.h >>conftest.$ac_ext
1.874 +cat >>conftest.$ac_ext <<_ACEOF
1.875 +/* end confdefs.h. */
1.885 +rm -f conftest.$ac_objext
1.886 +if { (ac_try="$ac_compile"
1.887 +case "(($ac_try" in
1.888 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.889 + *) ac_try_echo=$ac_try;;
1.891 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.892 + (eval "$ac_compile") 2>conftest.er1
1.894 + grep -v '^ *+' conftest.er1 >conftest.err
1.895 + rm -f conftest.er1
1.896 + cat conftest.err >&5
1.897 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.898 + (exit $ac_status); } && {
1.899 + test -z "$ac_c_werror_flag" ||
1.900 + test ! -s conftest.err
1.901 + } && test -s conftest.$ac_objext; then
1.902 + ac_cv_prog_cc_g=yes
1.904 + echo "$as_me: failed program was:" >&5
1.905 +sed 's/^/| /' conftest.$ac_ext >&5
1.910 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.913 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.916 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.917 + ac_c_werror_flag=$ac_save_c_werror_flag
1.919 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1.920 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
1.921 +if test "$ac_test_CFLAGS" = set; then
1.922 + CFLAGS=$ac_save_CFLAGS
1.923 +elif test $ac_cv_prog_cc_g = yes; then
1.924 + if test "$GCC" = yes; then
1.930 + if test "$GCC" = yes; then
1.936 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
1.937 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
1.938 +if test "${ac_cv_prog_cc_c89+set}" = set; then
1.939 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.941 + ac_cv_prog_cc_c89=no
1.943 +cat >conftest.$ac_ext <<_ACEOF
1.946 +cat confdefs.h >>conftest.$ac_ext
1.947 +cat >>conftest.$ac_ext <<_ACEOF
1.948 +/* end confdefs.h. */
1.949 +#include <stdarg.h>
1.950 +#include <stdio.h>
1.951 +#include <sys/types.h>
1.952 +#include <sys/stat.h>
1.953 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1.954 +struct buf { int x; };
1.955 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
1.956 +static char *e (p, i)
1.962 +static char *f (char * (*g) (char **, int), char **p, ...)
1.967 + s = g (p, va_arg (v,int));
1.972 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1.973 + function prototypes and stuff, but not '\xHH' hex character constants.
1.974 + These don't provoke an error unfortunately, instead are silently treated
1.975 + as 'x'. The following induces an error, until -std is added to get
1.976 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
1.977 + array size at least. It's necessary to write '\x00'==0 to get something
1.978 + that's true only with -std. */
1.979 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1.981 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
1.982 + inside strings and character constants. */
1.983 +#define FOO(x) 'x'
1.984 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
1.986 +int test (int i, double x);
1.987 +struct s1 {int (*f) (int a);};
1.988 +struct s2 {int (*f) (double a);};
1.989 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1.995 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
1.1000 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
1.1001 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1.1003 + CC="$ac_save_CC $ac_arg"
1.1004 + rm -f conftest.$ac_objext
1.1005 +if { (ac_try="$ac_compile"
1.1007 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.1008 + *) ac_try_echo=$ac_try;;
1.1010 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.1011 + (eval "$ac_compile") 2>conftest.er1
1.1013 + grep -v '^ *+' conftest.er1 >conftest.err
1.1016 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1017 + (exit $ac_status); } && {
1.1018 + test -z "$ac_c_werror_flag" ||
1.1019 + test ! -s conftest.err
1.1020 + } && test -s conftest.$ac_objext; then
1.1021 + ac_cv_prog_cc_c89=$ac_arg
1.1023 + echo "$as_me: failed program was:" >&5
1.1024 +sed 's/^/| /' conftest.$ac_ext >&5
1.1029 +rm -f core conftest.err conftest.$ac_objext
1.1030 + test "x$ac_cv_prog_cc_c89" != "xno" && break
1.1032 +rm -f conftest.$ac_ext
1.1037 +case "x$ac_cv_prog_cc_c89" in
1.1039 + { echo "$as_me:$LINENO: result: none needed" >&5
1.1040 +echo "${ECHO_T}none needed" >&6; } ;;
1.1042 + { echo "$as_me:$LINENO: result: unsupported" >&5
1.1043 +echo "${ECHO_T}unsupported" >&6; } ;;
1.1045 + CC="$CC $ac_cv_prog_cc_c89"
1.1046 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
1.1047 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
1.1052 +ac_cpp='$CPP $CPPFLAGS'
1.1053 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.1054 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.1055 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1057 +depcc="$CC" am_compiler_list=
1.1059 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
1.1060 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
1.1061 +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
1.1062 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.1064 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1.1065 + # We make a subdir and do the tests there. Otherwise we can end up
1.1066 + # making bogus files that we don't know about and never remove. For
1.1067 + # instance it was reported that on HP-UX the gcc test will end up
1.1068 + # making a dummy file named `D' -- because `-MD' means `put the output
1.1071 + # Copy depcomp to subdir because otherwise we won't find it if we're
1.1072 + # using a relative directory.
1.1073 + cp "$am_depcomp" conftest.dir
1.1075 + # We will build objects and dependencies in a subdirectory because
1.1076 + # it helps to detect inapplicable dependency modes. For instance
1.1077 + # both Tru64's cc and ICC support -MD to output dependencies as a
1.1078 + # side effect of compilation, but ICC will put the dependencies in
1.1079 + # the current directory while Tru64 will put them in the object
1.1083 + am_cv_CC_dependencies_compiler_type=none
1.1084 + if test "$am_compiler_list" = ""; then
1.1085 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1.1087 + for depmode in $am_compiler_list; do
1.1088 + # Setup a source with many dependencies, because some compilers
1.1089 + # like to wrap large dependency lists on column 80 (with \), and
1.1090 + # we should not choose a depcomp mode which is confused by this.
1.1092 + # We need to recreate these files for each test, as the compiler may
1.1093 + # overwrite some of them when testing with obscure command lines.
1.1094 + # This happens at least with the AIX C compiler.
1.1096 + for i in 1 2 3 4 5 6; do
1.1097 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.1098 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
1.1099 + # Solaris 8's {/usr,}/bin/sh.
1.1100 + touch sub/conftst$i.h
1.1102 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.1106 + # after this tag, mechanisms are not by side-effect, so they'll
1.1107 + # only be used when explicitly requested
1.1108 + if test "x$enable_dependency_tracking" = xyes; then
1.1116 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
1.1117 + # mode. It turns out that the SunPro C++ compiler does not properly
1.1118 + # handle `-M -o', and we need to detect this.
1.1119 + if depmode=$depmode \
1.1120 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
1.1121 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.1122 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
1.1123 + >/dev/null 2>conftest.err &&
1.1124 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.1125 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.1126 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.1127 + # icc doesn't choke on unknown options, it will just issue warnings
1.1128 + # or remarks (even with -Werror). So we grep stderr for any message
1.1129 + # that says an option was ignored or not supported.
1.1130 + # When given -MP, icc 7.0 and 7.1 complain thusly:
1.1131 + # icc: Command line warning: ignoring option '-M'; no argument required
1.1132 + # The diagnosis changed in icc 8.0:
1.1133 + # icc: Command line remark: option '-MP' not supported
1.1134 + if (grep 'ignoring option' conftest.err ||
1.1135 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
1.1136 + am_cv_CC_dependencies_compiler_type=$depmode
1.1145 + am_cv_CC_dependencies_compiler_type=none
1.1149 +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
1.1150 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
1.1151 +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
1.1156 + test "x$enable_dependency_tracking" != xno \
1.1157 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
1.1159 + am__fastdepCC_FALSE='#'
1.1161 + am__fastdepCC_TRUE='#'
1.1168 + { echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
1.1169 +echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6; }
1.1170 +if test "${ac_cv_lib_cposix_strerror+set}" = set; then
1.1171 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.1173 + ac_check_lib_save_LIBS=$LIBS
1.1175 +cat >conftest.$ac_ext <<_ACEOF
1.1178 +cat confdefs.h >>conftest.$ac_ext
1.1179 +cat >>conftest.$ac_ext <<_ACEOF
1.1182 +/* Override any GCC internal prototype to avoid an error.
1.1183 + Use char because int might match the return type of a GCC
1.1184 + builtin and then its argument prototype would still apply. */
1.1197 +rm -f conftest.$ac_objext conftest$ac_exeext
1.1198 +if { (ac_try="$ac_link"
1.1200 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.1201 + *) ac_try_echo=$ac_try;;
1.1203 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.1204 + (eval "$ac_link") 2>conftest.er1
1.1206 + grep -v '^ *+' conftest.er1 >conftest.err
1.1209 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1210 + (exit $ac_status); } && {
1.1211 + test -z "$ac_c_werror_flag" ||
1.1212 + test ! -s conftest.err
1.1213 + } && test -s conftest$ac_exeext &&
1.1214 + $as_test_x conftest$ac_exeext; then
1.1215 + ac_cv_lib_cposix_strerror=yes
1.1217 + echo "$as_me: failed program was:" >&5
1.1218 +sed 's/^/| /' conftest.$ac_ext >&5
1.1220 + ac_cv_lib_cposix_strerror=no
1.1223 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.1224 + conftest$ac_exeext conftest.$ac_ext
1.1225 +LIBS=$ac_check_lib_save_LIBS
1.1227 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
1.1228 +echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6; }
1.1229 +if test $ac_cv_lib_cposix_strerror = yes; then
1.1230 + LIBS="$LIBS -lcposix"
1.1236 +ac_cpp='$CPP $CPPFLAGS'
1.1237 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.1238 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.1239 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1240 +if test -n "$ac_tool_prefix"; then
1.1241 + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1.1242 +set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.1243 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.1244 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.1245 +if test "${ac_cv_prog_CC+set}" = set; then
1.1246 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.1248 + if test -n "$CC"; then
1.1249 + ac_cv_prog_CC="$CC" # Let the user override the test.
1.1251 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1255 + test -z "$as_dir" && as_dir=.
1.1256 + for ac_exec_ext in '' $ac_executable_extensions; do
1.1257 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1258 + ac_cv_prog_CC="${ac_tool_prefix}gcc"
1.1259 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1269 +if test -n "$CC"; then
1.1270 + { echo "$as_me:$LINENO: result: $CC" >&5
1.1271 +echo "${ECHO_T}$CC" >&6; }
1.1273 + { echo "$as_me:$LINENO: result: no" >&5
1.1274 +echo "${ECHO_T}no" >&6; }
1.1279 +if test -z "$ac_cv_prog_CC"; then
1.1281 + # Extract the first word of "gcc", so it can be a program name with args.
1.1282 +set dummy gcc; ac_word=$2
1.1283 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.1284 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.1285 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1.1286 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.1288 + if test -n "$ac_ct_CC"; then
1.1289 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.1291 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1295 + test -z "$as_dir" && as_dir=.
1.1296 + for ac_exec_ext in '' $ac_executable_extensions; do
1.1297 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1298 + ac_cv_prog_ac_ct_CC="gcc"
1.1299 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1308 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
1.1309 +if test -n "$ac_ct_CC"; then
1.1310 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1.1311 +echo "${ECHO_T}$ac_ct_CC" >&6; }
1.1313 + { echo "$as_me:$LINENO: result: no" >&5
1.1314 +echo "${ECHO_T}no" >&6; }
1.1317 + if test "x$ac_ct_CC" = x; then
1.1320 + case $cross_compiling:$ac_tool_warned in
1.1322 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1.1323 +whose name does not start with the host triplet. If you think this
1.1324 +configuration is useful to you, please write to autoconf@gnu.org." >&5
1.1325 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1.1326 +whose name does not start with the host triplet. If you think this
1.1327 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1.1336 +if test -z "$CC"; then
1.1337 + if test -n "$ac_tool_prefix"; then
1.1338 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1.1339 +set dummy ${ac_tool_prefix}cc; ac_word=$2
1.1340 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.1341 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.1342 +if test "${ac_cv_prog_CC+set}" = set; then
1.1343 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.1345 + if test -n "$CC"; then
1.1346 + ac_cv_prog_CC="$CC" # Let the user override the test.
1.1348 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1352 + test -z "$as_dir" && as_dir=.
1.1353 + for ac_exec_ext in '' $ac_executable_extensions; do
1.1354 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1355 + ac_cv_prog_CC="${ac_tool_prefix}cc"
1.1356 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1366 +if test -n "$CC"; then
1.1367 + { echo "$as_me:$LINENO: result: $CC" >&5
1.1368 +echo "${ECHO_T}$CC" >&6; }
1.1370 + { echo "$as_me:$LINENO: result: no" >&5
1.1371 +echo "${ECHO_T}no" >&6; }
1.1377 +if test -z "$CC"; then
1.1378 + # Extract the first word of "cc", so it can be a program name with args.
1.1379 +set dummy cc; ac_word=$2
1.1380 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.1381 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.1382 +if test "${ac_cv_prog_CC+set}" = set; then
1.1383 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.1385 + if test -n "$CC"; then
1.1386 + ac_cv_prog_CC="$CC" # Let the user override the test.
1.1389 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1393 + test -z "$as_dir" && as_dir=.
1.1394 + for ac_exec_ext in '' $ac_executable_extensions; do
1.1395 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1396 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1.1401 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1408 +if test $ac_prog_rejected = yes; then
1.1409 + # We found a bogon in the path, so make sure we never use it.
1.1410 + set dummy $ac_cv_prog_CC
1.1412 + if test $# != 0; then
1.1413 + # We chose a different compiler from the bogus one.
1.1414 + # However, it has the same basename, so the bogon will be chosen
1.1415 + # first if we set CC to just the basename; use the full file name.
1.1417 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1.1423 +if test -n "$CC"; then
1.1424 + { echo "$as_me:$LINENO: result: $CC" >&5
1.1425 +echo "${ECHO_T}$CC" >&6; }
1.1427 + { echo "$as_me:$LINENO: result: no" >&5
1.1428 +echo "${ECHO_T}no" >&6; }
1.1433 +if test -z "$CC"; then
1.1434 + if test -n "$ac_tool_prefix"; then
1.1435 + for ac_prog in cl.exe
1.1437 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1.1438 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.1439 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.1440 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.1441 +if test "${ac_cv_prog_CC+set}" = set; then
1.1442 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.1444 + if test -n "$CC"; then
1.1445 + ac_cv_prog_CC="$CC" # Let the user override the test.
1.1447 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1451 + test -z "$as_dir" && as_dir=.
1.1452 + for ac_exec_ext in '' $ac_executable_extensions; do
1.1453 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1454 + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.1455 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1465 +if test -n "$CC"; then
1.1466 + { echo "$as_me:$LINENO: result: $CC" >&5
1.1467 +echo "${ECHO_T}$CC" >&6; }
1.1469 + { echo "$as_me:$LINENO: result: no" >&5
1.1470 +echo "${ECHO_T}no" >&6; }
1.1474 + test -n "$CC" && break
1.1477 +if test -z "$CC"; then
1.1479 + for ac_prog in cl.exe
1.1481 + # Extract the first word of "$ac_prog", so it can be a program name with args.
1.1482 +set dummy $ac_prog; ac_word=$2
1.1483 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.1484 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.1485 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1.1486 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.1488 + if test -n "$ac_ct_CC"; then
1.1489 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.1491 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1495 + test -z "$as_dir" && as_dir=.
1.1496 + for ac_exec_ext in '' $ac_executable_extensions; do
1.1497 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1498 + ac_cv_prog_ac_ct_CC="$ac_prog"
1.1499 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1508 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
1.1509 +if test -n "$ac_ct_CC"; then
1.1510 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1.1511 +echo "${ECHO_T}$ac_ct_CC" >&6; }
1.1513 + { echo "$as_me:$LINENO: result: no" >&5
1.1514 +echo "${ECHO_T}no" >&6; }
1.1518 + test -n "$ac_ct_CC" && break
1.1521 + if test "x$ac_ct_CC" = x; then
1.1524 + case $cross_compiling:$ac_tool_warned in
1.1526 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1.1527 +whose name does not start with the host triplet. If you think this
1.1528 +configuration is useful to you, please write to autoconf@gnu.org." >&5
1.1529 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1.1530 +whose name does not start with the host triplet. If you think this
1.1531 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1.1541 +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1.1542 +See \`config.log' for more details." >&5
1.1543 +echo "$as_me: error: no acceptable C compiler found in \$PATH
1.1544 +See \`config.log' for more details." >&2;}
1.1545 + { (exit 1); exit 1; }; }
1.1547 +# Provide some information about the compiler.
1.1548 +echo "$as_me:$LINENO: checking for C compiler version" >&5
1.1549 +ac_compiler=`set X $ac_compile; echo $2`
1.1550 +{ (ac_try="$ac_compiler --version >&5"
1.1552 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.1553 + *) ac_try_echo=$ac_try;;
1.1555 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.1556 + (eval "$ac_compiler --version >&5") 2>&5
1.1558 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1560 +{ (ac_try="$ac_compiler -v >&5"
1.1562 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.1563 + *) ac_try_echo=$ac_try;;
1.1565 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.1566 + (eval "$ac_compiler -v >&5") 2>&5
1.1568 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1570 +{ (ac_try="$ac_compiler -V >&5"
1.1572 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.1573 + *) ac_try_echo=$ac_try;;
1.1575 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.1576 + (eval "$ac_compiler -V >&5") 2>&5
1.1578 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1581 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1.1582 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
1.1583 +if test "${ac_cv_c_compiler_gnu+set}" = set; then
1.1584 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.1586 + cat >conftest.$ac_ext <<_ACEOF
1.1589 +cat confdefs.h >>conftest.$ac_ext
1.1590 +cat >>conftest.$ac_ext <<_ACEOF
1.1604 +rm -f conftest.$ac_objext
1.1605 +if { (ac_try="$ac_compile"
1.1607 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.1608 + *) ac_try_echo=$ac_try;;
1.1610 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.1611 + (eval "$ac_compile") 2>conftest.er1
1.1613 + grep -v '^ *+' conftest.er1 >conftest.err
1.1616 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1617 + (exit $ac_status); } && {
1.1618 + test -z "$ac_c_werror_flag" ||
1.1619 + test ! -s conftest.err
1.1620 + } && test -s conftest.$ac_objext; then
1.1623 + echo "$as_me: failed program was:" >&5
1.1624 +sed 's/^/| /' conftest.$ac_ext >&5
1.1629 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1630 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
1.1633 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1.1634 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
1.1635 +GCC=`test $ac_compiler_gnu = yes && echo yes`
1.1636 +ac_test_CFLAGS=${CFLAGS+set}
1.1637 +ac_save_CFLAGS=$CFLAGS
1.1638 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1.1639 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
1.1640 +if test "${ac_cv_prog_cc_g+set}" = set; then
1.1641 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.1643 + ac_save_c_werror_flag=$ac_c_werror_flag
1.1647 + cat >conftest.$ac_ext <<_ACEOF
1.1650 +cat confdefs.h >>conftest.$ac_ext
1.1651 +cat >>conftest.$ac_ext <<_ACEOF
1.1662 +rm -f conftest.$ac_objext
1.1663 +if { (ac_try="$ac_compile"
1.1665 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.1666 + *) ac_try_echo=$ac_try;;
1.1668 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.1669 + (eval "$ac_compile") 2>conftest.er1
1.1671 + grep -v '^ *+' conftest.er1 >conftest.err
1.1674 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1675 + (exit $ac_status); } && {
1.1676 + test -z "$ac_c_werror_flag" ||
1.1677 + test ! -s conftest.err
1.1678 + } && test -s conftest.$ac_objext; then
1.1681 + echo "$as_me: failed program was:" >&5
1.1682 +sed 's/^/| /' conftest.$ac_ext >&5
1.1685 + cat >conftest.$ac_ext <<_ACEOF
1.1688 +cat confdefs.h >>conftest.$ac_ext
1.1689 +cat >>conftest.$ac_ext <<_ACEOF
1.1700 +rm -f conftest.$ac_objext
1.1701 +if { (ac_try="$ac_compile"
1.1703 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.1704 + *) ac_try_echo=$ac_try;;
1.1706 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.1707 + (eval "$ac_compile") 2>conftest.er1
1.1709 + grep -v '^ *+' conftest.er1 >conftest.err
1.1712 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1713 + (exit $ac_status); } && {
1.1714 + test -z "$ac_c_werror_flag" ||
1.1715 + test ! -s conftest.err
1.1716 + } && test -s conftest.$ac_objext; then
1.1719 + echo "$as_me: failed program was:" >&5
1.1720 +sed 's/^/| /' conftest.$ac_ext >&5
1.1722 + ac_c_werror_flag=$ac_save_c_werror_flag
1.1724 + cat >conftest.$ac_ext <<_ACEOF
1.1727 +cat confdefs.h >>conftest.$ac_ext
1.1728 +cat >>conftest.$ac_ext <<_ACEOF
1.1739 +rm -f conftest.$ac_objext
1.1740 +if { (ac_try="$ac_compile"
1.1742 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.1743 + *) ac_try_echo=$ac_try;;
1.1745 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.1746 + (eval "$ac_compile") 2>conftest.er1
1.1748 + grep -v '^ *+' conftest.er1 >conftest.err
1.1751 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1752 + (exit $ac_status); } && {
1.1753 + test -z "$ac_c_werror_flag" ||
1.1754 + test ! -s conftest.err
1.1755 + } && test -s conftest.$ac_objext; then
1.1758 + echo "$as_me: failed program was:" >&5
1.1759 +sed 's/^/| /' conftest.$ac_ext >&5
1.1764 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1767 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1770 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1771 + ac_c_werror_flag=$ac_save_c_werror_flag
1.1773 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1.1774 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
1.1775 +if test "$ac_test_CFLAGS" = set; then
1.1776 + CFLAGS=$ac_save_CFLAGS
1.1777 +elif test $ac_cv_prog_cc_g = yes; then
1.1778 + if test "$GCC" = yes; then
1.1784 + if test "$GCC" = yes; then
1.1790 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
1.1791 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
1.1792 +if test "${ac_cv_prog_cc_c89+set}" = set; then
1.1793 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.1797 +cat >conftest.$ac_ext <<_ACEOF
1.1800 +cat confdefs.h >>conftest.$ac_ext
1.1801 +cat >>conftest.$ac_ext <<_ACEOF
1.1805 +#include <sys/types.h>
1.1807 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1.1808 +struct buf { int x; };
1.1809 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
1.1816 +static char *f (char * (*g) (char **, int), char **p, ...)
1.1821 + s = g (p, va_arg (v,int));
1.1826 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1.1827 + function prototypes and stuff, but not '\xHH' hex character constants.
1.1828 + These don't provoke an error unfortunately, instead are silently treated
1.1829 + as 'x'. The following induces an error, until -std is added to get
1.1830 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
1.1831 + array size at least. It's necessary to write '\x00'==0 to get something
1.1832 + that's true only with -std. */
1.1833 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1.1835 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
1.1836 + inside strings and character constants. */
1.1838 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
1.1840 +int test (int i, double x);
1.1841 +struct s1 {int (*f) (int a);};
1.1842 +struct s2 {int (*f) (double a);};
1.1843 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1.1849 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
1.1854 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
1.1855 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1.1857 + CC="$ac_save_CC $ac_arg"
1.1858 + rm -f conftest.$ac_objext
1.1859 +if { (ac_try="$ac_compile"
1.1861 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.1862 + *) ac_try_echo=$ac_try;;
1.1864 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.1865 + (eval "$ac_compile") 2>conftest.er1
1.1867 + grep -v '^ *+' conftest.er1 >conftest.err
1.1870 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1871 + (exit $ac_status); } && {
1.1872 + test -z "$ac_c_werror_flag" ||
1.1873 + test ! -s conftest.err
1.1874 + } && test -s conftest.$ac_objext; then
1.1875 + ac_cv_prog_cc_c89=$ac_arg
1.1877 + echo "$as_me: failed program was:" >&5
1.1878 +sed 's/^/| /' conftest.$ac_ext >&5
1.1883 +rm -f core conftest.err conftest.$ac_objext
1.1884 + test "x$ac_cv_prog_cc_c89" != "xno" && break
1.1886 +rm -f conftest.$ac_ext
1.1891 +case "x$ac_cv_prog_cc_c89" in
1.1893 + { echo "$as_me:$LINENO: result: none needed" >&5
1.1894 +echo "${ECHO_T}none needed" >&6; } ;;
1.1896 + { echo "$as_me:$LINENO: result: unsupported" >&5
1.1897 +echo "${ECHO_T}unsupported" >&6; } ;;
1.1899 + CC="$CC $ac_cv_prog_cc_c89"
1.1900 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
1.1901 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
1.1906 +ac_cpp='$CPP $CPPFLAGS'
1.1907 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.1908 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.1909 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1911 +depcc="$CC" am_compiler_list=
1.1913 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
1.1914 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
1.1915 +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
1.1916 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.1918 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1.1919 + # We make a subdir and do the tests there. Otherwise we can end up
1.1920 + # making bogus files that we don't know about and never remove. For
1.1921 + # instance it was reported that on HP-UX the gcc test will end up
1.1922 + # making a dummy file named `D' -- because `-MD' means `put the output
1.1925 + # Copy depcomp to subdir because otherwise we won't find it if we're
1.1926 + # using a relative directory.
1.1927 + cp "$am_depcomp" conftest.dir
1.1929 + # We will build objects and dependencies in a subdirectory because
1.1930 + # it helps to detect inapplicable dependency modes. For instance
1.1931 + # both Tru64's cc and ICC support -MD to output dependencies as a
1.1932 + # side effect of compilation, but ICC will put the dependencies in
1.1933 + # the current directory while Tru64 will put them in the object
1.1937 + am_cv_CC_dependencies_compiler_type=none
1.1938 + if test "$am_compiler_list" = ""; then
1.1939 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1.1941 + for depmode in $am_compiler_list; do
1.1942 + # Setup a source with many dependencies, because some compilers
1.1943 + # like to wrap large dependency lists on column 80 (with \), and
1.1944 + # we should not choose a depcomp mode which is confused by this.
1.1946 + # We need to recreate these files for each test, as the compiler may
1.1947 + # overwrite some of them when testing with obscure command lines.
1.1948 + # This happens at least with the AIX C compiler.
1.1950 + for i in 1 2 3 4 5 6; do
1.1951 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.1952 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
1.1953 + # Solaris 8's {/usr,}/bin/sh.
1.1954 + touch sub/conftst$i.h
1.1956 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.1960 + # after this tag, mechanisms are not by side-effect, so they'll
1.1961 + # only be used when explicitly requested
1.1962 + if test "x$enable_dependency_tracking" = xyes; then
1.1970 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
1.1971 + # mode. It turns out that the SunPro C++ compiler does not properly
1.1972 + # handle `-M -o', and we need to detect this.
1.1973 + if depmode=$depmode \
1.1974 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
1.1975 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.1976 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
1.1977 + >/dev/null 2>conftest.err &&
1.1978 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.1979 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.1980 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.1981 + # icc doesn't choke on unknown options, it will just issue warnings
1.1982 + # or remarks (even with -Werror). So we grep stderr for any message
1.1983 + # that says an option was ignored or not supported.
1.1984 + # When given -MP, icc 7.0 and 7.1 complain thusly:
1.1985 + # icc: Command line warning: ignoring option '-M'; no argument required
1.1986 + # The diagnosis changed in icc 8.0:
1.1987 + # icc: Command line remark: option '-MP' not supported
1.1988 + if (grep 'ignoring option' conftest.err ||
1.1989 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
1.1990 + am_cv_CC_dependencies_compiler_type=$depmode
1.1999 + am_cv_CC_dependencies_compiler_type=none
1.2003 +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
1.2004 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
1.2005 +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
1.2010 + test "x$enable_dependency_tracking" != xno \
1.2011 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
1.2013 + am__fastdepCC_FALSE='#'
1.2015 + am__fastdepCC_TRUE='#'
1.2021 +ac_cpp='$CPP $CPPFLAGS'
1.2022 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.2023 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.2024 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.2025 +if test -n "$ac_tool_prefix"; then
1.2026 + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1.2027 +set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.2028 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.2029 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.2030 +if test "${ac_cv_prog_CC+set}" = set; then
1.2031 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.2033 + if test -n "$CC"; then
1.2034 + ac_cv_prog_CC="$CC" # Let the user override the test.
1.2036 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.2040 + test -z "$as_dir" && as_dir=.
1.2041 + for ac_exec_ext in '' $ac_executable_extensions; do
1.2042 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.2043 + ac_cv_prog_CC="${ac_tool_prefix}gcc"
1.2044 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.2054 +if test -n "$CC"; then
1.2055 + { echo "$as_me:$LINENO: result: $CC" >&5
1.2056 +echo "${ECHO_T}$CC" >&6; }
1.2058 + { echo "$as_me:$LINENO: result: no" >&5
1.2059 +echo "${ECHO_T}no" >&6; }
1.2064 +if test -z "$ac_cv_prog_CC"; then
1.2066 + # Extract the first word of "gcc", so it can be a program name with args.
1.2067 +set dummy gcc; ac_word=$2
1.2068 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.2069 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.2070 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1.2071 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.2073 + if test -n "$ac_ct_CC"; then
1.2074 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.2076 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.2080 + test -z "$as_dir" && as_dir=.
1.2081 + for ac_exec_ext in '' $ac_executable_extensions; do
1.2082 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.2083 + ac_cv_prog_ac_ct_CC="gcc"
1.2084 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.2093 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
1.2094 +if test -n "$ac_ct_CC"; then
1.2095 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1.2096 +echo "${ECHO_T}$ac_ct_CC" >&6; }
1.2098 + { echo "$as_me:$LINENO: result: no" >&5
1.2099 +echo "${ECHO_T}no" >&6; }
1.2102 + if test "x$ac_ct_CC" = x; then
1.2105 + case $cross_compiling:$ac_tool_warned in
1.2107 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1.2108 +whose name does not start with the host triplet. If you think this
1.2109 +configuration is useful to you, please write to autoconf@gnu.org." >&5
1.2110 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1.2111 +whose name does not start with the host triplet. If you think this
1.2112 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1.2121 +if test -z "$CC"; then
1.2122 + if test -n "$ac_tool_prefix"; then
1.2123 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1.2124 +set dummy ${ac_tool_prefix}cc; ac_word=$2
1.2125 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.2126 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.2127 +if test "${ac_cv_prog_CC+set}" = set; then
1.2128 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.2130 + if test -n "$CC"; then
1.2131 + ac_cv_prog_CC="$CC" # Let the user override the test.
1.2133 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.2137 + test -z "$as_dir" && as_dir=.
1.2138 + for ac_exec_ext in '' $ac_executable_extensions; do
1.2139 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.2140 + ac_cv_prog_CC="${ac_tool_prefix}cc"
1.2141 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.2151 +if test -n "$CC"; then
1.2152 + { echo "$as_me:$LINENO: result: $CC" >&5
1.2153 +echo "${ECHO_T}$CC" >&6; }
1.2155 + { echo "$as_me:$LINENO: result: no" >&5
1.2156 +echo "${ECHO_T}no" >&6; }
1.2162 +if test -z "$CC"; then
1.2163 + # Extract the first word of "cc", so it can be a program name with args.
1.2164 +set dummy cc; ac_word=$2
1.2165 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.2166 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.2167 +if test "${ac_cv_prog_CC+set}" = set; then
1.2168 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.2170 + if test -n "$CC"; then
1.2171 + ac_cv_prog_CC="$CC" # Let the user override the test.
1.2174 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.2178 + test -z "$as_dir" && as_dir=.
1.2179 + for ac_exec_ext in '' $ac_executable_extensions; do
1.2180 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.2181 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1.2186 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.2193 +if test $ac_prog_rejected = yes; then
1.2194 + # We found a bogon in the path, so make sure we never use it.
1.2195 + set dummy $ac_cv_prog_CC
1.2197 + if test $# != 0; then
1.2198 + # We chose a different compiler from the bogus one.
1.2199 + # However, it has the same basename, so the bogon will be chosen
1.2200 + # first if we set CC to just the basename; use the full file name.
1.2202 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1.2208 +if test -n "$CC"; then
1.2209 + { echo "$as_me:$LINENO: result: $CC" >&5
1.2210 +echo "${ECHO_T}$CC" >&6; }
1.2212 + { echo "$as_me:$LINENO: result: no" >&5
1.2213 +echo "${ECHO_T}no" >&6; }
1.2218 +if test -z "$CC"; then
1.2219 + if test -n "$ac_tool_prefix"; then
1.2220 + for ac_prog in cl.exe
1.2222 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1.2223 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.2224 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.2225 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.2226 +if test "${ac_cv_prog_CC+set}" = set; then
1.2227 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.2229 + if test -n "$CC"; then
1.2230 + ac_cv_prog_CC="$CC" # Let the user override the test.
1.2232 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.2236 + test -z "$as_dir" && as_dir=.
1.2237 + for ac_exec_ext in '' $ac_executable_extensions; do
1.2238 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.2239 + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.2240 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.2250 +if test -n "$CC"; then
1.2251 + { echo "$as_me:$LINENO: result: $CC" >&5
1.2252 +echo "${ECHO_T}$CC" >&6; }
1.2254 + { echo "$as_me:$LINENO: result: no" >&5
1.2255 +echo "${ECHO_T}no" >&6; }
1.2259 + test -n "$CC" && break
1.2262 +if test -z "$CC"; then
1.2264 + for ac_prog in cl.exe
1.2266 + # Extract the first word of "$ac_prog", so it can be a program name with args.
1.2267 +set dummy $ac_prog; ac_word=$2
1.2268 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.2269 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.2270 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1.2271 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.2273 + if test -n "$ac_ct_CC"; then
1.2274 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.2276 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.2280 + test -z "$as_dir" && as_dir=.
1.2281 + for ac_exec_ext in '' $ac_executable_extensions; do
1.2282 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.2283 + ac_cv_prog_ac_ct_CC="$ac_prog"
1.2284 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.2293 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
1.2294 +if test -n "$ac_ct_CC"; then
1.2295 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1.2296 +echo "${ECHO_T}$ac_ct_CC" >&6; }
1.2298 + { echo "$as_me:$LINENO: result: no" >&5
1.2299 +echo "${ECHO_T}no" >&6; }
1.2303 + test -n "$ac_ct_CC" && break
1.2306 + if test "x$ac_ct_CC" = x; then
1.2309 + case $cross_compiling:$ac_tool_warned in
1.2311 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1.2312 +whose name does not start with the host triplet. If you think this
1.2313 +configuration is useful to you, please write to autoconf@gnu.org." >&5
1.2314 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1.2315 +whose name does not start with the host triplet. If you think this
1.2316 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1.2326 +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1.2327 +See \`config.log' for more details." >&5
1.2328 +echo "$as_me: error: no acceptable C compiler found in \$PATH
1.2329 +See \`config.log' for more details." >&2;}
1.2330 + { (exit 1); exit 1; }; }
1.2332 +# Provide some information about the compiler.
1.2333 +echo "$as_me:$LINENO: checking for C compiler version" >&5
1.2334 +ac_compiler=`set X $ac_compile; echo $2`
1.2335 +{ (ac_try="$ac_compiler --version >&5"
1.2337 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.2338 + *) ac_try_echo=$ac_try;;
1.2340 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.2341 + (eval "$ac_compiler --version >&5") 2>&5
1.2343 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2345 +{ (ac_try="$ac_compiler -v >&5"
1.2347 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.2348 + *) ac_try_echo=$ac_try;;
1.2350 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.2351 + (eval "$ac_compiler -v >&5") 2>&5
1.2353 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2355 +{ (ac_try="$ac_compiler -V >&5"
1.2357 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.2358 + *) ac_try_echo=$ac_try;;
1.2360 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.2361 + (eval "$ac_compiler -V >&5") 2>&5
1.2363 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2366 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1.2367 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
1.2368 +if test "${ac_cv_c_compiler_gnu+set}" = set; then
1.2369 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.2371 + cat >conftest.$ac_ext <<_ACEOF
1.2374 +cat confdefs.h >>conftest.$ac_ext
1.2375 +cat >>conftest.$ac_ext <<_ACEOF
1.2389 +rm -f conftest.$ac_objext
1.2390 +if { (ac_try="$ac_compile"
1.2392 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.2393 + *) ac_try_echo=$ac_try;;
1.2395 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.2396 + (eval "$ac_compile") 2>conftest.er1
1.2398 + grep -v '^ *+' conftest.er1 >conftest.err
1.2401 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2402 + (exit $ac_status); } && {
1.2403 + test -z "$ac_c_werror_flag" ||
1.2404 + test ! -s conftest.err
1.2405 + } && test -s conftest.$ac_objext; then
1.2408 + echo "$as_me: failed program was:" >&5
1.2409 +sed 's/^/| /' conftest.$ac_ext >&5
1.2414 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.2415 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
1.2418 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1.2419 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
1.2420 +GCC=`test $ac_compiler_gnu = yes && echo yes`
1.2421 +ac_test_CFLAGS=${CFLAGS+set}
1.2422 +ac_save_CFLAGS=$CFLAGS
1.2423 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1.2424 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
1.2425 +if test "${ac_cv_prog_cc_g+set}" = set; then
1.2426 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.2428 + ac_save_c_werror_flag=$ac_c_werror_flag
1.2432 + cat >conftest.$ac_ext <<_ACEOF
1.2435 +cat confdefs.h >>conftest.$ac_ext
1.2436 +cat >>conftest.$ac_ext <<_ACEOF
1.2447 +rm -f conftest.$ac_objext
1.2448 +if { (ac_try="$ac_compile"
1.2450 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.2451 + *) ac_try_echo=$ac_try;;
1.2453 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.2454 + (eval "$ac_compile") 2>conftest.er1
1.2456 + grep -v '^ *+' conftest.er1 >conftest.err
1.2459 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2460 + (exit $ac_status); } && {
1.2461 + test -z "$ac_c_werror_flag" ||
1.2462 + test ! -s conftest.err
1.2463 + } && test -s conftest.$ac_objext; then
1.2466 + echo "$as_me: failed program was:" >&5
1.2467 +sed 's/^/| /' conftest.$ac_ext >&5
1.2470 + cat >conftest.$ac_ext <<_ACEOF
1.2473 +cat confdefs.h >>conftest.$ac_ext
1.2474 +cat >>conftest.$ac_ext <<_ACEOF
1.2485 +rm -f conftest.$ac_objext
1.2486 +if { (ac_try="$ac_compile"
1.2488 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.2489 + *) ac_try_echo=$ac_try;;
1.2491 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.2492 + (eval "$ac_compile") 2>conftest.er1
1.2494 + grep -v '^ *+' conftest.er1 >conftest.err
1.2497 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2498 + (exit $ac_status); } && {
1.2499 + test -z "$ac_c_werror_flag" ||
1.2500 + test ! -s conftest.err
1.2501 + } && test -s conftest.$ac_objext; then
1.2504 + echo "$as_me: failed program was:" >&5
1.2505 +sed 's/^/| /' conftest.$ac_ext >&5
1.2507 + ac_c_werror_flag=$ac_save_c_werror_flag
1.2509 + cat >conftest.$ac_ext <<_ACEOF
1.2512 +cat confdefs.h >>conftest.$ac_ext
1.2513 +cat >>conftest.$ac_ext <<_ACEOF
1.2524 +rm -f conftest.$ac_objext
1.2525 +if { (ac_try="$ac_compile"
1.2527 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.2528 + *) ac_try_echo=$ac_try;;
1.2530 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.2531 + (eval "$ac_compile") 2>conftest.er1
1.2533 + grep -v '^ *+' conftest.er1 >conftest.err
1.2536 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2537 + (exit $ac_status); } && {
1.2538 + test -z "$ac_c_werror_flag" ||
1.2539 + test ! -s conftest.err
1.2540 + } && test -s conftest.$ac_objext; then
1.2543 + echo "$as_me: failed program was:" >&5
1.2544 +sed 's/^/| /' conftest.$ac_ext >&5
1.2549 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.2552 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.2555 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.2556 + ac_c_werror_flag=$ac_save_c_werror_flag
1.2558 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1.2559 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
1.2560 +if test "$ac_test_CFLAGS" = set; then
1.2561 + CFLAGS=$ac_save_CFLAGS
1.2562 +elif test $ac_cv_prog_cc_g = yes; then
1.2563 + if test "$GCC" = yes; then
1.2569 + if test "$GCC" = yes; then
1.2575 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
1.2576 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
1.2577 +if test "${ac_cv_prog_cc_c89+set}" = set; then
1.2578 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.2582 +cat >conftest.$ac_ext <<_ACEOF
1.2585 +cat confdefs.h >>conftest.$ac_ext
1.2586 +cat >>conftest.$ac_ext <<_ACEOF
1.2590 +#include <sys/types.h>
1.2592 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1.2593 +struct buf { int x; };
1.2594 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
1.2601 +static char *f (char * (*g) (char **, int), char **p, ...)
1.2606 + s = g (p, va_arg (v,int));
1.2611 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1.2612 + function prototypes and stuff, but not '\xHH' hex character constants.
1.2613 + These don't provoke an error unfortunately, instead are silently treated
1.2614 + as 'x'. The following induces an error, until -std is added to get
1.2615 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
1.2616 + array size at least. It's necessary to write '\x00'==0 to get something
1.2617 + that's true only with -std. */
1.2618 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1.2620 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
1.2621 + inside strings and character constants. */
1.2623 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
1.2625 +int test (int i, double x);
1.2626 +struct s1 {int (*f) (int a);};
1.2627 +struct s2 {int (*f) (double a);};
1.2628 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1.2634 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
1.2639 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
1.2640 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1.2642 + CC="$ac_save_CC $ac_arg"
1.2643 + rm -f conftest.$ac_objext
1.2644 +if { (ac_try="$ac_compile"
1.2646 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.2647 + *) ac_try_echo=$ac_try;;
1.2649 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.2650 + (eval "$ac_compile") 2>conftest.er1
1.2652 + grep -v '^ *+' conftest.er1 >conftest.err
1.2655 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2656 + (exit $ac_status); } && {
1.2657 + test -z "$ac_c_werror_flag" ||
1.2658 + test ! -s conftest.err
1.2659 + } && test -s conftest.$ac_objext; then
1.2660 + ac_cv_prog_cc_c89=$ac_arg
1.2662 + echo "$as_me: failed program was:" >&5
1.2663 +sed 's/^/| /' conftest.$ac_ext >&5
1.2668 +rm -f core conftest.err conftest.$ac_objext
1.2669 + test "x$ac_cv_prog_cc_c89" != "xno" && break
1.2671 +rm -f conftest.$ac_ext
1.2676 +case "x$ac_cv_prog_cc_c89" in
1.2678 + { echo "$as_me:$LINENO: result: none needed" >&5
1.2679 +echo "${ECHO_T}none needed" >&6; } ;;
1.2681 + { echo "$as_me:$LINENO: result: unsupported" >&5
1.2682 +echo "${ECHO_T}unsupported" >&6; } ;;
1.2684 + CC="$CC $ac_cv_prog_cc_c89"
1.2685 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
1.2686 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
1.2691 +ac_cpp='$CPP $CPPFLAGS'
1.2692 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.2693 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.2694 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.2696 +depcc="$CC" am_compiler_list=
1.2698 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
1.2699 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
1.2700 +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
1.2701 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.2703 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1.2704 + # We make a subdir and do the tests there. Otherwise we can end up
1.2705 + # making bogus files that we don't know about and never remove. For
1.2706 + # instance it was reported that on HP-UX the gcc test will end up
1.2707 + # making a dummy file named `D' -- because `-MD' means `put the output
1.2710 + # Copy depcomp to subdir because otherwise we won't find it if we're
1.2711 + # using a relative directory.
1.2712 + cp "$am_depcomp" conftest.dir
1.2714 + # We will build objects and dependencies in a subdirectory because
1.2715 + # it helps to detect inapplicable dependency modes. For instance
1.2716 + # both Tru64's cc and ICC support -MD to output dependencies as a
1.2717 + # side effect of compilation, but ICC will put the dependencies in
1.2718 + # the current directory while Tru64 will put them in the object
1.2722 + am_cv_CC_dependencies_compiler_type=none
1.2723 + if test "$am_compiler_list" = ""; then
1.2724 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1.2726 + for depmode in $am_compiler_list; do
1.2727 + # Setup a source with many dependencies, because some compilers
1.2728 + # like to wrap large dependency lists on column 80 (with \), and
1.2729 + # we should not choose a depcomp mode which is confused by this.
1.2731 + # We need to recreate these files for each test, as the compiler may
1.2732 + # overwrite some of them when testing with obscure command lines.
1.2733 + # This happens at least with the AIX C compiler.
1.2735 + for i in 1 2 3 4 5 6; do
1.2736 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.2737 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
1.2738 + # Solaris 8's {/usr,}/bin/sh.
1.2739 + touch sub/conftst$i.h
1.2741 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.2745 + # after this tag, mechanisms are not by side-effect, so they'll
1.2746 + # only be used when explicitly requested
1.2747 + if test "x$enable_dependency_tracking" = xyes; then
1.2755 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
1.2756 + # mode. It turns out that the SunPro C++ compiler does not properly
1.2757 + # handle `-M -o', and we need to detect this.
1.2758 + if depmode=$depmode \
1.2759 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
1.2760 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.2761 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
1.2762 + >/dev/null 2>conftest.err &&
1.2763 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.2764 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.2765 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.2766 + # icc doesn't choke on unknown options, it will just issue warnings
1.2767 + # or remarks (even with -Werror). So we grep stderr for any message
1.2768 + # that says an option was ignored or not supported.
1.2769 + # When given -MP, icc 7.0 and 7.1 complain thusly:
1.2770 + # icc: Command line warning: ignoring option '-M'; no argument required
1.2771 + # The diagnosis changed in icc 8.0:
1.2772 + # icc: Command line remark: option '-MP' not supported
1.2773 + if (grep 'ignoring option' conftest.err ||
1.2774 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
1.2775 + am_cv_CC_dependencies_compiler_type=$depmode
1.2784 + am_cv_CC_dependencies_compiler_type=none
1.2788 +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
1.2789 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
1.2790 +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
1.2795 + test "x$enable_dependency_tracking" != xno \
1.2796 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
1.2798 + am__fastdepCC_FALSE='#'
1.2800 + am__fastdepCC_TRUE='#'
1.2806 +am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
1.2809 +ac_cpp='$CPP $CPPFLAGS'
1.2810 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.2811 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.2812 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.2813 +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
1.2814 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
1.2815 +# On Suns, sometimes $CPP names a directory.
1.2816 +if test -n "$CPP" && test -d "$CPP"; then
1.2819 +if test -z "$CPP"; then
1.2820 + if test "${ac_cv_prog_CPP+set}" = set; then
1.2821 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.2823 + # Double quotes because CPP needs to be expanded
1.2824 + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
1.2827 +for ac_c_preproc_warn_flag in '' yes
1.2829 + # Use a header file that comes with gcc, so configuring glibc
1.2830 + # with a fresh cross-compiler works.
1.2831 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.2832 + # <limits.h> exists even on freestanding compilers.
1.2833 + # On the NeXT, cc -E runs the code through the compiler's parser,
1.2834 + # not just through cpp. "Syntax error" is here to catch this case.
1.2835 + cat >conftest.$ac_ext <<_ACEOF
1.2838 +cat confdefs.h >>conftest.$ac_ext
1.2839 +cat >>conftest.$ac_ext <<_ACEOF
1.2848 +if { (ac_try="$ac_cpp conftest.$ac_ext"
1.2850 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.2851 + *) ac_try_echo=$ac_try;;
1.2853 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.2854 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.2856 + grep -v '^ *+' conftest.er1 >conftest.err
1.2859 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2860 + (exit $ac_status); } >/dev/null && {
1.2861 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1.2862 + test ! -s conftest.err
1.2866 + echo "$as_me: failed program was:" >&5
1.2867 +sed 's/^/| /' conftest.$ac_ext >&5
1.2869 + # Broken: fails on valid input.
1.2873 +rm -f conftest.err conftest.$ac_ext
1.2875 + # OK, works on sane cases. Now check whether nonexistent headers
1.2876 + # can be detected and how.
1.2877 + cat >conftest.$ac_ext <<_ACEOF
1.2880 +cat confdefs.h >>conftest.$ac_ext
1.2881 +cat >>conftest.$ac_ext <<_ACEOF
1.2883 +#include <ac_nonexistent.h>
1.2885 +if { (ac_try="$ac_cpp conftest.$ac_ext"
1.2887 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.2888 + *) ac_try_echo=$ac_try;;
1.2890 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.2891 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.2893 + grep -v '^ *+' conftest.er1 >conftest.err
1.2896 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2897 + (exit $ac_status); } >/dev/null && {
1.2898 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1.2899 + test ! -s conftest.err
1.2901 + # Broken: success on invalid input.
1.2904 + echo "$as_me: failed program was:" >&5
1.2905 +sed 's/^/| /' conftest.$ac_ext >&5
1.2912 +rm -f conftest.err conftest.$ac_ext
1.2915 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.2916 +rm -f conftest.err conftest.$ac_ext
1.2917 +if $ac_preproc_ok; then
1.2929 +{ echo "$as_me:$LINENO: result: $CPP" >&5
1.2930 +echo "${ECHO_T}$CPP" >&6; }
1.2932 +for ac_c_preproc_warn_flag in '' yes
1.2934 + # Use a header file that comes with gcc, so configuring glibc
1.2935 + # with a fresh cross-compiler works.
1.2936 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.2937 + # <limits.h> exists even on freestanding compilers.
1.2938 + # On the NeXT, cc -E runs the code through the compiler's parser,
1.2939 + # not just through cpp. "Syntax error" is here to catch this case.
1.2940 + cat >conftest.$ac_ext <<_ACEOF
1.2943 +cat confdefs.h >>conftest.$ac_ext
1.2944 +cat >>conftest.$ac_ext <<_ACEOF
1.2953 +if { (ac_try="$ac_cpp conftest.$ac_ext"
1.2955 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.2956 + *) ac_try_echo=$ac_try;;
1.2958 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.2959 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.2961 + grep -v '^ *+' conftest.er1 >conftest.err
1.2964 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.2965 + (exit $ac_status); } >/dev/null && {
1.2966 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1.2967 + test ! -s conftest.err
1.2971 + echo "$as_me: failed program was:" >&5
1.2972 +sed 's/^/| /' conftest.$ac_ext >&5
1.2974 + # Broken: fails on valid input.
1.2978 +rm -f conftest.err conftest.$ac_ext
1.2980 + # OK, works on sane cases. Now check whether nonexistent headers
1.2981 + # can be detected and how.
1.2982 + cat >conftest.$ac_ext <<_ACEOF
1.2985 +cat confdefs.h >>conftest.$ac_ext
1.2986 +cat >>conftest.$ac_ext <<_ACEOF
1.2988 +#include <ac_nonexistent.h>
1.2990 +if { (ac_try="$ac_cpp conftest.$ac_ext"
1.2992 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.2993 + *) ac_try_echo=$ac_try;;
1.2995 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.2996 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.2998 + grep -v '^ *+' conftest.er1 >conftest.err
1.3001 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3002 + (exit $ac_status); } >/dev/null && {
1.3003 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1.3004 + test ! -s conftest.err
1.3006 + # Broken: success on invalid input.
1.3009 + echo "$as_me: failed program was:" >&5
1.3010 +sed 's/^/| /' conftest.$ac_ext >&5
1.3017 +rm -f conftest.err conftest.$ac_ext
1.3020 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.3021 +rm -f conftest.err conftest.$ac_ext
1.3022 +if $ac_preproc_ok; then
1.3025 + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
1.3026 +See \`config.log' for more details." >&5
1.3027 +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
1.3028 +See \`config.log' for more details." >&2;}
1.3029 + { (exit 1); exit 1; }; }
1.3033 +ac_cpp='$CPP $CPPFLAGS'
1.3034 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.3035 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.3036 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.3040 +test -n "$build_alias" && ac_build_tool_prefix=$build_alias-
1.3042 +if test -z "$CC_FOR_BUILD"; then
1.3043 + if test "$#" = yes; then
1.3044 + { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
1.3045 +See \`config.log' for more details." >&5
1.3046 +echo "$as_me: error: cannot run test program while cross compiling
1.3047 +See \`config.log' for more details." >&2;}
1.3048 + { (exit 1); exit 1; }; }
1.3050 + cat >conftest.$ac_ext <<_ACEOF
1.3053 +rm -f conftest$ac_exeext
1.3054 +if { (ac_try="$ac_link"
1.3056 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.3057 + *) ac_try_echo=$ac_try;;
1.3059 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.3060 + (eval "$ac_link") 2>&5
1.3062 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3063 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.3064 + { (case "(($ac_try" in
1.3065 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.3066 + *) ac_try_echo=$ac_try;;
1.3068 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.3069 + (eval "$ac_try") 2>&5
1.3071 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3072 + (exit $ac_status); }; }; then
1.3075 + echo "$as_me: program exited with status $ac_status" >&5
1.3076 +echo "$as_me: failed program was:" >&5
1.3077 +sed 's/^/| /' conftest.$ac_ext >&5
1.3080 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.3088 +ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
1.3089 +ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
1.3090 +ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.3091 +ac_build_compiler_gnu=$ac_cv_c_compiler_gnu
1.3092 +if test -n "$ac_build_tool_prefix"; then
1.3093 + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1.3094 +set dummy ${ac_build_tool_prefix}gcc; ac_word=$2
1.3095 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.3096 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.3097 +if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then
1.3098 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.3100 + if test -n "$CC_FOR_BUILD"; then
1.3101 + ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
1.3103 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.3107 + test -z "$as_dir" && as_dir=.
1.3108 + for ac_exec_ext in '' $ac_executable_extensions; do
1.3109 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.3110 + ac_cv_prog_CC_FOR_BUILD="${ac_build_tool_prefix}gcc"
1.3111 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.3120 +CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
1.3121 +if test -n "$CC_FOR_BUILD"; then
1.3122 + { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&5
1.3123 +echo "${ECHO_T}$CC_FOR_BUILD" >&6; }
1.3125 + { echo "$as_me:$LINENO: result: no" >&5
1.3126 +echo "${ECHO_T}no" >&6; }
1.3131 +if test -z "$ac_cv_prog_CC_FOR_BUILD"; then
1.3132 + ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD
1.3133 + # Extract the first word of "gcc", so it can be a program name with args.
1.3134 +set dummy gcc; ac_word=$2
1.3135 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.3136 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.3137 +if test "${ac_cv_prog_ac_ct_CC_FOR_BUILD+set}" = set; then
1.3138 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.3140 + if test -n "$ac_ct_CC_FOR_BUILD"; then
1.3141 + ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
1.3143 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.3147 + test -z "$as_dir" && as_dir=.
1.3148 + for ac_exec_ext in '' $ac_executable_extensions; do
1.3149 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.3150 + ac_cv_prog_ac_ct_CC_FOR_BUILD="gcc"
1.3151 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.3160 +ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD
1.3161 +if test -n "$ac_ct_CC_FOR_BUILD"; then
1.3162 + { echo "$as_me:$LINENO: result: $ac_ct_CC_FOR_BUILD" >&5
1.3163 +echo "${ECHO_T}$ac_ct_CC_FOR_BUILD" >&6; }
1.3165 + { echo "$as_me:$LINENO: result: no" >&5
1.3166 +echo "${ECHO_T}no" >&6; }
1.3169 + if test "x$ac_ct_CC_FOR_BUILD" = x; then
1.3172 + case $#:$ac_tool_warned in
1.3174 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1.3175 +whose name does not start with the build triplet. If you think this
1.3176 +configuration is useful to you, please write to autoconf@gnu.org." >&5
1.3177 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1.3178 +whose name does not start with the build triplet. If you think this
1.3179 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1.3182 + CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD
1.3185 + CC_FOR_BUILD="$ac_cv_prog_CC_FOR_BUILD"
1.3188 +if test -z "$CC_FOR_BUILD"; then
1.3189 + if test -n "$ac_build_tool_prefix"; then
1.3190 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1.3191 +set dummy ${ac_build_tool_prefix}cc; ac_word=$2
1.3192 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.3193 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.3194 +if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then
1.3195 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.3197 + if test -n "$CC_FOR_BUILD"; then
1.3198 + ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
1.3200 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.3204 + test -z "$as_dir" && as_dir=.
1.3205 + for ac_exec_ext in '' $ac_executable_extensions; do
1.3206 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.3207 + ac_cv_prog_CC_FOR_BUILD="${ac_build_tool_prefix}cc"
1.3208 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.3217 +CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
1.3218 +if test -n "$CC_FOR_BUILD"; then
1.3219 + { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&5
1.3220 +echo "${ECHO_T}$CC_FOR_BUILD" >&6; }
1.3222 + { echo "$as_me:$LINENO: result: no" >&5
1.3223 +echo "${ECHO_T}no" >&6; }
1.3229 +if test -z "$CC_FOR_BUILD"; then
1.3230 + # Extract the first word of "cc", so it can be a program name with args.
1.3231 +set dummy cc; ac_word=$2
1.3232 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.3233 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.3234 +if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then
1.3235 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.3237 + if test -n "$CC_FOR_BUILD"; then
1.3238 + ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
1.3241 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.3245 + test -z "$as_dir" && as_dir=.
1.3246 + for ac_exec_ext in '' $ac_executable_extensions; do
1.3247 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.3248 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1.3252 + ac_cv_prog_CC_FOR_BUILD="cc"
1.3253 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.3260 +if test $ac_prog_rejected = yes; then
1.3261 + # We found a bogon in the path, so make sure we never use it.
1.3262 + set dummy $ac_cv_prog_CC_FOR_BUILD
1.3264 + if test $# != 0; then
1.3265 + # We chose a different compiler from the bogus one.
1.3266 + # However, it has the same basename, so the bogon will be chosen
1.3267 + # first if we set CC_FOR_BUILD to just the basename; use the full file name.
1.3269 + ac_cv_prog_CC_FOR_BUILD="$as_dir/$ac_word${1+' '}$@"
1.3274 +CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
1.3275 +if test -n "$CC_FOR_BUILD"; then
1.3276 + { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&5
1.3277 +echo "${ECHO_T}$CC_FOR_BUILD" >&6; }
1.3279 + { echo "$as_me:$LINENO: result: no" >&5
1.3280 +echo "${ECHO_T}no" >&6; }
1.3285 +if test -z "$CC_FOR_BUILD"; then
1.3286 + if test -n "$ac_build_tool_prefix"; then
1.3287 + for ac_prog in cl.exe
1.3289 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1.3290 +set dummy $ac_build_tool_prefix$ac_prog; ac_word=$2
1.3291 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.3292 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.3293 +if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then
1.3294 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.3296 + if test -n "$CC_FOR_BUILD"; then
1.3297 + ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
1.3299 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.3303 + test -z "$as_dir" && as_dir=.
1.3304 + for ac_exec_ext in '' $ac_executable_extensions; do
1.3305 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.3306 + ac_cv_prog_CC_FOR_BUILD="$ac_build_tool_prefix$ac_prog"
1.3307 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.3316 +CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
1.3317 +if test -n "$CC_FOR_BUILD"; then
1.3318 + { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&5
1.3319 +echo "${ECHO_T}$CC_FOR_BUILD" >&6; }
1.3321 + { echo "$as_me:$LINENO: result: no" >&5
1.3322 +echo "${ECHO_T}no" >&6; }
1.3326 + test -n "$CC_FOR_BUILD" && break
1.3329 +if test -z "$CC_FOR_BUILD"; then
1.3330 + ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD
1.3331 + for ac_prog in cl.exe
1.3333 + # Extract the first word of "$ac_prog", so it can be a program name with args.
1.3334 +set dummy $ac_prog; ac_word=$2
1.3335 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.3336 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.3337 +if test "${ac_cv_prog_ac_ct_CC_FOR_BUILD+set}" = set; then
1.3338 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.3340 + if test -n "$ac_ct_CC_FOR_BUILD"; then
1.3341 + ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
1.3343 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.3347 + test -z "$as_dir" && as_dir=.
1.3348 + for ac_exec_ext in '' $ac_executable_extensions; do
1.3349 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.3350 + ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_prog"
1.3351 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.3360 +ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD
1.3361 +if test -n "$ac_ct_CC_FOR_BUILD"; then
1.3362 + { echo "$as_me:$LINENO: result: $ac_ct_CC_FOR_BUILD" >&5
1.3363 +echo "${ECHO_T}$ac_ct_CC_FOR_BUILD" >&6; }
1.3365 + { echo "$as_me:$LINENO: result: no" >&5
1.3366 +echo "${ECHO_T}no" >&6; }
1.3370 + test -n "$ac_ct_CC_FOR_BUILD" && break
1.3373 + if test "x$ac_ct_CC_FOR_BUILD" = x; then
1.3376 + case $#:$ac_tool_warned in
1.3378 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1.3379 +whose name does not start with the build triplet. If you think this
1.3380 +configuration is useful to you, please write to autoconf@gnu.org." >&5
1.3381 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1.3382 +whose name does not start with the build triplet. If you think this
1.3383 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1.3386 + CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD
1.3393 +test -z "$CC_FOR_BUILD" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1.3394 +See \`config.log' for more details." >&5
1.3395 +echo "$as_me: error: no acceptable C compiler found in \$PATH
1.3396 +See \`config.log' for more details." >&2;}
1.3397 + { (exit 1); exit 1; }; }
1.3399 +# Provide some information about the compiler.
1.3400 +echo "$as_me:$LINENO: checking for C compiler version" >&5
1.3401 +ac_compiler=`set X $ac_build_compile; echo $2`
1.3402 +{ (ac_try="$ac_compiler --version >&5"
1.3404 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.3405 + *) ac_try_echo=$ac_try;;
1.3407 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.3408 + (eval "$ac_compiler --version >&5") 2>&5
1.3410 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3412 +{ (ac_try="$ac_compiler -v >&5"
1.3414 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.3415 + *) ac_try_echo=$ac_try;;
1.3417 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.3418 + (eval "$ac_compiler -v >&5") 2>&5
1.3420 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3422 +{ (ac_try="$ac_compiler -V >&5"
1.3424 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.3425 + *) ac_try_echo=$ac_try;;
1.3427 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.3428 + (eval "$ac_compiler -V >&5") 2>&5
1.3430 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3433 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1.3434 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
1.3435 +if test "${ac_cv_c_compiler_gnu+set}" = set; then
1.3436 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.3438 + cat >conftest.$ac_ext <<_ACEOF
1.3441 +cat confdefs.h >>conftest.$ac_ext
1.3442 +cat >>conftest.$ac_ext <<_ACEOF
1.3456 +rm -f conftest.$ac_build_objext
1.3457 +if { (ac_try="$ac_build_compile"
1.3459 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.3460 + *) ac_try_echo=$ac_try;;
1.3462 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.3463 + (eval "$ac_build_compile") 2>conftest.er1
1.3465 + grep -v '^ *+' conftest.er1 >conftest.err
1.3468 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3469 + (exit $ac_status); } && {
1.3470 + test -z "$ac_c_werror_flag" ||
1.3471 + test ! -s conftest.err
1.3472 + } && test -s conftest.$ac_build_objext; then
1.3473 + ac_build_compiler_gnu=yes
1.3475 + echo "$as_me: failed program was:" >&5
1.3476 +sed 's/^/| /' conftest.$ac_ext >&5
1.3478 + ac_build_compiler_gnu=no
1.3481 +rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
1.3482 +ac_cv_c_compiler_gnu=$ac_build_compiler_gnu
1.3485 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1.3486 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
1.3487 +GCC=`test $ac_build_compiler_gnu = yes && echo yes`
1.3488 +ac_test_CFLAGS=${CFLAGS_FOR_BUILD+set}
1.3489 +ac_save_CFLAGS=$CFLAGS_FOR_BUILD
1.3490 +{ echo "$as_me:$LINENO: checking whether $CC_FOR_BUILD accepts -g" >&5
1.3491 +echo $ECHO_N "checking whether $CC_FOR_BUILD accepts -g... $ECHO_C" >&6; }
1.3492 +if test "${ac_cv_build_prog_cc_g+set}" = set; then
1.3493 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.3495 + ac_save_c_werror_flag=$ac_c_werror_flag
1.3497 + ac_cv_build_prog_cc_g=no
1.3498 + CFLAGS_FOR_BUILD="-g"
1.3499 + cat >conftest.$ac_ext <<_ACEOF
1.3502 +cat confdefs.h >>conftest.$ac_ext
1.3503 +cat >>conftest.$ac_ext <<_ACEOF
1.3514 +rm -f conftest.$ac_build_objext
1.3515 +if { (ac_try="$ac_build_compile"
1.3517 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.3518 + *) ac_try_echo=$ac_try;;
1.3520 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.3521 + (eval "$ac_build_compile") 2>conftest.er1
1.3523 + grep -v '^ *+' conftest.er1 >conftest.err
1.3526 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3527 + (exit $ac_status); } && {
1.3528 + test -z "$ac_c_werror_flag" ||
1.3529 + test ! -s conftest.err
1.3530 + } && test -s conftest.$ac_build_objext; then
1.3531 + ac_cv_build_prog_cc_g=yes
1.3533 + echo "$as_me: failed program was:" >&5
1.3534 +sed 's/^/| /' conftest.$ac_ext >&5
1.3537 + cat >conftest.$ac_ext <<_ACEOF
1.3540 +cat confdefs.h >>conftest.$ac_ext
1.3541 +cat >>conftest.$ac_ext <<_ACEOF
1.3552 +rm -f conftest.$ac_build_objext
1.3553 +if { (ac_try="$ac_build_compile"
1.3555 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.3556 + *) ac_try_echo=$ac_try;;
1.3558 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.3559 + (eval "$ac_build_compile") 2>conftest.er1
1.3561 + grep -v '^ *+' conftest.er1 >conftest.err
1.3564 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3565 + (exit $ac_status); } && {
1.3566 + test -z "$ac_c_werror_flag" ||
1.3567 + test ! -s conftest.err
1.3568 + } && test -s conftest.$ac_build_objext; then
1.3571 + echo "$as_me: failed program was:" >&5
1.3572 +sed 's/^/| /' conftest.$ac_ext >&5
1.3574 + ac_c_werror_flag=$ac_save_c_werror_flag
1.3575 + CFLAGS_FOR_BUILD="-g"
1.3576 + cat >conftest.$ac_ext <<_ACEOF
1.3579 +cat confdefs.h >>conftest.$ac_ext
1.3580 +cat >>conftest.$ac_ext <<_ACEOF
1.3591 +rm -f conftest.$ac_build_objext
1.3592 +if { (ac_try="$ac_build_compile"
1.3594 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.3595 + *) ac_try_echo=$ac_try;;
1.3597 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.3598 + (eval "$ac_build_compile") 2>conftest.er1
1.3600 + grep -v '^ *+' conftest.er1 >conftest.err
1.3603 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3604 + (exit $ac_status); } && {
1.3605 + test -z "$ac_c_werror_flag" ||
1.3606 + test ! -s conftest.err
1.3607 + } && test -s conftest.$ac_build_objext; then
1.3608 + ac_cv_build_prog_cc_g=yes
1.3610 + echo "$as_me: failed program was:" >&5
1.3611 +sed 's/^/| /' conftest.$ac_ext >&5
1.3616 +rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
1.3619 +rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
1.3622 +rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
1.3623 + ac_c_werror_flag=$ac_save_c_werror_flag
1.3625 +{ echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_g" >&5
1.3626 +echo "${ECHO_T}$ac_cv_build_prog_cc_g" >&6; }
1.3627 +if test "$ac_test_CFLAGS" = set; then
1.3628 + CFLAGS_FOR_BUILD=$ac_save_CFLAGS
1.3629 +elif test $ac_cv_build_prog_cc_g = yes; then
1.3630 + if test "$GCC" = yes; then
1.3631 + CFLAGS_FOR_BUILD="-g -O2"
1.3633 + CFLAGS_FOR_BUILD="-g"
1.3636 + if test "$GCC" = yes; then
1.3637 + CFLAGS_FOR_BUILD="-O2"
1.3642 +{ echo "$as_me:$LINENO: checking for $CC_FOR_BUILD option to accept ISO C89" >&5
1.3643 +echo $ECHO_N "checking for $CC_FOR_BUILD option to accept ISO C89... $ECHO_C" >&6; }
1.3644 +if test "${ac_cv_build_prog_cc_stdc+set}" = set; then
1.3645 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.3647 + ac_cv_build_prog_cc_stdc=no
1.3648 +ac_save_CC=$CC_FOR_BUILD
1.3649 +cat >conftest.$ac_ext <<_ACEOF
1.3652 +cat confdefs.h >>conftest.$ac_ext
1.3653 +cat >>conftest.$ac_ext <<_ACEOF
1.3657 +#include <sys/types.h>
1.3659 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1.3660 +struct buf { int x; };
1.3661 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
1.3668 +static char *f (char * (*g) (char **, int), char **p, ...)
1.3673 + s = g (p, va_arg (v,int));
1.3678 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1.3679 + function prototypes and stuff, but not '\xHH' hex character constants.
1.3680 + These don't provoke an error unfortunately, instead are silently treated
1.3681 + as 'x'. The following induces an error, until -std is added to get
1.3682 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
1.3683 + array size at least. It's necessary to write '\x00'==0 to get something
1.3684 + that's true only with -std. */
1.3685 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1.3687 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
1.3688 + inside strings and character constants. */
1.3690 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
1.3692 +int test (int i, double x);
1.3693 +struct s1 {int (*f) (int a);};
1.3694 +struct s2 {int (*f) (double a);};
1.3695 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1.3701 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
1.3706 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
1.3707 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1.3709 + CC_FOR_BUILD="$ac_save_CC $ac_arg"
1.3710 + rm -f conftest.$ac_build_objext
1.3711 +if { (ac_try="$ac_build_compile"
1.3713 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.3714 + *) ac_try_echo=$ac_try;;
1.3716 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.3717 + (eval "$ac_build_compile") 2>conftest.er1
1.3719 + grep -v '^ *+' conftest.er1 >conftest.err
1.3722 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.3723 + (exit $ac_status); } && {
1.3724 + test -z "$ac_c_werror_flag" ||
1.3725 + test ! -s conftest.err
1.3726 + } && test -s conftest.$ac_build_objext; then
1.3727 + ac_cv_build_prog_cc_stdc=$ac_arg
1.3729 + echo "$as_me: failed program was:" >&5
1.3730 +sed 's/^/| /' conftest.$ac_ext >&5
1.3735 +rm -f core conftest.err conftest.$ac_build_objext
1.3736 + test "x$ac_cv_build_prog_cc_stdc" != "xno" && break
1.3738 +rm -f conftest.$ac_ext
1.3739 +CC_FOR_BUILD=$ac_save_CC
1.3743 +case "x$ac_cv_build_prog_cc_stdc" in
1.3745 + { echo "$as_me:$LINENO: result: none needed" >&5
1.3746 +echo "${ECHO_T}none needed" >&6; } ;;
1.3748 + { echo "$as_me:$LINENO: result: unsupported" >&5
1.3749 +echo "${ECHO_T}unsupported" >&6; } ;;
1.3751 + CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_build_prog_cc_stdc"
1.3752 + { echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_stdc" >&5
1.3753 +echo "${ECHO_T}$ac_cv_build_prog_cc_stdc" >&6; } ;;
1.3758 +ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
1.3759 +ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
1.3760 +ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.3761 +ac_build_compiler_gnu=$ac_cv_c_compiler_gnu
1.3763 +depcc="$CC_FOR_BUILD" am_compiler_list=
1.3765 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
1.3766 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
1.3767 +if test "${am_cv_CC_FOR_BUILD_dependencies_compiler_type+set}" = set; then
1.3768 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.3770 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1.3771 + # We make a subdir and do the tests there. Otherwise we can end up
1.3772 + # making bogus files that we don't know about and never remove. For
1.3773 + # instance it was reported that on HP-UX the gcc test will end up
1.3774 + # making a dummy file named `D' -- because `-MD' means `put the output
1.3777 + # Copy depcomp to subdir because otherwise we won't find it if we're
1.3778 + # using a relative directory.
1.3779 + cp "$am_depcomp" conftest.dir
1.3781 + # We will build objects and dependencies in a subdirectory because
1.3782 + # it helps to detect inapplicable dependency modes. For instance
1.3783 + # both Tru64's cc and ICC support -MD to output dependencies as a
1.3784 + # side effect of compilation, but ICC will put the dependencies in
1.3785 + # the current directory while Tru64 will put them in the object
1.3789 + am_cv_CC_FOR_BUILD_dependencies_compiler_type=none
1.3790 + if test "$am_compiler_list" = ""; then
1.3791 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1.3793 + for depmode in $am_compiler_list; do
1.3794 + # Setup a source with many dependencies, because some compilers
1.3795 + # like to wrap large dependency lists on column 80 (with \), and
1.3796 + # we should not choose a depcomp mode which is confused by this.
1.3798 + # We need to recreate these files for each test, as the compiler may
1.3799 + # overwrite some of them when testing with obscure command lines.
1.3800 + # This happens at least with the AIX C compiler.
1.3802 + for i in 1 2 3 4 5 6; do
1.3803 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.3804 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
1.3805 + # Solaris 8's {/usr,}/bin/sh.
1.3806 + touch sub/conftst$i.h
1.3808 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.3812 + # after this tag, mechanisms are not by side-effect, so they'll
1.3813 + # only be used when explicitly requested
1.3814 + if test "x$enable_dependency_tracking" = xyes; then
1.3822 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
1.3823 + # mode. It turns out that the SunPro C++ compiler does not properly
1.3824 + # handle `-M -o', and we need to detect this.
1.3825 + if depmode=$depmode \
1.3826 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
1.3827 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.3828 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
1.3829 + >/dev/null 2>conftest.err &&
1.3830 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.3831 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.3832 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.3833 + # icc doesn't choke on unknown options, it will just issue warnings
1.3834 + # or remarks (even with -Werror). So we grep stderr for any message
1.3835 + # that says an option was ignored or not supported.
1.3836 + # When given -MP, icc 7.0 and 7.1 complain thusly:
1.3837 + # icc: Command line warning: ignoring option '-M'; no argument required
1.3838 + # The diagnosis changed in icc 8.0:
1.3839 + # icc: Command line remark: option '-MP' not supported
1.3840 + if (grep 'ignoring option' conftest.err ||
1.3841 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
1.3842 + am_cv_CC_FOR_BUILD_dependencies_compiler_type=$depmode
1.3851 + am_cv_CC_FOR_BUILD_dependencies_compiler_type=none
1.3855 +{ echo "$as_me:$LINENO: result: $am_cv_CC_FOR_BUILD_dependencies_compiler_type" >&5
1.3856 +echo "${ECHO_T}$am_cv_CC_FOR_BUILD_dependencies_compiler_type" >&6; }
1.3857 +CC_FOR_BUILDDEPMODE=depmode=$am_cv_CC_FOR_BUILD_dependencies_compiler_type
1.3862 + test "x$enable_dependency_tracking" != xno \
1.3863 + && test "$am_cv_CC_FOR_BUILD_dependencies_compiler_type" = gcc3; then
1.3864 + am__fastdepCC_FOR_BUILD_TRUE=
1.3865 + am__fastdepCC_FOR_BUILD_FALSE='#'
1.3867 + am__fastdepCC_FOR_BUILD_TRUE='#'
1.3868 + am__fastdepCC_FOR_BUILD_FALSE=
1.3872 + case $ac_cv_build_prog_cc_stdc in
1.3873 + no) ac_cv_build_prog_cc_stdc=no; ac_cv_build_prog_cc_stdc=no ;;
1.3874 + *) { echo "$as_me:$LINENO: checking for $CC_FOR_BUILD option to accept ISO C99" >&5
1.3875 +echo $ECHO_N "checking for $CC_FOR_BUILD option to accept ISO C99... $ECHO_C" >&6; }
1.3876 +if test "${ac_cv_build_prog_cc_stdc+set}" = set; then
1.3877 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.3879 + ac_cv_build_prog_cc_stdc=no
1.3880 +ac_save_CC=$CC_FOR_BUILD
1.3881 +cat >conftest.$ac_ext <<_ACEOF
1.3884 +cat confdefs.h >>conftest.$ac_ext
1.3885 +cat >>conftest.$ac_ext <<_ACEOF
1.3893 +// Check varargs macros. These examples are taken from C99 6.10.3.5.
1.3894 +#define debug(...) fprintf (stderr, __VA_ARGS__)
1.3895 +#define showlist(...) puts (#__VA_ARGS__)
1.3896 +#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
1.3898 +test_varargs_macros (void)
1.3903 + debug ("X = %d\n", x);
1.3904 + showlist (The first, second, and third items.);
1.3905 + report (x>y, "x is %d but y is %d", x, y);
1.3908 +// Check long long types.
1.3909 +#define BIG64 18446744073709551615ull
1.3910 +#define BIG32 4294967295ul
1.3911 +#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
1.3913 + your preprocessor is broken;
1.3917 + your preprocessor is broken;
1.3919 +static long long int bignum = -9223372036854775807LL;
1.3920 +static unsigned long long int ubignum = BIG64;
1.3922 +struct incomplete_array
1.3934 +typedef const char *ccp;
1.3937 +test_restrict (ccp restrict text)
1.3939 + // See if C++-style comments work.
1.3940 + // Iterate through items via the restricted pointer.
1.3941 + // Also check for declarations in for loops.
1.3942 + for (unsigned int i = 0; *(text+i) != '\0'; ++i)
1.3947 +// Check varargs and va_copy.
1.3949 +test_varargs (const char *format, ...)
1.3952 + va_start (args, format);
1.3954 + va_copy (args_copy, args);
1.3965 + str = va_arg (args_copy, const char *);
1.3968 + number = va_arg (args_copy, int);
1.3971 + fnumber = va_arg (args_copy, double);
1.3986 + _Bool success = false;
1.3989 + if (test_restrict ("String literal") == 0)
1.3991 + char *restrict newvar = "Another string";
1.3994 + test_varargs ("s, d' f .", "string", 65, 34.234);
1.3995 + test_varargs_macros ();
1.3997 + // Check flexible array members.
1.3998 + struct incomplete_array *ia =
1.3999 + malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
1.4001 + for (int i = 0; i < ia->datasize; ++i)
1.4002 + ia->data[i] = i * 1.234;
1.4004 + // Check named initializers.
1.4005 + struct named_init ni = {
1.4007 + .name = L"Test wide string",
1.4008 + .average = 543.34343,
1.4013 + int dynamic_array[ni.number];
1.4014 + dynamic_array[ni.number - 1] = 543;
1.4016 + // work around unused variable warnings
1.4017 + return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
1.4018 + || dynamic_array[ni.number - 1] != 543);
1.4024 +for ac_arg in '' -std=gnu99 -c99 -qlanglvl=extc99
1.4026 + CC_FOR_BUILD="$ac_save_CC $ac_arg"
1.4027 + rm -f conftest.$ac_build_objext
1.4028 +if { (ac_try="$ac_build_compile"
1.4030 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.4031 + *) ac_try_echo=$ac_try;;
1.4033 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.4034 + (eval "$ac_build_compile") 2>conftest.er1
1.4036 + grep -v '^ *+' conftest.er1 >conftest.err
1.4039 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4040 + (exit $ac_status); } && {
1.4041 + test -z "$ac_c_werror_flag" ||
1.4042 + test ! -s conftest.err
1.4043 + } && test -s conftest.$ac_build_objext; then
1.4044 + ac_cv_build_prog_cc_stdc=$ac_arg
1.4046 + echo "$as_me: failed program was:" >&5
1.4047 +sed 's/^/| /' conftest.$ac_ext >&5
1.4052 +rm -f core conftest.err conftest.$ac_build_objext
1.4053 + test "x$ac_cv_build_prog_cc_stdc" != "xno" && break
1.4055 +rm -f conftest.$ac_ext
1.4056 +CC_FOR_BUILD=$ac_save_CC
1.4060 +case "x$ac_cv_build_prog_cc_stdc" in
1.4062 + { echo "$as_me:$LINENO: result: none needed" >&5
1.4063 +echo "${ECHO_T}none needed" >&6; } ;;
1.4065 + { echo "$as_me:$LINENO: result: unsupported" >&5
1.4066 +echo "${ECHO_T}unsupported" >&6; } ;;
1.4068 + CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_build_prog_cc_stdc"
1.4069 + { echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_stdc" >&5
1.4070 +echo "${ECHO_T}$ac_cv_build_prog_cc_stdc" >&6; } ;;
1.4072 +if test "x$ac_cv_build_prog_cc_stdc" != xno; then
1.4073 + ac_cv_build_prog_cc_stdc=$ac_cv_build_prog_cc_stdc
1.4075 + { echo "$as_me:$LINENO: checking for $CC_FOR_BUILD option to accept ISO C89" >&5
1.4076 +echo $ECHO_N "checking for $CC_FOR_BUILD option to accept ISO C89... $ECHO_C" >&6; }
1.4077 +if test "${ac_cv_build_prog_cc_stdc+set}" = set; then
1.4078 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.4080 + ac_cv_build_prog_cc_stdc=no
1.4081 +ac_save_CC=$CC_FOR_BUILD
1.4082 +cat >conftest.$ac_ext <<_ACEOF
1.4085 +cat confdefs.h >>conftest.$ac_ext
1.4086 +cat >>conftest.$ac_ext <<_ACEOF
1.4090 +#include <sys/types.h>
1.4092 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1.4093 +struct buf { int x; };
1.4094 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
1.4101 +static char *f (char * (*g) (char **, int), char **p, ...)
1.4106 + s = g (p, va_arg (v,int));
1.4111 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1.4112 + function prototypes and stuff, but not '\xHH' hex character constants.
1.4113 + These don't provoke an error unfortunately, instead are silently treated
1.4114 + as 'x'. The following induces an error, until -std is added to get
1.4115 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
1.4116 + array size at least. It's necessary to write '\x00'==0 to get something
1.4117 + that's true only with -std. */
1.4118 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1.4120 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
1.4121 + inside strings and character constants. */
1.4123 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
1.4125 +int test (int i, double x);
1.4126 +struct s1 {int (*f) (int a);};
1.4127 +struct s2 {int (*f) (double a);};
1.4128 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1.4134 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
1.4139 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
1.4140 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1.4142 + CC_FOR_BUILD="$ac_save_CC $ac_arg"
1.4143 + rm -f conftest.$ac_build_objext
1.4144 +if { (ac_try="$ac_build_compile"
1.4146 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.4147 + *) ac_try_echo=$ac_try;;
1.4149 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.4150 + (eval "$ac_build_compile") 2>conftest.er1
1.4152 + grep -v '^ *+' conftest.er1 >conftest.err
1.4155 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4156 + (exit $ac_status); } && {
1.4157 + test -z "$ac_c_werror_flag" ||
1.4158 + test ! -s conftest.err
1.4159 + } && test -s conftest.$ac_build_objext; then
1.4160 + ac_cv_build_prog_cc_stdc=$ac_arg
1.4162 + echo "$as_me: failed program was:" >&5
1.4163 +sed 's/^/| /' conftest.$ac_ext >&5
1.4168 +rm -f core conftest.err conftest.$ac_build_objext
1.4169 + test "x$ac_cv_build_prog_cc_stdc" != "xno" && break
1.4171 +rm -f conftest.$ac_ext
1.4172 +CC_FOR_BUILD=$ac_save_CC
1.4176 +case "x$ac_cv_build_prog_cc_stdc" in
1.4178 + { echo "$as_me:$LINENO: result: none needed" >&5
1.4179 +echo "${ECHO_T}none needed" >&6; } ;;
1.4181 + { echo "$as_me:$LINENO: result: unsupported" >&5
1.4182 +echo "${ECHO_T}unsupported" >&6; } ;;
1.4184 + CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_build_prog_cc_stdc"
1.4185 + { echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_stdc" >&5
1.4186 +echo "${ECHO_T}$ac_cv_build_prog_cc_stdc" >&6; } ;;
1.4188 +if test "x$ac_cv_build_prog_cc_stdc" != xno; then
1.4189 + ac_cv_build_prog_cc_stdc=$ac_cv_build_prog_cc_stdc
1.4191 + ac_cv_build_prog_cc_stdc=no
1.4199 + { echo "$as_me:$LINENO: checking for $CC_FOR_BUILD option to accept ISO Standard C" >&5
1.4200 +echo $ECHO_N "checking for $CC_FOR_BUILD option to accept ISO Standard C... $ECHO_C" >&6; }
1.4201 + if test "${ac_cv_build_prog_cc_stdc+set}" = set; then
1.4202 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.4205 + case $ac_cv_build_prog_cc_stdc in
1.4206 + no) { echo "$as_me:$LINENO: result: unsupported" >&5
1.4207 +echo "${ECHO_T}unsupported" >&6; } ;;
1.4208 + '') { echo "$as_me:$LINENO: result: none needed" >&5
1.4209 +echo "${ECHO_T}none needed" >&6; } ;;
1.4210 + *) { echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_stdc" >&5
1.4211 +echo "${ECHO_T}$ac_cv_build_prog_cc_stdc" >&6; } ;;
1.4216 +ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
1.4217 +ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
1.4218 +ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.4219 +ac_build_compiler_gnu=$ac_cv_c_compiler_gnu
1.4220 +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
1.4221 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
1.4222 +# On Suns, sometimes $CPP names a directory.
1.4223 +if test -n "$CPP_FOR_BUILD" && test -d "$CPP_FOR_BUILD"; then
1.4226 +if test -z "$CPP_FOR_BUILD"; then
1.4227 + if test "${ac_cv_build_prog_CPP+set}" = set; then
1.4228 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.4230 + # Double quotes because CPP needs to be expanded
1.4231 + for CPP_FOR_BUILD in "$CC_FOR_BUILD -E" "$CC_FOR_BUILD -E -traditional-cpp" "/lib/cpp"
1.4234 +for ac_c_preproc_warn_flag in '' yes
1.4236 + # Use a header file that comes with gcc, so configuring glibc
1.4237 + # with a fresh cross-compiler works.
1.4238 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.4239 + # <limits.h> exists even on freestanding compilers.
1.4240 + # On the NeXT, cc -E runs the code through the compiler's parser,
1.4241 + # not just through cpp. "Syntax error" is here to catch this case.
1.4242 + cat >conftest.$ac_ext <<_ACEOF
1.4245 +cat confdefs.h >>conftest.$ac_ext
1.4246 +cat >>conftest.$ac_ext <<_ACEOF
1.4255 +if { (ac_try="$ac_build_cpp conftest.$ac_ext"
1.4257 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.4258 + *) ac_try_echo=$ac_try;;
1.4260 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.4261 + (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er1
1.4263 + grep -v '^ *+' conftest.er1 >conftest.err
1.4266 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4267 + (exit $ac_status); } >/dev/null && {
1.4268 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1.4269 + test ! -s conftest.err
1.4273 + echo "$as_me: failed program was:" >&5
1.4274 +sed 's/^/| /' conftest.$ac_ext >&5
1.4276 + # Broken: fails on valid input.
1.4280 +rm -f conftest.err conftest.$ac_ext
1.4282 + # OK, works on sane cases. Now check whether nonexistent headers
1.4283 + # can be detected and how.
1.4284 + cat >conftest.$ac_ext <<_ACEOF
1.4287 +cat confdefs.h >>conftest.$ac_ext
1.4288 +cat >>conftest.$ac_ext <<_ACEOF
1.4290 +#include <ac_nonexistent.h>
1.4292 +if { (ac_try="$ac_build_cpp conftest.$ac_ext"
1.4294 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.4295 + *) ac_try_echo=$ac_try;;
1.4297 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.4298 + (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er1
1.4300 + grep -v '^ *+' conftest.er1 >conftest.err
1.4303 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4304 + (exit $ac_status); } >/dev/null && {
1.4305 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1.4306 + test ! -s conftest.err
1.4308 + # Broken: success on invalid input.
1.4311 + echo "$as_me: failed program was:" >&5
1.4312 +sed 's/^/| /' conftest.$ac_ext >&5
1.4319 +rm -f conftest.err conftest.$ac_ext
1.4322 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.4323 +rm -f conftest.err conftest.$ac_ext
1.4324 +if $ac_preproc_ok; then
1.4329 + ac_cv_build_prog_CPP=$CPP_FOR_BUILD
1.4332 + CPP_FOR_BUILD=$ac_cv_build_prog_CPP
1.4334 + ac_cv_build_prog_CPP=$CPP_FOR_BUILD
1.4336 +{ echo "$as_me:$LINENO: result: $CPP_FOR_BUILD" >&5
1.4337 +echo "${ECHO_T}$CPP_FOR_BUILD" >&6; }
1.4339 +for ac_c_preproc_warn_flag in '' yes
1.4341 + # Use a header file that comes with gcc, so configuring glibc
1.4342 + # with a fresh cross-compiler works.
1.4343 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.4344 + # <limits.h> exists even on freestanding compilers.
1.4345 + # On the NeXT, cc -E runs the code through the compiler's parser,
1.4346 + # not just through cpp. "Syntax error" is here to catch this case.
1.4347 + cat >conftest.$ac_ext <<_ACEOF
1.4350 +cat confdefs.h >>conftest.$ac_ext
1.4351 +cat >>conftest.$ac_ext <<_ACEOF
1.4360 +if { (ac_try="$ac_build_cpp conftest.$ac_ext"
1.4362 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.4363 + *) ac_try_echo=$ac_try;;
1.4365 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.4366 + (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er1
1.4368 + grep -v '^ *+' conftest.er1 >conftest.err
1.4371 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4372 + (exit $ac_status); } >/dev/null && {
1.4373 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1.4374 + test ! -s conftest.err
1.4378 + echo "$as_me: failed program was:" >&5
1.4379 +sed 's/^/| /' conftest.$ac_ext >&5
1.4381 + # Broken: fails on valid input.
1.4385 +rm -f conftest.err conftest.$ac_ext
1.4387 + # OK, works on sane cases. Now check whether nonexistent headers
1.4388 + # can be detected and how.
1.4389 + cat >conftest.$ac_ext <<_ACEOF
1.4392 +cat confdefs.h >>conftest.$ac_ext
1.4393 +cat >>conftest.$ac_ext <<_ACEOF
1.4395 +#include <ac_nonexistent.h>
1.4397 +if { (ac_try="$ac_build_cpp conftest.$ac_ext"
1.4399 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.4400 + *) ac_try_echo=$ac_try;;
1.4402 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.4403 + (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er1
1.4405 + grep -v '^ *+' conftest.er1 >conftest.err
1.4408 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4409 + (exit $ac_status); } >/dev/null && {
1.4410 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1.4411 + test ! -s conftest.err
1.4413 + # Broken: success on invalid input.
1.4416 + echo "$as_me: failed program was:" >&5
1.4417 +sed 's/^/| /' conftest.$ac_ext >&5
1.4424 +rm -f conftest.err conftest.$ac_ext
1.4427 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.4428 +rm -f conftest.err conftest.$ac_ext
1.4429 +if $ac_preproc_ok; then
1.4432 + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP_FOR_BUILD\" fails sanity check
1.4433 +See \`config.log' for more details." >&5
1.4434 +echo "$as_me: error: C preprocessor \"$CPP_FOR_BUILD\" fails sanity check
1.4435 +See \`config.log' for more details." >&2;}
1.4436 + { (exit 1); exit 1; }; }
1.4440 +ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
1.4441 +ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
1.4442 +ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.4443 +ac_build_compiler_gnu=$ac_cv_c_compiler_gnu
1.4448 +BUILD_EXEEXT=$ac_build_exeext
1.4449 +BUILD_OBJEXT=$ac_build_objext
1.4452 +ac_cpp='$OBJCPP $CPPFLAGS'
1.4453 +ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.4454 +ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.4455 +ac_compiler_gnu=$ac_cv_objc_compiler_gnu
1.4456 +if test -n "$ac_tool_prefix"; then
1.4457 + for ac_prog in gcc objcc objc cc CC
1.4459 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1.4460 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.4461 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.4462 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.4463 +if test "${ac_cv_prog_OBJC+set}" = set; then
1.4464 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.4466 + if test -n "$OBJC"; then
1.4467 + ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
1.4469 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.4473 + test -z "$as_dir" && as_dir=.
1.4474 + for ac_exec_ext in '' $ac_executable_extensions; do
1.4475 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.4476 + ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
1.4477 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.4487 +if test -n "$OBJC"; then
1.4488 + { echo "$as_me:$LINENO: result: $OBJC" >&5
1.4489 +echo "${ECHO_T}$OBJC" >&6; }
1.4491 + { echo "$as_me:$LINENO: result: no" >&5
1.4492 +echo "${ECHO_T}no" >&6; }
1.4496 + test -n "$OBJC" && break
1.4499 +if test -z "$OBJC"; then
1.4501 + for ac_prog in gcc objcc objc cc CC
1.4503 + # Extract the first word of "$ac_prog", so it can be a program name with args.
1.4504 +set dummy $ac_prog; ac_word=$2
1.4505 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.4506 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.4507 +if test "${ac_cv_prog_ac_ct_OBJC+set}" = set; then
1.4508 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.4510 + if test -n "$ac_ct_OBJC"; then
1.4511 + ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
1.4513 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.4517 + test -z "$as_dir" && as_dir=.
1.4518 + for ac_exec_ext in '' $ac_executable_extensions; do
1.4519 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.4520 + ac_cv_prog_ac_ct_OBJC="$ac_prog"
1.4521 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.4530 +ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
1.4531 +if test -n "$ac_ct_OBJC"; then
1.4532 + { echo "$as_me:$LINENO: result: $ac_ct_OBJC" >&5
1.4533 +echo "${ECHO_T}$ac_ct_OBJC" >&6; }
1.4535 + { echo "$as_me:$LINENO: result: no" >&5
1.4536 +echo "${ECHO_T}no" >&6; }
1.4540 + test -n "$ac_ct_OBJC" && break
1.4543 + if test "x$ac_ct_OBJC" = x; then
1.4546 + case $cross_compiling:$ac_tool_warned in
1.4548 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1.4549 +whose name does not start with the host triplet. If you think this
1.4550 +configuration is useful to you, please write to autoconf@gnu.org." >&5
1.4551 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1.4552 +whose name does not start with the host triplet. If you think this
1.4553 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1.4560 +# Provide some information about the compiler.
1.4561 +echo "$as_me:$LINENO: checking for Objective C compiler version" >&5
1.4562 +ac_compiler=`set X $ac_compile; echo $2`
1.4563 +{ (ac_try="$ac_compiler --version >&5"
1.4565 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.4566 + *) ac_try_echo=$ac_try;;
1.4568 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.4569 + (eval "$ac_compiler --version >&5") 2>&5
1.4571 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4573 +{ (ac_try="$ac_compiler -v >&5"
1.4575 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.4576 + *) ac_try_echo=$ac_try;;
1.4578 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.4579 + (eval "$ac_compiler -v >&5") 2>&5
1.4581 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4583 +{ (ac_try="$ac_compiler -V >&5"
1.4585 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.4586 + *) ac_try_echo=$ac_try;;
1.4588 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.4589 + (eval "$ac_compiler -V >&5") 2>&5
1.4591 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4594 +{ echo "$as_me:$LINENO: checking whether we are using the GNU Objective C compiler" >&5
1.4595 +echo $ECHO_N "checking whether we are using the GNU Objective C compiler... $ECHO_C" >&6; }
1.4596 +if test "${ac_cv_objc_compiler_gnu+set}" = set; then
1.4597 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.4599 + cat >conftest.$ac_ext <<_ACEOF
1.4602 +cat confdefs.h >>conftest.$ac_ext
1.4603 +cat >>conftest.$ac_ext <<_ACEOF
1.4617 +rm -f conftest.$ac_objext
1.4618 +if { (ac_try="$ac_compile"
1.4620 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.4621 + *) ac_try_echo=$ac_try;;
1.4623 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.4624 + (eval "$ac_compile") 2>conftest.er1
1.4626 + grep -v '^ *+' conftest.er1 >conftest.err
1.4629 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4630 + (exit $ac_status); } && {
1.4631 + test -z "$ac_objc_werror_flag" ||
1.4632 + test ! -s conftest.err
1.4633 + } && test -s conftest.$ac_objext; then
1.4636 + echo "$as_me: failed program was:" >&5
1.4637 +sed 's/^/| /' conftest.$ac_ext >&5
1.4642 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.4643 +ac_cv_objc_compiler_gnu=$ac_compiler_gnu
1.4646 +{ echo "$as_me:$LINENO: result: $ac_cv_objc_compiler_gnu" >&5
1.4647 +echo "${ECHO_T}$ac_cv_objc_compiler_gnu" >&6; }
1.4648 +GOBJC=`test $ac_compiler_gnu = yes && echo yes`
1.4649 +ac_test_OBJCFLAGS=${OBJCFLAGS+set}
1.4650 +ac_save_OBJCFLAGS=$OBJCFLAGS
1.4651 +{ echo "$as_me:$LINENO: checking whether $OBJC accepts -g" >&5
1.4652 +echo $ECHO_N "checking whether $OBJC accepts -g... $ECHO_C" >&6; }
1.4653 +if test "${ac_cv_prog_objc_g+set}" = set; then
1.4654 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.4656 + ac_save_objc_werror_flag=$ac_objc_werror_flag
1.4657 + ac_objc_werror_flag=yes
1.4660 + cat >conftest.$ac_ext <<_ACEOF
1.4663 +cat confdefs.h >>conftest.$ac_ext
1.4664 +cat >>conftest.$ac_ext <<_ACEOF
1.4675 +rm -f conftest.$ac_objext
1.4676 +if { (ac_try="$ac_compile"
1.4678 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.4679 + *) ac_try_echo=$ac_try;;
1.4681 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.4682 + (eval "$ac_compile") 2>conftest.er1
1.4684 + grep -v '^ *+' conftest.er1 >conftest.err
1.4687 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4688 + (exit $ac_status); } && {
1.4689 + test -z "$ac_objc_werror_flag" ||
1.4690 + test ! -s conftest.err
1.4691 + } && test -s conftest.$ac_objext; then
1.4692 + ac_cv_prog_objc_g=yes
1.4694 + echo "$as_me: failed program was:" >&5
1.4695 +sed 's/^/| /' conftest.$ac_ext >&5
1.4698 + cat >conftest.$ac_ext <<_ACEOF
1.4701 +cat confdefs.h >>conftest.$ac_ext
1.4702 +cat >>conftest.$ac_ext <<_ACEOF
1.4713 +rm -f conftest.$ac_objext
1.4714 +if { (ac_try="$ac_compile"
1.4716 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.4717 + *) ac_try_echo=$ac_try;;
1.4719 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.4720 + (eval "$ac_compile") 2>conftest.er1
1.4722 + grep -v '^ *+' conftest.er1 >conftest.err
1.4725 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4726 + (exit $ac_status); } && {
1.4727 + test -z "$ac_objc_werror_flag" ||
1.4728 + test ! -s conftest.err
1.4729 + } && test -s conftest.$ac_objext; then
1.4732 + echo "$as_me: failed program was:" >&5
1.4733 +sed 's/^/| /' conftest.$ac_ext >&5
1.4735 + ac_objc_werror_flag=$ac_save_objc_werror_flag
1.4737 + cat >conftest.$ac_ext <<_ACEOF
1.4740 +cat confdefs.h >>conftest.$ac_ext
1.4741 +cat >>conftest.$ac_ext <<_ACEOF
1.4752 +rm -f conftest.$ac_objext
1.4753 +if { (ac_try="$ac_compile"
1.4755 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.4756 + *) ac_try_echo=$ac_try;;
1.4758 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.4759 + (eval "$ac_compile") 2>conftest.er1
1.4761 + grep -v '^ *+' conftest.er1 >conftest.err
1.4764 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.4765 + (exit $ac_status); } && {
1.4766 + test -z "$ac_objc_werror_flag" ||
1.4767 + test ! -s conftest.err
1.4768 + } && test -s conftest.$ac_objext; then
1.4769 + ac_cv_prog_objc_g=yes
1.4771 + echo "$as_me: failed program was:" >&5
1.4772 +sed 's/^/| /' conftest.$ac_ext >&5
1.4777 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.4780 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.4783 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.4784 + ac_objc_werror_flag=$ac_save_objc_werror_flag
1.4786 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_objc_g" >&5
1.4787 +echo "${ECHO_T}$ac_cv_prog_objc_g" >&6; }
1.4788 +if test "$ac_test_OBJCFLAGS" = set; then
1.4789 + OBJCFLAGS=$ac_save_OBJCFLAGS
1.4790 +elif test $ac_cv_prog_objc_g = yes; then
1.4791 + if test "$GOBJC" = yes; then
1.4797 + if test "$GOBJC" = yes; then
1.4804 +ac_cpp='$CPP $CPPFLAGS'
1.4805 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.4806 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.4807 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.4809 +{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
1.4810 +echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
1.4811 +if test "${ac_cv_path_SED+set}" = set; then
1.4812 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.4814 + ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
1.4815 + for ac_i in 1 2 3 4 5 6 7; do
1.4816 + ac_script="$ac_script$as_nl$ac_script"
1.4818 + echo "$ac_script" | sed 99q >conftest.sed
1.4819 + $as_unset ac_script || ac_script=
1.4820 + # Extract the first word of "sed gsed" to use in msg output
1.4821 +if test -z "$SED"; then
1.4822 +set dummy sed gsed; ac_prog_name=$2
1.4823 +if test "${ac_cv_path_SED+set}" = set; then
1.4824 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.4826 + ac_path_SED_found=false
1.4827 +# Loop through the user's path and test for each of PROGNAME-LIST
1.4828 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.4832 + test -z "$as_dir" && as_dir=.
1.4833 + for ac_prog in sed gsed; do
1.4834 + for ac_exec_ext in '' $ac_executable_extensions; do
1.4835 + ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
1.4836 + { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
1.4837 + # Check for GNU ac_path_SED and select it if it is found.
1.4838 + # Check for GNU $ac_path_SED
1.4839 +case `"$ac_path_SED" --version 2>&1` in
1.4841 + ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
1.4844 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
1.4847 + cat "conftest.in" "conftest.in" >"conftest.tmp"
1.4848 + mv "conftest.tmp" "conftest.in"
1.4849 + cp "conftest.in" "conftest.nl"
1.4850 + echo '' >> "conftest.nl"
1.4851 + "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
1.4852 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
1.4853 + ac_count=`expr $ac_count + 1`
1.4854 + if test $ac_count -gt ${ac_path_SED_max-0}; then
1.4855 + # Best one so far, save it but keep looking for a better one
1.4856 + ac_cv_path_SED="$ac_path_SED"
1.4857 + ac_path_SED_max=$ac_count
1.4859 + # 10*(2^10) chars as input seems more than enough
1.4860 + test $ac_count -gt 10 && break
1.4862 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
1.4866 + $ac_path_SED_found && break 3
1.4877 +if test -z "$SED"; then
1.4878 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
1.4879 +echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
1.4880 + { (exit 1); exit 1; }; }
1.4888 +{ echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
1.4889 +echo "${ECHO_T}$ac_cv_path_SED" >&6; }
1.4890 + SED="$ac_cv_path_SED"
1.4893 +# By default we simply use the C compiler to build assembly code.
1.4895 +test "${CCAS+set}" = set || CCAS=$CC
1.4896 +test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
1.4900 +if test -n "$ac_tool_prefix"; then
1.4901 + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1.4902 +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1.4903 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.4904 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.4905 +if test "${ac_cv_prog_RANLIB+set}" = set; then
1.4906 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.4908 + if test -n "$RANLIB"; then
1.4909 + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1.4911 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.4915 + test -z "$as_dir" && as_dir=.
1.4916 + for ac_exec_ext in '' $ac_executable_extensions; do
1.4917 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.4918 + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1.4919 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.4928 +RANLIB=$ac_cv_prog_RANLIB
1.4929 +if test -n "$RANLIB"; then
1.4930 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
1.4931 +echo "${ECHO_T}$RANLIB" >&6; }
1.4933 + { echo "$as_me:$LINENO: result: no" >&5
1.4934 +echo "${ECHO_T}no" >&6; }
1.4939 +if test -z "$ac_cv_prog_RANLIB"; then
1.4941 + # Extract the first word of "ranlib", so it can be a program name with args.
1.4942 +set dummy ranlib; ac_word=$2
1.4943 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.4944 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.4945 +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
1.4946 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.4948 + if test -n "$ac_ct_RANLIB"; then
1.4949 + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
1.4951 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.4955 + test -z "$as_dir" && as_dir=.
1.4956 + for ac_exec_ext in '' $ac_executable_extensions; do
1.4957 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.4958 + ac_cv_prog_ac_ct_RANLIB="ranlib"
1.4959 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.4968 +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
1.4969 +if test -n "$ac_ct_RANLIB"; then
1.4970 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
1.4971 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
1.4973 + { echo "$as_me:$LINENO: result: no" >&5
1.4974 +echo "${ECHO_T}no" >&6; }
1.4977 + if test "x$ac_ct_RANLIB" = x; then
1.4980 + case $cross_compiling:$ac_tool_warned in
1.4982 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1.4983 +whose name does not start with the host triplet. If you think this
1.4984 +configuration is useful to you, please write to autoconf@gnu.org." >&5
1.4985 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1.4986 +whose name does not start with the host triplet. If you think this
1.4987 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1.4993 + RANLIB="$ac_cv_prog_RANLIB"
1.4997 +{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
1.4998 +echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
1.4999 +if test "${ac_cv_path_GREP+set}" = set; then
1.5000 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.5002 + # Extract the first word of "grep ggrep" to use in msg output
1.5003 +if test -z "$GREP"; then
1.5004 +set dummy grep ggrep; ac_prog_name=$2
1.5005 +if test "${ac_cv_path_GREP+set}" = set; then
1.5006 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.5008 + ac_path_GREP_found=false
1.5009 +# Loop through the user's path and test for each of PROGNAME-LIST
1.5010 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.5011 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
1.5014 + test -z "$as_dir" && as_dir=.
1.5015 + for ac_prog in grep ggrep; do
1.5016 + for ac_exec_ext in '' $ac_executable_extensions; do
1.5017 + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
1.5018 + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
1.5019 + # Check for GNU ac_path_GREP and select it if it is found.
1.5020 + # Check for GNU $ac_path_GREP
1.5021 +case `"$ac_path_GREP" --version 2>&1` in
1.5023 + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
1.5026 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
1.5029 + cat "conftest.in" "conftest.in" >"conftest.tmp"
1.5030 + mv "conftest.tmp" "conftest.in"
1.5031 + cp "conftest.in" "conftest.nl"
1.5032 + echo 'GREP' >> "conftest.nl"
1.5033 + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
1.5034 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
1.5035 + ac_count=`expr $ac_count + 1`
1.5036 + if test $ac_count -gt ${ac_path_GREP_max-0}; then
1.5037 + # Best one so far, save it but keep looking for a better one
1.5038 + ac_cv_path_GREP="$ac_path_GREP"
1.5039 + ac_path_GREP_max=$ac_count
1.5041 + # 10*(2^10) chars as input seems more than enough
1.5042 + test $ac_count -gt 10 && break
1.5044 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
1.5048 + $ac_path_GREP_found && break 3
1.5058 +GREP="$ac_cv_path_GREP"
1.5059 +if test -z "$GREP"; then
1.5060 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
1.5061 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
1.5062 + { (exit 1); exit 1; }; }
1.5066 + ac_cv_path_GREP=$GREP
1.5071 +{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
1.5072 +echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
1.5073 + GREP="$ac_cv_path_GREP"
1.5076 +{ echo "$as_me:$LINENO: checking for egrep" >&5
1.5077 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
1.5078 +if test "${ac_cv_path_EGREP+set}" = set; then
1.5079 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.5081 + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
1.5082 + then ac_cv_path_EGREP="$GREP -E"
1.5084 + # Extract the first word of "egrep" to use in msg output
1.5085 +if test -z "$EGREP"; then
1.5086 +set dummy egrep; ac_prog_name=$2
1.5087 +if test "${ac_cv_path_EGREP+set}" = set; then
1.5088 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.5090 + ac_path_EGREP_found=false
1.5091 +# Loop through the user's path and test for each of PROGNAME-LIST
1.5092 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.5093 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
1.5096 + test -z "$as_dir" && as_dir=.
1.5097 + for ac_prog in egrep; do
1.5098 + for ac_exec_ext in '' $ac_executable_extensions; do
1.5099 + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
1.5100 + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
1.5101 + # Check for GNU ac_path_EGREP and select it if it is found.
1.5102 + # Check for GNU $ac_path_EGREP
1.5103 +case `"$ac_path_EGREP" --version 2>&1` in
1.5105 + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
1.5108 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
1.5111 + cat "conftest.in" "conftest.in" >"conftest.tmp"
1.5112 + mv "conftest.tmp" "conftest.in"
1.5113 + cp "conftest.in" "conftest.nl"
1.5114 + echo 'EGREP' >> "conftest.nl"
1.5115 + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
1.5116 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
1.5117 + ac_count=`expr $ac_count + 1`
1.5118 + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
1.5119 + # Best one so far, save it but keep looking for a better one
1.5120 + ac_cv_path_EGREP="$ac_path_EGREP"
1.5121 + ac_path_EGREP_max=$ac_count
1.5123 + # 10*(2^10) chars as input seems more than enough
1.5124 + test $ac_count -gt 10 && break
1.5126 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
1.5130 + $ac_path_EGREP_found && break 3
1.5140 +EGREP="$ac_cv_path_EGREP"
1.5141 +if test -z "$EGREP"; then
1.5142 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
1.5143 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
1.5144 + { (exit 1); exit 1; }; }
1.5148 + ac_cv_path_EGREP=$EGREP
1.5154 +{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
1.5155 +echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
1.5156 + EGREP="$ac_cv_path_EGREP"
1.5159 +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
1.5160 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
1.5161 +if test "${ac_cv_header_stdc+set}" = set; then
1.5162 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.5164 + cat >conftest.$ac_ext <<_ACEOF
1.5167 +cat confdefs.h >>conftest.$ac_ext
1.5168 +cat >>conftest.$ac_ext <<_ACEOF
1.5183 +rm -f conftest.$ac_objext
1.5184 +if { (ac_try="$ac_compile"
1.5186 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.5187 + *) ac_try_echo=$ac_try;;
1.5189 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.5190 + (eval "$ac_compile") 2>conftest.er1
1.5192 + grep -v '^ *+' conftest.er1 >conftest.err
1.5195 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5196 + (exit $ac_status); } && {
1.5197 + test -z "$ac_c_werror_flag" ||
1.5198 + test ! -s conftest.err
1.5199 + } && test -s conftest.$ac_objext; then
1.5200 + ac_cv_header_stdc=yes
1.5202 + echo "$as_me: failed program was:" >&5
1.5203 +sed 's/^/| /' conftest.$ac_ext >&5
1.5208 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.5210 +if test $ac_cv_header_stdc = yes; then
1.5211 + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1.5212 + cat >conftest.$ac_ext <<_ACEOF
1.5215 +cat confdefs.h >>conftest.$ac_ext
1.5216 +cat >>conftest.$ac_ext <<_ACEOF
1.5221 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.5222 + $EGREP "memchr" >/dev/null 2>&1; then
1.5231 +if test $ac_cv_header_stdc = yes; then
1.5232 + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1.5233 + cat >conftest.$ac_ext <<_ACEOF
1.5236 +cat confdefs.h >>conftest.$ac_ext
1.5237 +cat >>conftest.$ac_ext <<_ACEOF
1.5242 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.5243 + $EGREP "free" >/dev/null 2>&1; then
1.5252 +if test $ac_cv_header_stdc = yes; then
1.5253 + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1.5254 + if test "$cross_compiling" = yes; then
1.5257 + cat >conftest.$ac_ext <<_ACEOF
1.5260 +cat confdefs.h >>conftest.$ac_ext
1.5261 +cat >>conftest.$ac_ext <<_ACEOF
1.5265 +#if ((' ' & 0x0FF) == 0x020)
1.5266 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
1.5267 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
1.5270 + (('a' <= (c) && (c) <= 'i') \
1.5271 + || ('j' <= (c) && (c) <= 'r') \
1.5272 + || ('s' <= (c) && (c) <= 'z'))
1.5273 +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
1.5276 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1.5281 + for (i = 0; i < 256; i++)
1.5282 + if (XOR (islower (i), ISLOWER (i))
1.5283 + || toupper (i) != TOUPPER (i))
1.5288 +rm -f conftest$ac_exeext
1.5289 +if { (ac_try="$ac_link"
1.5291 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.5292 + *) ac_try_echo=$ac_try;;
1.5294 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.5295 + (eval "$ac_link") 2>&5
1.5297 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5298 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.5299 + { (case "(($ac_try" in
1.5300 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.5301 + *) ac_try_echo=$ac_try;;
1.5303 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.5304 + (eval "$ac_try") 2>&5
1.5306 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5307 + (exit $ac_status); }; }; then
1.5310 + echo "$as_me: program exited with status $ac_status" >&5
1.5311 +echo "$as_me: failed program was:" >&5
1.5312 +sed 's/^/| /' conftest.$ac_ext >&5
1.5317 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.5323 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
1.5324 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
1.5325 +if test $ac_cv_header_stdc = yes; then
1.5327 +cat >>confdefs.h <<\_ACEOF
1.5328 +#define STDC_HEADERS 1
1.5333 +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
1.5343 +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
1.5344 + inttypes.h stdint.h unistd.h
1.5346 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
1.5347 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
1.5348 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
1.5349 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
1.5350 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.5352 + cat >conftest.$ac_ext <<_ACEOF
1.5355 +cat confdefs.h >>conftest.$ac_ext
1.5356 +cat >>conftest.$ac_ext <<_ACEOF
1.5362 +rm -f conftest.$ac_objext
1.5363 +if { (ac_try="$ac_compile"
1.5365 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.5366 + *) ac_try_echo=$ac_try;;
1.5368 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.5369 + (eval "$ac_compile") 2>conftest.er1
1.5371 + grep -v '^ *+' conftest.er1 >conftest.err
1.5374 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5375 + (exit $ac_status); } && {
1.5376 + test -z "$ac_c_werror_flag" ||
1.5377 + test ! -s conftest.err
1.5378 + } && test -s conftest.$ac_objext; then
1.5379 + eval "$as_ac_Header=yes"
1.5381 + echo "$as_me: failed program was:" >&5
1.5382 +sed 's/^/| /' conftest.$ac_ext >&5
1.5384 + eval "$as_ac_Header=no"
1.5387 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.5389 +ac_res=`eval echo '${'$as_ac_Header'}'`
1.5390 + { echo "$as_me:$LINENO: result: $ac_res" >&5
1.5391 +echo "${ECHO_T}$ac_res" >&6; }
1.5392 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
1.5393 + cat >>confdefs.h <<_ACEOF
1.5394 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.5402 +{ echo "$as_me:$LINENO: checking for void *" >&5
1.5403 +echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
1.5404 +if test "${ac_cv_type_void_p+set}" = set; then
1.5405 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.5407 + cat >conftest.$ac_ext <<_ACEOF
1.5410 +cat confdefs.h >>conftest.$ac_ext
1.5411 +cat >>conftest.$ac_ext <<_ACEOF
1.5414 +typedef void * ac__type_new_;
1.5418 +if ((ac__type_new_ *) 0)
1.5420 +if (sizeof (ac__type_new_))
1.5426 +rm -f conftest.$ac_objext
1.5427 +if { (ac_try="$ac_compile"
1.5429 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.5430 + *) ac_try_echo=$ac_try;;
1.5432 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.5433 + (eval "$ac_compile") 2>conftest.er1
1.5435 + grep -v '^ *+' conftest.er1 >conftest.err
1.5438 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5439 + (exit $ac_status); } && {
1.5440 + test -z "$ac_c_werror_flag" ||
1.5441 + test ! -s conftest.err
1.5442 + } && test -s conftest.$ac_objext; then
1.5443 + ac_cv_type_void_p=yes
1.5445 + echo "$as_me: failed program was:" >&5
1.5446 +sed 's/^/| /' conftest.$ac_ext >&5
1.5451 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.5453 +{ echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
1.5454 +echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
1.5456 +# The cast to long int works around a bug in the HP C Compiler
1.5457 +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
1.5458 +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
1.5459 +# This bug is HP SR number 8606223364.
1.5460 +{ echo "$as_me:$LINENO: checking size of void *" >&5
1.5461 +echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
1.5462 +if test "${ac_cv_sizeof_void_p+set}" = set; then
1.5463 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.5465 + if test "$cross_compiling" = yes; then
1.5466 + # Depending upon the size, compute the lo and hi bounds.
1.5467 +cat >conftest.$ac_ext <<_ACEOF
1.5470 +cat confdefs.h >>conftest.$ac_ext
1.5471 +cat >>conftest.$ac_ext <<_ACEOF
1.5474 + typedef void * ac__type_sizeof_;
1.5478 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
1.5485 +rm -f conftest.$ac_objext
1.5486 +if { (ac_try="$ac_compile"
1.5488 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.5489 + *) ac_try_echo=$ac_try;;
1.5491 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.5492 + (eval "$ac_compile") 2>conftest.er1
1.5494 + grep -v '^ *+' conftest.er1 >conftest.err
1.5497 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5498 + (exit $ac_status); } && {
1.5499 + test -z "$ac_c_werror_flag" ||
1.5500 + test ! -s conftest.err
1.5501 + } && test -s conftest.$ac_objext; then
1.5504 + cat >conftest.$ac_ext <<_ACEOF
1.5507 +cat confdefs.h >>conftest.$ac_ext
1.5508 +cat >>conftest.$ac_ext <<_ACEOF
1.5511 + typedef void * ac__type_sizeof_;
1.5515 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
1.5522 +rm -f conftest.$ac_objext
1.5523 +if { (ac_try="$ac_compile"
1.5525 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.5526 + *) ac_try_echo=$ac_try;;
1.5528 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.5529 + (eval "$ac_compile") 2>conftest.er1
1.5531 + grep -v '^ *+' conftest.er1 >conftest.err
1.5534 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5535 + (exit $ac_status); } && {
1.5536 + test -z "$ac_c_werror_flag" ||
1.5537 + test ! -s conftest.err
1.5538 + } && test -s conftest.$ac_objext; then
1.5541 + echo "$as_me: failed program was:" >&5
1.5542 +sed 's/^/| /' conftest.$ac_ext >&5
1.5544 + ac_lo=`expr $ac_mid + 1`
1.5545 + if test $ac_lo -le $ac_mid; then
1.5549 + ac_mid=`expr 2 '*' $ac_mid + 1`
1.5552 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.5555 + echo "$as_me: failed program was:" >&5
1.5556 +sed 's/^/| /' conftest.$ac_ext >&5
1.5558 + cat >conftest.$ac_ext <<_ACEOF
1.5561 +cat confdefs.h >>conftest.$ac_ext
1.5562 +cat >>conftest.$ac_ext <<_ACEOF
1.5565 + typedef void * ac__type_sizeof_;
1.5569 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
1.5576 +rm -f conftest.$ac_objext
1.5577 +if { (ac_try="$ac_compile"
1.5579 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.5580 + *) ac_try_echo=$ac_try;;
1.5582 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.5583 + (eval "$ac_compile") 2>conftest.er1
1.5585 + grep -v '^ *+' conftest.er1 >conftest.err
1.5588 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5589 + (exit $ac_status); } && {
1.5590 + test -z "$ac_c_werror_flag" ||
1.5591 + test ! -s conftest.err
1.5592 + } && test -s conftest.$ac_objext; then
1.5595 + cat >conftest.$ac_ext <<_ACEOF
1.5598 +cat confdefs.h >>conftest.$ac_ext
1.5599 +cat >>conftest.$ac_ext <<_ACEOF
1.5602 + typedef void * ac__type_sizeof_;
1.5606 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
1.5613 +rm -f conftest.$ac_objext
1.5614 +if { (ac_try="$ac_compile"
1.5616 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.5617 + *) ac_try_echo=$ac_try;;
1.5619 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.5620 + (eval "$ac_compile") 2>conftest.er1
1.5622 + grep -v '^ *+' conftest.er1 >conftest.err
1.5625 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5626 + (exit $ac_status); } && {
1.5627 + test -z "$ac_c_werror_flag" ||
1.5628 + test ! -s conftest.err
1.5629 + } && test -s conftest.$ac_objext; then
1.5632 + echo "$as_me: failed program was:" >&5
1.5633 +sed 's/^/| /' conftest.$ac_ext >&5
1.5635 + ac_hi=`expr '(' $ac_mid ')' - 1`
1.5636 + if test $ac_mid -le $ac_hi; then
1.5640 + ac_mid=`expr 2 '*' $ac_mid`
1.5643 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.5646 + echo "$as_me: failed program was:" >&5
1.5647 +sed 's/^/| /' conftest.$ac_ext >&5
1.5652 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.5655 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.5656 +# Binary search between lo and hi bounds.
1.5657 +while test "x$ac_lo" != "x$ac_hi"; do
1.5658 + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
1.5659 + cat >conftest.$ac_ext <<_ACEOF
1.5662 +cat confdefs.h >>conftest.$ac_ext
1.5663 +cat >>conftest.$ac_ext <<_ACEOF
1.5666 + typedef void * ac__type_sizeof_;
1.5670 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
1.5677 +rm -f conftest.$ac_objext
1.5678 +if { (ac_try="$ac_compile"
1.5680 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.5681 + *) ac_try_echo=$ac_try;;
1.5683 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.5684 + (eval "$ac_compile") 2>conftest.er1
1.5686 + grep -v '^ *+' conftest.er1 >conftest.err
1.5689 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5690 + (exit $ac_status); } && {
1.5691 + test -z "$ac_c_werror_flag" ||
1.5692 + test ! -s conftest.err
1.5693 + } && test -s conftest.$ac_objext; then
1.5696 + echo "$as_me: failed program was:" >&5
1.5697 +sed 's/^/| /' conftest.$ac_ext >&5
1.5699 + ac_lo=`expr '(' $ac_mid ')' + 1`
1.5702 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.5705 +?*) ac_cv_sizeof_void_p=$ac_lo;;
1.5706 +'') if test "$ac_cv_type_void_p" = yes; then
1.5707 + { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
1.5708 +See \`config.log' for more details." >&5
1.5709 +echo "$as_me: error: cannot compute sizeof (void *)
1.5710 +See \`config.log' for more details." >&2;}
1.5711 + { (exit 77); exit 77; }; }
1.5713 + ac_cv_sizeof_void_p=0
1.5717 + cat >conftest.$ac_ext <<_ACEOF
1.5720 +cat confdefs.h >>conftest.$ac_ext
1.5721 +cat >>conftest.$ac_ext <<_ACEOF
1.5724 + typedef void * ac__type_sizeof_;
1.5725 +static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
1.5726 +static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
1.5733 + FILE *f = fopen ("conftest.val", "w");
1.5736 + if (((long int) (sizeof (ac__type_sizeof_))) < 0)
1.5738 + long int i = longval ();
1.5739 + if (i != ((long int) (sizeof (ac__type_sizeof_))))
1.5741 + fprintf (f, "%ld\n", i);
1.5745 + unsigned long int i = ulongval ();
1.5746 + if (i != ((long int) (sizeof (ac__type_sizeof_))))
1.5748 + fprintf (f, "%lu\n", i);
1.5750 + return ferror (f) || fclose (f) != 0;
1.5756 +rm -f conftest$ac_exeext
1.5757 +if { (ac_try="$ac_link"
1.5759 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.5760 + *) ac_try_echo=$ac_try;;
1.5762 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.5763 + (eval "$ac_link") 2>&5
1.5765 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5766 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.5767 + { (case "(($ac_try" in
1.5768 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.5769 + *) ac_try_echo=$ac_try;;
1.5771 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.5772 + (eval "$ac_try") 2>&5
1.5774 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5775 + (exit $ac_status); }; }; then
1.5776 + ac_cv_sizeof_void_p=`cat conftest.val`
1.5778 + echo "$as_me: program exited with status $ac_status" >&5
1.5779 +echo "$as_me: failed program was:" >&5
1.5780 +sed 's/^/| /' conftest.$ac_ext >&5
1.5783 +if test "$ac_cv_type_void_p" = yes; then
1.5784 + { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
1.5785 +See \`config.log' for more details." >&5
1.5786 +echo "$as_me: error: cannot compute sizeof (void *)
1.5787 +See \`config.log' for more details." >&2;}
1.5788 + { (exit 77); exit 77; }; }
1.5790 + ac_cv_sizeof_void_p=0
1.5793 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.5797 +{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
1.5798 +echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
1.5802 +cat >>confdefs.h <<_ACEOF
1.5803 +#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
1.5807 +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
1.5808 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
1.5809 +if test "${ac_cv_header_stdc+set}" = set; then
1.5810 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.5812 + cat >conftest.$ac_ext <<_ACEOF
1.5815 +cat confdefs.h >>conftest.$ac_ext
1.5816 +cat >>conftest.$ac_ext <<_ACEOF
1.5831 +rm -f conftest.$ac_objext
1.5832 +if { (ac_try="$ac_compile"
1.5834 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.5835 + *) ac_try_echo=$ac_try;;
1.5837 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.5838 + (eval "$ac_compile") 2>conftest.er1
1.5840 + grep -v '^ *+' conftest.er1 >conftest.err
1.5843 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5844 + (exit $ac_status); } && {
1.5845 + test -z "$ac_c_werror_flag" ||
1.5846 + test ! -s conftest.err
1.5847 + } && test -s conftest.$ac_objext; then
1.5848 + ac_cv_header_stdc=yes
1.5850 + echo "$as_me: failed program was:" >&5
1.5851 +sed 's/^/| /' conftest.$ac_ext >&5
1.5856 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.5858 +if test $ac_cv_header_stdc = yes; then
1.5859 + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1.5860 + cat >conftest.$ac_ext <<_ACEOF
1.5863 +cat confdefs.h >>conftest.$ac_ext
1.5864 +cat >>conftest.$ac_ext <<_ACEOF
1.5869 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.5870 + $EGREP "memchr" >/dev/null 2>&1; then
1.5879 +if test $ac_cv_header_stdc = yes; then
1.5880 + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1.5881 + cat >conftest.$ac_ext <<_ACEOF
1.5884 +cat confdefs.h >>conftest.$ac_ext
1.5885 +cat >>conftest.$ac_ext <<_ACEOF
1.5890 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.5891 + $EGREP "free" >/dev/null 2>&1; then
1.5900 +if test $ac_cv_header_stdc = yes; then
1.5901 + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1.5902 + if test "$cross_compiling" = yes; then
1.5905 + cat >conftest.$ac_ext <<_ACEOF
1.5908 +cat confdefs.h >>conftest.$ac_ext
1.5909 +cat >>conftest.$ac_ext <<_ACEOF
1.5913 +#if ((' ' & 0x0FF) == 0x020)
1.5914 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
1.5915 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
1.5918 + (('a' <= (c) && (c) <= 'i') \
1.5919 + || ('j' <= (c) && (c) <= 'r') \
1.5920 + || ('s' <= (c) && (c) <= 'z'))
1.5921 +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
1.5924 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1.5929 + for (i = 0; i < 256; i++)
1.5930 + if (XOR (islower (i), ISLOWER (i))
1.5931 + || toupper (i) != TOUPPER (i))
1.5936 +rm -f conftest$ac_exeext
1.5937 +if { (ac_try="$ac_link"
1.5939 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.5940 + *) ac_try_echo=$ac_try;;
1.5942 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.5943 + (eval "$ac_link") 2>&5
1.5945 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5946 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.5947 + { (case "(($ac_try" in
1.5948 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.5949 + *) ac_try_echo=$ac_try;;
1.5951 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.5952 + (eval "$ac_try") 2>&5
1.5954 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.5955 + (exit $ac_status); }; }; then
1.5958 + echo "$as_me: program exited with status $ac_status" >&5
1.5959 +echo "$as_me: failed program was:" >&5
1.5960 +sed 's/^/| /' conftest.$ac_ext >&5
1.5965 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.5971 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
1.5972 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
1.5973 +if test $ac_cv_header_stdc = yes; then
1.5975 +cat >>confdefs.h <<\_ACEOF
1.5976 +#define STDC_HEADERS 1
1.5983 +depcc="$OBJC" am_compiler_list='gcc3 gcc'
1.5985 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
1.5986 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
1.5987 +if test "${am_cv_OBJC_dependencies_compiler_type+set}" = set; then
1.5988 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.5990 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1.5991 + # We make a subdir and do the tests there. Otherwise we can end up
1.5992 + # making bogus files that we don't know about and never remove. For
1.5993 + # instance it was reported that on HP-UX the gcc test will end up
1.5994 + # making a dummy file named `D' -- because `-MD' means `put the output
1.5997 + # Copy depcomp to subdir because otherwise we won't find it if we're
1.5998 + # using a relative directory.
1.5999 + cp "$am_depcomp" conftest.dir
1.6001 + # We will build objects and dependencies in a subdirectory because
1.6002 + # it helps to detect inapplicable dependency modes. For instance
1.6003 + # both Tru64's cc and ICC support -MD to output dependencies as a
1.6004 + # side effect of compilation, but ICC will put the dependencies in
1.6005 + # the current directory while Tru64 will put them in the object
1.6009 + am_cv_OBJC_dependencies_compiler_type=none
1.6010 + if test "$am_compiler_list" = ""; then
1.6011 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1.6013 + for depmode in $am_compiler_list; do
1.6014 + # Setup a source with many dependencies, because some compilers
1.6015 + # like to wrap large dependency lists on column 80 (with \), and
1.6016 + # we should not choose a depcomp mode which is confused by this.
1.6018 + # We need to recreate these files for each test, as the compiler may
1.6019 + # overwrite some of them when testing with obscure command lines.
1.6020 + # This happens at least with the AIX C compiler.
1.6022 + for i in 1 2 3 4 5 6; do
1.6023 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.6024 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
1.6025 + # Solaris 8's {/usr,}/bin/sh.
1.6026 + touch sub/conftst$i.h
1.6028 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.6032 + # after this tag, mechanisms are not by side-effect, so they'll
1.6033 + # only be used when explicitly requested
1.6034 + if test "x$enable_dependency_tracking" = xyes; then
1.6042 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
1.6043 + # mode. It turns out that the SunPro C++ compiler does not properly
1.6044 + # handle `-M -o', and we need to detect this.
1.6045 + if depmode=$depmode \
1.6046 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
1.6047 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.6048 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
1.6049 + >/dev/null 2>conftest.err &&
1.6050 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.6051 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.6052 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.6053 + # icc doesn't choke on unknown options, it will just issue warnings
1.6054 + # or remarks (even with -Werror). So we grep stderr for any message
1.6055 + # that says an option was ignored or not supported.
1.6056 + # When given -MP, icc 7.0 and 7.1 complain thusly:
1.6057 + # icc: Command line warning: ignoring option '-M'; no argument required
1.6058 + # The diagnosis changed in icc 8.0:
1.6059 + # icc: Command line remark: option '-MP' not supported
1.6060 + if (grep 'ignoring option' conftest.err ||
1.6061 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
1.6062 + am_cv_OBJC_dependencies_compiler_type=$depmode
1.6071 + am_cv_OBJC_dependencies_compiler_type=none
1.6075 +{ echo "$as_me:$LINENO: result: $am_cv_OBJC_dependencies_compiler_type" >&5
1.6076 +echo "${ECHO_T}$am_cv_OBJC_dependencies_compiler_type" >&6; }
1.6077 +OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
1.6082 + test "x$enable_dependency_tracking" != xno \
1.6083 + && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
1.6084 + am__fastdepOBJC_TRUE=
1.6085 + am__fastdepOBJC_FALSE='#'
1.6087 + am__fastdepOBJC_TRUE='#'
1.6088 + am__fastdepOBJC_FALSE=
1.6093 +# Extract the first word of "pod2man", so it can be a program name with args.
1.6094 +set dummy pod2man; ac_word=$2
1.6095 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.6096 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.6097 +if test "${ac_cv_path_POD2MAN+set}" = set; then
1.6098 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.6102 + ac_cv_path_POD2MAN="$POD2MAN" # Let the user override the test with a path.
1.6105 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.6109 + test -z "$as_dir" && as_dir=.
1.6110 + for ac_exec_ext in '' $ac_executable_extensions; do
1.6111 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.6112 + ac_cv_path_POD2MAN="$as_dir/$ac_word$ac_exec_ext"
1.6113 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.6123 +POD2MAN=$ac_cv_path_POD2MAN
1.6124 +if test -n "$POD2MAN"; then
1.6125 + { echo "$as_me:$LINENO: result: $POD2MAN" >&5
1.6126 +echo "${ECHO_T}$POD2MAN" >&6; }
1.6128 + { echo "$as_me:$LINENO: result: no" >&5
1.6129 +echo "${ECHO_T}no" >&6; }
1.6133 +# Extract the first word of "pod2html", so it can be a program name with args.
1.6134 +set dummy pod2html; ac_word=$2
1.6135 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.6136 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.6137 +if test "${ac_cv_path_POD2HTML+set}" = set; then
1.6138 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.6142 + ac_cv_path_POD2HTML="$POD2HTML" # Let the user override the test with a path.
1.6145 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.6149 + test -z "$as_dir" && as_dir=.
1.6150 + for ac_exec_ext in '' $ac_executable_extensions; do
1.6151 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.6152 + ac_cv_path_POD2HTML="$as_dir/$ac_word$ac_exec_ext"
1.6153 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.6163 +POD2HTML=$ac_cv_path_POD2HTML
1.6164 +if test -n "$POD2HTML"; then
1.6165 + { echo "$as_me:$LINENO: result: $POD2HTML" >&5
1.6166 +echo "${ECHO_T}$POD2HTML" >&6; }
1.6168 + { echo "$as_me:$LINENO: result: no" >&5
1.6169 +echo "${ECHO_T}no" >&6; }
1.6175 +cat >>confdefs.h <<_ACEOF
1.6176 +#define BUILD_SED_PROG "${SED}"
1.6180 +cat >>confdefs.h <<_ACEOF
1.6181 +#define BUILD_CPP_PROG "${CPP}"
1.6186 +# Check whether --enable-strict-warn was given.
1.6187 +if test "${enable_strict_warn+set}" = set; then
1.6188 + enableval=$enable_strict_warn; if test "$enableval" == "yes"; then
1.6189 + enable_strictwarn=yes
1.6193 +# Check whether --enable-translator was given.
1.6194 +if test "${enable_translator+set}" = set; then
1.6195 + enableval=$enable_translator; true
1.6197 + enable_translator=yes
1.6200 +# Check whether --enable-optimized was given.
1.6201 +if test "${enable_optimized+set}" = set; then
1.6202 + enableval=$enable_optimized; true
1.6207 +# Check whether --enable-shared was given.
1.6208 +if test "${enable_shared+set}" = set; then
1.6209 + enableval=$enable_shared; if test "$enableval" == "yes"; then enable_shared=yes; else enable_shared=no; fi
1.6214 +# Check whether --enable-profiled was given.
1.6215 +if test "${enable_profiled+set}" = set; then
1.6216 + enableval=$enable_profiled; if test "$enableval" == "yes"; then
1.6221 +# Check whether --enable-trace was given.
1.6222 +if test "${enable_trace+set}" = set; then
1.6223 + enableval=$enable_trace; if test "$enableval" == "yes"; then
1.6225 +cat >>confdefs.h <<\_ACEOF
1.6226 +#define ENABLE_TRACE_IO 1
1.6232 +# Check whether --enable-watch was given.
1.6233 +if test "${enable_watch+set}" = set; then
1.6234 + enableval=$enable_watch; if test "$enableval" == "yes"; then
1.6236 +cat >>confdefs.h <<\_ACEOF
1.6237 +#define ENABLE_WATCH 1
1.6243 +# Check whether --enable-sh4stats was given.
1.6244 +if test "${enable_sh4stats+set}" = set; then
1.6245 + enableval=$enable_sh4stats; if test "$enableval" == "yes"; then
1.6247 +cat >>confdefs.h <<\_ACEOF
1.6248 +#define ENABLE_SH4STATS 1
1.6255 +# Check whether --with-osmesa was given.
1.6256 +if test "${with_osmesa+set}" = set; then
1.6257 + withval=$with_osmesa;
1.6263 +# Check whether --with-gtk was given.
1.6264 +if test "${with_gtk+set}" = set; then
1.6265 + withval=$with_gtk; with_gtk=yes
1.6271 +# Check whether --with-esd was given.
1.6272 +if test "${with_esd+set}" = set; then
1.6277 +# Check whether --with-pulse was given.
1.6278 +if test "${with_pulse+set}" = set; then
1.6283 +# Check whether --with-sdl was given.
1.6284 +if test "${with_sdl+set}" = set; then
1.6290 +# Check whether --with-sysroot was given.
1.6291 +if test "${with_sysroot+set}" = set; then
1.6292 + withval=$with_sysroot;
1.6293 + if test -d "$with_sysroot/lib/pkgconfig"; then
1.6294 + LDFLAGS="$LDFLAGS -L$with_sysroot/lib"
1.6295 + CPPFLAGS="$CPPFLAGS -I$with_sysroot/include"
1.6296 + BUILD_PKG_CONFIG_LIBDIR="$PKG_CONFIG_LIBDIR"
1.6297 + TARGET_PKG_CONFIG_LIBDIR="$with_sysroot/lib/pkgconfig"
1.6298 + PKG_CONFIG_LIBDIR="$TARGET_PKG_CONFIG_LIBDIR"
1.6299 + export PKG_CONFIG_LIBDIR;
1.6301 + { { echo "$as_me:$LINENO: error: pkg-config directory $with_sysroot/lib/pkgconfig not found, when using --with-sysroot=$with_sysroot option
1.6302 +See \`config.log' for more details." >&5
1.6303 +echo "$as_me: error: pkg-config directory $with_sysroot/lib/pkgconfig not found, when using --with-sysroot=$with_sysroot option
1.6304 +See \`config.log' for more details." >&2;}
1.6305 + { (exit 1); exit 1; }; }
1.6314 # Check whether --with-android was given.
1.6316 CPP="$ANDROID_NDK_BIN/${host_alias}-cpp"
1.6317 LD="$ANDROID_NDK_BIN/${host_alias}-ld"
1.6318 AR="$ANDROID_NDK_BIN/${host_alias}-ar"
1.6319 - GDB="$ANDROID_NDK_BIN/${host_alias}-gdb"
1.6320 RANLIB="$ANDROID_NDK_BIN/${host_alias}-ranlib"
1.6321 STRIP="$ANDROID_NDK_BIN/${host_alias}-strip"
1.6322 OBJDUMP="$ANDROID_NDK_BIN/${host_alias}-objdump"
1.6331 @@ -2781,6234 +9020,11 @@
1.6335 -DEPDIR="${am__leading_dot}deps"
1.6337 -ac_config_commands="$ac_config_commands depfiles"
1.6341 -cat > confinc << 'END'
1.6346 -# If we don't find an include directive, just comment out the code.
1.6347 -{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
1.6348 -echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
1.6352 -# First try GNU make style include.
1.6353 -echo "include confinc" > confmf
1.6354 -# We grep out `Entering directory' and `Leaving directory'
1.6355 -# messages which can occur if `w' ends up in MAKEFLAGS.
1.6356 -# In particular we don't look at `^make:' because GNU make might
1.6357 -# be invoked under some other name (usually "gmake"), in which
1.6358 -# case it prints its new name instead of `make'.
1.6359 -if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1.6364 -# Now try BSD make style include.
1.6365 -if test "$am__include" = "#"; then
1.6366 - echo '.include "confinc"' > confmf
1.6367 - if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1.6375 -{ echo "$as_me:$LINENO: result: $_am_result" >&5
1.6376 -echo "${ECHO_T}$_am_result" >&6; }
1.6379 -# Check whether --enable-dependency-tracking was given.
1.6380 -if test "${enable_dependency_tracking+set}" = set; then
1.6381 - enableval=$enable_dependency_tracking;
1.6384 -if test "x$enable_dependency_tracking" != xno; then
1.6385 - am_depcomp="$ac_aux_dir/depcomp"
1.6390 -if test "x$enable_dependency_tracking" != xno; then
1.6401 -ac_cpp='$CPP $CPPFLAGS'
1.6402 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.6403 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.6404 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.6405 -if test -n "$ac_tool_prefix"; then
1.6406 - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1.6407 -set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.6408 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.6409 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.6410 -if test "${ac_cv_prog_CC+set}" = set; then
1.6411 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.6413 - if test -n "$CC"; then
1.6414 - ac_cv_prog_CC="$CC" # Let the user override the test.
1.6416 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.6420 - test -z "$as_dir" && as_dir=.
1.6421 - for ac_exec_ext in '' $ac_executable_extensions; do
1.6422 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.6423 - ac_cv_prog_CC="${ac_tool_prefix}gcc"
1.6424 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.6434 -if test -n "$CC"; then
1.6435 - { echo "$as_me:$LINENO: result: $CC" >&5
1.6436 -echo "${ECHO_T}$CC" >&6; }
1.6438 - { echo "$as_me:$LINENO: result: no" >&5
1.6439 -echo "${ECHO_T}no" >&6; }
1.6444 -if test -z "$ac_cv_prog_CC"; then
1.6446 - # Extract the first word of "gcc", so it can be a program name with args.
1.6447 -set dummy gcc; ac_word=$2
1.6448 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.6449 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.6450 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1.6451 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.6453 - if test -n "$ac_ct_CC"; then
1.6454 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.6456 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.6460 - test -z "$as_dir" && as_dir=.
1.6461 - for ac_exec_ext in '' $ac_executable_extensions; do
1.6462 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.6463 - ac_cv_prog_ac_ct_CC="gcc"
1.6464 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.6473 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
1.6474 -if test -n "$ac_ct_CC"; then
1.6475 - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1.6476 -echo "${ECHO_T}$ac_ct_CC" >&6; }
1.6478 - { echo "$as_me:$LINENO: result: no" >&5
1.6479 -echo "${ECHO_T}no" >&6; }
1.6482 - if test "x$ac_ct_CC" = x; then
1.6485 - case $cross_compiling:$ac_tool_warned in
1.6487 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1.6488 -whose name does not start with the host triplet. If you think this
1.6489 -configuration is useful to you, please write to autoconf@gnu.org." >&5
1.6490 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1.6491 -whose name does not start with the host triplet. If you think this
1.6492 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1.6501 -if test -z "$CC"; then
1.6502 - if test -n "$ac_tool_prefix"; then
1.6503 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1.6504 -set dummy ${ac_tool_prefix}cc; ac_word=$2
1.6505 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.6506 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.6507 -if test "${ac_cv_prog_CC+set}" = set; then
1.6508 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.6510 - if test -n "$CC"; then
1.6511 - ac_cv_prog_CC="$CC" # Let the user override the test.
1.6513 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.6517 - test -z "$as_dir" && as_dir=.
1.6518 - for ac_exec_ext in '' $ac_executable_extensions; do
1.6519 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.6520 - ac_cv_prog_CC="${ac_tool_prefix}cc"
1.6521 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.6531 -if test -n "$CC"; then
1.6532 - { echo "$as_me:$LINENO: result: $CC" >&5
1.6533 -echo "${ECHO_T}$CC" >&6; }
1.6535 - { echo "$as_me:$LINENO: result: no" >&5
1.6536 -echo "${ECHO_T}no" >&6; }
1.6542 -if test -z "$CC"; then
1.6543 - # Extract the first word of "cc", so it can be a program name with args.
1.6544 -set dummy cc; ac_word=$2
1.6545 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.6546 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.6547 -if test "${ac_cv_prog_CC+set}" = set; then
1.6548 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.6550 - if test -n "$CC"; then
1.6551 - ac_cv_prog_CC="$CC" # Let the user override the test.
1.6554 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.6558 - test -z "$as_dir" && as_dir=.
1.6559 - for ac_exec_ext in '' $ac_executable_extensions; do
1.6560 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.6561 - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1.6566 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.6573 -if test $ac_prog_rejected = yes; then
1.6574 - # We found a bogon in the path, so make sure we never use it.
1.6575 - set dummy $ac_cv_prog_CC
1.6577 - if test $# != 0; then
1.6578 - # We chose a different compiler from the bogus one.
1.6579 - # However, it has the same basename, so the bogon will be chosen
1.6580 - # first if we set CC to just the basename; use the full file name.
1.6582 - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1.6588 -if test -n "$CC"; then
1.6589 - { echo "$as_me:$LINENO: result: $CC" >&5
1.6590 -echo "${ECHO_T}$CC" >&6; }
1.6592 - { echo "$as_me:$LINENO: result: no" >&5
1.6593 -echo "${ECHO_T}no" >&6; }
1.6598 -if test -z "$CC"; then
1.6599 - if test -n "$ac_tool_prefix"; then
1.6600 - for ac_prog in cl.exe
1.6602 - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1.6603 -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.6604 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.6605 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.6606 -if test "${ac_cv_prog_CC+set}" = set; then
1.6607 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.6609 - if test -n "$CC"; then
1.6610 - ac_cv_prog_CC="$CC" # Let the user override the test.
1.6612 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.6616 - test -z "$as_dir" && as_dir=.
1.6617 - for ac_exec_ext in '' $ac_executable_extensions; do
1.6618 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.6619 - ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.6620 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.6630 -if test -n "$CC"; then
1.6631 - { echo "$as_me:$LINENO: result: $CC" >&5
1.6632 -echo "${ECHO_T}$CC" >&6; }
1.6634 - { echo "$as_me:$LINENO: result: no" >&5
1.6635 -echo "${ECHO_T}no" >&6; }
1.6639 - test -n "$CC" && break
1.6642 -if test -z "$CC"; then
1.6644 - for ac_prog in cl.exe
1.6646 - # Extract the first word of "$ac_prog", so it can be a program name with args.
1.6647 -set dummy $ac_prog; ac_word=$2
1.6648 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.6649 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.6650 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1.6651 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.6653 - if test -n "$ac_ct_CC"; then
1.6654 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.6656 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.6660 - test -z "$as_dir" && as_dir=.
1.6661 - for ac_exec_ext in '' $ac_executable_extensions; do
1.6662 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.6663 - ac_cv_prog_ac_ct_CC="$ac_prog"
1.6664 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.6673 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
1.6674 -if test -n "$ac_ct_CC"; then
1.6675 - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1.6676 -echo "${ECHO_T}$ac_ct_CC" >&6; }
1.6678 - { echo "$as_me:$LINENO: result: no" >&5
1.6679 -echo "${ECHO_T}no" >&6; }
1.6683 - test -n "$ac_ct_CC" && break
1.6686 - if test "x$ac_ct_CC" = x; then
1.6689 - case $cross_compiling:$ac_tool_warned in
1.6691 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1.6692 -whose name does not start with the host triplet. If you think this
1.6693 -configuration is useful to you, please write to autoconf@gnu.org." >&5
1.6694 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1.6695 -whose name does not start with the host triplet. If you think this
1.6696 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1.6706 -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1.6707 -See \`config.log' for more details." >&5
1.6708 -echo "$as_me: error: no acceptable C compiler found in \$PATH
1.6709 -See \`config.log' for more details." >&2;}
1.6710 - { (exit 1); exit 1; }; }
1.6712 -# Provide some information about the compiler.
1.6713 -echo "$as_me:$LINENO: checking for C compiler version" >&5
1.6714 -ac_compiler=`set X $ac_compile; echo $2`
1.6715 -{ (ac_try="$ac_compiler --version >&5"
1.6717 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.6718 - *) ac_try_echo=$ac_try;;
1.6720 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.6721 - (eval "$ac_compiler --version >&5") 2>&5
1.6723 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.6725 -{ (ac_try="$ac_compiler -v >&5"
1.6727 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.6728 - *) ac_try_echo=$ac_try;;
1.6730 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.6731 - (eval "$ac_compiler -v >&5") 2>&5
1.6733 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.6735 -{ (ac_try="$ac_compiler -V >&5"
1.6737 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.6738 - *) ac_try_echo=$ac_try;;
1.6740 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.6741 - (eval "$ac_compiler -V >&5") 2>&5
1.6743 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.6746 -cat >conftest.$ac_ext <<_ACEOF
1.6749 -cat confdefs.h >>conftest.$ac_ext
1.6750 -cat >>conftest.$ac_ext <<_ACEOF
1.6761 -ac_clean_files_save=$ac_clean_files
1.6762 -ac_clean_files="$ac_clean_files a.out a.exe b.out"
1.6763 -# Try to create an executable without -o first, disregard a.out.
1.6764 -# It will help us diagnose broken compilers, and finding out an intuition
1.6766 -{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1.6767 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
1.6768 -ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1.6770 -# List of possible output files, starting from the most likely.
1.6771 -# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
1.6772 -# only as a last resort. b.out is created by i960 compilers.
1.6773 -ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
1.6775 -# The IRIX 6 linker writes into existing files which may not be
1.6776 -# executable, retaining their permissions. Remove them first so a
1.6777 -# subsequent execution test works.
1.6779 -for ac_file in $ac_files
1.6782 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
1.6783 - * ) ac_rmfiles="$ac_rmfiles $ac_file";;
1.6788 -if { (ac_try="$ac_link_default"
1.6790 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.6791 - *) ac_try_echo=$ac_try;;
1.6793 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.6794 - (eval "$ac_link_default") 2>&5
1.6796 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.6797 - (exit $ac_status); }; then
1.6798 - # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
1.6799 -# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
1.6800 -# in a Makefile. We should not override ac_cv_exeext if it was cached,
1.6801 -# so that the user can short-circuit this test for compilers unknown to
1.6803 -for ac_file in $ac_files ''
1.6805 - test -f "$ac_file" || continue
1.6807 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
1.6810 - # We found the default executable, but exeext='' is most
1.6814 - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
1.6816 - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1.6818 - # We set ac_cv_exeext here because the later test for it is not
1.6819 - # safe: cross compilers may not add the suffix if given an `-o'
1.6820 - # argument, so we may need to know it at that point already.
1.6821 - # Even if this section looks crufty: it has the advantage of
1.6828 -test "$ac_cv_exeext" = no && ac_cv_exeext=
1.6834 -{ echo "$as_me:$LINENO: result: $ac_file" >&5
1.6835 -echo "${ECHO_T}$ac_file" >&6; }
1.6836 -if test -z "$ac_file"; then
1.6837 - echo "$as_me: failed program was:" >&5
1.6838 -sed 's/^/| /' conftest.$ac_ext >&5
1.6840 -{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
1.6841 -See \`config.log' for more details." >&5
1.6842 -echo "$as_me: error: C compiler cannot create executables
1.6843 -See \`config.log' for more details." >&2;}
1.6844 - { (exit 77); exit 77; }; }
1.6847 -ac_exeext=$ac_cv_exeext
1.6849 -# Check that the compiler produces executables we can run. If not, either
1.6850 -# the compiler is broken, or we cross compile.
1.6851 -{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1.6852 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
1.6853 -# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1.6854 -# If not cross compiling, check that we can run a simple program.
1.6855 -if test "$cross_compiling" != yes; then
1.6856 - if { ac_try='./$ac_file'
1.6857 - { (case "(($ac_try" in
1.6858 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.6859 - *) ac_try_echo=$ac_try;;
1.6861 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.6862 - (eval "$ac_try") 2>&5
1.6864 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.6865 - (exit $ac_status); }; }; then
1.6868 - if test "$cross_compiling" = maybe; then
1.6871 - { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1.6872 -If you meant to cross compile, use \`--host'.
1.6873 -See \`config.log' for more details." >&5
1.6874 -echo "$as_me: error: cannot run C compiled programs.
1.6875 -If you meant to cross compile, use \`--host'.
1.6876 -See \`config.log' for more details." >&2;}
1.6877 - { (exit 1); exit 1; }; }
1.6881 -{ echo "$as_me:$LINENO: result: yes" >&5
1.6882 -echo "${ECHO_T}yes" >&6; }
1.6884 -rm -f a.out a.exe conftest$ac_cv_exeext b.out
1.6885 -ac_clean_files=$ac_clean_files_save
1.6886 -# Check that the compiler produces executables we can run. If not, either
1.6887 -# the compiler is broken, or we cross compile.
1.6888 -{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1.6889 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
1.6890 -{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
1.6891 -echo "${ECHO_T}$cross_compiling" >&6; }
1.6893 -{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
1.6894 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
1.6895 -if { (ac_try="$ac_link"
1.6897 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.6898 - *) ac_try_echo=$ac_try;;
1.6900 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.6901 - (eval "$ac_link") 2>&5
1.6903 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.6904 - (exit $ac_status); }; then
1.6905 - # If both `conftest.exe' and `conftest' are `present' (well, observable)
1.6906 -# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1.6907 -# work properly (i.e., refer to `conftest.exe'), while it won't with
1.6909 -for ac_file in conftest.exe conftest conftest.*; do
1.6910 - test -f "$ac_file" || continue
1.6912 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
1.6913 - *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1.6919 - { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1.6920 -See \`config.log' for more details." >&5
1.6921 -echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1.6922 -See \`config.log' for more details." >&2;}
1.6923 - { (exit 1); exit 1; }; }
1.6926 -rm -f conftest$ac_cv_exeext
1.6927 -{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1.6928 -echo "${ECHO_T}$ac_cv_exeext" >&6; }
1.6930 -rm -f conftest.$ac_ext
1.6933 -{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
1.6934 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
1.6935 -if test "${ac_cv_objext+set}" = set; then
1.6936 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.6938 - cat >conftest.$ac_ext <<_ACEOF
1.6941 -cat confdefs.h >>conftest.$ac_ext
1.6942 -cat >>conftest.$ac_ext <<_ACEOF
1.6953 -rm -f conftest.o conftest.obj
1.6954 -if { (ac_try="$ac_compile"
1.6956 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.6957 - *) ac_try_echo=$ac_try;;
1.6959 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.6960 - (eval "$ac_compile") 2>&5
1.6962 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.6963 - (exit $ac_status); }; then
1.6964 - for ac_file in conftest.o conftest.obj conftest.*; do
1.6965 - test -f "$ac_file" || continue;
1.6967 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
1.6968 - *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1.6973 - echo "$as_me: failed program was:" >&5
1.6974 -sed 's/^/| /' conftest.$ac_ext >&5
1.6976 -{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1.6977 -See \`config.log' for more details." >&5
1.6978 -echo "$as_me: error: cannot compute suffix of object files: cannot compile
1.6979 -See \`config.log' for more details." >&2;}
1.6980 - { (exit 1); exit 1; }; }
1.6983 -rm -f conftest.$ac_cv_objext conftest.$ac_ext
1.6985 -{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1.6986 -echo "${ECHO_T}$ac_cv_objext" >&6; }
1.6989 -{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1.6990 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
1.6991 -if test "${ac_cv_c_compiler_gnu+set}" = set; then
1.6992 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.6994 - cat >conftest.$ac_ext <<_ACEOF
1.6997 -cat confdefs.h >>conftest.$ac_ext
1.6998 -cat >>conftest.$ac_ext <<_ACEOF
1.7012 -rm -f conftest.$ac_objext
1.7013 -if { (ac_try="$ac_compile"
1.7015 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.7016 - *) ac_try_echo=$ac_try;;
1.7018 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.7019 - (eval "$ac_compile") 2>conftest.er1
1.7021 - grep -v '^ *+' conftest.er1 >conftest.err
1.7024 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.7025 - (exit $ac_status); } && {
1.7026 - test -z "$ac_c_werror_flag" ||
1.7027 - test ! -s conftest.err
1.7028 - } && test -s conftest.$ac_objext; then
1.7031 - echo "$as_me: failed program was:" >&5
1.7032 -sed 's/^/| /' conftest.$ac_ext >&5
1.7037 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.7038 -ac_cv_c_compiler_gnu=$ac_compiler_gnu
1.7041 -{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1.7042 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
1.7043 -GCC=`test $ac_compiler_gnu = yes && echo yes`
1.7044 -ac_test_CFLAGS=${CFLAGS+set}
1.7045 -ac_save_CFLAGS=$CFLAGS
1.7046 -{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1.7047 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
1.7048 -if test "${ac_cv_prog_cc_g+set}" = set; then
1.7049 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.7051 - ac_save_c_werror_flag=$ac_c_werror_flag
1.7055 - cat >conftest.$ac_ext <<_ACEOF
1.7058 -cat confdefs.h >>conftest.$ac_ext
1.7059 -cat >>conftest.$ac_ext <<_ACEOF
1.7070 -rm -f conftest.$ac_objext
1.7071 -if { (ac_try="$ac_compile"
1.7073 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.7074 - *) ac_try_echo=$ac_try;;
1.7076 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.7077 - (eval "$ac_compile") 2>conftest.er1
1.7079 - grep -v '^ *+' conftest.er1 >conftest.err
1.7082 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.7083 - (exit $ac_status); } && {
1.7084 - test -z "$ac_c_werror_flag" ||
1.7085 - test ! -s conftest.err
1.7086 - } && test -s conftest.$ac_objext; then
1.7089 - echo "$as_me: failed program was:" >&5
1.7090 -sed 's/^/| /' conftest.$ac_ext >&5
1.7093 - cat >conftest.$ac_ext <<_ACEOF
1.7096 -cat confdefs.h >>conftest.$ac_ext
1.7097 -cat >>conftest.$ac_ext <<_ACEOF
1.7108 -rm -f conftest.$ac_objext
1.7109 -if { (ac_try="$ac_compile"
1.7111 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.7112 - *) ac_try_echo=$ac_try;;
1.7114 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.7115 - (eval "$ac_compile") 2>conftest.er1
1.7117 - grep -v '^ *+' conftest.er1 >conftest.err
1.7120 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.7121 - (exit $ac_status); } && {
1.7122 - test -z "$ac_c_werror_flag" ||
1.7123 - test ! -s conftest.err
1.7124 - } && test -s conftest.$ac_objext; then
1.7127 - echo "$as_me: failed program was:" >&5
1.7128 -sed 's/^/| /' conftest.$ac_ext >&5
1.7130 - ac_c_werror_flag=$ac_save_c_werror_flag
1.7132 - cat >conftest.$ac_ext <<_ACEOF
1.7135 -cat confdefs.h >>conftest.$ac_ext
1.7136 -cat >>conftest.$ac_ext <<_ACEOF
1.7147 -rm -f conftest.$ac_objext
1.7148 -if { (ac_try="$ac_compile"
1.7150 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.7151 - *) ac_try_echo=$ac_try;;
1.7153 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.7154 - (eval "$ac_compile") 2>conftest.er1
1.7156 - grep -v '^ *+' conftest.er1 >conftest.err
1.7159 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.7160 - (exit $ac_status); } && {
1.7161 - test -z "$ac_c_werror_flag" ||
1.7162 - test ! -s conftest.err
1.7163 - } && test -s conftest.$ac_objext; then
1.7166 - echo "$as_me: failed program was:" >&5
1.7167 -sed 's/^/| /' conftest.$ac_ext >&5
1.7172 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.7175 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.7178 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.7179 - ac_c_werror_flag=$ac_save_c_werror_flag
1.7181 -{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1.7182 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
1.7183 -if test "$ac_test_CFLAGS" = set; then
1.7184 - CFLAGS=$ac_save_CFLAGS
1.7185 -elif test $ac_cv_prog_cc_g = yes; then
1.7186 - if test "$GCC" = yes; then
1.7192 - if test "$GCC" = yes; then
1.7198 -{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
1.7199 -echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
1.7200 -if test "${ac_cv_prog_cc_c89+set}" = set; then
1.7201 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.7205 -cat >conftest.$ac_ext <<_ACEOF
1.7208 -cat confdefs.h >>conftest.$ac_ext
1.7209 -cat >>conftest.$ac_ext <<_ACEOF
1.7213 -#include <sys/types.h>
1.7215 -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1.7216 -struct buf { int x; };
1.7217 -FILE * (*rcsopen) (struct buf *, struct stat *, int);
1.7224 -static char *f (char * (*g) (char **, int), char **p, ...)
1.7229 - s = g (p, va_arg (v,int));
1.7234 -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1.7235 - function prototypes and stuff, but not '\xHH' hex character constants.
1.7236 - These don't provoke an error unfortunately, instead are silently treated
1.7237 - as 'x'. The following induces an error, until -std is added to get
1.7238 - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
1.7239 - array size at least. It's necessary to write '\x00'==0 to get something
1.7240 - that's true only with -std. */
1.7241 -int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1.7243 -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
1.7244 - inside strings and character constants. */
1.7246 -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
1.7248 -int test (int i, double x);
1.7249 -struct s1 {int (*f) (int a);};
1.7250 -struct s2 {int (*f) (double a);};
1.7251 -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1.7257 -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
1.7262 -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
1.7263 - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1.7265 - CC="$ac_save_CC $ac_arg"
1.7266 - rm -f conftest.$ac_objext
1.7267 -if { (ac_try="$ac_compile"
1.7269 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.7270 - *) ac_try_echo=$ac_try;;
1.7272 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.7273 - (eval "$ac_compile") 2>conftest.er1
1.7275 - grep -v '^ *+' conftest.er1 >conftest.err
1.7278 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.7279 - (exit $ac_status); } && {
1.7280 - test -z "$ac_c_werror_flag" ||
1.7281 - test ! -s conftest.err
1.7282 - } && test -s conftest.$ac_objext; then
1.7283 - ac_cv_prog_cc_c89=$ac_arg
1.7285 - echo "$as_me: failed program was:" >&5
1.7286 -sed 's/^/| /' conftest.$ac_ext >&5
1.7291 -rm -f core conftest.err conftest.$ac_objext
1.7292 - test "x$ac_cv_prog_cc_c89" != "xno" && break
1.7294 -rm -f conftest.$ac_ext
1.7299 -case "x$ac_cv_prog_cc_c89" in
1.7301 - { echo "$as_me:$LINENO: result: none needed" >&5
1.7302 -echo "${ECHO_T}none needed" >&6; } ;;
1.7304 - { echo "$as_me:$LINENO: result: unsupported" >&5
1.7305 -echo "${ECHO_T}unsupported" >&6; } ;;
1.7307 - CC="$CC $ac_cv_prog_cc_c89"
1.7308 - { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
1.7309 -echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
1.7314 -ac_cpp='$CPP $CPPFLAGS'
1.7315 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.7316 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.7317 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.7319 -depcc="$CC" am_compiler_list=
1.7321 -{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
1.7322 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
1.7323 -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
1.7324 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.7326 - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1.7327 - # We make a subdir and do the tests there. Otherwise we can end up
1.7328 - # making bogus files that we don't know about and never remove. For
1.7329 - # instance it was reported that on HP-UX the gcc test will end up
1.7330 - # making a dummy file named `D' -- because `-MD' means `put the output
1.7333 - # Copy depcomp to subdir because otherwise we won't find it if we're
1.7334 - # using a relative directory.
1.7335 - cp "$am_depcomp" conftest.dir
1.7337 - # We will build objects and dependencies in a subdirectory because
1.7338 - # it helps to detect inapplicable dependency modes. For instance
1.7339 - # both Tru64's cc and ICC support -MD to output dependencies as a
1.7340 - # side effect of compilation, but ICC will put the dependencies in
1.7341 - # the current directory while Tru64 will put them in the object
1.7345 - am_cv_CC_dependencies_compiler_type=none
1.7346 - if test "$am_compiler_list" = ""; then
1.7347 - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1.7349 - for depmode in $am_compiler_list; do
1.7350 - # Setup a source with many dependencies, because some compilers
1.7351 - # like to wrap large dependency lists on column 80 (with \), and
1.7352 - # we should not choose a depcomp mode which is confused by this.
1.7354 - # We need to recreate these files for each test, as the compiler may
1.7355 - # overwrite some of them when testing with obscure command lines.
1.7356 - # This happens at least with the AIX C compiler.
1.7358 - for i in 1 2 3 4 5 6; do
1.7359 - echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.7360 - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
1.7361 - # Solaris 8's {/usr,}/bin/sh.
1.7362 - touch sub/conftst$i.h
1.7364 - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.7368 - # after this tag, mechanisms are not by side-effect, so they'll
1.7369 - # only be used when explicitly requested
1.7370 - if test "x$enable_dependency_tracking" = xyes; then
1.7378 - # We check with `-c' and `-o' for the sake of the "dashmstdout"
1.7379 - # mode. It turns out that the SunPro C++ compiler does not properly
1.7380 - # handle `-M -o', and we need to detect this.
1.7381 - if depmode=$depmode \
1.7382 - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
1.7383 - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.7384 - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
1.7385 - >/dev/null 2>conftest.err &&
1.7386 - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.7387 - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.7388 - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.7389 - # icc doesn't choke on unknown options, it will just issue warnings
1.7390 - # or remarks (even with -Werror). So we grep stderr for any message
1.7391 - # that says an option was ignored or not supported.
1.7392 - # When given -MP, icc 7.0 and 7.1 complain thusly:
1.7393 - # icc: Command line warning: ignoring option '-M'; no argument required
1.7394 - # The diagnosis changed in icc 8.0:
1.7395 - # icc: Command line remark: option '-MP' not supported
1.7396 - if (grep 'ignoring option' conftest.err ||
1.7397 - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
1.7398 - am_cv_CC_dependencies_compiler_type=$depmode
1.7407 - am_cv_CC_dependencies_compiler_type=none
1.7411 -{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
1.7412 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
1.7413 -CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
1.7418 - test "x$enable_dependency_tracking" != xno \
1.7419 - && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
1.7421 - am__fastdepCC_FALSE='#'
1.7423 - am__fastdepCC_TRUE='#'
1.7430 - { echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
1.7431 -echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6; }
1.7432 -if test "${ac_cv_lib_cposix_strerror+set}" = set; then
1.7433 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.7435 - ac_check_lib_save_LIBS=$LIBS
1.7437 -cat >conftest.$ac_ext <<_ACEOF
1.7440 -cat confdefs.h >>conftest.$ac_ext
1.7441 -cat >>conftest.$ac_ext <<_ACEOF
1.7444 -/* Override any GCC internal prototype to avoid an error.
1.7445 - Use char because int might match the return type of a GCC
1.7446 - builtin and then its argument prototype would still apply. */
1.7459 -rm -f conftest.$ac_objext conftest$ac_exeext
1.7460 -if { (ac_try="$ac_link"
1.7462 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.7463 - *) ac_try_echo=$ac_try;;
1.7465 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.7466 - (eval "$ac_link") 2>conftest.er1
1.7468 - grep -v '^ *+' conftest.er1 >conftest.err
1.7471 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.7472 - (exit $ac_status); } && {
1.7473 - test -z "$ac_c_werror_flag" ||
1.7474 - test ! -s conftest.err
1.7475 - } && test -s conftest$ac_exeext &&
1.7476 - $as_test_x conftest$ac_exeext; then
1.7477 - ac_cv_lib_cposix_strerror=yes
1.7479 - echo "$as_me: failed program was:" >&5
1.7480 -sed 's/^/| /' conftest.$ac_ext >&5
1.7482 - ac_cv_lib_cposix_strerror=no
1.7485 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.7486 - conftest$ac_exeext conftest.$ac_ext
1.7487 -LIBS=$ac_check_lib_save_LIBS
1.7489 -{ echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
1.7490 -echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6; }
1.7491 -if test $ac_cv_lib_cposix_strerror = yes; then
1.7492 - LIBS="$LIBS -lcposix"
1.7498 -ac_cpp='$CPP $CPPFLAGS'
1.7499 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.7500 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.7501 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.7502 -if test -n "$ac_tool_prefix"; then
1.7503 - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1.7504 -set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.7505 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.7506 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.7507 -if test "${ac_cv_prog_CC+set}" = set; then
1.7508 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.7510 - if test -n "$CC"; then
1.7511 - ac_cv_prog_CC="$CC" # Let the user override the test.
1.7513 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.7517 - test -z "$as_dir" && as_dir=.
1.7518 - for ac_exec_ext in '' $ac_executable_extensions; do
1.7519 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.7520 - ac_cv_prog_CC="${ac_tool_prefix}gcc"
1.7521 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.7531 -if test -n "$CC"; then
1.7532 - { echo "$as_me:$LINENO: result: $CC" >&5
1.7533 -echo "${ECHO_T}$CC" >&6; }
1.7535 - { echo "$as_me:$LINENO: result: no" >&5
1.7536 -echo "${ECHO_T}no" >&6; }
1.7541 -if test -z "$ac_cv_prog_CC"; then
1.7543 - # Extract the first word of "gcc", so it can be a program name with args.
1.7544 -set dummy gcc; ac_word=$2
1.7545 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.7546 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.7547 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1.7548 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.7550 - if test -n "$ac_ct_CC"; then
1.7551 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.7553 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.7557 - test -z "$as_dir" && as_dir=.
1.7558 - for ac_exec_ext in '' $ac_executable_extensions; do
1.7559 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.7560 - ac_cv_prog_ac_ct_CC="gcc"
1.7561 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.7570 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
1.7571 -if test -n "$ac_ct_CC"; then
1.7572 - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1.7573 -echo "${ECHO_T}$ac_ct_CC" >&6; }
1.7575 - { echo "$as_me:$LINENO: result: no" >&5
1.7576 -echo "${ECHO_T}no" >&6; }
1.7579 - if test "x$ac_ct_CC" = x; then
1.7582 - case $cross_compiling:$ac_tool_warned in
1.7584 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1.7585 -whose name does not start with the host triplet. If you think this
1.7586 -configuration is useful to you, please write to autoconf@gnu.org." >&5
1.7587 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1.7588 -whose name does not start with the host triplet. If you think this
1.7589 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1.7598 -if test -z "$CC"; then
1.7599 - if test -n "$ac_tool_prefix"; then
1.7600 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1.7601 -set dummy ${ac_tool_prefix}cc; ac_word=$2
1.7602 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.7603 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.7604 -if test "${ac_cv_prog_CC+set}" = set; then
1.7605 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.7607 - if test -n "$CC"; then
1.7608 - ac_cv_prog_CC="$CC" # Let the user override the test.
1.7610 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.7614 - test -z "$as_dir" && as_dir=.
1.7615 - for ac_exec_ext in '' $ac_executable_extensions; do
1.7616 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.7617 - ac_cv_prog_CC="${ac_tool_prefix}cc"
1.7618 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.7628 -if test -n "$CC"; then
1.7629 - { echo "$as_me:$LINENO: result: $CC" >&5
1.7630 -echo "${ECHO_T}$CC" >&6; }
1.7632 - { echo "$as_me:$LINENO: result: no" >&5
1.7633 -echo "${ECHO_T}no" >&6; }
1.7639 -if test -z "$CC"; then
1.7640 - # Extract the first word of "cc", so it can be a program name with args.
1.7641 -set dummy cc; ac_word=$2
1.7642 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.7643 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.7644 -if test "${ac_cv_prog_CC+set}" = set; then
1.7645 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.7647 - if test -n "$CC"; then
1.7648 - ac_cv_prog_CC="$CC" # Let the user override the test.
1.7651 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.7655 - test -z "$as_dir" && as_dir=.
1.7656 - for ac_exec_ext in '' $ac_executable_extensions; do
1.7657 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.7658 - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1.7663 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.7670 -if test $ac_prog_rejected = yes; then
1.7671 - # We found a bogon in the path, so make sure we never use it.
1.7672 - set dummy $ac_cv_prog_CC
1.7674 - if test $# != 0; then
1.7675 - # We chose a different compiler from the bogus one.
1.7676 - # However, it has the same basename, so the bogon will be chosen
1.7677 - # first if we set CC to just the basename; use the full file name.
1.7679 - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1.7685 -if test -n "$CC"; then
1.7686 - { echo "$as_me:$LINENO: result: $CC" >&5
1.7687 -echo "${ECHO_T}$CC" >&6; }
1.7689 - { echo "$as_me:$LINENO: result: no" >&5
1.7690 -echo "${ECHO_T}no" >&6; }
1.7695 -if test -z "$CC"; then
1.7696 - if test -n "$ac_tool_prefix"; then
1.7697 - for ac_prog in cl.exe
1.7699 - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1.7700 -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.7701 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.7702 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.7703 -if test "${ac_cv_prog_CC+set}" = set; then
1.7704 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.7706 - if test -n "$CC"; then
1.7707 - ac_cv_prog_CC="$CC" # Let the user override the test.
1.7709 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.7713 - test -z "$as_dir" && as_dir=.
1.7714 - for ac_exec_ext in '' $ac_executable_extensions; do
1.7715 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.7716 - ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.7717 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.7727 -if test -n "$CC"; then
1.7728 - { echo "$as_me:$LINENO: result: $CC" >&5
1.7729 -echo "${ECHO_T}$CC" >&6; }
1.7731 - { echo "$as_me:$LINENO: result: no" >&5
1.7732 -echo "${ECHO_T}no" >&6; }
1.7736 - test -n "$CC" && break
1.7739 -if test -z "$CC"; then
1.7741 - for ac_prog in cl.exe
1.7743 - # Extract the first word of "$ac_prog", so it can be a program name with args.
1.7744 -set dummy $ac_prog; ac_word=$2
1.7745 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.7746 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.7747 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1.7748 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.7750 - if test -n "$ac_ct_CC"; then
1.7751 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.7753 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.7757 - test -z "$as_dir" && as_dir=.
1.7758 - for ac_exec_ext in '' $ac_executable_extensions; do
1.7759 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.7760 - ac_cv_prog_ac_ct_CC="$ac_prog"
1.7761 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.7770 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
1.7771 -if test -n "$ac_ct_CC"; then
1.7772 - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1.7773 -echo "${ECHO_T}$ac_ct_CC" >&6; }
1.7775 - { echo "$as_me:$LINENO: result: no" >&5
1.7776 -echo "${ECHO_T}no" >&6; }
1.7780 - test -n "$ac_ct_CC" && break
1.7783 - if test "x$ac_ct_CC" = x; then
1.7786 - case $cross_compiling:$ac_tool_warned in
1.7788 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1.7789 -whose name does not start with the host triplet. If you think this
1.7790 -configuration is useful to you, please write to autoconf@gnu.org." >&5
1.7791 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1.7792 -whose name does not start with the host triplet. If you think this
1.7793 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1.7803 -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1.7804 -See \`config.log' for more details." >&5
1.7805 -echo "$as_me: error: no acceptable C compiler found in \$PATH
1.7806 -See \`config.log' for more details." >&2;}
1.7807 - { (exit 1); exit 1; }; }
1.7809 -# Provide some information about the compiler.
1.7810 -echo "$as_me:$LINENO: checking for C compiler version" >&5
1.7811 -ac_compiler=`set X $ac_compile; echo $2`
1.7812 -{ (ac_try="$ac_compiler --version >&5"
1.7814 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.7815 - *) ac_try_echo=$ac_try;;
1.7817 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.7818 - (eval "$ac_compiler --version >&5") 2>&5
1.7820 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.7822 -{ (ac_try="$ac_compiler -v >&5"
1.7824 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.7825 - *) ac_try_echo=$ac_try;;
1.7827 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.7828 - (eval "$ac_compiler -v >&5") 2>&5
1.7830 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.7832 -{ (ac_try="$ac_compiler -V >&5"
1.7834 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.7835 - *) ac_try_echo=$ac_try;;
1.7837 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.7838 - (eval "$ac_compiler -V >&5") 2>&5
1.7840 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.7843 -{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1.7844 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
1.7845 -if test "${ac_cv_c_compiler_gnu+set}" = set; then
1.7846 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.7848 - cat >conftest.$ac_ext <<_ACEOF
1.7851 -cat confdefs.h >>conftest.$ac_ext
1.7852 -cat >>conftest.$ac_ext <<_ACEOF
1.7866 -rm -f conftest.$ac_objext
1.7867 -if { (ac_try="$ac_compile"
1.7869 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.7870 - *) ac_try_echo=$ac_try;;
1.7872 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.7873 - (eval "$ac_compile") 2>conftest.er1
1.7875 - grep -v '^ *+' conftest.er1 >conftest.err
1.7878 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.7879 - (exit $ac_status); } && {
1.7880 - test -z "$ac_c_werror_flag" ||
1.7881 - test ! -s conftest.err
1.7882 - } && test -s conftest.$ac_objext; then
1.7885 - echo "$as_me: failed program was:" >&5
1.7886 -sed 's/^/| /' conftest.$ac_ext >&5
1.7891 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.7892 -ac_cv_c_compiler_gnu=$ac_compiler_gnu
1.7895 -{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1.7896 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
1.7897 -GCC=`test $ac_compiler_gnu = yes && echo yes`
1.7898 -ac_test_CFLAGS=${CFLAGS+set}
1.7899 -ac_save_CFLAGS=$CFLAGS
1.7900 -{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1.7901 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
1.7902 -if test "${ac_cv_prog_cc_g+set}" = set; then
1.7903 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.7905 - ac_save_c_werror_flag=$ac_c_werror_flag
1.7909 - cat >conftest.$ac_ext <<_ACEOF
1.7912 -cat confdefs.h >>conftest.$ac_ext
1.7913 -cat >>conftest.$ac_ext <<_ACEOF
1.7924 -rm -f conftest.$ac_objext
1.7925 -if { (ac_try="$ac_compile"
1.7927 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.7928 - *) ac_try_echo=$ac_try;;
1.7930 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.7931 - (eval "$ac_compile") 2>conftest.er1
1.7933 - grep -v '^ *+' conftest.er1 >conftest.err
1.7936 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.7937 - (exit $ac_status); } && {
1.7938 - test -z "$ac_c_werror_flag" ||
1.7939 - test ! -s conftest.err
1.7940 - } && test -s conftest.$ac_objext; then
1.7943 - echo "$as_me: failed program was:" >&5
1.7944 -sed 's/^/| /' conftest.$ac_ext >&5
1.7947 - cat >conftest.$ac_ext <<_ACEOF
1.7950 -cat confdefs.h >>conftest.$ac_ext
1.7951 -cat >>conftest.$ac_ext <<_ACEOF
1.7962 -rm -f conftest.$ac_objext
1.7963 -if { (ac_try="$ac_compile"
1.7965 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.7966 - *) ac_try_echo=$ac_try;;
1.7968 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.7969 - (eval "$ac_compile") 2>conftest.er1
1.7971 - grep -v '^ *+' conftest.er1 >conftest.err
1.7974 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.7975 - (exit $ac_status); } && {
1.7976 - test -z "$ac_c_werror_flag" ||
1.7977 - test ! -s conftest.err
1.7978 - } && test -s conftest.$ac_objext; then
1.7981 - echo "$as_me: failed program was:" >&5
1.7982 -sed 's/^/| /' conftest.$ac_ext >&5
1.7984 - ac_c_werror_flag=$ac_save_c_werror_flag
1.7986 - cat >conftest.$ac_ext <<_ACEOF
1.7989 -cat confdefs.h >>conftest.$ac_ext
1.7990 -cat >>conftest.$ac_ext <<_ACEOF
1.8001 -rm -f conftest.$ac_objext
1.8002 -if { (ac_try="$ac_compile"
1.8004 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.8005 - *) ac_try_echo=$ac_try;;
1.8007 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.8008 - (eval "$ac_compile") 2>conftest.er1
1.8010 - grep -v '^ *+' conftest.er1 >conftest.err
1.8013 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.8014 - (exit $ac_status); } && {
1.8015 - test -z "$ac_c_werror_flag" ||
1.8016 - test ! -s conftest.err
1.8017 - } && test -s conftest.$ac_objext; then
1.8020 - echo "$as_me: failed program was:" >&5
1.8021 -sed 's/^/| /' conftest.$ac_ext >&5
1.8026 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.8029 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.8032 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.8033 - ac_c_werror_flag=$ac_save_c_werror_flag
1.8035 -{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1.8036 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
1.8037 -if test "$ac_test_CFLAGS" = set; then
1.8038 - CFLAGS=$ac_save_CFLAGS
1.8039 -elif test $ac_cv_prog_cc_g = yes; then
1.8040 - if test "$GCC" = yes; then
1.8046 - if test "$GCC" = yes; then
1.8052 -{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
1.8053 -echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
1.8054 -if test "${ac_cv_prog_cc_c89+set}" = set; then
1.8055 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.8059 -cat >conftest.$ac_ext <<_ACEOF
1.8062 -cat confdefs.h >>conftest.$ac_ext
1.8063 -cat >>conftest.$ac_ext <<_ACEOF
1.8067 -#include <sys/types.h>
1.8069 -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1.8070 -struct buf { int x; };
1.8071 -FILE * (*rcsopen) (struct buf *, struct stat *, int);
1.8078 -static char *f (char * (*g) (char **, int), char **p, ...)
1.8083 - s = g (p, va_arg (v,int));
1.8088 -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1.8089 - function prototypes and stuff, but not '\xHH' hex character constants.
1.8090 - These don't provoke an error unfortunately, instead are silently treated
1.8091 - as 'x'. The following induces an error, until -std is added to get
1.8092 - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
1.8093 - array size at least. It's necessary to write '\x00'==0 to get something
1.8094 - that's true only with -std. */
1.8095 -int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1.8097 -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
1.8098 - inside strings and character constants. */
1.8100 -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
1.8102 -int test (int i, double x);
1.8103 -struct s1 {int (*f) (int a);};
1.8104 -struct s2 {int (*f) (double a);};
1.8105 -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1.8111 -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
1.8116 -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
1.8117 - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1.8119 - CC="$ac_save_CC $ac_arg"
1.8120 - rm -f conftest.$ac_objext
1.8121 -if { (ac_try="$ac_compile"
1.8123 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.8124 - *) ac_try_echo=$ac_try;;
1.8126 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.8127 - (eval "$ac_compile") 2>conftest.er1
1.8129 - grep -v '^ *+' conftest.er1 >conftest.err
1.8132 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.8133 - (exit $ac_status); } && {
1.8134 - test -z "$ac_c_werror_flag" ||
1.8135 - test ! -s conftest.err
1.8136 - } && test -s conftest.$ac_objext; then
1.8137 - ac_cv_prog_cc_c89=$ac_arg
1.8139 - echo "$as_me: failed program was:" >&5
1.8140 -sed 's/^/| /' conftest.$ac_ext >&5
1.8145 -rm -f core conftest.err conftest.$ac_objext
1.8146 - test "x$ac_cv_prog_cc_c89" != "xno" && break
1.8148 -rm -f conftest.$ac_ext
1.8153 -case "x$ac_cv_prog_cc_c89" in
1.8155 - { echo "$as_me:$LINENO: result: none needed" >&5
1.8156 -echo "${ECHO_T}none needed" >&6; } ;;
1.8158 - { echo "$as_me:$LINENO: result: unsupported" >&5
1.8159 -echo "${ECHO_T}unsupported" >&6; } ;;
1.8161 - CC="$CC $ac_cv_prog_cc_c89"
1.8162 - { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
1.8163 -echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
1.8168 -ac_cpp='$CPP $CPPFLAGS'
1.8169 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.8170 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.8171 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.8173 -depcc="$CC" am_compiler_list=
1.8175 -{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
1.8176 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
1.8177 -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
1.8178 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.8180 - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1.8181 - # We make a subdir and do the tests there. Otherwise we can end up
1.8182 - # making bogus files that we don't know about and never remove. For
1.8183 - # instance it was reported that on HP-UX the gcc test will end up
1.8184 - # making a dummy file named `D' -- because `-MD' means `put the output
1.8187 - # Copy depcomp to subdir because otherwise we won't find it if we're
1.8188 - # using a relative directory.
1.8189 - cp "$am_depcomp" conftest.dir
1.8191 - # We will build objects and dependencies in a subdirectory because
1.8192 - # it helps to detect inapplicable dependency modes. For instance
1.8193 - # both Tru64's cc and ICC support -MD to output dependencies as a
1.8194 - # side effect of compilation, but ICC will put the dependencies in
1.8195 - # the current directory while Tru64 will put them in the object
1.8199 - am_cv_CC_dependencies_compiler_type=none
1.8200 - if test "$am_compiler_list" = ""; then
1.8201 - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1.8203 - for depmode in $am_compiler_list; do
1.8204 - # Setup a source with many dependencies, because some compilers
1.8205 - # like to wrap large dependency lists on column 80 (with \), and
1.8206 - # we should not choose a depcomp mode which is confused by this.
1.8208 - # We need to recreate these files for each test, as the compiler may
1.8209 - # overwrite some of them when testing with obscure command lines.
1.8210 - # This happens at least with the AIX C compiler.
1.8212 - for i in 1 2 3 4 5 6; do
1.8213 - echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.8214 - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
1.8215 - # Solaris 8's {/usr,}/bin/sh.
1.8216 - touch sub/conftst$i.h
1.8218 - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.8222 - # after this tag, mechanisms are not by side-effect, so they'll
1.8223 - # only be used when explicitly requested
1.8224 - if test "x$enable_dependency_tracking" = xyes; then
1.8232 - # We check with `-c' and `-o' for the sake of the "dashmstdout"
1.8233 - # mode. It turns out that the SunPro C++ compiler does not properly
1.8234 - # handle `-M -o', and we need to detect this.
1.8235 - if depmode=$depmode \
1.8236 - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
1.8237 - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.8238 - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
1.8239 - >/dev/null 2>conftest.err &&
1.8240 - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.8241 - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.8242 - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.8243 - # icc doesn't choke on unknown options, it will just issue warnings
1.8244 - # or remarks (even with -Werror). So we grep stderr for any message
1.8245 - # that says an option was ignored or not supported.
1.8246 - # When given -MP, icc 7.0 and 7.1 complain thusly:
1.8247 - # icc: Command line warning: ignoring option '-M'; no argument required
1.8248 - # The diagnosis changed in icc 8.0:
1.8249 - # icc: Command line remark: option '-MP' not supported
1.8250 - if (grep 'ignoring option' conftest.err ||
1.8251 - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
1.8252 - am_cv_CC_dependencies_compiler_type=$depmode
1.8261 - am_cv_CC_dependencies_compiler_type=none
1.8265 -{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
1.8266 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
1.8267 -CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
1.8272 - test "x$enable_dependency_tracking" != xno \
1.8273 - && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
1.8275 - am__fastdepCC_FALSE='#'
1.8277 - am__fastdepCC_TRUE='#'
1.8283 -ac_cpp='$CPP $CPPFLAGS'
1.8284 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.8285 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.8286 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.8287 -if test -n "$ac_tool_prefix"; then
1.8288 - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1.8289 -set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.8290 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.8291 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.8292 -if test "${ac_cv_prog_CC+set}" = set; then
1.8293 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.8295 - if test -n "$CC"; then
1.8296 - ac_cv_prog_CC="$CC" # Let the user override the test.
1.8298 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.8302 - test -z "$as_dir" && as_dir=.
1.8303 - for ac_exec_ext in '' $ac_executable_extensions; do
1.8304 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.8305 - ac_cv_prog_CC="${ac_tool_prefix}gcc"
1.8306 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8316 -if test -n "$CC"; then
1.8317 - { echo "$as_me:$LINENO: result: $CC" >&5
1.8318 -echo "${ECHO_T}$CC" >&6; }
1.8320 - { echo "$as_me:$LINENO: result: no" >&5
1.8321 -echo "${ECHO_T}no" >&6; }
1.8326 -if test -z "$ac_cv_prog_CC"; then
1.8328 - # Extract the first word of "gcc", so it can be a program name with args.
1.8329 -set dummy gcc; ac_word=$2
1.8330 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.8331 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.8332 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1.8333 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.8335 - if test -n "$ac_ct_CC"; then
1.8336 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.8338 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.8342 - test -z "$as_dir" && as_dir=.
1.8343 - for ac_exec_ext in '' $ac_executable_extensions; do
1.8344 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.8345 - ac_cv_prog_ac_ct_CC="gcc"
1.8346 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8355 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
1.8356 -if test -n "$ac_ct_CC"; then
1.8357 - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1.8358 -echo "${ECHO_T}$ac_ct_CC" >&6; }
1.8360 - { echo "$as_me:$LINENO: result: no" >&5
1.8361 -echo "${ECHO_T}no" >&6; }
1.8364 - if test "x$ac_ct_CC" = x; then
1.8367 - case $cross_compiling:$ac_tool_warned in
1.8369 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1.8370 -whose name does not start with the host triplet. If you think this
1.8371 -configuration is useful to you, please write to autoconf@gnu.org." >&5
1.8372 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1.8373 -whose name does not start with the host triplet. If you think this
1.8374 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1.8383 -if test -z "$CC"; then
1.8384 - if test -n "$ac_tool_prefix"; then
1.8385 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1.8386 -set dummy ${ac_tool_prefix}cc; ac_word=$2
1.8387 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.8388 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.8389 -if test "${ac_cv_prog_CC+set}" = set; then
1.8390 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.8392 - if test -n "$CC"; then
1.8393 - ac_cv_prog_CC="$CC" # Let the user override the test.
1.8395 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.8399 - test -z "$as_dir" && as_dir=.
1.8400 - for ac_exec_ext in '' $ac_executable_extensions; do
1.8401 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.8402 - ac_cv_prog_CC="${ac_tool_prefix}cc"
1.8403 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8413 -if test -n "$CC"; then
1.8414 - { echo "$as_me:$LINENO: result: $CC" >&5
1.8415 -echo "${ECHO_T}$CC" >&6; }
1.8417 - { echo "$as_me:$LINENO: result: no" >&5
1.8418 -echo "${ECHO_T}no" >&6; }
1.8424 -if test -z "$CC"; then
1.8425 - # Extract the first word of "cc", so it can be a program name with args.
1.8426 -set dummy cc; ac_word=$2
1.8427 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.8428 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.8429 -if test "${ac_cv_prog_CC+set}" = set; then
1.8430 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.8432 - if test -n "$CC"; then
1.8433 - ac_cv_prog_CC="$CC" # Let the user override the test.
1.8436 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.8440 - test -z "$as_dir" && as_dir=.
1.8441 - for ac_exec_ext in '' $ac_executable_extensions; do
1.8442 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.8443 - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1.8448 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8455 -if test $ac_prog_rejected = yes; then
1.8456 - # We found a bogon in the path, so make sure we never use it.
1.8457 - set dummy $ac_cv_prog_CC
1.8459 - if test $# != 0; then
1.8460 - # We chose a different compiler from the bogus one.
1.8461 - # However, it has the same basename, so the bogon will be chosen
1.8462 - # first if we set CC to just the basename; use the full file name.
1.8464 - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1.8470 -if test -n "$CC"; then
1.8471 - { echo "$as_me:$LINENO: result: $CC" >&5
1.8472 -echo "${ECHO_T}$CC" >&6; }
1.8474 - { echo "$as_me:$LINENO: result: no" >&5
1.8475 -echo "${ECHO_T}no" >&6; }
1.8480 -if test -z "$CC"; then
1.8481 - if test -n "$ac_tool_prefix"; then
1.8482 - for ac_prog in cl.exe
1.8484 - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1.8485 -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.8486 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.8487 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.8488 -if test "${ac_cv_prog_CC+set}" = set; then
1.8489 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.8491 - if test -n "$CC"; then
1.8492 - ac_cv_prog_CC="$CC" # Let the user override the test.
1.8494 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.8498 - test -z "$as_dir" && as_dir=.
1.8499 - for ac_exec_ext in '' $ac_executable_extensions; do
1.8500 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.8501 - ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.8502 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8512 -if test -n "$CC"; then
1.8513 - { echo "$as_me:$LINENO: result: $CC" >&5
1.8514 -echo "${ECHO_T}$CC" >&6; }
1.8516 - { echo "$as_me:$LINENO: result: no" >&5
1.8517 -echo "${ECHO_T}no" >&6; }
1.8521 - test -n "$CC" && break
1.8524 -if test -z "$CC"; then
1.8526 - for ac_prog in cl.exe
1.8528 - # Extract the first word of "$ac_prog", so it can be a program name with args.
1.8529 -set dummy $ac_prog; ac_word=$2
1.8530 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.8531 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.8532 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1.8533 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.8535 - if test -n "$ac_ct_CC"; then
1.8536 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.8538 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.8542 - test -z "$as_dir" && as_dir=.
1.8543 - for ac_exec_ext in '' $ac_executable_extensions; do
1.8544 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.8545 - ac_cv_prog_ac_ct_CC="$ac_prog"
1.8546 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.8555 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
1.8556 -if test -n "$ac_ct_CC"; then
1.8557 - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1.8558 -echo "${ECHO_T}$ac_ct_CC" >&6; }
1.8560 - { echo "$as_me:$LINENO: result: no" >&5
1.8561 -echo "${ECHO_T}no" >&6; }
1.8565 - test -n "$ac_ct_CC" && break
1.8568 - if test "x$ac_ct_CC" = x; then
1.8571 - case $cross_compiling:$ac_tool_warned in
1.8573 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1.8574 -whose name does not start with the host triplet. If you think this
1.8575 -configuration is useful to you, please write to autoconf@gnu.org." >&5
1.8576 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1.8577 -whose name does not start with the host triplet. If you think this
1.8578 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1.8588 -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1.8589 -See \`config.log' for more details." >&5
1.8590 -echo "$as_me: error: no acceptable C compiler found in \$PATH
1.8591 -See \`config.log' for more details." >&2;}
1.8592 - { (exit 1); exit 1; }; }
1.8594 -# Provide some information about the compiler.
1.8595 -echo "$as_me:$LINENO: checking for C compiler version" >&5
1.8596 -ac_compiler=`set X $ac_compile; echo $2`
1.8597 -{ (ac_try="$ac_compiler --version >&5"
1.8599 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.8600 - *) ac_try_echo=$ac_try;;
1.8602 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.8603 - (eval "$ac_compiler --version >&5") 2>&5
1.8605 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.8607 -{ (ac_try="$ac_compiler -v >&5"
1.8609 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.8610 - *) ac_try_echo=$ac_try;;
1.8612 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.8613 - (eval "$ac_compiler -v >&5") 2>&5
1.8615 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.8617 -{ (ac_try="$ac_compiler -V >&5"
1.8619 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.8620 - *) ac_try_echo=$ac_try;;
1.8622 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.8623 - (eval "$ac_compiler -V >&5") 2>&5
1.8625 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.8628 -{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1.8629 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
1.8630 -if test "${ac_cv_c_compiler_gnu+set}" = set; then
1.8631 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.8633 - cat >conftest.$ac_ext <<_ACEOF
1.8636 -cat confdefs.h >>conftest.$ac_ext
1.8637 -cat >>conftest.$ac_ext <<_ACEOF
1.8651 -rm -f conftest.$ac_objext
1.8652 -if { (ac_try="$ac_compile"
1.8654 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.8655 - *) ac_try_echo=$ac_try;;
1.8657 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.8658 - (eval "$ac_compile") 2>conftest.er1
1.8660 - grep -v '^ *+' conftest.er1 >conftest.err
1.8663 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.8664 - (exit $ac_status); } && {
1.8665 - test -z "$ac_c_werror_flag" ||
1.8666 - test ! -s conftest.err
1.8667 - } && test -s conftest.$ac_objext; then
1.8670 - echo "$as_me: failed program was:" >&5
1.8671 -sed 's/^/| /' conftest.$ac_ext >&5
1.8676 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.8677 -ac_cv_c_compiler_gnu=$ac_compiler_gnu
1.8680 -{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1.8681 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
1.8682 -GCC=`test $ac_compiler_gnu = yes && echo yes`
1.8683 -ac_test_CFLAGS=${CFLAGS+set}
1.8684 -ac_save_CFLAGS=$CFLAGS
1.8685 -{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1.8686 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
1.8687 -if test "${ac_cv_prog_cc_g+set}" = set; then
1.8688 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.8690 - ac_save_c_werror_flag=$ac_c_werror_flag
1.8694 - cat >conftest.$ac_ext <<_ACEOF
1.8697 -cat confdefs.h >>conftest.$ac_ext
1.8698 -cat >>conftest.$ac_ext <<_ACEOF
1.8709 -rm -f conftest.$ac_objext
1.8710 -if { (ac_try="$ac_compile"
1.8712 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.8713 - *) ac_try_echo=$ac_try;;
1.8715 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.8716 - (eval "$ac_compile") 2>conftest.er1
1.8718 - grep -v '^ *+' conftest.er1 >conftest.err
1.8721 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.8722 - (exit $ac_status); } && {
1.8723 - test -z "$ac_c_werror_flag" ||
1.8724 - test ! -s conftest.err
1.8725 - } && test -s conftest.$ac_objext; then
1.8728 - echo "$as_me: failed program was:" >&5
1.8729 -sed 's/^/| /' conftest.$ac_ext >&5
1.8732 - cat >conftest.$ac_ext <<_ACEOF
1.8735 -cat confdefs.h >>conftest.$ac_ext
1.8736 -cat >>conftest.$ac_ext <<_ACEOF
1.8747 -rm -f conftest.$ac_objext
1.8748 -if { (ac_try="$ac_compile"
1.8750 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.8751 - *) ac_try_echo=$ac_try;;
1.8753 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.8754 - (eval "$ac_compile") 2>conftest.er1
1.8756 - grep -v '^ *+' conftest.er1 >conftest.err
1.8759 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.8760 - (exit $ac_status); } && {
1.8761 - test -z "$ac_c_werror_flag" ||
1.8762 - test ! -s conftest.err
1.8763 - } && test -s conftest.$ac_objext; then
1.8766 - echo "$as_me: failed program was:" >&5
1.8767 -sed 's/^/| /' conftest.$ac_ext >&5
1.8769 - ac_c_werror_flag=$ac_save_c_werror_flag
1.8771 - cat >conftest.$ac_ext <<_ACEOF
1.8774 -cat confdefs.h >>conftest.$ac_ext
1.8775 -cat >>conftest.$ac_ext <<_ACEOF
1.8786 -rm -f conftest.$ac_objext
1.8787 -if { (ac_try="$ac_compile"
1.8789 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.8790 - *) ac_try_echo=$ac_try;;
1.8792 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.8793 - (eval "$ac_compile") 2>conftest.er1
1.8795 - grep -v '^ *+' conftest.er1 >conftest.err
1.8798 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.8799 - (exit $ac_status); } && {
1.8800 - test -z "$ac_c_werror_flag" ||
1.8801 - test ! -s conftest.err
1.8802 - } && test -s conftest.$ac_objext; then
1.8805 - echo "$as_me: failed program was:" >&5
1.8806 -sed 's/^/| /' conftest.$ac_ext >&5
1.8811 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.8814 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.8817 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.8818 - ac_c_werror_flag=$ac_save_c_werror_flag
1.8820 -{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1.8821 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
1.8822 -if test "$ac_test_CFLAGS" = set; then
1.8823 - CFLAGS=$ac_save_CFLAGS
1.8824 -elif test $ac_cv_prog_cc_g = yes; then
1.8825 - if test "$GCC" = yes; then
1.8831 - if test "$GCC" = yes; then
1.8837 -{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
1.8838 -echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
1.8839 -if test "${ac_cv_prog_cc_c89+set}" = set; then
1.8840 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.8844 -cat >conftest.$ac_ext <<_ACEOF
1.8847 -cat confdefs.h >>conftest.$ac_ext
1.8848 -cat >>conftest.$ac_ext <<_ACEOF
1.8852 -#include <sys/types.h>
1.8854 -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1.8855 -struct buf { int x; };
1.8856 -FILE * (*rcsopen) (struct buf *, struct stat *, int);
1.8863 -static char *f (char * (*g) (char **, int), char **p, ...)
1.8868 - s = g (p, va_arg (v,int));
1.8873 -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1.8874 - function prototypes and stuff, but not '\xHH' hex character constants.
1.8875 - These don't provoke an error unfortunately, instead are silently treated
1.8876 - as 'x'. The following induces an error, until -std is added to get
1.8877 - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
1.8878 - array size at least. It's necessary to write '\x00'==0 to get something
1.8879 - that's true only with -std. */
1.8880 -int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1.8882 -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
1.8883 - inside strings and character constants. */
1.8885 -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
1.8887 -int test (int i, double x);
1.8888 -struct s1 {int (*f) (int a);};
1.8889 -struct s2 {int (*f) (double a);};
1.8890 -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1.8896 -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
1.8901 -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
1.8902 - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1.8904 - CC="$ac_save_CC $ac_arg"
1.8905 - rm -f conftest.$ac_objext
1.8906 -if { (ac_try="$ac_compile"
1.8908 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.8909 - *) ac_try_echo=$ac_try;;
1.8911 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.8912 - (eval "$ac_compile") 2>conftest.er1
1.8914 - grep -v '^ *+' conftest.er1 >conftest.err
1.8917 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.8918 - (exit $ac_status); } && {
1.8919 - test -z "$ac_c_werror_flag" ||
1.8920 - test ! -s conftest.err
1.8921 - } && test -s conftest.$ac_objext; then
1.8922 - ac_cv_prog_cc_c89=$ac_arg
1.8924 - echo "$as_me: failed program was:" >&5
1.8925 -sed 's/^/| /' conftest.$ac_ext >&5
1.8930 -rm -f core conftest.err conftest.$ac_objext
1.8931 - test "x$ac_cv_prog_cc_c89" != "xno" && break
1.8933 -rm -f conftest.$ac_ext
1.8938 -case "x$ac_cv_prog_cc_c89" in
1.8940 - { echo "$as_me:$LINENO: result: none needed" >&5
1.8941 -echo "${ECHO_T}none needed" >&6; } ;;
1.8943 - { echo "$as_me:$LINENO: result: unsupported" >&5
1.8944 -echo "${ECHO_T}unsupported" >&6; } ;;
1.8946 - CC="$CC $ac_cv_prog_cc_c89"
1.8947 - { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
1.8948 -echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
1.8953 -ac_cpp='$CPP $CPPFLAGS'
1.8954 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.8955 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.8956 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.8958 -depcc="$CC" am_compiler_list=
1.8960 -{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
1.8961 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
1.8962 -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
1.8963 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.8965 - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1.8966 - # We make a subdir and do the tests there. Otherwise we can end up
1.8967 - # making bogus files that we don't know about and never remove. For
1.8968 - # instance it was reported that on HP-UX the gcc test will end up
1.8969 - # making a dummy file named `D' -- because `-MD' means `put the output
1.8972 - # Copy depcomp to subdir because otherwise we won't find it if we're
1.8973 - # using a relative directory.
1.8974 - cp "$am_depcomp" conftest.dir
1.8976 - # We will build objects and dependencies in a subdirectory because
1.8977 - # it helps to detect inapplicable dependency modes. For instance
1.8978 - # both Tru64's cc and ICC support -MD to output dependencies as a
1.8979 - # side effect of compilation, but ICC will put the dependencies in
1.8980 - # the current directory while Tru64 will put them in the object
1.8984 - am_cv_CC_dependencies_compiler_type=none
1.8985 - if test "$am_compiler_list" = ""; then
1.8986 - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1.8988 - for depmode in $am_compiler_list; do
1.8989 - # Setup a source with many dependencies, because some compilers
1.8990 - # like to wrap large dependency lists on column 80 (with \), and
1.8991 - # we should not choose a depcomp mode which is confused by this.
1.8993 - # We need to recreate these files for each test, as the compiler may
1.8994 - # overwrite some of them when testing with obscure command lines.
1.8995 - # This happens at least with the AIX C compiler.
1.8997 - for i in 1 2 3 4 5 6; do
1.8998 - echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.8999 - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
1.9000 - # Solaris 8's {/usr,}/bin/sh.
1.9001 - touch sub/conftst$i.h
1.9003 - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.9007 - # after this tag, mechanisms are not by side-effect, so they'll
1.9008 - # only be used when explicitly requested
1.9009 - if test "x$enable_dependency_tracking" = xyes; then
1.9017 - # We check with `-c' and `-o' for the sake of the "dashmstdout"
1.9018 - # mode. It turns out that the SunPro C++ compiler does not properly
1.9019 - # handle `-M -o', and we need to detect this.
1.9020 - if depmode=$depmode \
1.9021 - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
1.9022 - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.9023 - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
1.9024 - >/dev/null 2>conftest.err &&
1.9025 - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.9026 - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.9027 - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.9028 - # icc doesn't choke on unknown options, it will just issue warnings
1.9029 - # or remarks (even with -Werror). So we grep stderr for any message
1.9030 - # that says an option was ignored or not supported.
1.9031 - # When given -MP, icc 7.0 and 7.1 complain thusly:
1.9032 - # icc: Command line warning: ignoring option '-M'; no argument required
1.9033 - # The diagnosis changed in icc 8.0:
1.9034 - # icc: Command line remark: option '-MP' not supported
1.9035 - if (grep 'ignoring option' conftest.err ||
1.9036 - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
1.9037 - am_cv_CC_dependencies_compiler_type=$depmode
1.9046 - am_cv_CC_dependencies_compiler_type=none
1.9050 -{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
1.9051 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
1.9052 -CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
1.9057 - test "x$enable_dependency_tracking" != xno \
1.9058 - && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
1.9060 - am__fastdepCC_FALSE='#'
1.9062 - am__fastdepCC_TRUE='#'
1.9068 -am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
1.9071 -ac_cpp='$CPP $CPPFLAGS'
1.9072 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.9073 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.9074 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.9075 -{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
1.9076 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
1.9077 -# On Suns, sometimes $CPP names a directory.
1.9078 -if test -n "$CPP" && test -d "$CPP"; then
1.9081 -if test -z "$CPP"; then
1.9082 - if test "${ac_cv_prog_CPP+set}" = set; then
1.9083 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.9085 - # Double quotes because CPP needs to be expanded
1.9086 - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
1.9089 -for ac_c_preproc_warn_flag in '' yes
1.9091 - # Use a header file that comes with gcc, so configuring glibc
1.9092 - # with a fresh cross-compiler works.
1.9093 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.9094 - # <limits.h> exists even on freestanding compilers.
1.9095 - # On the NeXT, cc -E runs the code through the compiler's parser,
1.9096 - # not just through cpp. "Syntax error" is here to catch this case.
1.9097 - cat >conftest.$ac_ext <<_ACEOF
1.9100 -cat confdefs.h >>conftest.$ac_ext
1.9101 -cat >>conftest.$ac_ext <<_ACEOF
1.9110 -if { (ac_try="$ac_cpp conftest.$ac_ext"
1.9112 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.9113 - *) ac_try_echo=$ac_try;;
1.9115 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.9116 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.9118 - grep -v '^ *+' conftest.er1 >conftest.err
1.9121 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.9122 - (exit $ac_status); } >/dev/null && {
1.9123 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1.9124 - test ! -s conftest.err
1.9128 - echo "$as_me: failed program was:" >&5
1.9129 -sed 's/^/| /' conftest.$ac_ext >&5
1.9131 - # Broken: fails on valid input.
1.9135 -rm -f conftest.err conftest.$ac_ext
1.9137 - # OK, works on sane cases. Now check whether nonexistent headers
1.9138 - # can be detected and how.
1.9139 - cat >conftest.$ac_ext <<_ACEOF
1.9142 -cat confdefs.h >>conftest.$ac_ext
1.9143 -cat >>conftest.$ac_ext <<_ACEOF
1.9145 -#include <ac_nonexistent.h>
1.9147 -if { (ac_try="$ac_cpp conftest.$ac_ext"
1.9149 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.9150 - *) ac_try_echo=$ac_try;;
1.9152 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.9153 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.9155 - grep -v '^ *+' conftest.er1 >conftest.err
1.9158 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.9159 - (exit $ac_status); } >/dev/null && {
1.9160 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1.9161 - test ! -s conftest.err
1.9163 - # Broken: success on invalid input.
1.9166 - echo "$as_me: failed program was:" >&5
1.9167 -sed 's/^/| /' conftest.$ac_ext >&5
1.9174 -rm -f conftest.err conftest.$ac_ext
1.9177 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.9178 -rm -f conftest.err conftest.$ac_ext
1.9179 -if $ac_preproc_ok; then
1.9191 -{ echo "$as_me:$LINENO: result: $CPP" >&5
1.9192 -echo "${ECHO_T}$CPP" >&6; }
1.9194 -for ac_c_preproc_warn_flag in '' yes
1.9196 - # Use a header file that comes with gcc, so configuring glibc
1.9197 - # with a fresh cross-compiler works.
1.9198 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.9199 - # <limits.h> exists even on freestanding compilers.
1.9200 - # On the NeXT, cc -E runs the code through the compiler's parser,
1.9201 - # not just through cpp. "Syntax error" is here to catch this case.
1.9202 - cat >conftest.$ac_ext <<_ACEOF
1.9205 -cat confdefs.h >>conftest.$ac_ext
1.9206 -cat >>conftest.$ac_ext <<_ACEOF
1.9215 -if { (ac_try="$ac_cpp conftest.$ac_ext"
1.9217 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.9218 - *) ac_try_echo=$ac_try;;
1.9220 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.9221 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.9223 - grep -v '^ *+' conftest.er1 >conftest.err
1.9226 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.9227 - (exit $ac_status); } >/dev/null && {
1.9228 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1.9229 - test ! -s conftest.err
1.9233 - echo "$as_me: failed program was:" >&5
1.9234 -sed 's/^/| /' conftest.$ac_ext >&5
1.9236 - # Broken: fails on valid input.
1.9240 -rm -f conftest.err conftest.$ac_ext
1.9242 - # OK, works on sane cases. Now check whether nonexistent headers
1.9243 - # can be detected and how.
1.9244 - cat >conftest.$ac_ext <<_ACEOF
1.9247 -cat confdefs.h >>conftest.$ac_ext
1.9248 -cat >>conftest.$ac_ext <<_ACEOF
1.9250 -#include <ac_nonexistent.h>
1.9252 -if { (ac_try="$ac_cpp conftest.$ac_ext"
1.9254 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.9255 - *) ac_try_echo=$ac_try;;
1.9257 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.9258 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.9260 - grep -v '^ *+' conftest.er1 >conftest.err
1.9263 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.9264 - (exit $ac_status); } >/dev/null && {
1.9265 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1.9266 - test ! -s conftest.err
1.9268 - # Broken: success on invalid input.
1.9271 - echo "$as_me: failed program was:" >&5
1.9272 -sed 's/^/| /' conftest.$ac_ext >&5
1.9279 -rm -f conftest.err conftest.$ac_ext
1.9282 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.9283 -rm -f conftest.err conftest.$ac_ext
1.9284 -if $ac_preproc_ok; then
1.9287 - { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
1.9288 -See \`config.log' for more details." >&5
1.9289 -echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
1.9290 -See \`config.log' for more details." >&2;}
1.9291 - { (exit 1); exit 1; }; }
1.9295 -ac_cpp='$CPP $CPPFLAGS'
1.9296 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.9297 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.9298 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.9302 -test -n "$build_alias" && ac_build_tool_prefix=$build_alias-
1.9304 -if test -z "$CC_FOR_BUILD"; then
1.9305 - if test "$#" = yes; then
1.9306 - { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
1.9307 -See \`config.log' for more details." >&5
1.9308 -echo "$as_me: error: cannot run test program while cross compiling
1.9309 -See \`config.log' for more details." >&2;}
1.9310 - { (exit 1); exit 1; }; }
1.9312 - cat >conftest.$ac_ext <<_ACEOF
1.9315 -rm -f conftest$ac_exeext
1.9316 -if { (ac_try="$ac_link"
1.9318 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.9319 - *) ac_try_echo=$ac_try;;
1.9321 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.9322 - (eval "$ac_link") 2>&5
1.9324 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.9325 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.9326 - { (case "(($ac_try" in
1.9327 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.9328 - *) ac_try_echo=$ac_try;;
1.9330 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.9331 - (eval "$ac_try") 2>&5
1.9333 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.9334 - (exit $ac_status); }; }; then
1.9337 - echo "$as_me: program exited with status $ac_status" >&5
1.9338 -echo "$as_me: failed program was:" >&5
1.9339 -sed 's/^/| /' conftest.$ac_ext >&5
1.9342 -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.9350 -ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
1.9351 -ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
1.9352 -ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.9353 -ac_build_compiler_gnu=$ac_cv_c_compiler_gnu
1.9354 -if test -n "$ac_build_tool_prefix"; then
1.9355 - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1.9356 -set dummy ${ac_build_tool_prefix}gcc; ac_word=$2
1.9357 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.9358 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.9359 -if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then
1.9360 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.9362 - if test -n "$CC_FOR_BUILD"; then
1.9363 - ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
1.9365 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.9369 - test -z "$as_dir" && as_dir=.
1.9370 - for ac_exec_ext in '' $ac_executable_extensions; do
1.9371 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.9372 - ac_cv_prog_CC_FOR_BUILD="${ac_build_tool_prefix}gcc"
1.9373 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.9382 -CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
1.9383 -if test -n "$CC_FOR_BUILD"; then
1.9384 - { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&5
1.9385 -echo "${ECHO_T}$CC_FOR_BUILD" >&6; }
1.9387 - { echo "$as_me:$LINENO: result: no" >&5
1.9388 -echo "${ECHO_T}no" >&6; }
1.9393 -if test -z "$ac_cv_prog_CC_FOR_BUILD"; then
1.9394 - ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD
1.9395 - # Extract the first word of "gcc", so it can be a program name with args.
1.9396 -set dummy gcc; ac_word=$2
1.9397 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.9398 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.9399 -if test "${ac_cv_prog_ac_ct_CC_FOR_BUILD+set}" = set; then
1.9400 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.9402 - if test -n "$ac_ct_CC_FOR_BUILD"; then
1.9403 - ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
1.9405 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.9409 - test -z "$as_dir" && as_dir=.
1.9410 - for ac_exec_ext in '' $ac_executable_extensions; do
1.9411 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.9412 - ac_cv_prog_ac_ct_CC_FOR_BUILD="gcc"
1.9413 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.9422 -ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD
1.9423 -if test -n "$ac_ct_CC_FOR_BUILD"; then
1.9424 - { echo "$as_me:$LINENO: result: $ac_ct_CC_FOR_BUILD" >&5
1.9425 -echo "${ECHO_T}$ac_ct_CC_FOR_BUILD" >&6; }
1.9427 - { echo "$as_me:$LINENO: result: no" >&5
1.9428 -echo "${ECHO_T}no" >&6; }
1.9431 - if test "x$ac_ct_CC_FOR_BUILD" = x; then
1.9434 - case $#:$ac_tool_warned in
1.9436 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1.9437 -whose name does not start with the build triplet. If you think this
1.9438 -configuration is useful to you, please write to autoconf@gnu.org." >&5
1.9439 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1.9440 -whose name does not start with the build triplet. If you think this
1.9441 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1.9444 - CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD
1.9447 - CC_FOR_BUILD="$ac_cv_prog_CC_FOR_BUILD"
1.9450 -if test -z "$CC_FOR_BUILD"; then
1.9451 - if test -n "$ac_build_tool_prefix"; then
1.9452 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1.9453 -set dummy ${ac_build_tool_prefix}cc; ac_word=$2
1.9454 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.9455 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.9456 -if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then
1.9457 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.9459 - if test -n "$CC_FOR_BUILD"; then
1.9460 - ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
1.9462 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.9466 - test -z "$as_dir" && as_dir=.
1.9467 - for ac_exec_ext in '' $ac_executable_extensions; do
1.9468 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.9469 - ac_cv_prog_CC_FOR_BUILD="${ac_build_tool_prefix}cc"
1.9470 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.9479 -CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
1.9480 -if test -n "$CC_FOR_BUILD"; then
1.9481 - { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&5
1.9482 -echo "${ECHO_T}$CC_FOR_BUILD" >&6; }
1.9484 - { echo "$as_me:$LINENO: result: no" >&5
1.9485 -echo "${ECHO_T}no" >&6; }
1.9491 -if test -z "$CC_FOR_BUILD"; then
1.9492 - # Extract the first word of "cc", so it can be a program name with args.
1.9493 -set dummy cc; ac_word=$2
1.9494 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.9495 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.9496 -if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then
1.9497 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.9499 - if test -n "$CC_FOR_BUILD"; then
1.9500 - ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
1.9503 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.9507 - test -z "$as_dir" && as_dir=.
1.9508 - for ac_exec_ext in '' $ac_executable_extensions; do
1.9509 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.9510 - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1.9514 - ac_cv_prog_CC_FOR_BUILD="cc"
1.9515 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.9522 -if test $ac_prog_rejected = yes; then
1.9523 - # We found a bogon in the path, so make sure we never use it.
1.9524 - set dummy $ac_cv_prog_CC_FOR_BUILD
1.9526 - if test $# != 0; then
1.9527 - # We chose a different compiler from the bogus one.
1.9528 - # However, it has the same basename, so the bogon will be chosen
1.9529 - # first if we set CC_FOR_BUILD to just the basename; use the full file name.
1.9531 - ac_cv_prog_CC_FOR_BUILD="$as_dir/$ac_word${1+' '}$@"
1.9536 -CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
1.9537 -if test -n "$CC_FOR_BUILD"; then
1.9538 - { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&5
1.9539 -echo "${ECHO_T}$CC_FOR_BUILD" >&6; }
1.9541 - { echo "$as_me:$LINENO: result: no" >&5
1.9542 -echo "${ECHO_T}no" >&6; }
1.9547 -if test -z "$CC_FOR_BUILD"; then
1.9548 - if test -n "$ac_build_tool_prefix"; then
1.9549 - for ac_prog in cl.exe
1.9551 - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1.9552 -set dummy $ac_build_tool_prefix$ac_prog; ac_word=$2
1.9553 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.9554 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.9555 -if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then
1.9556 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.9558 - if test -n "$CC_FOR_BUILD"; then
1.9559 - ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
1.9561 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.9565 - test -z "$as_dir" && as_dir=.
1.9566 - for ac_exec_ext in '' $ac_executable_extensions; do
1.9567 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.9568 - ac_cv_prog_CC_FOR_BUILD="$ac_build_tool_prefix$ac_prog"
1.9569 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.9578 -CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
1.9579 -if test -n "$CC_FOR_BUILD"; then
1.9580 - { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&5
1.9581 -echo "${ECHO_T}$CC_FOR_BUILD" >&6; }
1.9583 - { echo "$as_me:$LINENO: result: no" >&5
1.9584 -echo "${ECHO_T}no" >&6; }
1.9588 - test -n "$CC_FOR_BUILD" && break
1.9591 -if test -z "$CC_FOR_BUILD"; then
1.9592 - ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD
1.9593 - for ac_prog in cl.exe
1.9595 - # Extract the first word of "$ac_prog", so it can be a program name with args.
1.9596 -set dummy $ac_prog; ac_word=$2
1.9597 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.9598 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.9599 -if test "${ac_cv_prog_ac_ct_CC_FOR_BUILD+set}" = set; then
1.9600 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.9602 - if test -n "$ac_ct_CC_FOR_BUILD"; then
1.9603 - ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
1.9605 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.9609 - test -z "$as_dir" && as_dir=.
1.9610 - for ac_exec_ext in '' $ac_executable_extensions; do
1.9611 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.9612 - ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_prog"
1.9613 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.9622 -ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD
1.9623 -if test -n "$ac_ct_CC_FOR_BUILD"; then
1.9624 - { echo "$as_me:$LINENO: result: $ac_ct_CC_FOR_BUILD" >&5
1.9625 -echo "${ECHO_T}$ac_ct_CC_FOR_BUILD" >&6; }
1.9627 - { echo "$as_me:$LINENO: result: no" >&5
1.9628 -echo "${ECHO_T}no" >&6; }
1.9632 - test -n "$ac_ct_CC_FOR_BUILD" && break
1.9635 - if test "x$ac_ct_CC_FOR_BUILD" = x; then
1.9638 - case $#:$ac_tool_warned in
1.9640 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1.9641 -whose name does not start with the build triplet. If you think this
1.9642 -configuration is useful to you, please write to autoconf@gnu.org." >&5
1.9643 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1.9644 -whose name does not start with the build triplet. If you think this
1.9645 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1.9648 - CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD
1.9655 -test -z "$CC_FOR_BUILD" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1.9656 -See \`config.log' for more details." >&5
1.9657 -echo "$as_me: error: no acceptable C compiler found in \$PATH
1.9658 -See \`config.log' for more details." >&2;}
1.9659 - { (exit 1); exit 1; }; }
1.9661 -# Provide some information about the compiler.
1.9662 -echo "$as_me:$LINENO: checking for C compiler version" >&5
1.9663 -ac_compiler=`set X $ac_build_compile; echo $2`
1.9664 -{ (ac_try="$ac_compiler --version >&5"
1.9666 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.9667 - *) ac_try_echo=$ac_try;;
1.9669 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.9670 - (eval "$ac_compiler --version >&5") 2>&5
1.9672 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.9674 -{ (ac_try="$ac_compiler -v >&5"
1.9676 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.9677 - *) ac_try_echo=$ac_try;;
1.9679 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.9680 - (eval "$ac_compiler -v >&5") 2>&5
1.9682 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.9684 -{ (ac_try="$ac_compiler -V >&5"
1.9686 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.9687 - *) ac_try_echo=$ac_try;;
1.9689 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.9690 - (eval "$ac_compiler -V >&5") 2>&5
1.9692 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.9695 -{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1.9696 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
1.9697 -if test "${ac_cv_c_compiler_gnu+set}" = set; then
1.9698 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.9700 - cat >conftest.$ac_ext <<_ACEOF
1.9703 -cat confdefs.h >>conftest.$ac_ext
1.9704 -cat >>conftest.$ac_ext <<_ACEOF
1.9718 -rm -f conftest.$ac_build_objext
1.9719 -if { (ac_try="$ac_build_compile"
1.9721 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.9722 - *) ac_try_echo=$ac_try;;
1.9724 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.9725 - (eval "$ac_build_compile") 2>conftest.er1
1.9727 - grep -v '^ *+' conftest.er1 >conftest.err
1.9730 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.9731 - (exit $ac_status); } && {
1.9732 - test -z "$ac_c_werror_flag" ||
1.9733 - test ! -s conftest.err
1.9734 - } && test -s conftest.$ac_build_objext; then
1.9735 - ac_build_compiler_gnu=yes
1.9737 - echo "$as_me: failed program was:" >&5
1.9738 -sed 's/^/| /' conftest.$ac_ext >&5
1.9740 - ac_build_compiler_gnu=no
1.9743 -rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
1.9744 -ac_cv_c_compiler_gnu=$ac_build_compiler_gnu
1.9747 -{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1.9748 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
1.9749 -GCC=`test $ac_build_compiler_gnu = yes && echo yes`
1.9750 -ac_test_CFLAGS=${CFLAGS_FOR_BUILD+set}
1.9751 -ac_save_CFLAGS=$CFLAGS_FOR_BUILD
1.9752 -{ echo "$as_me:$LINENO: checking whether $CC_FOR_BUILD accepts -g" >&5
1.9753 -echo $ECHO_N "checking whether $CC_FOR_BUILD accepts -g... $ECHO_C" >&6; }
1.9754 -if test "${ac_cv_build_prog_cc_g+set}" = set; then
1.9755 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.9757 - ac_save_c_werror_flag=$ac_c_werror_flag
1.9759 - ac_cv_build_prog_cc_g=no
1.9760 - CFLAGS_FOR_BUILD="-g"
1.9761 - cat >conftest.$ac_ext <<_ACEOF
1.9764 -cat confdefs.h >>conftest.$ac_ext
1.9765 -cat >>conftest.$ac_ext <<_ACEOF
1.9776 -rm -f conftest.$ac_build_objext
1.9777 -if { (ac_try="$ac_build_compile"
1.9779 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.9780 - *) ac_try_echo=$ac_try;;
1.9782 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.9783 - (eval "$ac_build_compile") 2>conftest.er1
1.9785 - grep -v '^ *+' conftest.er1 >conftest.err
1.9788 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.9789 - (exit $ac_status); } && {
1.9790 - test -z "$ac_c_werror_flag" ||
1.9791 - test ! -s conftest.err
1.9792 - } && test -s conftest.$ac_build_objext; then
1.9793 - ac_cv_build_prog_cc_g=yes
1.9795 - echo "$as_me: failed program was:" >&5
1.9796 -sed 's/^/| /' conftest.$ac_ext >&5
1.9799 - cat >conftest.$ac_ext <<_ACEOF
1.9802 -cat confdefs.h >>conftest.$ac_ext
1.9803 -cat >>conftest.$ac_ext <<_ACEOF
1.9814 -rm -f conftest.$ac_build_objext
1.9815 -if { (ac_try="$ac_build_compile"
1.9817 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.9818 - *) ac_try_echo=$ac_try;;
1.9820 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.9821 - (eval "$ac_build_compile") 2>conftest.er1
1.9823 - grep -v '^ *+' conftest.er1 >conftest.err
1.9826 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.9827 - (exit $ac_status); } && {
1.9828 - test -z "$ac_c_werror_flag" ||
1.9829 - test ! -s conftest.err
1.9830 - } && test -s conftest.$ac_build_objext; then
1.9833 - echo "$as_me: failed program was:" >&5
1.9834 -sed 's/^/| /' conftest.$ac_ext >&5
1.9836 - ac_c_werror_flag=$ac_save_c_werror_flag
1.9837 - CFLAGS_FOR_BUILD="-g"
1.9838 - cat >conftest.$ac_ext <<_ACEOF
1.9841 -cat confdefs.h >>conftest.$ac_ext
1.9842 -cat >>conftest.$ac_ext <<_ACEOF
1.9853 -rm -f conftest.$ac_build_objext
1.9854 -if { (ac_try="$ac_build_compile"
1.9856 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.9857 - *) ac_try_echo=$ac_try;;
1.9859 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.9860 - (eval "$ac_build_compile") 2>conftest.er1
1.9862 - grep -v '^ *+' conftest.er1 >conftest.err
1.9865 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.9866 - (exit $ac_status); } && {
1.9867 - test -z "$ac_c_werror_flag" ||
1.9868 - test ! -s conftest.err
1.9869 - } && test -s conftest.$ac_build_objext; then
1.9870 - ac_cv_build_prog_cc_g=yes
1.9872 - echo "$as_me: failed program was:" >&5
1.9873 -sed 's/^/| /' conftest.$ac_ext >&5
1.9878 -rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
1.9881 -rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
1.9884 -rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
1.9885 - ac_c_werror_flag=$ac_save_c_werror_flag
1.9887 -{ echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_g" >&5
1.9888 -echo "${ECHO_T}$ac_cv_build_prog_cc_g" >&6; }
1.9889 -if test "$ac_test_CFLAGS" = set; then
1.9890 - CFLAGS_FOR_BUILD=$ac_save_CFLAGS
1.9891 -elif test $ac_cv_build_prog_cc_g = yes; then
1.9892 - if test "$GCC" = yes; then
1.9893 - CFLAGS_FOR_BUILD="-g -O2"
1.9895 - CFLAGS_FOR_BUILD="-g"
1.9898 - if test "$GCC" = yes; then
1.9899 - CFLAGS_FOR_BUILD="-O2"
1.9904 -{ echo "$as_me:$LINENO: checking for $CC_FOR_BUILD option to accept ISO C89" >&5
1.9905 -echo $ECHO_N "checking for $CC_FOR_BUILD option to accept ISO C89... $ECHO_C" >&6; }
1.9906 -if test "${ac_cv_build_prog_cc_stdc+set}" = set; then
1.9907 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.9909 - ac_cv_build_prog_cc_stdc=no
1.9910 -ac_save_CC=$CC_FOR_BUILD
1.9911 -cat >conftest.$ac_ext <<_ACEOF
1.9914 -cat confdefs.h >>conftest.$ac_ext
1.9915 -cat >>conftest.$ac_ext <<_ACEOF
1.9919 -#include <sys/types.h>
1.9921 -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1.9922 -struct buf { int x; };
1.9923 -FILE * (*rcsopen) (struct buf *, struct stat *, int);
1.9930 -static char *f (char * (*g) (char **, int), char **p, ...)
1.9935 - s = g (p, va_arg (v,int));
1.9940 -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1.9941 - function prototypes and stuff, but not '\xHH' hex character constants.
1.9942 - These don't provoke an error unfortunately, instead are silently treated
1.9943 - as 'x'. The following induces an error, until -std is added to get
1.9944 - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
1.9945 - array size at least. It's necessary to write '\x00'==0 to get something
1.9946 - that's true only with -std. */
1.9947 -int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1.9949 -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
1.9950 - inside strings and character constants. */
1.9952 -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
1.9954 -int test (int i, double x);
1.9955 -struct s1 {int (*f) (int a);};
1.9956 -struct s2 {int (*f) (double a);};
1.9957 -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1.9963 -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
1.9968 -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
1.9969 - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1.9971 - CC_FOR_BUILD="$ac_save_CC $ac_arg"
1.9972 - rm -f conftest.$ac_build_objext
1.9973 -if { (ac_try="$ac_build_compile"
1.9975 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.9976 - *) ac_try_echo=$ac_try;;
1.9978 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.9979 - (eval "$ac_build_compile") 2>conftest.er1
1.9981 - grep -v '^ *+' conftest.er1 >conftest.err
1.9984 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.9985 - (exit $ac_status); } && {
1.9986 - test -z "$ac_c_werror_flag" ||
1.9987 - test ! -s conftest.err
1.9988 - } && test -s conftest.$ac_build_objext; then
1.9989 - ac_cv_build_prog_cc_stdc=$ac_arg
1.9991 - echo "$as_me: failed program was:" >&5
1.9992 -sed 's/^/| /' conftest.$ac_ext >&5
1.9997 -rm -f core conftest.err conftest.$ac_build_objext
1.9998 - test "x$ac_cv_build_prog_cc_stdc" != "xno" && break
1.10005 -case "x$ac_cv_build_prog_cc_stdc" in
1.10007 - { echo "$as_me:$LINENO: result: none needed" >&5
1.10008 -echo "${ECHO_T}none needed" >&6; } ;;
1.10010 - { echo "$as_me:$LINENO: result: unsupported" >&5
1.10011 -echo "${ECHO_T}unsupported" >&6; } ;;
1.10013 - CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_build_prog_cc_stdc"
1.10014 - { echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_stdc" >&5
1.10015 -echo "${ECHO_T}$ac_cv_build_prog_cc_stdc" >&6; } ;;
1.10020 -ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
1.10021 -ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
1.10022 -ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.10023 -ac_build_compiler_gnu=$ac_cv_c_compiler_gnu
1.10025 -depcc="$CC_FOR_BUILD" am_compiler_list=
1.10027 -{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
1.10028 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
1.10029 -if test "${am_cv_CC_FOR_BUILD_dependencies_compiler_type+set}" = set; then
1.10030 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.10032 - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1.10033 - # We make a subdir and do the tests there. Otherwise we can end up
1.10034 - # making bogus files that we don't know about and never remove. For
1.10035 - # instance it was reported that on HP-UX the gcc test will end up
1.10036 - # making a dummy file named `D' -- because `-MD' means `put the output
1.10039 - # Copy depcomp to subdir because otherwise we won't find it if we're
1.10040 - # using a relative directory.
1.10041 - cp "$am_depcomp" conftest.dir
1.10043 - # We will build objects and dependencies in a subdirectory because
1.10044 - # it helps to detect inapplicable dependency modes. For instance
1.10045 - # both Tru64's cc and ICC support -MD to output dependencies as a
1.10046 - # side effect of compilation, but ICC will put the dependencies in
1.10047 - # the current directory while Tru64 will put them in the object
1.10051 - am_cv_CC_FOR_BUILD_dependencies_compiler_type=none
1.10052 - if test "$am_compiler_list" = ""; then
1.10053 - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1.10055 - for depmode in $am_compiler_list; do
1.10056 - # Setup a source with many dependencies, because some compilers
1.10057 - # like to wrap large dependency lists on column 80 (with \), and
1.10058 - # we should not choose a depcomp mode which is confused by this.
1.10060 - # We need to recreate these files for each test, as the compiler may
1.10061 - # overwrite some of them when testing with obscure command lines.
1.10062 - # This happens at least with the AIX C compiler.
1.10065 - echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.10066 - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
1.10067 - # Solaris 8's {/usr,}/bin/sh.
1.10070 - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.10074 - # after this tag, mechanisms are not by side-effect, so they'll
1.10075 - # only be used when explicitly requested
1.10076 - if test "x$enable_dependency_tracking" = xyes; then
1.10084 - # We check with `-c' and `-o' for the sake of the "dashmstdout"
1.10085 - # mode. It turns out that the SunPro C++ compiler does not properly
1.10086 - # handle `-M -o', and we need to detect this.
1.10088 - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
1.10089 - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.10090 - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
1.10091 - >/dev/null 2>conftest.err &&
1.10092 - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.10093 - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.10094 - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.10095 - # icc doesn't choke on unknown options, it will just issue warnings
1.10096 - # or remarks (even with -Werror). So we grep stderr for any message
1.10097 - # that says an option was ignored or not supported.
1.10098 - # When given -MP, icc 7.0 and 7.1 complain thusly:
1.10099 - # icc: Command line warning: ignoring option '-M'; no argument required
1.10100 - # The diagnosis changed in icc 8.0:
1.10101 - # icc: Command line remark: option '-MP' not supported
1.10102 - if (grep 'ignoring option' conftest.err ||
1.10103 - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
1.10104 - am_cv_CC_FOR_BUILD_dependencies_compiler_type=$depmode
1.10113 - am_cv_CC_FOR_BUILD_dependencies_compiler_type=none
1.10117 -{ echo "$as_me:$LINENO: result: $am_cv_CC_FOR_BUILD_dependencies_compiler_type" >&5
1.10118 -echo "${ECHO_T}$am_cv_CC_FOR_BUILD_dependencies_compiler_type" >&6; }
1.10119 -CC_FOR_BUILDDEPMODE=depmode=$am_cv_CC_FOR_BUILD_dependencies_compiler_type
1.10124 - test "x$enable_dependency_tracking" != xno \
1.10125 - && test "$am_cv_CC_FOR_BUILD_dependencies_compiler_type" = gcc3; then
1.10126 - am__fastdepCC_FOR_BUILD_TRUE=
1.10127 - am__fastdepCC_FOR_BUILD_FALSE='#'
1.10129 - am__fastdepCC_FOR_BUILD_TRUE='#'
1.10130 - am__fastdepCC_FOR_BUILD_FALSE=
1.10134 - case $ac_cv_build_prog_cc_stdc in
1.10135 - no) ac_cv_build_prog_cc_stdc=no; ac_cv_build_prog_cc_stdc=no ;;
1.10136 - *) { echo "$as_me:$LINENO: checking for $CC_FOR_BUILD option to accept ISO C99" >&5
1.10137 -echo $ECHO_N "checking for $CC_FOR_BUILD option to accept ISO C99... $ECHO_C" >&6; }
1.10138 -if test "${ac_cv_build_prog_cc_stdc+set}" = set; then
1.10139 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.10141 - ac_cv_build_prog_cc_stdc=no
1.10143 -cat >conftest.$ac_ext <<_ACEOF
1.10146 -cat confdefs.h >>conftest.$ac_ext
1.10147 -cat >>conftest.$ac_ext <<_ACEOF
1.10155 -// Check varargs macros. These examples are taken from C99 6.10.3.5.
1.10156 -#define debug(...) fprintf (stderr, __VA_ARGS__)
1.10157 -#define showlist(...) puts (#__VA_ARGS__)
1.10158 -#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
1.10160 -test_varargs_macros (void)
1.10166 - showlist (The first, second, and third items.);
1.10167 - report (x>y, "x is %d but y is %d", x, y);
1.10171 -#define BIG64 18446744073709551615ull
1.10172 -#define BIG32 4294967295ul
1.10173 -#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
1.10175 - your preprocessor is broken;
1.10179 - your preprocessor is broken;
1.10181 -static long long int bignum = -9223372036854775807LL;
1.10182 -static unsigned long long int ubignum = BIG64;
1.10199 -test_restrict (ccp restrict text)
1.10201 - // See if C++-style comments work.
1.10202 - // Iterate through items via the restricted pointer.
1.10203 - // Also check for declarations in for loops.
1.10204 - for (unsigned int i = 0; *(text+i) != '\0'; ++i)
1.10209 -// Check varargs and va_copy.
1.10211 -test_varargs (const char *format, ...)
1.10216 - va_copy (args_copy, args);
1.10227 - str = va_arg (args_copy, const char *);
1.10230 - number = va_arg (args_copy, int);
1.10233 - fnumber = va_arg (args_copy, double);
1.10251 - if (test_restrict ("String literal") == 0)
1.10253 - char *restrict newvar = "Another string";
1.10256 - test_varargs ("s, d' f .", "string", 65, 34.234);
1.10259 - // Check flexible array members.
1.10260 - struct incomplete_array *ia =
1.10261 - malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
1.10263 - for (int i = 0; i < ia->datasize; ++i)
1.10266 - // Check named initializers.
1.10269 - .name = L"Test wide string",
1.10275 - int dynamic_array[ni.number];
1.10276 - dynamic_array[ni.number - 1] = 543;
1.10278 - // work around unused variable warnings
1.10279 - return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
1.10280 - || dynamic_array[ni.number - 1] != 543);
1.10286 -for ac_arg in '' -std=gnu99 -c99 -qlanglvl=extc99
1.10288 - CC_FOR_BUILD="$ac_save_CC $ac_arg"
1.10289 - rm -f conftest.$ac_build_objext
1.10290 -if { (ac_try="$ac_build_compile"
1.10292 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.10295 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.10296 - (eval "$ac_build_compile") 2>conftest.er1
1.10298 - grep -v '^ *+' conftest.er1 >conftest.err
1.10301 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.10302 - (exit $ac_status); } && {
1.10303 - test -z "$ac_c_werror_flag" ||
1.10305 - } && test -s conftest.$ac_build_objext; then
1.10306 - ac_cv_build_prog_cc_stdc=$ac_arg
1.10308 - echo "$as_me: failed program was:" >&5
1.10309 -sed 's/^/| /' conftest.$ac_ext >&5
1.10314 -rm -f core conftest.err conftest.$ac_build_objext
1.10315 - test "x$ac_cv_build_prog_cc_stdc" != "xno" && break
1.10322 -case "x$ac_cv_build_prog_cc_stdc" in
1.10324 - { echo "$as_me:$LINENO: result: none needed" >&5
1.10325 -echo "${ECHO_T}none needed" >&6; } ;;
1.10327 - { echo "$as_me:$LINENO: result: unsupported" >&5
1.10328 -echo "${ECHO_T}unsupported" >&6; } ;;
1.10330 - CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_build_prog_cc_stdc"
1.10331 - { echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_stdc" >&5
1.10332 -echo "${ECHO_T}$ac_cv_build_prog_cc_stdc" >&6; } ;;
1.10334 -if test "x$ac_cv_build_prog_cc_stdc" != xno; then
1.10335 - ac_cv_build_prog_cc_stdc=$ac_cv_build_prog_cc_stdc
1.10337 - { echo "$as_me:$LINENO: checking for $CC_FOR_BUILD option to accept ISO C89" >&5
1.10338 -echo $ECHO_N "checking for $CC_FOR_BUILD option to accept ISO C89... $ECHO_C" >&6; }
1.10339 -if test "${ac_cv_build_prog_cc_stdc+set}" = set; then
1.10340 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.10342 - ac_cv_build_prog_cc_stdc=no
1.10344 -cat >conftest.$ac_ext <<_ACEOF
1.10347 -cat confdefs.h >>conftest.$ac_ext
1.10348 -cat >>conftest.$ac_ext <<_ACEOF
1.10354 -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1.10356 -FILE * (*rcsopen) (struct buf *, struct stat *, int);
1.10363 -static char *f (char * (*g) (char **, int), char **p, ...)
1.10368 - s = g (p, va_arg (v,int));
1.10373 -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1.10374 - function prototypes and stuff, but not '\xHH' hex character constants.
1.10375 - These don't provoke an error unfortunately, instead are silently treated
1.10376 - as 'x'. The following induces an error, until -std is added to get
1.10377 - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
1.10378 - array size at least. It's necessary to write '\x00'==0 to get something
1.10379 - that's true only with -std. */
1.10380 -int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1.10382 -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
1.10383 - inside strings and character constants. */
1.10385 -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
1.10387 -int test (int i, double x);
1.10388 -struct s1 {int (*f) (int a);};
1.10389 -struct s2 {int (*f) (double a);};
1.10390 -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1.10396 -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
1.10401 -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
1.10402 - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1.10404 - CC_FOR_BUILD="$ac_save_CC $ac_arg"
1.10405 - rm -f conftest.$ac_build_objext
1.10406 -if { (ac_try="$ac_build_compile"
1.10408 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.10411 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.10412 - (eval "$ac_build_compile") 2>conftest.er1
1.10414 - grep -v '^ *+' conftest.er1 >conftest.err
1.10417 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.10418 - (exit $ac_status); } && {
1.10419 - test -z "$ac_c_werror_flag" ||
1.10421 - } && test -s conftest.$ac_build_objext; then
1.10422 - ac_cv_build_prog_cc_stdc=$ac_arg
1.10424 - echo "$as_me: failed program was:" >&5
1.10425 -sed 's/^/| /' conftest.$ac_ext >&5
1.10430 -rm -f core conftest.err conftest.$ac_build_objext
1.10431 - test "x$ac_cv_build_prog_cc_stdc" != "xno" && break
1.10438 -case "x$ac_cv_build_prog_cc_stdc" in
1.10440 - { echo "$as_me:$LINENO: result: none needed" >&5
1.10441 -echo "${ECHO_T}none needed" >&6; } ;;
1.10443 - { echo "$as_me:$LINENO: result: unsupported" >&5
1.10444 -echo "${ECHO_T}unsupported" >&6; } ;;
1.10446 - CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_build_prog_cc_stdc"
1.10447 - { echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_stdc" >&5
1.10448 -echo "${ECHO_T}$ac_cv_build_prog_cc_stdc" >&6; } ;;
1.10450 -if test "x$ac_cv_build_prog_cc_stdc" != xno; then
1.10451 - ac_cv_build_prog_cc_stdc=$ac_cv_build_prog_cc_stdc
1.10453 - ac_cv_build_prog_cc_stdc=no
1.10461 - { echo "$as_me:$LINENO: checking for $CC_FOR_BUILD option to accept ISO Standard C" >&5
1.10462 -echo $ECHO_N "checking for $CC_FOR_BUILD option to accept ISO Standard C... $ECHO_C" >&6; }
1.10463 - if test "${ac_cv_build_prog_cc_stdc+set}" = set; then
1.10464 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.10467 - case $ac_cv_build_prog_cc_stdc in
1.10468 - no) { echo "$as_me:$LINENO: result: unsupported" >&5
1.10469 -echo "${ECHO_T}unsupported" >&6; } ;;
1.10470 - '') { echo "$as_me:$LINENO: result: none needed" >&5
1.10471 -echo "${ECHO_T}none needed" >&6; } ;;
1.10472 - *) { echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_stdc" >&5
1.10473 -echo "${ECHO_T}$ac_cv_build_prog_cc_stdc" >&6; } ;;
1.10478 -ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
1.10479 -ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
1.10480 -ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.10481 -ac_build_compiler_gnu=$ac_cv_c_compiler_gnu
1.10482 -{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
1.10483 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
1.10484 -# On Suns, sometimes $CPP names a directory.
1.10485 -if test -n "$CPP_FOR_BUILD" && test -d "$CPP_FOR_BUILD"; then
1.10488 -if test -z "$CPP_FOR_BUILD"; then
1.10489 - if test "${ac_cv_build_prog_CPP+set}" = set; then
1.10490 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.10492 - # Double quotes because CPP needs to be expanded
1.10493 - for CPP_FOR_BUILD in "$CC_FOR_BUILD -E" "$CC_FOR_BUILD -E -traditional-cpp" "/lib/cpp"
1.10496 -for ac_c_preproc_warn_flag in '' yes
1.10498 - # Use a header file that comes with gcc, so configuring glibc
1.10499 - # with a fresh cross-compiler works.
1.10500 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.10501 - # <limits.h> exists even on freestanding compilers.
1.10502 - # On the NeXT, cc -E runs the code through the compiler's parser,
1.10503 - # not just through cpp. "Syntax error" is here to catch this case.
1.10504 - cat >conftest.$ac_ext <<_ACEOF
1.10507 -cat confdefs.h >>conftest.$ac_ext
1.10508 -cat >>conftest.$ac_ext <<_ACEOF
1.10517 -if { (ac_try="$ac_build_cpp conftest.$ac_ext"
1.10519 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.10522 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.10523 - (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er1
1.10525 - grep -v '^ *+' conftest.er1 >conftest.err
1.10528 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.10529 - (exit $ac_status); } >/dev/null && {
1.10530 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1.10535 - echo "$as_me: failed program was:" >&5
1.10536 -sed 's/^/| /' conftest.$ac_ext >&5
1.10538 - # Broken: fails on valid input.
1.10542 -rm -f conftest.err conftest.$ac_ext
1.10544 - # OK, works on sane cases. Now check whether nonexistent headers
1.10545 - # can be detected and how.
1.10546 - cat >conftest.$ac_ext <<_ACEOF
1.10549 -cat confdefs.h >>conftest.$ac_ext
1.10550 -cat >>conftest.$ac_ext <<_ACEOF
1.10552 -#include <ac_nonexistent.h>
1.10554 -if { (ac_try="$ac_build_cpp conftest.$ac_ext"
1.10556 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.10559 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.10560 - (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er1
1.10562 - grep -v '^ *+' conftest.er1 >conftest.err
1.10565 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.10566 - (exit $ac_status); } >/dev/null && {
1.10567 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1.10570 - # Broken: success on invalid input.
1.10573 - echo "$as_me: failed program was:" >&5
1.10574 -sed 's/^/| /' conftest.$ac_ext >&5
1.10581 -rm -f conftest.err conftest.$ac_ext
1.10584 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.10585 -rm -f conftest.err conftest.$ac_ext
1.10591 - ac_cv_build_prog_CPP=$CPP_FOR_BUILD
1.10594 - CPP_FOR_BUILD=$ac_cv_build_prog_CPP
1.10596 - ac_cv_build_prog_CPP=$CPP_FOR_BUILD
1.10598 -{ echo "$as_me:$LINENO: result: $CPP_FOR_BUILD" >&5
1.10599 -echo "${ECHO_T}$CPP_FOR_BUILD" >&6; }
1.10601 -for ac_c_preproc_warn_flag in '' yes
1.10603 - # Use a header file that comes with gcc, so configuring glibc
1.10604 - # with a fresh cross-compiler works.
1.10605 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.10606 - # <limits.h> exists even on freestanding compilers.
1.10607 - # On the NeXT, cc -E runs the code through the compiler's parser,
1.10608 - # not just through cpp. "Syntax error" is here to catch this case.
1.10609 - cat >conftest.$ac_ext <<_ACEOF
1.10612 -cat confdefs.h >>conftest.$ac_ext
1.10613 -cat >>conftest.$ac_ext <<_ACEOF
1.10622 -if { (ac_try="$ac_build_cpp conftest.$ac_ext"
1.10624 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.10627 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.10628 - (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er1
1.10630 - grep -v '^ *+' conftest.er1 >conftest.err
1.10633 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.10634 - (exit $ac_status); } >/dev/null && {
1.10635 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1.10640 - echo "$as_me: failed program was:" >&5
1.10641 -sed 's/^/| /' conftest.$ac_ext >&5
1.10643 - # Broken: fails on valid input.
1.10647 -rm -f conftest.err conftest.$ac_ext
1.10649 - # OK, works on sane cases. Now check whether nonexistent headers
1.10650 - # can be detected and how.
1.10651 - cat >conftest.$ac_ext <<_ACEOF
1.10654 -cat confdefs.h >>conftest.$ac_ext
1.10655 -cat >>conftest.$ac_ext <<_ACEOF
1.10657 -#include <ac_nonexistent.h>
1.10659 -if { (ac_try="$ac_build_cpp conftest.$ac_ext"
1.10661 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.10664 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.10665 - (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er1
1.10667 - grep -v '^ *+' conftest.er1 >conftest.err
1.10670 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.10671 - (exit $ac_status); } >/dev/null && {
1.10672 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1.10675 - # Broken: success on invalid input.
1.10678 - echo "$as_me: failed program was:" >&5
1.10679 -sed 's/^/| /' conftest.$ac_ext >&5
1.10686 -rm -f conftest.err conftest.$ac_ext
1.10689 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.10690 -rm -f conftest.err conftest.$ac_ext
1.10694 - { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP_FOR_BUILD\" fails sanity check
1.10695 -See \`config.log' for more details." >&5
1.10696 -echo "$as_me: error: C preprocessor \"$CPP_FOR_BUILD\" fails sanity check
1.10697 -See \`config.log' for more details." >&2;}
1.10702 -ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
1.10703 -ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
1.10704 -ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.10705 -ac_build_compiler_gnu=$ac_cv_c_compiler_gnu
1.10710 -BUILD_EXEEXT=$ac_build_exeext
1.10711 -BUILD_OBJEXT=$ac_build_objext
1.10714 -ac_cpp='$OBJCPP $CPPFLAGS'
1.10715 -ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.10716 -ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.10717 -ac_compiler_gnu=$ac_cv_objc_compiler_gnu
1.10718 -if test -n "$ac_tool_prefix"; then
1.10719 - for ac_prog in gcc objcc objc cc CC
1.10721 - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1.10722 -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.10723 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.10724 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.10725 -if test "${ac_cv_prog_OBJC+set}" = set; then
1.10726 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.10729 - ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
1.10731 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.10735 - test -z "$as_dir" && as_dir=.
1.10736 - for ac_exec_ext in '' $ac_executable_extensions; do
1.10737 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.10738 - ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
1.10739 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.10750 - { echo "$as_me:$LINENO: result: $OBJC" >&5
1.10751 -echo "${ECHO_T}$OBJC" >&6; }
1.10753 - { echo "$as_me:$LINENO: result: no" >&5
1.10763 - for ac_prog in gcc objcc objc cc CC
1.10765 - # Extract the first word of "$ac_prog", so it can be a program name with args.
1.10766 -set dummy $ac_prog; ac_word=$2
1.10767 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.10768 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.10769 -if test "${ac_cv_prog_ac_ct_OBJC+set}" = set; then
1.10770 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.10772 - if test -n "$ac_ct_OBJC"; then
1.10773 - ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
1.10775 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.10779 - test -z "$as_dir" && as_dir=.
1.10780 - for ac_exec_ext in '' $ac_executable_extensions; do
1.10781 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.10782 - ac_cv_prog_ac_ct_OBJC="$ac_prog"
1.10783 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.10792 -ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
1.10793 -if test -n "$ac_ct_OBJC"; then
1.10794 - { echo "$as_me:$LINENO: result: $ac_ct_OBJC" >&5
1.10795 -echo "${ECHO_T}$ac_ct_OBJC" >&6; }
1.10797 - { echo "$as_me:$LINENO: result: no" >&5
1.10802 - test -n "$ac_ct_OBJC" && break
1.10805 - if test "x$ac_ct_OBJC" = x; then
1.10808 - case $cross_compiling:$ac_tool_warned in
1.10810 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1.10811 -whose name does not start with the host triplet. If you think this
1.10812 -configuration is useful to you, please write to autoconf@gnu.org." >&5
1.10813 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1.10814 -whose name does not start with the host triplet. If you think this
1.10815 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1.10822 -# Provide some information about the compiler.
1.10823 -echo "$as_me:$LINENO: checking for Objective C compiler version" >&5
1.10824 -ac_compiler=`set X $ac_compile; echo $2`
1.10825 -{ (ac_try="$ac_compiler --version >&5"
1.10827 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.10830 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.10831 - (eval "$ac_compiler --version >&5") 2>&5
1.10833 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.10835 -{ (ac_try="$ac_compiler -v >&5"
1.10837 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.10840 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.10841 - (eval "$ac_compiler -v >&5") 2>&5
1.10843 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.10845 -{ (ac_try="$ac_compiler -V >&5"
1.10847 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.10850 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.10851 - (eval "$ac_compiler -V >&5") 2>&5
1.10853 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.10856 -{ echo "$as_me:$LINENO: checking whether we are using the GNU Objective C compiler" >&5
1.10857 -echo $ECHO_N "checking whether we are using the GNU Objective C compiler... $ECHO_C" >&6; }
1.10858 -if test "${ac_cv_objc_compiler_gnu+set}" = set; then
1.10859 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.10861 - cat >conftest.$ac_ext <<_ACEOF
1.10864 -cat confdefs.h >>conftest.$ac_ext
1.10865 -cat >>conftest.$ac_ext <<_ACEOF
1.10880 -if { (ac_try="$ac_compile"
1.10882 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.10885 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.10886 - (eval "$ac_compile") 2>conftest.er1
1.10888 - grep -v '^ *+' conftest.er1 >conftest.err
1.10891 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.10892 - (exit $ac_status); } && {
1.10893 - test -z "$ac_objc_werror_flag" ||
1.10895 - } && test -s conftest.$ac_objext; then
1.10898 - echo "$as_me: failed program was:" >&5
1.10899 -sed 's/^/| /' conftest.$ac_ext >&5
1.10904 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.10905 -ac_cv_objc_compiler_gnu=$ac_compiler_gnu
1.10908 -{ echo "$as_me:$LINENO: result: $ac_cv_objc_compiler_gnu" >&5
1.10909 -echo "${ECHO_T}$ac_cv_objc_compiler_gnu" >&6; }
1.10910 -GOBJC=`test $ac_compiler_gnu = yes && echo yes`
1.10911 -ac_test_OBJCFLAGS=${OBJCFLAGS+set}
1.10912 -ac_save_OBJCFLAGS=$OBJCFLAGS
1.10913 -{ echo "$as_me:$LINENO: checking whether $OBJC accepts -g" >&5
1.10914 -echo $ECHO_N "checking whether $OBJC accepts -g... $ECHO_C" >&6; }
1.10915 -if test "${ac_cv_prog_objc_g+set}" = set; then
1.10916 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.10918 - ac_save_objc_werror_flag=$ac_objc_werror_flag
1.10922 - cat >conftest.$ac_ext <<_ACEOF
1.10925 -cat confdefs.h >>conftest.$ac_ext
1.10926 -cat >>conftest.$ac_ext <<_ACEOF
1.10938 -if { (ac_try="$ac_compile"
1.10940 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.10943 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.10944 - (eval "$ac_compile") 2>conftest.er1
1.10946 - grep -v '^ *+' conftest.er1 >conftest.err
1.10949 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.10950 - (exit $ac_status); } && {
1.10951 - test -z "$ac_objc_werror_flag" ||
1.10953 - } && test -s conftest.$ac_objext; then
1.10956 - echo "$as_me: failed program was:" >&5
1.10957 -sed 's/^/| /' conftest.$ac_ext >&5
1.10960 - cat >conftest.$ac_ext <<_ACEOF
1.10963 -cat confdefs.h >>conftest.$ac_ext
1.10964 -cat >>conftest.$ac_ext <<_ACEOF
1.10976 -if { (ac_try="$ac_compile"
1.10978 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.10981 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.10982 - (eval "$ac_compile") 2>conftest.er1
1.10984 - grep -v '^ *+' conftest.er1 >conftest.err
1.10987 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.10988 - (exit $ac_status); } && {
1.10989 - test -z "$ac_objc_werror_flag" ||
1.10991 - } && test -s conftest.$ac_objext; then
1.10994 - echo "$as_me: failed program was:" >&5
1.10995 -sed 's/^/| /' conftest.$ac_ext >&5
1.10997 - ac_objc_werror_flag=$ac_save_objc_werror_flag
1.10999 - cat >conftest.$ac_ext <<_ACEOF
1.11002 -cat confdefs.h >>conftest.$ac_ext
1.11003 -cat >>conftest.$ac_ext <<_ACEOF
1.11015 -if { (ac_try="$ac_compile"
1.11017 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.11020 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.11021 - (eval "$ac_compile") 2>conftest.er1
1.11023 - grep -v '^ *+' conftest.er1 >conftest.err
1.11026 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.11027 - (exit $ac_status); } && {
1.11028 - test -z "$ac_objc_werror_flag" ||
1.11030 - } && test -s conftest.$ac_objext; then
1.11033 - echo "$as_me: failed program was:" >&5
1.11034 -sed 's/^/| /' conftest.$ac_ext >&5
1.11039 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.11042 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.11045 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.11046 - ac_objc_werror_flag=$ac_save_objc_werror_flag
1.11048 -{ echo "$as_me:$LINENO: result: $ac_cv_prog_objc_g" >&5
1.11049 -echo "${ECHO_T}$ac_cv_prog_objc_g" >&6; }
1.11050 -if test "$ac_test_OBJCFLAGS" = set; then
1.11051 - OBJCFLAGS=$ac_save_OBJCFLAGS
1.11052 -elif test $ac_cv_prog_objc_g = yes; then
1.11053 - if test "$GOBJC" = yes; then
1.11059 - if test "$GOBJC" = yes; then
1.11067 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1.11068 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1.11069 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.11071 -{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
1.11072 -echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
1.11073 -if test "${ac_cv_path_SED+set}" = set; then
1.11074 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.11076 - ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
1.11077 - for ac_i in 1 2 3 4 5 6 7; do
1.11078 - ac_script="$ac_script$as_nl$ac_script"
1.11080 - echo "$ac_script" | sed 99q >conftest.sed
1.11081 - $as_unset ac_script || ac_script=
1.11082 - # Extract the first word of "sed gsed" to use in msg output
1.11084 -set dummy sed gsed; ac_prog_name=$2
1.11085 -if test "${ac_cv_path_SED+set}" = set; then
1.11086 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.11089 -# Loop through the user's path and test for each of PROGNAME-LIST
1.11090 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.11094 - test -z "$as_dir" && as_dir=.
1.11095 - for ac_prog in sed gsed; do
1.11096 - for ac_exec_ext in '' $ac_executable_extensions; do
1.11097 - ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
1.11098 - { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
1.11099 - # Check for GNU ac_path_SED and select it if it is found.
1.11100 - # Check for GNU $ac_path_SED
1.11101 -case `"$ac_path_SED" --version 2>&1` in
1.11103 - ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
1.11106 - echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
1.11109 - cat "conftest.in" "conftest.in" >"conftest.tmp"
1.11110 - mv "conftest.tmp" "conftest.in"
1.11111 - cp "conftest.in" "conftest.nl"
1.11113 - "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
1.11114 - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
1.11115 - ac_count=`expr $ac_count + 1`
1.11116 - if test $ac_count -gt ${ac_path_SED_max-0}; then
1.11117 - # Best one so far, save it but keep looking for a better one
1.11118 - ac_cv_path_SED="$ac_path_SED"
1.11119 - ac_path_SED_max=$ac_count
1.11121 - # 10*(2^10) chars as input seems more than enough
1.11122 - test $ac_count -gt 10 && break
1.11124 - rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
1.11128 - $ac_path_SED_found && break 3
1.11140 - { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
1.11141 -echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
1.11150 -{ echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
1.11151 -echo "${ECHO_T}$ac_cv_path_SED" >&6; }
1.11155 -# By default we simply use the C compiler to build assembly code.
1.11157 -test "${CCAS+set}" = set || CCAS=$CC
1.11158 -test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
1.11162 -if test -n "$ac_tool_prefix"; then
1.11163 - # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1.11164 -set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1.11165 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.11166 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.11167 -if test "${ac_cv_prog_RANLIB+set}" = set; then
1.11168 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.11170 - if test -n "$RANLIB"; then
1.11171 - ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1.11173 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.11177 - test -z "$as_dir" && as_dir=.
1.11178 - for ac_exec_ext in '' $ac_executable_extensions; do
1.11179 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.11180 - ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1.11181 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.11191 -if test -n "$RANLIB"; then
1.11192 - { echo "$as_me:$LINENO: result: $RANLIB" >&5
1.11193 -echo "${ECHO_T}$RANLIB" >&6; }
1.11195 - { echo "$as_me:$LINENO: result: no" >&5
1.11201 -if test -z "$ac_cv_prog_RANLIB"; then
1.11203 - # Extract the first word of "ranlib", so it can be a program name with args.
1.11204 -set dummy ranlib; ac_word=$2
1.11205 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.11206 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.11207 -if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
1.11208 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.11210 - if test -n "$ac_ct_RANLIB"; then
1.11211 - ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
1.11213 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.11217 - test -z "$as_dir" && as_dir=.
1.11218 - for ac_exec_ext in '' $ac_executable_extensions; do
1.11219 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.11220 - ac_cv_prog_ac_ct_RANLIB="ranlib"
1.11221 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.11230 -ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
1.11231 -if test -n "$ac_ct_RANLIB"; then
1.11232 - { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
1.11233 -echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
1.11235 - { echo "$as_me:$LINENO: result: no" >&5
1.11239 - if test "x$ac_ct_RANLIB" = x; then
1.11242 - case $cross_compiling:$ac_tool_warned in
1.11244 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1.11245 -whose name does not start with the host triplet. If you think this
1.11246 -configuration is useful to you, please write to autoconf@gnu.org." >&5
1.11247 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1.11248 -whose name does not start with the host triplet. If you think this
1.11249 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1.11255 - RANLIB="$ac_cv_prog_RANLIB"
1.11259 -{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
1.11260 -echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
1.11261 -if test "${ac_cv_path_GREP+set}" = set; then
1.11262 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.11264 - # Extract the first word of "grep ggrep" to use in msg output
1.11266 -set dummy grep ggrep; ac_prog_name=$2
1.11267 -if test "${ac_cv_path_GREP+set}" = set; then
1.11268 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.11271 -# Loop through the user's path and test for each of PROGNAME-LIST
1.11272 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.11273 -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
1.11276 - test -z "$as_dir" && as_dir=.
1.11277 - for ac_prog in grep ggrep; do
1.11278 - for ac_exec_ext in '' $ac_executable_extensions; do
1.11279 - ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
1.11280 - { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
1.11281 - # Check for GNU ac_path_GREP and select it if it is found.
1.11282 - # Check for GNU $ac_path_GREP
1.11283 -case `"$ac_path_GREP" --version 2>&1` in
1.11285 - ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
1.11288 - echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
1.11291 - cat "conftest.in" "conftest.in" >"conftest.tmp"
1.11292 - mv "conftest.tmp" "conftest.in"
1.11293 - cp "conftest.in" "conftest.nl"
1.11294 - echo 'GREP' >> "conftest.nl"
1.11295 - "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
1.11296 - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
1.11297 - ac_count=`expr $ac_count + 1`
1.11298 - if test $ac_count -gt ${ac_path_GREP_max-0}; then
1.11299 - # Best one so far, save it but keep looking for a better one
1.11300 - ac_cv_path_GREP="$ac_path_GREP"
1.11301 - ac_path_GREP_max=$ac_count
1.11303 - # 10*(2^10) chars as input seems more than enough
1.11304 - test $ac_count -gt 10 && break
1.11306 - rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
1.11310 - $ac_path_GREP_found && break 3
1.11322 - { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
1.11323 -echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
1.11333 -{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
1.11334 -echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
1.11338 -{ echo "$as_me:$LINENO: checking for egrep" >&5
1.11339 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
1.11340 -if test "${ac_cv_path_EGREP+set}" = set; then
1.11341 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.11343 - if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
1.11344 - then ac_cv_path_EGREP="$GREP -E"
1.11346 - # Extract the first word of "egrep" to use in msg output
1.11348 -set dummy egrep; ac_prog_name=$2
1.11349 -if test "${ac_cv_path_EGREP+set}" = set; then
1.11350 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.11352 - ac_path_EGREP_found=false
1.11353 -# Loop through the user's path and test for each of PROGNAME-LIST
1.11354 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.11355 -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
1.11358 - test -z "$as_dir" && as_dir=.
1.11360 - for ac_exec_ext in '' $ac_executable_extensions; do
1.11361 - ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
1.11362 - { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
1.11363 - # Check for GNU ac_path_EGREP and select it if it is found.
1.11364 - # Check for GNU $ac_path_EGREP
1.11365 -case `"$ac_path_EGREP" --version 2>&1` in
1.11367 - ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
1.11370 - echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
1.11373 - cat "conftest.in" "conftest.in" >"conftest.tmp"
1.11374 - mv "conftest.tmp" "conftest.in"
1.11375 - cp "conftest.in" "conftest.nl"
1.11376 - echo 'EGREP' >> "conftest.nl"
1.11377 - "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
1.11378 - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
1.11379 - ac_count=`expr $ac_count + 1`
1.11380 - if test $ac_count -gt ${ac_path_EGREP_max-0}; then
1.11381 - # Best one so far, save it but keep looking for a better one
1.11382 - ac_cv_path_EGREP="$ac_path_EGREP"
1.11383 - ac_path_EGREP_max=$ac_count
1.11385 - # 10*(2^10) chars as input seems more than enough
1.11386 - test $ac_count -gt 10 && break
1.11388 - rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
1.11392 - $ac_path_EGREP_found && break 3
1.11404 - { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
1.11405 -echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
1.11416 -{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
1.11417 -echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
1.11418 - EGREP="$ac_cv_path_EGREP"
1.11421 -{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
1.11422 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
1.11423 -if test "${ac_cv_header_stdc+set}" = set; then
1.11424 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.11426 - cat >conftest.$ac_ext <<_ACEOF
1.11429 -cat confdefs.h >>conftest.$ac_ext
1.11430 -cat >>conftest.$ac_ext <<_ACEOF
1.11446 -if { (ac_try="$ac_compile"
1.11448 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.11451 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.11452 - (eval "$ac_compile") 2>conftest.er1
1.11454 - grep -v '^ *+' conftest.er1 >conftest.err
1.11457 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.11458 - (exit $ac_status); } && {
1.11459 - test -z "$ac_c_werror_flag" ||
1.11461 - } && test -s conftest.$ac_objext; then
1.11464 - echo "$as_me: failed program was:" >&5
1.11465 -sed 's/^/| /' conftest.$ac_ext >&5
1.11470 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.11472 -if test $ac_cv_header_stdc = yes; then
1.11473 - # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1.11474 - cat >conftest.$ac_ext <<_ACEOF
1.11477 -cat confdefs.h >>conftest.$ac_ext
1.11478 -cat >>conftest.$ac_ext <<_ACEOF
1.11483 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.11484 - $EGREP "memchr" >/dev/null 2>&1; then
1.11493 -if test $ac_cv_header_stdc = yes; then
1.11494 - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1.11495 - cat >conftest.$ac_ext <<_ACEOF
1.11498 -cat confdefs.h >>conftest.$ac_ext
1.11499 -cat >>conftest.$ac_ext <<_ACEOF
1.11504 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.11505 - $EGREP "free" >/dev/null 2>&1; then
1.11514 -if test $ac_cv_header_stdc = yes; then
1.11515 - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1.11516 - if test "$cross_compiling" = yes; then
1.11519 - cat >conftest.$ac_ext <<_ACEOF
1.11522 -cat confdefs.h >>conftest.$ac_ext
1.11523 -cat >>conftest.$ac_ext <<_ACEOF
1.11527 -#if ((' ' & 0x0FF) == 0x020)
1.11528 -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
1.11529 -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
1.11532 - (('a' <= (c) && (c) <= 'i') \
1.11533 - || ('j' <= (c) && (c) <= 'r') \
1.11534 - || ('s' <= (c) && (c) <= 'z'))
1.11535 -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
1.11538 -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1.11543 - for (i = 0; i < 256; i++)
1.11544 - if (XOR (islower (i), ISLOWER (i))
1.11545 - || toupper (i) != TOUPPER (i))
1.11553 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.11556 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.11559 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.11560 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.11562 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.11565 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.11568 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.11569 - (exit $ac_status); }; }; then
1.11572 - echo "$as_me: program exited with status $ac_status" >&5
1.11573 -echo "$as_me: failed program was:" >&5
1.11574 -sed 's/^/| /' conftest.$ac_ext >&5
1.11579 -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.11585 -{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
1.11586 -echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
1.11587 -if test $ac_cv_header_stdc = yes; then
1.11589 -cat >>confdefs.h <<\_ACEOF
1.11595 -# On IRIX 5.3, sys/types and inttypes.h are conflicting.
1.11605 -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
1.11606 - inttypes.h stdint.h unistd.h
1.11608 -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
1.11609 -{ echo "$as_me:$LINENO: checking for $ac_header" >&5
1.11610 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
1.11611 -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
1.11612 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.11614 - cat >conftest.$ac_ext <<_ACEOF
1.11617 -cat confdefs.h >>conftest.$ac_ext
1.11618 -cat >>conftest.$ac_ext <<_ACEOF
1.11625 -if { (ac_try="$ac_compile"
1.11627 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.11630 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.11631 - (eval "$ac_compile") 2>conftest.er1
1.11633 - grep -v '^ *+' conftest.er1 >conftest.err
1.11636 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.11637 - (exit $ac_status); } && {
1.11638 - test -z "$ac_c_werror_flag" ||
1.11640 - } && test -s conftest.$ac_objext; then
1.11643 - echo "$as_me: failed program was:" >&5
1.11644 -sed 's/^/| /' conftest.$ac_ext >&5
1.11649 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.11651 -ac_res=`eval echo '${'$as_ac_Header'}'`
1.11652 - { echo "$as_me:$LINENO: result: $ac_res" >&5
1.11653 -echo "${ECHO_T}$ac_res" >&6; }
1.11654 -if test `eval echo '${'$as_ac_Header'}'` = yes; then
1.11655 - cat >>confdefs.h <<_ACEOF
1.11656 -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.11664 -{ echo "$as_me:$LINENO: checking for void *" >&5
1.11665 -echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
1.11666 -if test "${ac_cv_type_void_p+set}" = set; then
1.11667 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.11669 - cat >conftest.$ac_ext <<_ACEOF
1.11672 -cat confdefs.h >>conftest.$ac_ext
1.11673 -cat >>conftest.$ac_ext <<_ACEOF
1.11676 -typedef void * ac__type_new_;
1.11682 -if (sizeof (ac__type_new_))
1.11689 -if { (ac_try="$ac_compile"
1.11691 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.11694 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.11695 - (eval "$ac_compile") 2>conftest.er1
1.11697 - grep -v '^ *+' conftest.er1 >conftest.err
1.11700 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.11701 - (exit $ac_status); } && {
1.11702 - test -z "$ac_c_werror_flag" ||
1.11704 - } && test -s conftest.$ac_objext; then
1.11707 - echo "$as_me: failed program was:" >&5
1.11708 -sed 's/^/| /' conftest.$ac_ext >&5
1.11713 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.11715 -{ echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
1.11716 -echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
1.11718 -# The cast to long int works around a bug in the HP C Compiler
1.11719 -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
1.11720 -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
1.11721 -# This bug is HP SR number 8606223364.
1.11722 -{ echo "$as_me:$LINENO: checking size of void *" >&5
1.11723 -echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
1.11724 -if test "${ac_cv_sizeof_void_p+set}" = set; then
1.11725 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.11727 - if test "$cross_compiling" = yes; then
1.11728 - # Depending upon the size, compute the lo and hi bounds.
1.11729 -cat >conftest.$ac_ext <<_ACEOF
1.11732 -cat confdefs.h >>conftest.$ac_ext
1.11733 -cat >>conftest.$ac_ext <<_ACEOF
1.11736 - typedef void * ac__type_sizeof_;
1.11740 -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
1.11748 -if { (ac_try="$ac_compile"
1.11750 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.11753 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.11754 - (eval "$ac_compile") 2>conftest.er1
1.11756 - grep -v '^ *+' conftest.er1 >conftest.err
1.11759 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.11760 - (exit $ac_status); } && {
1.11761 - test -z "$ac_c_werror_flag" ||
1.11763 - } && test -s conftest.$ac_objext; then
1.11766 - cat >conftest.$ac_ext <<_ACEOF
1.11769 -cat confdefs.h >>conftest.$ac_ext
1.11770 -cat >>conftest.$ac_ext <<_ACEOF
1.11773 - typedef void * ac__type_sizeof_;
1.11777 -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
1.11785 -if { (ac_try="$ac_compile"
1.11787 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.11790 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.11791 - (eval "$ac_compile") 2>conftest.er1
1.11793 - grep -v '^ *+' conftest.er1 >conftest.err
1.11796 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.11797 - (exit $ac_status); } && {
1.11798 - test -z "$ac_c_werror_flag" ||
1.11800 - } && test -s conftest.$ac_objext; then
1.11803 - echo "$as_me: failed program was:" >&5
1.11804 -sed 's/^/| /' conftest.$ac_ext >&5
1.11807 - if test $ac_lo -le $ac_mid; then
1.11811 - ac_mid=`expr 2 '*' $ac_mid + 1`
1.11814 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.11817 - echo "$as_me: failed program was:" >&5
1.11818 -sed 's/^/| /' conftest.$ac_ext >&5
1.11820 - cat >conftest.$ac_ext <<_ACEOF
1.11823 -cat confdefs.h >>conftest.$ac_ext
1.11824 -cat >>conftest.$ac_ext <<_ACEOF
1.11827 - typedef void * ac__type_sizeof_;
1.11831 -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
1.11839 -if { (ac_try="$ac_compile"
1.11841 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.11844 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.11845 - (eval "$ac_compile") 2>conftest.er1
1.11847 - grep -v '^ *+' conftest.er1 >conftest.err
1.11850 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.11851 - (exit $ac_status); } && {
1.11852 - test -z "$ac_c_werror_flag" ||
1.11854 - } && test -s conftest.$ac_objext; then
1.11857 - cat >conftest.$ac_ext <<_ACEOF
1.11860 -cat confdefs.h >>conftest.$ac_ext
1.11861 -cat >>conftest.$ac_ext <<_ACEOF
1.11864 - typedef void * ac__type_sizeof_;
1.11868 -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
1.11876 -if { (ac_try="$ac_compile"
1.11878 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.11881 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.11882 - (eval "$ac_compile") 2>conftest.er1
1.11884 - grep -v '^ *+' conftest.er1 >conftest.err
1.11887 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.11888 - (exit $ac_status); } && {
1.11889 - test -z "$ac_c_werror_flag" ||
1.11891 - } && test -s conftest.$ac_objext; then
1.11894 - echo "$as_me: failed program was:" >&5
1.11895 -sed 's/^/| /' conftest.$ac_ext >&5
1.11897 - ac_hi=`expr '(' $ac_mid ')' - 1`
1.11898 - if test $ac_mid -le $ac_hi; then
1.11902 - ac_mid=`expr 2 '*' $ac_mid`
1.11905 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.11908 - echo "$as_me: failed program was:" >&5
1.11909 -sed 's/^/| /' conftest.$ac_ext >&5
1.11914 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.11917 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.11918 -# Binary search between lo and hi bounds.
1.11919 -while test "x$ac_lo" != "x$ac_hi"; do
1.11920 - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
1.11921 - cat >conftest.$ac_ext <<_ACEOF
1.11924 -cat confdefs.h >>conftest.$ac_ext
1.11925 -cat >>conftest.$ac_ext <<_ACEOF
1.11928 - typedef void * ac__type_sizeof_;
1.11932 -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
1.11940 -if { (ac_try="$ac_compile"
1.11942 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.11945 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.11946 - (eval "$ac_compile") 2>conftest.er1
1.11948 - grep -v '^ *+' conftest.er1 >conftest.err
1.11951 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.11952 - (exit $ac_status); } && {
1.11953 - test -z "$ac_c_werror_flag" ||
1.11955 - } && test -s conftest.$ac_objext; then
1.11958 - echo "$as_me: failed program was:" >&5
1.11959 -sed 's/^/| /' conftest.$ac_ext >&5
1.11961 - ac_lo=`expr '(' $ac_mid ')' + 1`
1.11964 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.11967 -?*) ac_cv_sizeof_void_p=$ac_lo;;
1.11968 -'') if test "$ac_cv_type_void_p" = yes; then
1.11969 - { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
1.11970 -See \`config.log' for more details." >&5
1.11971 -echo "$as_me: error: cannot compute sizeof (void *)
1.11972 -See \`config.log' for more details." >&2;}
1.11973 - { (exit 77); exit 77; }; }
1.11979 - cat >conftest.$ac_ext <<_ACEOF
1.11982 -cat confdefs.h >>conftest.$ac_ext
1.11983 -cat >>conftest.$ac_ext <<_ACEOF
1.11986 - typedef void * ac__type_sizeof_;
1.11987 -static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
1.11988 -static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
1.11995 - FILE *f = fopen ("conftest.val", "w");
1.11998 - if (((long int) (sizeof (ac__type_sizeof_))) < 0)
1.12001 - if (i != ((long int) (sizeof (ac__type_sizeof_))))
1.12007 - unsigned long int i = ulongval ();
1.12008 - if (i != ((long int) (sizeof (ac__type_sizeof_))))
1.12012 - return ferror (f) || fclose (f) != 0;
1.12021 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.12024 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.12027 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.12028 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.12030 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.12033 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.12036 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.12037 - (exit $ac_status); }; }; then
1.12038 - ac_cv_sizeof_void_p=`cat conftest.val`
1.12040 - echo "$as_me: program exited with status $ac_status" >&5
1.12041 -echo "$as_me: failed program was:" >&5
1.12042 -sed 's/^/| /' conftest.$ac_ext >&5
1.12045 -if test "$ac_cv_type_void_p" = yes; then
1.12046 - { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
1.12047 -See \`config.log' for more details." >&5
1.12048 -echo "$as_me: error: cannot compute sizeof (void *)
1.12049 -See \`config.log' for more details." >&2;}
1.12050 - { (exit 77); exit 77; }; }
1.12055 -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.12059 -{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
1.12060 -echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
1.12065 -#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
1.12069 -{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
1.12070 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
1.12071 -if test "${ac_cv_header_stdc+set}" = set; then
1.12072 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.12074 - cat >conftest.$ac_ext <<_ACEOF
1.12077 -cat confdefs.h >>conftest.$ac_ext
1.12078 -cat >>conftest.$ac_ext <<_ACEOF
1.12094 -if { (ac_try="$ac_compile"
1.12096 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.12099 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.12100 - (eval "$ac_compile") 2>conftest.er1
1.12102 - grep -v '^ *+' conftest.er1 >conftest.err
1.12105 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.12106 - (exit $ac_status); } && {
1.12107 - test -z "$ac_c_werror_flag" ||
1.12109 - } && test -s conftest.$ac_objext; then
1.12112 - echo "$as_me: failed program was:" >&5
1.12113 -sed 's/^/| /' conftest.$ac_ext >&5
1.12118 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.12120 -if test $ac_cv_header_stdc = yes; then
1.12121 - # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1.12122 - cat >conftest.$ac_ext <<_ACEOF
1.12125 -cat confdefs.h >>conftest.$ac_ext
1.12126 -cat >>conftest.$ac_ext <<_ACEOF
1.12131 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.12132 - $EGREP "memchr" >/dev/null 2>&1; then
1.12141 -if test $ac_cv_header_stdc = yes; then
1.12142 - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1.12143 - cat >conftest.$ac_ext <<_ACEOF
1.12146 -cat confdefs.h >>conftest.$ac_ext
1.12147 -cat >>conftest.$ac_ext <<_ACEOF
1.12152 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.12153 - $EGREP "free" >/dev/null 2>&1; then
1.12162 -if test $ac_cv_header_stdc = yes; then
1.12163 - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1.12164 - if test "$cross_compiling" = yes; then
1.12167 - cat >conftest.$ac_ext <<_ACEOF
1.12170 -cat confdefs.h >>conftest.$ac_ext
1.12171 -cat >>conftest.$ac_ext <<_ACEOF
1.12175 -#if ((' ' & 0x0FF) == 0x020)
1.12176 -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
1.12177 -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
1.12180 - (('a' <= (c) && (c) <= 'i') \
1.12181 - || ('j' <= (c) && (c) <= 'r') \
1.12182 - || ('s' <= (c) && (c) <= 'z'))
1.12183 -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
1.12186 -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1.12191 - for (i = 0; i < 256; i++)
1.12192 - if (XOR (islower (i), ISLOWER (i))
1.12193 - || toupper (i) != TOUPPER (i))
1.12201 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.12204 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.12207 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.12208 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.12210 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.12213 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.12216 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.12217 - (exit $ac_status); }; }; then
1.12220 - echo "$as_me: program exited with status $ac_status" >&5
1.12221 -echo "$as_me: failed program was:" >&5
1.12222 -sed 's/^/| /' conftest.$ac_ext >&5
1.12227 -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.12233 -{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
1.12234 -echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
1.12235 -if test $ac_cv_header_stdc = yes; then
1.12237 -cat >>confdefs.h <<\_ACEOF
1.12245 -depcc="$OBJC" am_compiler_list='gcc3 gcc'
1.12247 -{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
1.12248 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
1.12249 -if test "${am_cv_OBJC_dependencies_compiler_type+set}" = set; then
1.12250 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.12252 - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1.12253 - # We make a subdir and do the tests there. Otherwise we can end up
1.12254 - # making bogus files that we don't know about and never remove. For
1.12255 - # instance it was reported that on HP-UX the gcc test will end up
1.12256 - # making a dummy file named `D' -- because `-MD' means `put the output
1.12259 - # Copy depcomp to subdir because otherwise we won't find it if we're
1.12260 - # using a relative directory.
1.12261 - cp "$am_depcomp" conftest.dir
1.12263 - # We will build objects and dependencies in a subdirectory because
1.12264 - # it helps to detect inapplicable dependency modes. For instance
1.12265 - # both Tru64's cc and ICC support -MD to output dependencies as a
1.12266 - # side effect of compilation, but ICC will put the dependencies in
1.12267 - # the current directory while Tru64 will put them in the object
1.12271 - am_cv_OBJC_dependencies_compiler_type=none
1.12272 - if test "$am_compiler_list" = ""; then
1.12273 - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1.12275 - for depmode in $am_compiler_list; do
1.12276 - # Setup a source with many dependencies, because some compilers
1.12277 - # like to wrap large dependency lists on column 80 (with \), and
1.12278 - # we should not choose a depcomp mode which is confused by this.
1.12280 - # We need to recreate these files for each test, as the compiler may
1.12281 - # overwrite some of them when testing with obscure command lines.
1.12282 - # This happens at least with the AIX C compiler.
1.12285 - echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.12286 - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
1.12287 - # Solaris 8's {/usr,}/bin/sh.
1.12290 - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.12294 - # after this tag, mechanisms are not by side-effect, so they'll
1.12295 - # only be used when explicitly requested
1.12296 - if test "x$enable_dependency_tracking" = xyes; then
1.12304 - # We check with `-c' and `-o' for the sake of the "dashmstdout"
1.12305 - # mode. It turns out that the SunPro C++ compiler does not properly
1.12306 - # handle `-M -o', and we need to detect this.
1.12308 - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
1.12309 - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.12310 - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
1.12311 - >/dev/null 2>conftest.err &&
1.12312 - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.12313 - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.12314 - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.12315 - # icc doesn't choke on unknown options, it will just issue warnings
1.12316 - # or remarks (even with -Werror). So we grep stderr for any message
1.12317 - # that says an option was ignored or not supported.
1.12318 - # When given -MP, icc 7.0 and 7.1 complain thusly:
1.12319 - # icc: Command line warning: ignoring option '-M'; no argument required
1.12320 - # The diagnosis changed in icc 8.0:
1.12321 - # icc: Command line remark: option '-MP' not supported
1.12322 - if (grep 'ignoring option' conftest.err ||
1.12323 - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
1.12324 - am_cv_OBJC_dependencies_compiler_type=$depmode
1.12333 - am_cv_OBJC_dependencies_compiler_type=none
1.12337 -{ echo "$as_me:$LINENO: result: $am_cv_OBJC_dependencies_compiler_type" >&5
1.12338 -echo "${ECHO_T}$am_cv_OBJC_dependencies_compiler_type" >&6; }
1.12339 -OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
1.12344 - test "x$enable_dependency_tracking" != xno \
1.12345 - && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
1.12347 - am__fastdepOBJC_FALSE='#'
1.12355 -# Extract the first word of "pod2man", so it can be a program name with args.
1.12356 -set dummy pod2man; ac_word=$2
1.12357 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.12358 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.12359 -if test "${ac_cv_path_POD2MAN+set}" = set; then
1.12360 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.12364 - ac_cv_path_POD2MAN="$POD2MAN" # Let the user override the test with a path.
1.12367 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.12371 - test -z "$as_dir" && as_dir=.
1.12372 - for ac_exec_ext in '' $ac_executable_extensions; do
1.12373 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.12374 - ac_cv_path_POD2MAN="$as_dir/$ac_word$ac_exec_ext"
1.12375 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.12385 -POD2MAN=$ac_cv_path_POD2MAN
1.12386 -if test -n "$POD2MAN"; then
1.12387 - { echo "$as_me:$LINENO: result: $POD2MAN" >&5
1.12388 -echo "${ECHO_T}$POD2MAN" >&6; }
1.12390 - { echo "$as_me:$LINENO: result: no" >&5
1.12395 -# Extract the first word of "pod2html", so it can be a program name with args.
1.12396 -set dummy pod2html; ac_word=$2
1.12397 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.12398 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.12399 -if test "${ac_cv_path_POD2HTML+set}" = set; then
1.12400 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.12404 - ac_cv_path_POD2HTML="$POD2HTML" # Let the user override the test with a path.
1.12407 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.12411 - test -z "$as_dir" && as_dir=.
1.12412 - for ac_exec_ext in '' $ac_executable_extensions; do
1.12413 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.12414 - ac_cv_path_POD2HTML="$as_dir/$ac_word$ac_exec_ext"
1.12415 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.12425 -POD2HTML=$ac_cv_path_POD2HTML
1.12426 -if test -n "$POD2HTML"; then
1.12427 - { echo "$as_me:$LINENO: result: $POD2HTML" >&5
1.12428 -echo "${ECHO_T}$POD2HTML" >&6; }
1.12430 - { echo "$as_me:$LINENO: result: no" >&5
1.12438 -#define BUILD_SED_PROG "${SED}"
1.12443 -#define BUILD_CPP_PROG "${CPP}"
1.12448 -# Check whether --enable-strict-warn was given.
1.12449 -if test "${enable_strict_warn+set}" = set; then
1.12450 - enableval=$enable_strict_warn; if test "$enableval" == "yes"; then
1.12455 -# Check whether --enable-translator was given.
1.12456 -if test "${enable_translator+set}" = set; then
1.12457 - enableval=$enable_translator; true
1.12462 -# Check whether --enable-optimized was given.
1.12463 -if test "${enable_optimized+set}" = set; then
1.12464 - enableval=$enable_optimized; true
1.12469 -# Check whether --enable-shared was given.
1.12470 -if test "${enable_shared+set}" = set; then
1.12471 - enableval=$enable_shared; if test "$enableval" == "yes"; then enable_shared=yes; else enable_shared=no; fi
1.12476 -# Check whether --enable-profiled was given.
1.12477 -if test "${enable_profiled+set}" = set; then
1.12478 - enableval=$enable_profiled; if test "$enableval" == "yes"; then
1.12483 -# Check whether --enable-trace was given.
1.12484 -if test "${enable_trace+set}" = set; then
1.12485 - enableval=$enable_trace; if test "$enableval" == "yes"; then
1.12487 -cat >>confdefs.h <<\_ACEOF
1.12494 -# Check whether --enable-watch was given.
1.12495 -if test "${enable_watch+set}" = set; then
1.12496 - enableval=$enable_watch; if test "$enableval" == "yes"; then
1.12498 -cat >>confdefs.h <<\_ACEOF
1.12505 -# Check whether --enable-sh4stats was given.
1.12506 -if test "${enable_sh4stats+set}" = set; then
1.12507 - enableval=$enable_sh4stats; if test "$enableval" == "yes"; then
1.12509 -cat >>confdefs.h <<\_ACEOF
1.12517 -# Check whether --with-osmesa was given.
1.12518 -if test "${with_osmesa+set}" = set; then
1.12525 -# Check whether --with-gtk was given.
1.12526 -if test "${with_gtk+set}" = set; then
1.12527 - withval=$with_gtk; with_gtk=yes
1.12533 -# Check whether --with-esd was given.
1.12534 -if test "${with_esd+set}" = set; then
1.12539 -# Check whether --with-pulse was given.
1.12540 -if test "${with_pulse+set}" = set; then
1.12545 -# Check whether --with-sdl was given.
1.12546 -if test "${with_sdl+set}" = set; then
1.12552 if test "$ANDROID_BUILD" = "yes"; then
1.12554 EXTRA_OUTPUT_FILES="src/android/build.properties"
1.12555 - LIBS="-lEGL -lGLESv2 $LIBS"
1.12557 -cat >>confdefs.h <<\_ACEOF
1.12570 +if test "$BUILD_PKG_CONFIG_LIBDIR" != "$TARGET_PKG_CONFIG_LIBDIR"; then
1.12571 + PKG_CONFIG_LIBDIR="$BUILD_PKG_CONFIG_LIBDIR";
1.12572 + if test "x$PKG_CONFIG_LIBDIR" = "x"; then
1.12573 + export -n PKG_CONFIG_LIBDIR
1.12578 { echo "$as_me:$LINENO: checking for GLIB_FOR_BUILD" >&5
1.12583 +if test "$BUILD_PKG_CONFIG_LIBDIR" != "$TARGET_PKG_CONFIG_LIBDIR"; then
1.12584 + PKG_CONFIG_LIBDIR="$TARGET_PKG_CONFIG_LIBDIR";
1.12594 - if test "x$APPLE_BUILD" != 'xyes' -a "x$ANDROID_BUILD" != 'xyes'; then
1.12595 + if test "x$APPLE_BUILD" != 'xyes'; then
1.12598 { echo "$as_me:$LINENO: checking for LIBGL" >&5
1.12600 pkg_cv_LIBGL_CFLAGS="$LIBGL_CFLAGS"
1.12601 elif test -n "$PKG_CONFIG"; then
1.12602 if test -n "$PKG_CONFIG" && \
1.12603 - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gl \"") >&5
1.12604 - ($PKG_CONFIG --exists --print-errors "gl ") 2>&5
1.12606 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.12607 - (exit $ac_status); }; then
1.12608 - pkg_cv_LIBGL_CFLAGS=`$PKG_CONFIG --cflags "gl " 2>/dev/null`
1.12609 + { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gl\"") >&5
1.12610 + ($PKG_CONFIG --exists --print-errors "gl") 2>&5
1.12612 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.12613 + (exit $ac_status); }; then
1.12614 + pkg_cv_LIBGL_CFLAGS=`$PKG_CONFIG --cflags "gl" 2>/dev/null`
1.12619 pkg_cv_LIBGL_LIBS="$LIBGL_LIBS"
1.12620 elif test -n "$PKG_CONFIG"; then
1.12621 if test -n "$PKG_CONFIG" && \
1.12622 - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gl \"") >&5
1.12623 - ($PKG_CONFIG --exists --print-errors "gl ") 2>&5
1.12625 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.12626 - (exit $ac_status); }; then
1.12627 - pkg_cv_LIBGL_LIBS=`$PKG_CONFIG --libs "gl " 2>/dev/null`
1.12628 + { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gl\"") >&5
1.12629 + ($PKG_CONFIG --exists --print-errors "gl") 2>&5
1.12631 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.12632 + (exit $ac_status); }; then
1.12633 + pkg_cv_LIBGL_LIBS=`$PKG_CONFIG --libs "gl" 2>/dev/null`
1.12638 _pkg_short_errors_supported=no
1.12640 if test $_pkg_short_errors_supported = yes; then
1.12641 - LIBGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gl " 2>&1`
1.12642 + LIBGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gl" 2>&1`
1.12644 - LIBGL_PKG_ERRORS=`$PKG_CONFIG --print-errors "gl " 2>&1`
1.12645 + LIBGL_PKG_ERRORS=`$PKG_CONFIG --print-errors "gl" 2>&1`
1.12647 # Put the nasty error message in config.log where it belongs
1.12648 echo "$LIBGL_PKG_ERRORS" >&5
1.12650 - { { echo "$as_me:$LINENO: error: Package requirements (gl ) were not met:
1.12654 -Consider adjusting the PKG_CONFIG_PATH environment variable if you
1.12655 -installed software in a non-standard prefix.
1.12657 -Alternatively, you may set the environment variables LIBGL_CFLAGS
1.12658 -and LIBGL_LIBS to avoid the need to call pkg-config.
1.12659 -See the pkg-config man page for more details.
1.12661 -echo "$as_me: error: Package requirements (gl ) were not met:
1.12665 -Consider adjusting the PKG_CONFIG_PATH environment variable if you
1.12666 -installed software in a non-standard prefix.
1.12668 -Alternatively, you may set the environment variables LIBGL_CFLAGS
1.12669 -and LIBGL_LIBS to avoid the need to call pkg-config.
1.12670 -See the pkg-config man page for more details.
1.12673 + { echo "$as_me:$LINENO: result: no" >&5
1.12676 + { echo "$as_me:$LINENO: checking for glEnable in -lGLESv2" >&5
1.12677 +echo $ECHO_N "checking for glEnable in -lGLESv2... $ECHO_C" >&6; }
1.12678 +if test "${ac_cv_lib_GLESv2_glEnable+set}" = set; then
1.12679 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.12681 + ac_check_lib_save_LIBS=$LIBS
1.12683 +cat >conftest.$ac_ext <<_ACEOF
1.12686 +cat confdefs.h >>conftest.$ac_ext
1.12687 +cat >>conftest.$ac_ext <<_ACEOF
1.12690 +/* Override any GCC internal prototype to avoid an error.
1.12691 + Use char because int might match the return type of a GCC
1.12692 + builtin and then its argument prototype would still apply. */
1.12705 +rm -f conftest.$ac_objext conftest$ac_exeext
1.12708 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.12711 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.12712 + (eval "$ac_link") 2>conftest.er1
1.12714 + grep -v '^ *+' conftest.er1 >conftest.err
1.12717 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.12718 + (exit $ac_status); } && {
1.12719 + test -z "$ac_c_werror_flag" ||
1.12721 + } && test -s conftest$ac_exeext &&
1.12722 + $as_test_x conftest$ac_exeext; then
1.12723 + ac_cv_lib_GLESv2_glEnable=yes
1.12725 + echo "$as_me: failed program was:" >&5
1.12726 +sed 's/^/| /' conftest.$ac_ext >&5
1.12728 + ac_cv_lib_GLESv2_glEnable=no
1.12731 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.12732 + conftest$ac_exeext conftest.$ac_ext
1.12733 +LIBS=$ac_check_lib_save_LIBS
1.12735 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_GLESv2_glEnable" >&5
1.12736 +echo "${ECHO_T}$ac_cv_lib_GLESv2_glEnable" >&6; }
1.12737 +if test $ac_cv_lib_GLESv2_glEnable = yes; then
1.12738 + LIBS="-lGLESv2 $LIBS"; HAVE_GLES2='yes'
1.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.
1.12741 +See \`config.log' for more details." >&5
1.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.
1.12743 +See \`config.log' for more details." >&2;}
1.12748 elif test $pkg_failed = untried; then
1.12749 - { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
1.12750 -is in your PATH or set the PKG_CONFIG environment variable to the full
1.12753 -Alternatively, you may set the environment variables LIBGL_CFLAGS
1.12754 -and LIBGL_LIBS to avoid the need to call pkg-config.
1.12755 -See the pkg-config man page for more details.
1.12757 -To get pkg-config, see <http://pkg-config.freedesktop.org/>.
1.12758 -See \`config.log' for more details." >&5
1.12759 -echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
1.12760 -is in your PATH or set the PKG_CONFIG environment variable to the full
1.12763 -Alternatively, you may set the environment variables LIBGL_CFLAGS
1.12764 -and LIBGL_LIBS to avoid the need to call pkg-config.
1.12765 -See the pkg-config man page for more details.
1.12767 -To get pkg-config, see <http://pkg-config.freedesktop.org/>.
1.12768 -See \`config.log' for more details." >&2;}
1.12771 + { echo "$as_me:$LINENO: checking for glEnable in -lGLESv2" >&5
1.12772 +echo $ECHO_N "checking for glEnable in -lGLESv2... $ECHO_C" >&6; }
1.12773 +if test "${ac_cv_lib_GLESv2_glEnable+set}" = set; then
1.12774 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.12776 + ac_check_lib_save_LIBS=$LIBS
1.12778 +cat >conftest.$ac_ext <<_ACEOF
1.12781 +cat confdefs.h >>conftest.$ac_ext
1.12782 +cat >>conftest.$ac_ext <<_ACEOF
1.12785 +/* Override any GCC internal prototype to avoid an error.
1.12786 + Use char because int might match the return type of a GCC
1.12787 + builtin and then its argument prototype would still apply. */
1.12800 +rm -f conftest.$ac_objext conftest$ac_exeext
1.12803 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.12806 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.12807 + (eval "$ac_link") 2>conftest.er1
1.12809 + grep -v '^ *+' conftest.er1 >conftest.err
1.12812 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.12813 + (exit $ac_status); } && {
1.12814 + test -z "$ac_c_werror_flag" ||
1.12816 + } && test -s conftest$ac_exeext &&
1.12817 + $as_test_x conftest$ac_exeext; then
1.12818 + ac_cv_lib_GLESv2_glEnable=yes
1.12820 + echo "$as_me: failed program was:" >&5
1.12821 +sed 's/^/| /' conftest.$ac_ext >&5
1.12823 + ac_cv_lib_GLESv2_glEnable=no
1.12826 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.12827 + conftest$ac_exeext conftest.$ac_ext
1.12828 +LIBS=$ac_check_lib_save_LIBS
1.12830 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_GLESv2_glEnable" >&5
1.12831 +echo "${ECHO_T}$ac_cv_lib_GLESv2_glEnable" >&6; }
1.12832 +if test $ac_cv_lib_GLESv2_glEnable = yes; then
1.12833 + LIBS="-lGLESv2 $LIBS"; HAVE_GLES2='yes'
1.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.
1.12836 +See \`config.log' for more details." >&5
1.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.
1.12838 +See \`config.log' for more details." >&2;}
1.12844 LIBGL_CFLAGS=$pkg_cv_LIBGL_CFLAGS
1.12845 LIBGL_LIBS=$pkg_cv_LIBGL_LIBS
1.12846 { echo "$as_me:$LINENO: result: yes" >&5
1.12850 - LIBS="$LIBS $LIBGL_LIBS";
1.12851 - CPPFLAGS="$CPPFLAGS $LIBGL_CFLAGS";
1.12853 + LIBS="$LIBS $LIBGL_LIBS";
1.12854 + CPPFLAGS="$CPPFLAGS $LIBGL_CFLAGS";
1.12859 { echo "$as_me:$LINENO: checking for NSOpenGLGetVersion" >&5
1.12860 echo $ECHO_N "checking for NSOpenGLGetVersion... $ECHO_C" >&6; }
1.12865 + if test "x$HAVE_GTK_X11" = "xyes"; then
1.12866 + LIBS="$LIBS -L/usr/X11/lib -lGL"
1.12870 - if test "x$HAVE_GTK_X11" = "xyes"; then
1.12871 - if test "x$APPLE_BUILD" = "xyes"; then
1.12872 - LIBS="$LIBS -L/usr/X11/lib -lGL"
1.12874 - { echo "$as_me:$LINENO: checking for glXQueryVersion" >&5
1.12875 + { echo "$as_me:$LINENO: checking for glXQueryVersion" >&5
1.12876 echo $ECHO_N "checking for glXQueryVersion... $ECHO_C" >&6; }
1.12877 if test "${ac_cv_func_glXQueryVersion+set}" = set; then
1.12878 echo $ECHO_N "(cached) $ECHO_C" >&6
1.12880 echo "${ECHO_T}$ac_cv_func_glXQueryVersion" >&6; }
1.12881 if test $ac_cv_func_glXQueryVersion = yes; then
1.12884 - VIDEO_DRIVERS="$VIDEO_DRIVERS glx"
1.12886 + VIDEO_DRIVERS="$VIDEO_DRIVERS glx"
1.12901 + { echo "$as_me:$LINENO: checking for eglGetDisplay in -lEGL" >&5
1.12902 +echo $ECHO_N "checking for eglGetDisplay in -lEGL... $ECHO_C" >&6; }
1.12903 +if test "${ac_cv_lib_EGL_eglGetDisplay+set}" = set; then
1.12904 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.12906 + ac_check_lib_save_LIBS=$LIBS
1.12908 +cat >conftest.$ac_ext <<_ACEOF
1.12911 +cat confdefs.h >>conftest.$ac_ext
1.12912 +cat >>conftest.$ac_ext <<_ACEOF
1.12915 +/* Override any GCC internal prototype to avoid an error.
1.12916 + Use char because int might match the return type of a GCC
1.12917 + builtin and then its argument prototype would still apply. */
1.12930 +rm -f conftest.$ac_objext conftest$ac_exeext
1.12933 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.12936 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.12937 + (eval "$ac_link") 2>conftest.er1
1.12939 + grep -v '^ *+' conftest.er1 >conftest.err
1.12942 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.12943 + (exit $ac_status); } && {
1.12944 + test -z "$ac_c_werror_flag" ||
1.12946 + } && test -s conftest$ac_exeext &&
1.12947 + $as_test_x conftest$ac_exeext; then
1.12948 + ac_cv_lib_EGL_eglGetDisplay=yes
1.12950 + echo "$as_me: failed program was:" >&5
1.12951 +sed 's/^/| /' conftest.$ac_ext >&5
1.12953 + ac_cv_lib_EGL_eglGetDisplay=no
1.12956 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.12957 + conftest$ac_exeext conftest.$ac_ext
1.12958 +LIBS=$ac_check_lib_save_LIBS
1.12960 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_EGL_eglGetDisplay" >&5
1.12961 +echo "${ECHO_T}$ac_cv_lib_EGL_eglGetDisplay" >&6; }
1.12962 +if test $ac_cv_lib_EGL_eglGetDisplay = yes; then
1.12966 + VIDEO_DRIVERS="$VIDEO_DRIVERS egl"
1.12973 +if test "x$HAVE_GLES2" = "xyes"; then
1.12975 +cat >>confdefs.h <<\_ACEOF
1.12988 +if test "x$HAVE_EGL" = "xyes"; then
1.12997 { echo "$as_me:$LINENO: checking for glGenFramebuffers" >&5
1.12998 echo $ECHO_N "checking for glGenFramebuffers... $ECHO_C" >&6; }
1.12999 if test "${ac_cv_func_glGenFramebuffers+set}" = set; then
1.13001 Usually this means the macro was only invoked conditionally." >&2;}
1.13004 +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
1.13005 + { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
1.13006 +Usually this means the macro was only invoked conditionally." >&5
1.13007 +echo "$as_me: error: conditional \"AMDEP\" was never defined.
1.13008 +Usually this means the macro was only invoked conditionally." >&2;}
1.13011 +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
1.13012 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
1.13013 +Usually this means the macro was only invoked conditionally." >&5
1.13014 +echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
1.13015 +Usually this means the macro was only invoked conditionally." >&2;}
1.13018 +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
1.13019 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
1.13020 +Usually this means the macro was only invoked conditionally." >&5
1.13021 +echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
1.13022 +Usually this means the macro was only invoked conditionally." >&2;}
1.13025 +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
1.13026 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
1.13027 +Usually this means the macro was only invoked conditionally." >&5
1.13028 +echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
1.13029 +Usually this means the macro was only invoked conditionally." >&2;}
1.13032 +if test -z "${am__fastdepCC_FOR_BUILD_TRUE}" && test -z "${am__fastdepCC_FOR_BUILD_FALSE}"; then
1.13033 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC_FOR_BUILD\" was never defined.
1.13034 +Usually this means the macro was only invoked conditionally." >&5
1.13035 +echo "$as_me: error: conditional \"am__fastdepCC_FOR_BUILD\" was never defined.
1.13036 +Usually this means the macro was only invoked conditionally." >&2;}
1.13039 +if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
1.13040 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepOBJC\" was never defined.
1.13041 +Usually this means the macro was only invoked conditionally." >&5
1.13042 +echo "$as_me: error: conditional \"am__fastdepOBJC\" was never defined.
1.13043 +Usually this means the macro was only invoked conditionally." >&2;}
1.13046 if test -z "${GUI_ANDROID_TRUE}" && test -z "${GUI_ANDROID_FALSE}"; then
1.13047 { { echo "$as_me:$LINENO: error: conditional \"GUI_ANDROID\" was never defined.
1.13048 Usually this means the macro was only invoked conditionally." >&5
1.13050 Usually this means the macro was only invoked conditionally." >&2;}
1.13053 -if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
1.13054 - { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
1.13055 -Usually this means the macro was only invoked conditionally." >&5
1.13056 -echo "$as_me: error: conditional \"AMDEP\" was never defined.
1.13057 -Usually this means the macro was only invoked conditionally." >&2;}
1.13060 -if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
1.13061 - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
1.13062 -Usually this means the macro was only invoked conditionally." >&5
1.13063 -echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
1.13064 -Usually this means the macro was only invoked conditionally." >&2;}
1.13067 -if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
1.13068 - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
1.13069 -Usually this means the macro was only invoked conditionally." >&5
1.13070 -echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
1.13071 -Usually this means the macro was only invoked conditionally." >&2;}
1.13074 -if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
1.13075 - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
1.13076 -Usually this means the macro was only invoked conditionally." >&5
1.13077 -echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
1.13078 -Usually this means the macro was only invoked conditionally." >&2;}
1.13081 -if test -z "${am__fastdepCC_FOR_BUILD_TRUE}" && test -z "${am__fastdepCC_FOR_BUILD_FALSE}"; then
1.13082 - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC_FOR_BUILD\" was never defined.
1.13083 -Usually this means the macro was only invoked conditionally." >&5
1.13084 -echo "$as_me: error: conditional \"am__fastdepCC_FOR_BUILD\" was never defined.
1.13085 -Usually this means the macro was only invoked conditionally." >&2;}
1.13088 -if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
1.13089 - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepOBJC\" was never defined.
1.13090 -Usually this means the macro was only invoked conditionally." >&5
1.13091 -echo "$as_me: error: conditional \"am__fastdepOBJC\" was never defined.
1.13092 -Usually this means the macro was only invoked conditionally." >&2;}
1.13095 if test -z "${GUI_COCOA_TRUE}" && test -z "${GUI_COCOA_FALSE}"; then
1.13096 { { echo "$as_me:$LINENO: error: conditional \"GUI_COCOA\" was never defined.
1.13097 Usually this means the macro was only invoked conditionally." >&5
1.13099 Usually this means the macro was only invoked conditionally." >&2;}
1.13102 +if test -z "${VIDEO_EGL_TRUE}" && test -z "${VIDEO_EGL_FALSE}"; then
1.13103 + { { echo "$as_me:$LINENO: error: conditional \"VIDEO_EGL\" was never defined.
1.13104 +Usually this means the macro was only invoked conditionally." >&5
1.13105 +echo "$as_me: error: conditional \"VIDEO_EGL\" was never defined.
1.13106 +Usually this means the macro was only invoked conditionally." >&2;}
1.13109 if test -z "${BUILD_SH4X86_TRUE}" && test -z "${BUILD_SH4X86_FALSE}"; then
1.13110 { { echo "$as_me:$LINENO: error: conditional \"BUILD_SH4X86\" was never defined.
1.13111 Usually this means the macro was only invoked conditionally." >&5
1.13113 host_cpu!$host_cpu$ac_delim
1.13114 host_vendor!$host_vendor$ac_delim
1.13117 -ANDROID_ABI!$ANDROID_ABI$ac_delim
1.13118 -ANDROID_SDK_HOME!$ANDROID_SDK_HOME$ac_delim
1.13119 -ANDROID_NDK_HOME!$ANDROID_NDK_HOME$ac_delim
1.13120 -ANDROID_SDK_VERSION!$ANDROID_SDK_VERSION$ac_delim
1.13121 -ANDROID_NDK_VERSION!$ANDROID_NDK_VERSION$ac_delim
1.13122 -ANDROID_GDBSERVER!$ANDROID_GDBSERVER$ac_delim
1.13124 -GUI_ANDROID_TRUE!$GUI_ANDROID_TRUE$ac_delim
1.13125 -GUI_ANDROID_FALSE!$GUI_ANDROID_FALSE$ac_delim
1.13130 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
1.13134 +CPPFLAGS!$CPPFLAGS$ac_delim
1.13135 +CC_FOR_BUILD!$CC_FOR_BUILD$ac_delim
1.13136 +ac_ct_CC_FOR_BUILD!$ac_ct_CC_FOR_BUILD$ac_delim
1.13137 +CC_FOR_BUILDDEPMODE!$CC_FOR_BUILDDEPMODE$ac_delim
1.13138 +am__fastdepCC_FOR_BUILD_TRUE!$am__fastdepCC_FOR_BUILD_TRUE$ac_delim
1.13139 +am__fastdepCC_FOR_BUILD_FALSE!$am__fastdepCC_FOR_BUILD_FALSE$ac_delim
1.13141 +CPPFLAGS!$CPPFLAGS$ac_delim
1.13142 +CPP_FOR_BUILD!$CPP_FOR_BUILD$ac_delim
1.13145 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
1.13148 for ac_last_try in false false false false false :; do
1.13149 cat >conf$$subs.sed <<_ACEOF
1.13151 -CPPFLAGS!$CPPFLAGS$ac_delim
1.13152 -CC_FOR_BUILD!$CC_FOR_BUILD$ac_delim
1.13153 -ac_ct_CC_FOR_BUILD!$ac_ct_CC_FOR_BUILD$ac_delim
1.13154 -CC_FOR_BUILDDEPMODE!$CC_FOR_BUILDDEPMODE$ac_delim
1.13155 -am__fastdepCC_FOR_BUILD_TRUE!$am__fastdepCC_FOR_BUILD_TRUE$ac_delim
1.13156 -am__fastdepCC_FOR_BUILD_FALSE!$am__fastdepCC_FOR_BUILD_FALSE$ac_delim
1.13158 -CPPFLAGS!$CPPFLAGS$ac_delim
1.13159 -CPP_FOR_BUILD!$CPP_FOR_BUILD$ac_delim
1.13160 BUILD_EXEEXT!$BUILD_EXEEXT$ac_delim
1.13161 BUILD_OBJEXT!$BUILD_OBJEXT$ac_delim
1.13162 CFLAGS_FOR_BUILD!$CFLAGS_FOR_BUILD$ac_delim
1.13164 am__fastdepOBJC_FALSE!$am__fastdepOBJC_FALSE$ac_delim
1.13166 POD2HTML!$POD2HTML$ac_delim
1.13168 +ANDROID_ABI!$ANDROID_ABI$ac_delim
1.13169 +ANDROID_SDK_HOME!$ANDROID_SDK_HOME$ac_delim
1.13170 +ANDROID_NDK_HOME!$ANDROID_NDK_HOME$ac_delim
1.13171 +ANDROID_SDK_VERSION!$ANDROID_SDK_VERSION$ac_delim
1.13172 +ANDROID_NDK_VERSION!$ANDROID_NDK_VERSION$ac_delim
1.13173 +ANDROID_GDBSERVER!$ANDROID_GDBSERVER$ac_delim
1.13174 +GUI_ANDROID_TRUE!$GUI_ANDROID_TRUE$ac_delim
1.13175 +GUI_ANDROID_FALSE!$GUI_ANDROID_FALSE$ac_delim
1.13176 GUI_COCOA_TRUE!$GUI_COCOA_TRUE$ac_delim
1.13177 GUI_COCOA_FALSE!$GUI_COCOA_FALSE$ac_delim
1.13180 VIDEO_GLX_FALSE!$VIDEO_GLX_FALSE$ac_delim
1.13181 VIDEO_NSGL_TRUE!$VIDEO_NSGL_TRUE$ac_delim
1.13182 VIDEO_NSGL_FALSE!$VIDEO_NSGL_FALSE$ac_delim
1.13183 +VIDEO_EGL_TRUE!$VIDEO_EGL_TRUE$ac_delim
1.13184 +VIDEO_EGL_FALSE!$VIDEO_EGL_FALSE$ac_delim
1.13185 BUILD_SH4X86_TRUE!$BUILD_SH4X86_TRUE$ac_delim
1.13186 BUILD_SH4X86_FALSE!$BUILD_SH4X86_FALSE$ac_delim
1.13187 AUDIO_OSX_TRUE!$AUDIO_OSX_TRUE$ac_delim
1.13189 ARMOBJCOPY!$ARMOBJCOPY$ac_delim
1.13190 BUILD_SYSTEST_TRUE!$BUILD_SYSTEST_TRUE$ac_delim
1.13191 BUILD_SYSTEST_FALSE!$BUILD_SYSTEST_FALSE$ac_delim
1.13192 -BUILD_ARMTEST_TRUE!$BUILD_ARMTEST_TRUE$ac_delim
1.13195 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
1.13198 for ac_last_try in false false false false false :; do
1.13199 cat >conf$$subs.sed <<_ACEOF
1.13200 +BUILD_ARMTEST_TRUE!$BUILD_ARMTEST_TRUE$ac_delim
1.13201 BUILD_ARMTEST_FALSE!$BUILD_ARMTEST_FALSE$ac_delim
1.13202 LXDREAM_LIBS!$LXDREAM_LIBS$ac_delim
1.13203 GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
1.13205 LTLIBOBJS!$LTLIBOBJS$ac_delim
1.13208 - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 21; then
1.13209 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 22; then
1.13212 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5