filename | configure |
changeset | 1200:3b2097efa97d |
prev | 1199:62d0a21fac1c |
next | 1210:79bbd30363f4 |
author | nkeynes |
date | Tue Feb 07 11:59:07 2012 +1000 (12 years ago) |
permissions | -rw-r--r-- |
last change | Add enable/disable vertex attribute calls when making a shader active Add vec3 uniform setter |
file | annotate | diff | log | raw |
1.1 --- a/configure Wed Dec 21 12:15:06 2011 +10001.2 +++ b/configure Tue Feb 07 11:59:07 2012 +10001.3 @@ -690,15 +690,7 @@1.4 CCDEPMODE1.5 am__fastdepCC_TRUE1.6 am__fastdepCC_FALSE1.7 -OBJC1.8 -OBJCFLAGS1.9 -ac_ct_OBJC1.10 -SED1.11 -CCAS1.12 -CCASFLAGS1.13 CPP1.14 -GREP1.15 -EGREP1.16 build1.17 build_cpu1.18 build_vendor1.19 @@ -707,6 +699,29 @@1.20 host_cpu1.21 host_vendor1.22 host_os1.23 +CC1.24 +CFLAGS1.25 +CPPFLAGS1.26 +CC_FOR_BUILD1.27 +ac_ct_CC_FOR_BUILD1.28 +CC_FOR_BUILDDEPMODE1.29 +am__fastdepCC_FOR_BUILD_TRUE1.30 +am__fastdepCC_FOR_BUILD_FALSE1.31 +CPP1.32 +CPPFLAGS1.33 +CPP_FOR_BUILD1.34 +BUILD_EXEEXT1.35 +BUILD_OBJEXT1.36 +CFLAGS_FOR_BUILD1.37 +CPPFLAGS_FOR_BUILD1.38 +OBJC1.39 +OBJCFLAGS1.40 +ac_ct_OBJC1.41 +SED1.42 +CCAS1.43 +CCASFLAGS1.44 +GREP1.45 +EGREP1.46 OBJCDEPMODE1.47 am__fastdepOBJC_TRUE1.48 am__fastdepOBJC_FALSE1.49 @@ -809,11 +824,16 @@1.50 LDFLAGS1.51 LIBS1.52 CPPFLAGS1.53 +CPP1.54 +CC1.55 +CFLAGS1.56 +CPPFLAGS1.57 +CPP1.58 +CPPFLAGS1.59 OBJC1.60 OBJCFLAGS1.61 CCAS1.62 CCASFLAGS1.63 -CPP1.64 PKG_CONFIG1.65 LIBPNG_CFLAGS1.66 LIBPNG_LIBS1.67 @@ -1445,11 +1465,11 @@1.68 LIBS libraries to pass to the linker, e.g. -l<library>1.69 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if1.70 you have headers in a nonstandard directory <include dir>1.71 + CPP C preprocessor1.72 OBJC Objective C compiler command1.73 OBJCFLAGS Objective C compiler flags1.74 CCAS assembler compiler command (defaults to CC)1.75 CCASFLAGS assembler compiler flags (defaults to CFLAGS)1.76 - CPP C preprocessor1.77 PKG_CONFIG path to pkg-config utility1.78 LIBPNG_CFLAGS1.79 C compiler flags for LIBPNG, overriding pkg-config1.80 @@ -4340,6 +4360,1388 @@1.81 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'1.82 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'1.83 ac_compiler_gnu=$ac_cv_c_compiler_gnu1.84 +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&51.85 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }1.86 +# On Suns, sometimes $CPP names a directory.1.87 +if test -n "$CPP" && test -d "$CPP"; then1.88 + CPP=1.89 +fi1.90 +if test -z "$CPP"; then1.91 + if test "${ac_cv_prog_CPP+set}" = set; then1.92 + echo $ECHO_N "(cached) $ECHO_C" >&61.93 +else1.94 + # Double quotes because CPP needs to be expanded1.95 + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"1.96 + do1.97 + ac_preproc_ok=false1.98 +for ac_c_preproc_warn_flag in '' yes1.99 +do1.100 + # Use a header file that comes with gcc, so configuring glibc1.101 + # with a fresh cross-compiler works.1.102 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since1.103 + # <limits.h> exists even on freestanding compilers.1.104 + # On the NeXT, cc -E runs the code through the compiler's parser,1.105 + # not just through cpp. "Syntax error" is here to catch this case.1.106 + cat >conftest.$ac_ext <<_ACEOF1.107 +/* confdefs.h. */1.108 +_ACEOF1.109 +cat confdefs.h >>conftest.$ac_ext1.110 +cat >>conftest.$ac_ext <<_ACEOF1.111 +/* end confdefs.h. */1.112 +#ifdef __STDC__1.113 +# include <limits.h>1.114 +#else1.115 +# include <assert.h>1.116 +#endif1.117 + Syntax error1.118 +_ACEOF1.119 +if { (ac_try="$ac_cpp conftest.$ac_ext"1.120 +case "(($ac_try" in1.121 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1.122 + *) ac_try_echo=$ac_try;;1.123 +esac1.124 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&51.125 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er11.126 + ac_status=$?1.127 + grep -v '^ *+' conftest.er1 >conftest.err1.128 + rm -f conftest.er11.129 + cat conftest.err >&51.130 + echo "$as_me:$LINENO: \$? = $ac_status" >&51.131 + (exit $ac_status); } >/dev/null && {1.132 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||1.133 + test ! -s conftest.err1.134 + }; then1.135 + :1.136 +else1.137 + echo "$as_me: failed program was:" >&51.138 +sed 's/^/| /' conftest.$ac_ext >&51.139 +1.140 + # Broken: fails on valid input.1.141 +continue1.142 +fi1.143 +1.144 +rm -f conftest.err conftest.$ac_ext1.145 +1.146 + # OK, works on sane cases. Now check whether nonexistent headers1.147 + # can be detected and how.1.148 + cat >conftest.$ac_ext <<_ACEOF1.149 +/* confdefs.h. */1.150 +_ACEOF1.151 +cat confdefs.h >>conftest.$ac_ext1.152 +cat >>conftest.$ac_ext <<_ACEOF1.153 +/* end confdefs.h. */1.154 +#include <ac_nonexistent.h>1.155 +_ACEOF1.156 +if { (ac_try="$ac_cpp conftest.$ac_ext"1.157 +case "(($ac_try" in1.158 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1.159 + *) ac_try_echo=$ac_try;;1.160 +esac1.161 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&51.162 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er11.163 + ac_status=$?1.164 + grep -v '^ *+' conftest.er1 >conftest.err1.165 + rm -f conftest.er11.166 + cat conftest.err >&51.167 + echo "$as_me:$LINENO: \$? = $ac_status" >&51.168 + (exit $ac_status); } >/dev/null && {1.169 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||1.170 + test ! -s conftest.err1.171 + }; then1.172 + # Broken: success on invalid input.1.173 +continue1.174 +else1.175 + echo "$as_me: failed program was:" >&51.176 +sed 's/^/| /' conftest.$ac_ext >&51.177 +1.178 + # Passes both tests.1.179 +ac_preproc_ok=:1.180 +break1.181 +fi1.182 +1.183 +rm -f conftest.err conftest.$ac_ext1.184 +1.185 +done1.186 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.1.187 +rm -f conftest.err conftest.$ac_ext1.188 +if $ac_preproc_ok; then1.189 + break1.190 +fi1.191 +1.192 + done1.193 + ac_cv_prog_CPP=$CPP1.194 +1.195 +fi1.196 + CPP=$ac_cv_prog_CPP1.197 +else1.198 + ac_cv_prog_CPP=$CPP1.199 +fi1.200 +{ echo "$as_me:$LINENO: result: $CPP" >&51.201 +echo "${ECHO_T}$CPP" >&6; }1.202 +ac_preproc_ok=false1.203 +for ac_c_preproc_warn_flag in '' yes1.204 +do1.205 + # Use a header file that comes with gcc, so configuring glibc1.206 + # with a fresh cross-compiler works.1.207 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since1.208 + # <limits.h> exists even on freestanding compilers.1.209 + # On the NeXT, cc -E runs the code through the compiler's parser,1.210 + # not just through cpp. "Syntax error" is here to catch this case.1.211 + cat >conftest.$ac_ext <<_ACEOF1.212 +/* confdefs.h. */1.213 +_ACEOF1.214 +cat confdefs.h >>conftest.$ac_ext1.215 +cat >>conftest.$ac_ext <<_ACEOF1.216 +/* end confdefs.h. */1.217 +#ifdef __STDC__1.218 +# include <limits.h>1.219 +#else1.220 +# include <assert.h>1.221 +#endif1.222 + Syntax error1.223 +_ACEOF1.224 +if { (ac_try="$ac_cpp conftest.$ac_ext"1.225 +case "(($ac_try" in1.226 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1.227 + *) ac_try_echo=$ac_try;;1.228 +esac1.229 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&51.230 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er11.231 + ac_status=$?1.232 + grep -v '^ *+' conftest.er1 >conftest.err1.233 + rm -f conftest.er11.234 + cat conftest.err >&51.235 + echo "$as_me:$LINENO: \$? = $ac_status" >&51.236 + (exit $ac_status); } >/dev/null && {1.237 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||1.238 + test ! -s conftest.err1.239 + }; then1.240 + :1.241 +else1.242 + echo "$as_me: failed program was:" >&51.243 +sed 's/^/| /' conftest.$ac_ext >&51.244 +1.245 + # Broken: fails on valid input.1.246 +continue1.247 +fi1.248 +1.249 +rm -f conftest.err conftest.$ac_ext1.250 +1.251 + # OK, works on sane cases. Now check whether nonexistent headers1.252 + # can be detected and how.1.253 + cat >conftest.$ac_ext <<_ACEOF1.254 +/* confdefs.h. */1.255 +_ACEOF1.256 +cat confdefs.h >>conftest.$ac_ext1.257 +cat >>conftest.$ac_ext <<_ACEOF1.258 +/* end confdefs.h. */1.259 +#include <ac_nonexistent.h>1.260 +_ACEOF1.261 +if { (ac_try="$ac_cpp conftest.$ac_ext"1.262 +case "(($ac_try" in1.263 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1.264 + *) ac_try_echo=$ac_try;;1.265 +esac1.266 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&51.267 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er11.268 + ac_status=$?1.269 + grep -v '^ *+' conftest.er1 >conftest.err1.270 + rm -f conftest.er11.271 + cat conftest.err >&51.272 + echo "$as_me:$LINENO: \$? = $ac_status" >&51.273 + (exit $ac_status); } >/dev/null && {1.274 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||1.275 + test ! -s conftest.err1.276 + }; then1.277 + # Broken: success on invalid input.1.278 +continue1.279 +else1.280 + echo "$as_me: failed program was:" >&51.281 +sed 's/^/| /' conftest.$ac_ext >&51.282 +1.283 + # Passes both tests.1.284 +ac_preproc_ok=:1.285 +break1.286 +fi1.287 +1.288 +rm -f conftest.err conftest.$ac_ext1.289 +1.290 +done1.291 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.1.292 +rm -f conftest.err conftest.$ac_ext1.293 +if $ac_preproc_ok; then1.294 + :1.295 +else1.296 + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check1.297 +See \`config.log' for more details." >&51.298 +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check1.299 +See \`config.log' for more details." >&2;}1.300 + { (exit 1); exit 1; }; }1.301 +fi1.302 +1.303 +ac_ext=c1.304 +ac_cpp='$CPP $CPPFLAGS'1.305 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'1.306 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'1.307 +ac_compiler_gnu=$ac_cv_c_compiler_gnu1.308 +1.309 +1.310 +# Make sure we can run config.sub.1.311 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||1.312 + { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&51.313 +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}1.314 + { (exit 1); exit 1; }; }1.315 +1.316 +{ echo "$as_me:$LINENO: checking build system type" >&51.317 +echo $ECHO_N "checking build system type... $ECHO_C" >&6; }1.318 +if test "${ac_cv_build+set}" = set; then1.319 + echo $ECHO_N "(cached) $ECHO_C" >&61.320 +else1.321 + ac_build_alias=$build_alias1.322 +test "x$ac_build_alias" = x &&1.323 + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`1.324 +test "x$ac_build_alias" = x &&1.325 + { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&51.326 +echo "$as_me: error: cannot guess build type; you must specify one" >&2;}1.327 + { (exit 1); exit 1; }; }1.328 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||1.329 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&51.330 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}1.331 + { (exit 1); exit 1; }; }1.332 +1.333 +fi1.334 +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&51.335 +echo "${ECHO_T}$ac_cv_build" >&6; }1.336 +case $ac_cv_build in1.337 +*-*-*) ;;1.338 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&51.339 +echo "$as_me: error: invalid value of canonical build" >&2;}1.340 + { (exit 1); exit 1; }; };;1.341 +esac1.342 +build=$ac_cv_build1.343 +ac_save_IFS=$IFS; IFS='-'1.344 +set x $ac_cv_build1.345 +shift1.346 +build_cpu=$11.347 +build_vendor=$21.348 +shift; shift1.349 +# Remember, the first character of IFS is used to create $*,1.350 +# except with old shells:1.351 +build_os=$*1.352 +IFS=$ac_save_IFS1.353 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac1.354 +1.355 +1.356 +{ echo "$as_me:$LINENO: checking host system type" >&51.357 +echo $ECHO_N "checking host system type... $ECHO_C" >&6; }1.358 +if test "${ac_cv_host+set}" = set; then1.359 + echo $ECHO_N "(cached) $ECHO_C" >&61.360 +else1.361 + if test "x$host_alias" = x; then1.362 + ac_cv_host=$ac_cv_build1.363 +else1.364 + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||1.365 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&51.366 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}1.367 + { (exit 1); exit 1; }; }1.368 +fi1.369 +1.370 +fi1.371 +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&51.372 +echo "${ECHO_T}$ac_cv_host" >&6; }1.373 +case $ac_cv_host in1.374 +*-*-*) ;;1.375 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&51.376 +echo "$as_me: error: invalid value of canonical host" >&2;}1.377 + { (exit 1); exit 1; }; };;1.378 +esac1.379 +host=$ac_cv_host1.380 +ac_save_IFS=$IFS; IFS='-'1.381 +set x $ac_cv_host1.382 +shift1.383 +host_cpu=$11.384 +host_vendor=$21.385 +shift; shift1.386 +# Remember, the first character of IFS is used to create $*,1.387 +# except with old shells:1.388 +host_os=$*1.389 +IFS=$ac_save_IFS1.390 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac1.391 +1.392 +1.393 +ac_main_cc="$CC"1.394 +test -n "$build_alias" && ac_build_tool_prefix=$build_alias-1.395 +1.396 +if test -z "$CC_FOR_BUILD"; then1.397 + if test "$#" = yes; then1.398 + { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling1.399 +See \`config.log' for more details." >&51.400 +echo "$as_me: error: cannot run test program while cross compiling1.401 +See \`config.log' for more details." >&2;}1.402 + { (exit 1); exit 1; }; }1.403 +else1.404 + cat >conftest.$ac_ext <<_ACEOF1.405 +int main(){return 0;}1.406 +_ACEOF1.407 +rm -f conftest$ac_exeext1.408 +if { (ac_try="$ac_link"1.409 +case "(($ac_try" in1.410 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1.411 + *) ac_try_echo=$ac_try;;1.412 +esac1.413 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&51.414 + (eval "$ac_link") 2>&51.415 + ac_status=$?1.416 + echo "$as_me:$LINENO: \$? = $ac_status" >&51.417 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'1.418 + { (case "(($ac_try" in1.419 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1.420 + *) ac_try_echo=$ac_try;;1.421 +esac1.422 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&51.423 + (eval "$ac_try") 2>&51.424 + ac_status=$?1.425 + echo "$as_me:$LINENO: \$? = $ac_status" >&51.426 + (exit $ac_status); }; }; then1.427 + CC_FOR_BUILD="$CC"1.428 +else1.429 + echo "$as_me: program exited with status $ac_status" >&51.430 +echo "$as_me: failed program was:" >&51.431 +sed 's/^/| /' conftest.$ac_ext >&51.432 +1.433 +fi1.434 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext1.435 +fi1.436 +1.437 +1.438 +fi1.439 +1.440 +ac_ext=c1.441 +ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'1.442 +ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'1.443 +ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'1.444 +ac_compiler_gnu=$ac_cv_c_compiler_gnu1.445 +if test -n "$ac_build_tool_prefix"; then1.446 + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.1.447 +set dummy ${ac_build_tool_prefix}gcc; ac_word=$21.448 +{ echo "$as_me:$LINENO: checking for $ac_word" >&51.449 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }1.450 +if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then1.451 + echo $ECHO_N "(cached) $ECHO_C" >&61.452 +else1.453 + if test -n "$CC_FOR_BUILD"; then1.454 + ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.1.455 +else1.456 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR1.457 +for as_dir in $PATH1.458 +do1.459 + IFS=$as_save_IFS1.460 + test -z "$as_dir" && as_dir=.1.461 + for ac_exec_ext in '' $ac_executable_extensions; do1.462 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1.463 + ac_cv_prog_CC_FOR_BUILD="${ac_build_tool_prefix}gcc"1.464 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&51.465 + break 21.466 + fi1.467 +done1.468 +done1.469 +IFS=$as_save_IFS1.470 +1.471 +fi1.472 +fi1.473 +CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD1.474 +if test -n "$CC_FOR_BUILD"; then1.475 + { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&51.476 +echo "${ECHO_T}$CC_FOR_BUILD" >&6; }1.477 +else1.478 + { echo "$as_me:$LINENO: result: no" >&51.479 +echo "${ECHO_T}no" >&6; }1.480 +fi1.481 +1.482 +1.483 +fi1.484 +if test -z "$ac_cv_prog_CC_FOR_BUILD"; then1.485 + ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD1.486 + # Extract the first word of "gcc", so it can be a program name with args.1.487 +set dummy gcc; ac_word=$21.488 +{ echo "$as_me:$LINENO: checking for $ac_word" >&51.489 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }1.490 +if test "${ac_cv_prog_ac_ct_CC_FOR_BUILD+set}" = set; then1.491 + echo $ECHO_N "(cached) $ECHO_C" >&61.492 +else1.493 + if test -n "$ac_ct_CC_FOR_BUILD"; then1.494 + ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test.1.495 +else1.496 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR1.497 +for as_dir in $PATH1.498 +do1.499 + IFS=$as_save_IFS1.500 + test -z "$as_dir" && as_dir=.1.501 + for ac_exec_ext in '' $ac_executable_extensions; do1.502 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1.503 + ac_cv_prog_ac_ct_CC_FOR_BUILD="gcc"1.504 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&51.505 + break 21.506 + fi1.507 +done1.508 +done1.509 +IFS=$as_save_IFS1.510 +1.511 +fi1.512 +fi1.513 +ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD1.514 +if test -n "$ac_ct_CC_FOR_BUILD"; then1.515 + { echo "$as_me:$LINENO: result: $ac_ct_CC_FOR_BUILD" >&51.516 +echo "${ECHO_T}$ac_ct_CC_FOR_BUILD" >&6; }1.517 +else1.518 + { echo "$as_me:$LINENO: result: no" >&51.519 +echo "${ECHO_T}no" >&6; }1.520 +fi1.521 +1.522 + if test "x$ac_ct_CC_FOR_BUILD" = x; then1.523 + CC_FOR_BUILD=""1.524 + else1.525 + case $#:$ac_tool_warned in1.526 +yes:)1.527 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools1.528 +whose name does not start with the build triplet. If you think this1.529 +configuration is useful to you, please write to autoconf@gnu.org." >&51.530 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools1.531 +whose name does not start with the build triplet. If you think this1.532 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}1.533 +ac_tool_warned=yes ;;1.534 +esac1.535 + CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD1.536 + fi1.537 +else1.538 + CC_FOR_BUILD="$ac_cv_prog_CC_FOR_BUILD"1.539 +fi1.540 +1.541 +if test -z "$CC_FOR_BUILD"; then1.542 + if test -n "$ac_build_tool_prefix"; then1.543 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.1.544 +set dummy ${ac_build_tool_prefix}cc; ac_word=$21.545 +{ echo "$as_me:$LINENO: checking for $ac_word" >&51.546 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }1.547 +if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then1.548 + echo $ECHO_N "(cached) $ECHO_C" >&61.549 +else1.550 + if test -n "$CC_FOR_BUILD"; then1.551 + ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.1.552 +else1.553 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR1.554 +for as_dir in $PATH1.555 +do1.556 + IFS=$as_save_IFS1.557 + test -z "$as_dir" && as_dir=.1.558 + for ac_exec_ext in '' $ac_executable_extensions; do1.559 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1.560 + ac_cv_prog_CC_FOR_BUILD="${ac_build_tool_prefix}cc"1.561 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&51.562 + break 21.563 + fi1.564 +done1.565 +done1.566 +IFS=$as_save_IFS1.567 +1.568 +fi1.569 +fi1.570 +CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD1.571 +if test -n "$CC_FOR_BUILD"; then1.572 + { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&51.573 +echo "${ECHO_T}$CC_FOR_BUILD" >&6; }1.574 +else1.575 + { echo "$as_me:$LINENO: result: no" >&51.576 +echo "${ECHO_T}no" >&6; }1.577 +fi1.578 +1.579 +1.580 + fi1.581 +fi1.582 +if test -z "$CC_FOR_BUILD"; then1.583 + # Extract the first word of "cc", so it can be a program name with args.1.584 +set dummy cc; ac_word=$21.585 +{ echo "$as_me:$LINENO: checking for $ac_word" >&51.586 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }1.587 +if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then1.588 + echo $ECHO_N "(cached) $ECHO_C" >&61.589 +else1.590 + if test -n "$CC_FOR_BUILD"; then1.591 + ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.1.592 +else1.593 + ac_prog_rejected=no1.594 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR1.595 +for as_dir in $PATH1.596 +do1.597 + IFS=$as_save_IFS1.598 + test -z "$as_dir" && as_dir=.1.599 + for ac_exec_ext in '' $ac_executable_extensions; do1.600 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1.601 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then1.602 + ac_prog_rejected=yes1.603 + continue1.604 + fi1.605 + ac_cv_prog_CC_FOR_BUILD="cc"1.606 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&51.607 + break 21.608 + fi1.609 +done1.610 +done1.611 +IFS=$as_save_IFS1.612 +1.613 +if test $ac_prog_rejected = yes; then1.614 + # We found a bogon in the path, so make sure we never use it.1.615 + set dummy $ac_cv_prog_CC_FOR_BUILD1.616 + shift1.617 + if test $# != 0; then1.618 + # We chose a different compiler from the bogus one.1.619 + # However, it has the same basename, so the bogon will be chosen1.620 + # first if we set CC_FOR_BUILD to just the basename; use the full file name.1.621 + shift1.622 + ac_cv_prog_CC_FOR_BUILD="$as_dir/$ac_word${1+' '}$@"1.623 + fi1.624 +fi1.625 +fi1.626 +fi1.627 +CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD1.628 +if test -n "$CC_FOR_BUILD"; then1.629 + { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&51.630 +echo "${ECHO_T}$CC_FOR_BUILD" >&6; }1.631 +else1.632 + { echo "$as_me:$LINENO: result: no" >&51.633 +echo "${ECHO_T}no" >&6; }1.634 +fi1.635 +1.636 +1.637 +fi1.638 +if test -z "$CC_FOR_BUILD"; then1.639 + if test -n "$ac_build_tool_prefix"; then1.640 + for ac_prog in cl.exe1.641 + do1.642 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.1.643 +set dummy $ac_build_tool_prefix$ac_prog; ac_word=$21.644 +{ echo "$as_me:$LINENO: checking for $ac_word" >&51.645 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }1.646 +if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then1.647 + echo $ECHO_N "(cached) $ECHO_C" >&61.648 +else1.649 + if test -n "$CC_FOR_BUILD"; then1.650 + ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.1.651 +else1.652 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR1.653 +for as_dir in $PATH1.654 +do1.655 + IFS=$as_save_IFS1.656 + test -z "$as_dir" && as_dir=.1.657 + for ac_exec_ext in '' $ac_executable_extensions; do1.658 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1.659 + ac_cv_prog_CC_FOR_BUILD="$ac_build_tool_prefix$ac_prog"1.660 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&51.661 + break 21.662 + fi1.663 +done1.664 +done1.665 +IFS=$as_save_IFS1.666 +1.667 +fi1.668 +fi1.669 +CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD1.670 +if test -n "$CC_FOR_BUILD"; then1.671 + { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&51.672 +echo "${ECHO_T}$CC_FOR_BUILD" >&6; }1.673 +else1.674 + { echo "$as_me:$LINENO: result: no" >&51.675 +echo "${ECHO_T}no" >&6; }1.676 +fi1.677 +1.678 +1.679 + test -n "$CC_FOR_BUILD" && break1.680 + done1.681 +fi1.682 +if test -z "$CC_FOR_BUILD"; then1.683 + ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD1.684 + for ac_prog in cl.exe1.685 +do1.686 + # Extract the first word of "$ac_prog", so it can be a program name with args.1.687 +set dummy $ac_prog; ac_word=$21.688 +{ echo "$as_me:$LINENO: checking for $ac_word" >&51.689 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }1.690 +if test "${ac_cv_prog_ac_ct_CC_FOR_BUILD+set}" = set; then1.691 + echo $ECHO_N "(cached) $ECHO_C" >&61.692 +else1.693 + if test -n "$ac_ct_CC_FOR_BUILD"; then1.694 + ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test.1.695 +else1.696 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR1.697 +for as_dir in $PATH1.698 +do1.699 + IFS=$as_save_IFS1.700 + test -z "$as_dir" && as_dir=.1.701 + for ac_exec_ext in '' $ac_executable_extensions; do1.702 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1.703 + ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_prog"1.704 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&51.705 + break 21.706 + fi1.707 +done1.708 +done1.709 +IFS=$as_save_IFS1.710 +1.711 +fi1.712 +fi1.713 +ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD1.714 +if test -n "$ac_ct_CC_FOR_BUILD"; then1.715 + { echo "$as_me:$LINENO: result: $ac_ct_CC_FOR_BUILD" >&51.716 +echo "${ECHO_T}$ac_ct_CC_FOR_BUILD" >&6; }1.717 +else1.718 + { echo "$as_me:$LINENO: result: no" >&51.719 +echo "${ECHO_T}no" >&6; }1.720 +fi1.721 +1.722 +1.723 + test -n "$ac_ct_CC_FOR_BUILD" && break1.724 +done1.725 +1.726 + if test "x$ac_ct_CC_FOR_BUILD" = x; then1.727 + CC_FOR_BUILD=""1.728 + else1.729 + case $#:$ac_tool_warned in1.730 +yes:)1.731 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools1.732 +whose name does not start with the build triplet. If you think this1.733 +configuration is useful to you, please write to autoconf@gnu.org." >&51.734 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools1.735 +whose name does not start with the build triplet. If you think this1.736 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}1.737 +ac_tool_warned=yes ;;1.738 +esac1.739 + CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD1.740 + fi1.741 +fi1.742 +1.743 +fi1.744 +1.745 +1.746 +test -z "$CC_FOR_BUILD" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH1.747 +See \`config.log' for more details." >&51.748 +echo "$as_me: error: no acceptable C compiler found in \$PATH1.749 +See \`config.log' for more details." >&2;}1.750 + { (exit 1); exit 1; }; }1.751 +1.752 +# Provide some information about the compiler.1.753 +echo "$as_me:$LINENO: checking for C compiler version" >&51.754 +ac_compiler=`set X $ac_build_compile; echo $2`1.755 +{ (ac_try="$ac_compiler --version >&5"1.756 +case "(($ac_try" in1.757 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1.758 + *) ac_try_echo=$ac_try;;1.759 +esac1.760 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&51.761 + (eval "$ac_compiler --version >&5") 2>&51.762 + ac_status=$?1.763 + echo "$as_me:$LINENO: \$? = $ac_status" >&51.764 + (exit $ac_status); }1.765 +{ (ac_try="$ac_compiler -v >&5"1.766 +case "(($ac_try" in1.767 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1.768 + *) ac_try_echo=$ac_try;;1.769 +esac1.770 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&51.771 + (eval "$ac_compiler -v >&5") 2>&51.772 + ac_status=$?1.773 + echo "$as_me:$LINENO: \$? = $ac_status" >&51.774 + (exit $ac_status); }1.775 +{ (ac_try="$ac_compiler -V >&5"1.776 +case "(($ac_try" in1.777 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1.778 + *) ac_try_echo=$ac_try;;1.779 +esac1.780 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&51.781 + (eval "$ac_compiler -V >&5") 2>&51.782 + ac_status=$?1.783 + echo "$as_me:$LINENO: \$? = $ac_status" >&51.784 + (exit $ac_status); }1.785 +1.786 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&51.787 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }1.788 +if test "${ac_cv_c_compiler_gnu+set}" = set; then1.789 + echo $ECHO_N "(cached) $ECHO_C" >&61.790 +else1.791 + cat >conftest.$ac_ext <<_ACEOF1.792 +/* confdefs.h. */1.793 +_ACEOF1.794 +cat confdefs.h >>conftest.$ac_ext1.795 +cat >>conftest.$ac_ext <<_ACEOF1.796 +/* end confdefs.h. */1.797 +1.798 +int1.799 +main ()1.800 +{1.801 +#ifndef __GNUC__1.802 + choke me1.803 +#endif1.804 +1.805 + ;1.806 + return 0;1.807 +}1.808 +_ACEOF1.809 +rm -f conftest.$ac_build_objext1.810 +if { (ac_try="$ac_build_compile"1.811 +case "(($ac_try" in1.812 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1.813 + *) ac_try_echo=$ac_try;;1.814 +esac1.815 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&51.816 + (eval "$ac_build_compile") 2>conftest.er11.817 + ac_status=$?1.818 + grep -v '^ *+' conftest.er1 >conftest.err1.819 + rm -f conftest.er11.820 + cat conftest.err >&51.821 + echo "$as_me:$LINENO: \$? = $ac_status" >&51.822 + (exit $ac_status); } && {1.823 + test -z "$ac_c_werror_flag" ||1.824 + test ! -s conftest.err1.825 + } && test -s conftest.$ac_build_objext; then1.826 + ac_compiler_gnu=yes1.827 +else1.828 + echo "$as_me: failed program was:" >&51.829 +sed 's/^/| /' conftest.$ac_ext >&51.830 +1.831 + ac_compiler_gnu=no1.832 +fi1.833 +1.834 +rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext1.835 +ac_cv_c_compiler_gnu=$ac_compiler_gnu1.836 +1.837 +fi1.838 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&51.839 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }1.840 +GCC=`test $ac_compiler_gnu = yes && echo yes`1.841 +ac_test_CFLAGS=${CFLAGS_FOR_BUILD+set}1.842 +ac_save_CFLAGS=$CFLAGS_FOR_BUILD1.843 +{ echo "$as_me:$LINENO: checking whether $CC_FOR_BUILD accepts -g" >&51.844 +echo $ECHO_N "checking whether $CC_FOR_BUILD accepts -g... $ECHO_C" >&6; }1.845 +if test "${ac_cv_build_prog_cc_g+set}" = set; then1.846 + echo $ECHO_N "(cached) $ECHO_C" >&61.847 +else1.848 + ac_save_c_werror_flag=$ac_c_werror_flag1.849 + ac_c_werror_flag=yes1.850 + ac_cv_build_prog_cc_g=no1.851 + CFLAGS_FOR_BUILD="-g"1.852 + cat >conftest.$ac_ext <<_ACEOF1.853 +/* confdefs.h. */1.854 +_ACEOF1.855 +cat confdefs.h >>conftest.$ac_ext1.856 +cat >>conftest.$ac_ext <<_ACEOF1.857 +/* end confdefs.h. */1.858 +1.859 +int1.860 +main ()1.861 +{1.862 +1.863 + ;1.864 + return 0;1.865 +}1.866 +_ACEOF1.867 +rm -f conftest.$ac_build_objext1.868 +if { (ac_try="$ac_build_compile"1.869 +case "(($ac_try" in1.870 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1.871 + *) ac_try_echo=$ac_try;;1.872 +esac1.873 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&51.874 + (eval "$ac_build_compile") 2>conftest.er11.875 + ac_status=$?1.876 + grep -v '^ *+' conftest.er1 >conftest.err1.877 + rm -f conftest.er11.878 + cat conftest.err >&51.879 + echo "$as_me:$LINENO: \$? = $ac_status" >&51.880 + (exit $ac_status); } && {1.881 + test -z "$ac_c_werror_flag" ||1.882 + test ! -s conftest.err1.883 + } && test -s conftest.$ac_build_objext; then1.884 + ac_cv_build_prog_cc_g=yes1.885 +else1.886 + echo "$as_me: failed program was:" >&51.887 +sed 's/^/| /' conftest.$ac_ext >&51.888 +1.889 + CFLAGS_FOR_BUILD=""1.890 + cat >conftest.$ac_ext <<_ACEOF1.891 +/* confdefs.h. */1.892 +_ACEOF1.893 +cat confdefs.h >>conftest.$ac_ext1.894 +cat >>conftest.$ac_ext <<_ACEOF1.895 +/* end confdefs.h. */1.896 +1.897 +int1.898 +main ()1.899 +{1.900 +1.901 + ;1.902 + return 0;1.903 +}1.904 +_ACEOF1.905 +rm -f conftest.$ac_build_objext1.906 +if { (ac_try="$ac_build_compile"1.907 +case "(($ac_try" in1.908 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1.909 + *) ac_try_echo=$ac_try;;1.910 +esac1.911 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&51.912 + (eval "$ac_build_compile") 2>conftest.er11.913 + ac_status=$?1.914 + grep -v '^ *+' conftest.er1 >conftest.err1.915 + rm -f conftest.er11.916 + cat conftest.err >&51.917 + echo "$as_me:$LINENO: \$? = $ac_status" >&51.918 + (exit $ac_status); } && {1.919 + test -z "$ac_c_werror_flag" ||1.920 + test ! -s conftest.err1.921 + } && test -s conftest.$ac_build_objext; then1.922 + :1.923 +else1.924 + echo "$as_me: failed program was:" >&51.925 +sed 's/^/| /' conftest.$ac_ext >&51.926 +1.927 + ac_c_werror_flag=$ac_save_c_werror_flag1.928 + CFLAGS_FOR_BUILD="-g"1.929 + cat >conftest.$ac_ext <<_ACEOF1.930 +/* confdefs.h. */1.931 +_ACEOF1.932 +cat confdefs.h >>conftest.$ac_ext1.933 +cat >>conftest.$ac_ext <<_ACEOF1.934 +/* end confdefs.h. */1.935 +1.936 +int1.937 +main ()1.938 +{1.939 +1.940 + ;1.941 + return 0;1.942 +}1.943 +_ACEOF1.944 +rm -f conftest.$ac_build_objext1.945 +if { (ac_try="$ac_build_compile"1.946 +case "(($ac_try" in1.947 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1.948 + *) ac_try_echo=$ac_try;;1.949 +esac1.950 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&51.951 + (eval "$ac_build_compile") 2>conftest.er11.952 + ac_status=$?1.953 + grep -v '^ *+' conftest.er1 >conftest.err1.954 + rm -f conftest.er11.955 + cat conftest.err >&51.956 + echo "$as_me:$LINENO: \$? = $ac_status" >&51.957 + (exit $ac_status); } && {1.958 + test -z "$ac_c_werror_flag" ||1.959 + test ! -s conftest.err1.960 + } && test -s conftest.$ac_build_objext; then1.961 + ac_cv_build_prog_cc_g=yes1.962 +else1.963 + echo "$as_me: failed program was:" >&51.964 +sed 's/^/| /' conftest.$ac_ext >&51.965 +1.966 +1.967 +fi1.968 +1.969 +rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext1.970 +fi1.971 +1.972 +rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext1.973 +fi1.974 +1.975 +rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext1.976 + ac_c_werror_flag=$ac_save_c_werror_flag1.977 +fi1.978 +{ echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_g" >&51.979 +echo "${ECHO_T}$ac_cv_build_prog_cc_g" >&6; }1.980 +if test "$ac_test_CFLAGS" = set; then1.981 + CFLAGS_FOR_BUILD=$ac_save_CFLAGS1.982 +elif test $ac_cv_build_prog_cc_g = yes; then1.983 + if test "$GCC" = yes; then1.984 + CFLAGS_FOR_BUILD="-g -O2"1.985 + else1.986 + CFLAGS_FOR_BUILD="-g"1.987 + fi1.988 +else1.989 + if test "$GCC" = yes; then1.990 + CFLAGS_FOR_BUILD="-O2"1.991 + else1.992 + CFLAGS_FOR_BUILD=1.993 + fi1.994 +fi1.995 +{ echo "$as_me:$LINENO: checking for $CC_FOR_BUILD option to accept ISO C89" >&51.996 +echo $ECHO_N "checking for $CC_FOR_BUILD option to accept ISO C89... $ECHO_C" >&6; }1.997 +if test "${ac_cv_prog_cc_c89+set}" = set; then1.998 + echo $ECHO_N "(cached) $ECHO_C" >&61.999 +else1.1000 + ac_cv_prog_cc_c89=no1.1001 +ac_save_CC=$CC_FOR_BUILD1.1002 +cat >conftest.$ac_ext <<_ACEOF1.1003 +/* confdefs.h. */1.1004 +_ACEOF1.1005 +cat confdefs.h >>conftest.$ac_ext1.1006 +cat >>conftest.$ac_ext <<_ACEOF1.1007 +/* end confdefs.h. */1.1008 +#include <stdarg.h>1.1009 +#include <stdio.h>1.1010 +#include <sys/types.h>1.1011 +#include <sys/stat.h>1.1012 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */1.1013 +struct buf { int x; };1.1014 +FILE * (*rcsopen) (struct buf *, struct stat *, int);1.1015 +static char *e (p, i)1.1016 + char **p;1.1017 + int i;1.1018 +{1.1019 + return p[i];1.1020 +}1.1021 +static char *f (char * (*g) (char **, int), char **p, ...)1.1022 +{1.1023 + char *s;1.1024 + va_list v;1.1025 + va_start (v,p);1.1026 + s = g (p, va_arg (v,int));1.1027 + va_end (v);1.1028 + return s;1.1029 +}1.1030 +1.1031 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has1.1032 + function prototypes and stuff, but not '\xHH' hex character constants.1.1033 + These don't provoke an error unfortunately, instead are silently treated1.1034 + as 'x'. The following induces an error, until -std is added to get1.1035 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an1.1036 + array size at least. It's necessary to write '\x00'==0 to get something1.1037 + that's true only with -std. */1.1038 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];1.1039 +1.1040 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters1.1041 + inside strings and character constants. */1.1042 +#define FOO(x) 'x'1.1043 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];1.1044 +1.1045 +int test (int i, double x);1.1046 +struct s1 {int (*f) (int a);};1.1047 +struct s2 {int (*f) (double a);};1.1048 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);1.1049 +int argc;1.1050 +char **argv;1.1051 +int1.1052 +main ()1.1053 +{1.1054 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];1.1055 + ;1.1056 + return 0;1.1057 +}1.1058 +_ACEOF1.1059 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \1.1060 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"1.1061 +do1.1062 + CC_FOR_BUILD="$ac_save_CC $ac_arg"1.1063 + rm -f conftest.$ac_build_objext1.1064 +if { (ac_try="$ac_build_compile"1.1065 +case "(($ac_try" in1.1066 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1.1067 + *) ac_try_echo=$ac_try;;1.1068 +esac1.1069 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&51.1070 + (eval "$ac_build_compile") 2>conftest.er11.1071 + ac_status=$?1.1072 + grep -v '^ *+' conftest.er1 >conftest.err1.1073 + rm -f conftest.er11.1074 + cat conftest.err >&51.1075 + echo "$as_me:$LINENO: \$? = $ac_status" >&51.1076 + (exit $ac_status); } && {1.1077 + test -z "$ac_c_werror_flag" ||1.1078 + test ! -s conftest.err1.1079 + } && test -s conftest.$ac_build_objext; then1.1080 + ac_cv_prog_cc_c89=$ac_arg1.1081 +else1.1082 + echo "$as_me: failed program was:" >&51.1083 +sed 's/^/| /' conftest.$ac_ext >&51.1084 +1.1085 +1.1086 +fi1.1087 +1.1088 +rm -f core conftest.err conftest.$ac_build_objext1.1089 + test "x$ac_cv_prog_cc_c89" != "xno" && break1.1090 +done1.1091 +rm -f conftest.$ac_ext1.1092 +CC_FOR_BUILD=$ac_save_CC1.1093 +1.1094 +fi1.1095 +# AC_CACHE_VAL1.1096 +case "x$ac_cv_prog_cc_c89" in1.1097 + x)1.1098 + { echo "$as_me:$LINENO: result: none needed" >&51.1099 +echo "${ECHO_T}none needed" >&6; } ;;1.1100 + xno)1.1101 + { echo "$as_me:$LINENO: result: unsupported" >&51.1102 +echo "${ECHO_T}unsupported" >&6; } ;;1.1103 + *)1.1104 + CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_prog_cc_c89"1.1105 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&51.1106 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;1.1107 +esac1.1108 +1.1109 +1.1110 +ac_ext=c1.1111 +ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'1.1112 +ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'1.1113 +ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'1.1114 +ac_compiler_gnu=$ac_cv_c_compiler_gnu1.1115 +1.1116 +depcc="$CC_FOR_BUILD" am_compiler_list=1.1117 +1.1118 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&51.1119 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }1.1120 +if test "${am_cv_CC_FOR_BUILD_dependencies_compiler_type+set}" = set; then1.1121 + echo $ECHO_N "(cached) $ECHO_C" >&61.1122 +else1.1123 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then1.1124 + # We make a subdir and do the tests there. Otherwise we can end up1.1125 + # making bogus files that we don't know about and never remove. For1.1126 + # instance it was reported that on HP-UX the gcc test will end up1.1127 + # making a dummy file named `D' -- because `-MD' means `put the output1.1128 + # in D'.1.1129 + mkdir conftest.dir1.1130 + # Copy depcomp to subdir because otherwise we won't find it if we're1.1131 + # using a relative directory.1.1132 + cp "$am_depcomp" conftest.dir1.1133 + cd conftest.dir1.1134 + # We will build objects and dependencies in a subdirectory because1.1135 + # it helps to detect inapplicable dependency modes. For instance1.1136 + # both Tru64's cc and ICC support -MD to output dependencies as a1.1137 + # side effect of compilation, but ICC will put the dependencies in1.1138 + # the current directory while Tru64 will put them in the object1.1139 + # directory.1.1140 + mkdir sub1.1141 +1.1142 + am_cv_CC_FOR_BUILD_dependencies_compiler_type=none1.1143 + if test "$am_compiler_list" = ""; then1.1144 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`1.1145 + fi1.1146 + for depmode in $am_compiler_list; do1.1147 + # Setup a source with many dependencies, because some compilers1.1148 + # like to wrap large dependency lists on column 80 (with \), and1.1149 + # we should not choose a depcomp mode which is confused by this.1.1150 + #1.1151 + # We need to recreate these files for each test, as the compiler may1.1152 + # overwrite some of them when testing with obscure command lines.1.1153 + # This happens at least with the AIX C compiler.1.1154 + : > sub/conftest.c1.1155 + for i in 1 2 3 4 5 6; do1.1156 + echo '#include "conftst'$i'.h"' >> sub/conftest.c1.1157 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with1.1158 + # Solaris 8's {/usr,}/bin/sh.1.1159 + touch sub/conftst$i.h1.1160 + done1.1161 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf1.1162 +1.1163 + case $depmode in1.1164 + nosideeffect)1.1165 + # after this tag, mechanisms are not by side-effect, so they'll1.1166 + # only be used when explicitly requested1.1167 + if test "x$enable_dependency_tracking" = xyes; then1.1168 + continue1.1169 + else1.1170 + break1.1171 + fi1.1172 + ;;1.1173 + none) break ;;1.1174 + esac1.1175 + # We check with `-c' and `-o' for the sake of the "dashmstdout"1.1176 + # mode. It turns out that the SunPro C++ compiler does not properly1.1177 + # handle `-M -o', and we need to detect this.1.1178 + if depmode=$depmode \1.1179 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \1.1180 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \1.1181 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \1.1182 + >/dev/null 2>conftest.err &&1.1183 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&1.1184 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&1.1185 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then1.1186 + # icc doesn't choke on unknown options, it will just issue warnings1.1187 + # or remarks (even with -Werror). So we grep stderr for any message1.1188 + # that says an option was ignored or not supported.1.1189 + # When given -MP, icc 7.0 and 7.1 complain thusly:1.1190 + # icc: Command line warning: ignoring option '-M'; no argument required1.1191 + # The diagnosis changed in icc 8.0:1.1192 + # icc: Command line remark: option '-MP' not supported1.1193 + if (grep 'ignoring option' conftest.err ||1.1194 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else1.1195 + am_cv_CC_FOR_BUILD_dependencies_compiler_type=$depmode1.1196 + break1.1197 + fi1.1198 + fi1.1199 + done1.1200 +1.1201 + cd ..1.1202 + rm -rf conftest.dir1.1203 +else1.1204 + am_cv_CC_FOR_BUILD_dependencies_compiler_type=none1.1205 +fi1.1206 +1.1207 +fi1.1208 +{ echo "$as_me:$LINENO: result: $am_cv_CC_FOR_BUILD_dependencies_compiler_type" >&51.1209 +echo "${ECHO_T}$am_cv_CC_FOR_BUILD_dependencies_compiler_type" >&6; }1.1210 +CC_FOR_BUILDDEPMODE=depmode=$am_cv_CC_FOR_BUILD_dependencies_compiler_type1.1211 +1.1212 +1.1213 +1.1214 +if1.1215 + test "x$enable_dependency_tracking" != xno \1.1216 + && test "$am_cv_CC_FOR_BUILD_dependencies_compiler_type" = gcc3; then1.1217 + am__fastdepCC_FOR_BUILD_TRUE=1.1218 + am__fastdepCC_FOR_BUILD_FALSE='#'1.1219 +else1.1220 + am__fastdepCC_FOR_BUILD_TRUE='#'1.1221 + am__fastdepCC_FOR_BUILD_FALSE=1.1222 +fi1.1223 +1.1224 +1.1225 +ac_ext=c1.1226 +ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'1.1227 +ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'1.1228 +ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'1.1229 +ac_compiler_gnu=$ac_cv_c_compiler_gnu1.1230 +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&51.1231 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }1.1232 +# On Suns, sometimes $CPP names a directory.1.1233 +if test -n "$CPP_FOR_BUILD" && test -d "$CPP_FOR_BUILD"; then1.1234 + CPP_FOR_BUILD=1.1235 +fi1.1236 +if test -z "$CPP_FOR_BUILD"; then1.1237 + if test "${ac_cv_build_prog_CPP+set}" = set; then1.1238 + echo $ECHO_N "(cached) $ECHO_C" >&61.1239 +else1.1240 + # Double quotes because CPP needs to be expanded1.1241 + for CPP_FOR_BUILD in "$CC_FOR_BUILD -E" "$CC_FOR_BUILD -E -traditional-cpp" "/lib/cpp"1.1242 + do1.1243 + ac_preproc_ok=false1.1244 +for ac_c_preproc_warn_flag in '' yes1.1245 +do1.1246 + # Use a header file that comes with gcc, so configuring glibc1.1247 + # with a fresh cross-compiler works.1.1248 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since1.1249 + # <limits.h> exists even on freestanding compilers.1.1250 + # On the NeXT, cc -E runs the code through the compiler's parser,1.1251 + # not just through cpp. "Syntax error" is here to catch this case.1.1252 + cat >conftest.$ac_ext <<_ACEOF1.1253 +/* confdefs.h. */1.1254 +_ACEOF1.1255 +cat confdefs.h >>conftest.$ac_ext1.1256 +cat >>conftest.$ac_ext <<_ACEOF1.1257 +/* end confdefs.h. */1.1258 +#ifdef __STDC__1.1259 +# include <limits.h>1.1260 +#else1.1261 +# include <assert.h>1.1262 +#endif1.1263 + Syntax error1.1264 +_ACEOF1.1265 +if { (ac_try="$ac_build_cpp conftest.$ac_ext"1.1266 +case "(($ac_try" in1.1267 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1.1268 + *) ac_try_echo=$ac_try;;1.1269 +esac1.1270 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&51.1271 + (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er11.1272 + ac_status=$?1.1273 + grep -v '^ *+' conftest.er1 >conftest.err1.1274 + rm -f conftest.er11.1275 + cat conftest.err >&51.1276 + echo "$as_me:$LINENO: \$? = $ac_status" >&51.1277 + (exit $ac_status); } >/dev/null && {1.1278 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||1.1279 + test ! -s conftest.err1.1280 + }; then1.1281 + :1.1282 +else1.1283 + echo "$as_me: failed program was:" >&51.1284 +sed 's/^/| /' conftest.$ac_ext >&51.1285 +1.1286 + # Broken: fails on valid input.1.1287 +continue1.1288 +fi1.1289 +1.1290 +rm -f conftest.err conftest.$ac_ext1.1291 +1.1292 + # OK, works on sane cases. Now check whether nonexistent headers1.1293 + # can be detected and how.1.1294 + cat >conftest.$ac_ext <<_ACEOF1.1295 +/* confdefs.h. */1.1296 +_ACEOF1.1297 +cat confdefs.h >>conftest.$ac_ext1.1298 +cat >>conftest.$ac_ext <<_ACEOF1.1299 +/* end confdefs.h. */1.1300 +#include <ac_nonexistent.h>1.1301 +_ACEOF1.1302 +if { (ac_try="$ac_build_cpp conftest.$ac_ext"1.1303 +case "(($ac_try" in1.1304 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1.1305 + *) ac_try_echo=$ac_try;;1.1306 +esac1.1307 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&51.1308 + (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er11.1309 + ac_status=$?1.1310 + grep -v '^ *+' conftest.er1 >conftest.err1.1311 + rm -f conftest.er11.1312 + cat conftest.err >&51.1313 + echo "$as_me:$LINENO: \$? = $ac_status" >&51.1314 + (exit $ac_status); } >/dev/null && {1.1315 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||1.1316 + test ! -s conftest.err1.1317 + }; then1.1318 + # Broken: success on invalid input.1.1319 +continue1.1320 +else1.1321 + echo "$as_me: failed program was:" >&51.1322 +sed 's/^/| /' conftest.$ac_ext >&51.1323 +1.1324 + # Passes both tests.1.1325 +ac_preproc_ok=:1.1326 +break1.1327 +fi1.1328 +1.1329 +rm -f conftest.err conftest.$ac_ext1.1330 +1.1331 +done1.1332 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.1.1333 +rm -f conftest.err conftest.$ac_ext1.1334 +if $ac_preproc_ok; then1.1335 + break1.1336 +fi1.1337 +1.1338 + done1.1339 + ac_cv_build_prog_CPP=$CPP_FOR_BUILD1.1340 +1.1341 +fi1.1342 + CPP_FOR_BUILD=$ac_cv_build_prog_CPP1.1343 +else1.1344 + ac_cv_build_prog_CPP=$CPP_FOR_BUILD1.1345 +fi1.1346 +{ echo "$as_me:$LINENO: result: $CPP_FOR_BUILD" >&51.1347 +echo "${ECHO_T}$CPP_FOR_BUILD" >&6; }1.1348 +ac_preproc_ok=false1.1349 +for ac_c_preproc_warn_flag in '' yes1.1350 +do1.1351 + # Use a header file that comes with gcc, so configuring glibc1.1352 + # with a fresh cross-compiler works.1.1353 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since1.1354 + # <limits.h> exists even on freestanding compilers.1.1355 + # On the NeXT, cc -E runs the code through the compiler's parser,1.1356 + # not just through cpp. "Syntax error" is here to catch this case.1.1357 + cat >conftest.$ac_ext <<_ACEOF1.1358 +/* confdefs.h. */1.1359 +_ACEOF1.1360 +cat confdefs.h >>conftest.$ac_ext1.1361 +cat >>conftest.$ac_ext <<_ACEOF1.1362 +/* end confdefs.h. */1.1363 +#ifdef __STDC__1.1364 +# include <limits.h>1.1365 +#else1.1366 +# include <assert.h>1.1367 +#endif1.1368 + Syntax error1.1369 +_ACEOF1.1370 +if { (ac_try="$ac_build_cpp conftest.$ac_ext"1.1371 +case "(($ac_try" in1.1372 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1.1373 + *) ac_try_echo=$ac_try;;1.1374 +esac1.1375 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&51.1376 + (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er11.1377 + ac_status=$?1.1378 + grep -v '^ *+' conftest.er1 >conftest.err1.1379 + rm -f conftest.er11.1380 + cat conftest.err >&51.1381 + echo "$as_me:$LINENO: \$? = $ac_status" >&51.1382 + (exit $ac_status); } >/dev/null && {1.1383 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||1.1384 + test ! -s conftest.err1.1385 + }; then1.1386 + :1.1387 +else1.1388 + echo "$as_me: failed program was:" >&51.1389 +sed 's/^/| /' conftest.$ac_ext >&51.1390 +1.1391 + # Broken: fails on valid input.1.1392 +continue1.1393 +fi1.1394 +1.1395 +rm -f conftest.err conftest.$ac_ext1.1396 +1.1397 + # OK, works on sane cases. Now check whether nonexistent headers1.1398 + # can be detected and how.1.1399 + cat >conftest.$ac_ext <<_ACEOF1.1400 +/* confdefs.h. */1.1401 +_ACEOF1.1402 +cat confdefs.h >>conftest.$ac_ext1.1403 +cat >>conftest.$ac_ext <<_ACEOF1.1404 +/* end confdefs.h. */1.1405 +#include <ac_nonexistent.h>1.1406 +_ACEOF1.1407 +if { (ac_try="$ac_build_cpp conftest.$ac_ext"1.1408 +case "(($ac_try" in1.1409 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1.1410 + *) ac_try_echo=$ac_try;;1.1411 +esac1.1412 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&51.1413 + (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er11.1414 + ac_status=$?1.1415 + grep -v '^ *+' conftest.er1 >conftest.err1.1416 + rm -f conftest.er11.1417 + cat conftest.err >&51.1418 + echo "$as_me:$LINENO: \$? = $ac_status" >&51.1419 + (exit $ac_status); } >/dev/null && {1.1420 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||1.1421 + test ! -s conftest.err1.1422 + }; then1.1423 + # Broken: success on invalid input.1.1424 +continue1.1425 +else1.1426 + echo "$as_me: failed program was:" >&51.1427 +sed 's/^/| /' conftest.$ac_ext >&51.1428 +1.1429 + # Passes both tests.1.1430 +ac_preproc_ok=:1.1431 +break1.1432 +fi1.1433 +1.1434 +rm -f conftest.err conftest.$ac_ext1.1435 +1.1436 +done1.1437 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.1.1438 +rm -f conftest.err conftest.$ac_ext1.1439 +if $ac_preproc_ok; then1.1440 + :1.1441 +else1.1442 + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP_FOR_BUILD\" fails sanity check1.1443 +See \`config.log' for more details." >&51.1444 +echo "$as_me: error: C preprocessor \"$CPP_FOR_BUILD\" fails sanity check1.1445 +See \`config.log' for more details." >&2;}1.1446 + { (exit 1); exit 1; }; }1.1447 +fi1.1448 +1.1449 +ac_ext=c1.1450 +ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'1.1451 +ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'1.1452 +ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'1.1453 +ac_compiler_gnu=$ac_cv_c_compiler_gnu1.1454 +1.1455 +1.1456 +1.1457 +1.1458 +BUILD_EXEEXT=$ac_build_exeext1.1459 +BUILD_OBJEXT=$ac_build_objext1.1460 +1.1461 +ac_ext=c1.1462 +ac_cpp='$CPP $CPPFLAGS'1.1463 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'1.1464 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'1.1465 +ac_compiler_gnu=$ac_cv_c_compiler_gnu1.1466 if test -n "$ac_tool_prefix"; then1.1467 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.1.1468 set dummy ${ac_tool_prefix}gcc; ac_word=$21.1469 @@ -5572,236 +6974,6 @@1.1473 -ac_ext=c1.1474 -ac_cpp='$CPP $CPPFLAGS'1.1475 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'1.1476 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'1.1477 -ac_compiler_gnu=$ac_cv_c_compiler_gnu1.1478 -{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&51.1479 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }1.1480 -# On Suns, sometimes $CPP names a directory.1.1481 -if test -n "$CPP" && test -d "$CPP"; then1.1482 - CPP=1.1483 -fi1.1484 -if test -z "$CPP"; then1.1485 - if test "${ac_cv_prog_CPP+set}" = set; then1.1486 - echo $ECHO_N "(cached) $ECHO_C" >&61.1487 -else1.1488 - # Double quotes because CPP needs to be expanded1.1489 - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"1.1490 - do1.1491 - ac_preproc_ok=false1.1492 -for ac_c_preproc_warn_flag in '' yes1.1493 -do1.1494 - # Use a header file that comes with gcc, so configuring glibc1.1495 - # with a fresh cross-compiler works.1.1496 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since1.1497 - # <limits.h> exists even on freestanding compilers.1.1498 - # On the NeXT, cc -E runs the code through the compiler's parser,1.1499 - # not just through cpp. "Syntax error" is here to catch this case.1.1500 - cat >conftest.$ac_ext <<_ACEOF1.1501 -/* confdefs.h. */1.1502 -_ACEOF1.1503 -cat confdefs.h >>conftest.$ac_ext1.1504 -cat >>conftest.$ac_ext <<_ACEOF1.1505 -/* end confdefs.h. */1.1506 -#ifdef __STDC__1.1507 -# include <limits.h>1.1508 -#else1.1509 -# include <assert.h>1.1510 -#endif1.1511 - Syntax error1.1512 -_ACEOF1.1513 -if { (ac_try="$ac_cpp conftest.$ac_ext"1.1514 -case "(($ac_try" in1.1515 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1.1516 - *) ac_try_echo=$ac_try;;1.1517 -esac1.1518 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&51.1519 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er11.1520 - ac_status=$?1.1521 - grep -v '^ *+' conftest.er1 >conftest.err1.1522 - rm -f conftest.er11.1523 - cat conftest.err >&51.1524 - echo "$as_me:$LINENO: \$? = $ac_status" >&51.1525 - (exit $ac_status); } >/dev/null && {1.1526 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||1.1527 - test ! -s conftest.err1.1528 - }; then1.1529 - :1.1530 -else1.1531 - echo "$as_me: failed program was:" >&51.1532 -sed 's/^/| /' conftest.$ac_ext >&51.1533 -1.1534 - # Broken: fails on valid input.1.1535 -continue1.1536 -fi1.1537 -1.1538 -rm -f conftest.err conftest.$ac_ext1.1539 -1.1540 - # OK, works on sane cases. Now check whether nonexistent headers1.1541 - # can be detected and how.1.1542 - cat >conftest.$ac_ext <<_ACEOF1.1543 -/* confdefs.h. */1.1544 -_ACEOF1.1545 -cat confdefs.h >>conftest.$ac_ext1.1546 -cat >>conftest.$ac_ext <<_ACEOF1.1547 -/* end confdefs.h. */1.1548 -#include <ac_nonexistent.h>1.1549 -_ACEOF1.1550 -if { (ac_try="$ac_cpp conftest.$ac_ext"1.1551 -case "(($ac_try" in1.1552 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1.1553 - *) ac_try_echo=$ac_try;;1.1554 -esac1.1555 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&51.1556 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er11.1557 - ac_status=$?1.1558 - grep -v '^ *+' conftest.er1 >conftest.err1.1559 - rm -f conftest.er11.1560 - cat conftest.err >&51.1561 - echo "$as_me:$LINENO: \$? = $ac_status" >&51.1562 - (exit $ac_status); } >/dev/null && {1.1563 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||1.1564 - test ! -s conftest.err1.1565 - }; then1.1566 - # Broken: success on invalid input.1.1567 -continue1.1568 -else1.1569 - echo "$as_me: failed program was:" >&51.1570 -sed 's/^/| /' conftest.$ac_ext >&51.1571 -1.1572 - # Passes both tests.1.1573 -ac_preproc_ok=:1.1574 -break1.1575 -fi1.1576 -1.1577 -rm -f conftest.err conftest.$ac_ext1.1578 -1.1579 -done1.1580 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.1.1581 -rm -f conftest.err conftest.$ac_ext1.1582 -if $ac_preproc_ok; then1.1583 - break1.1584 -fi1.1585 -1.1586 - done1.1587 - ac_cv_prog_CPP=$CPP1.1588 -1.1589 -fi1.1590 - CPP=$ac_cv_prog_CPP1.1591 -else1.1592 - ac_cv_prog_CPP=$CPP1.1593 -fi1.1594 -{ echo "$as_me:$LINENO: result: $CPP" >&51.1595 -echo "${ECHO_T}$CPP" >&6; }1.1596 -ac_preproc_ok=false1.1597 -for ac_c_preproc_warn_flag in '' yes1.1598 -do1.1599 - # Use a header file that comes with gcc, so configuring glibc1.1600 - # with a fresh cross-compiler works.1.1601 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since1.1602 - # <limits.h> exists even on freestanding compilers.1.1603 - # On the NeXT, cc -E runs the code through the compiler's parser,1.1604 - # not just through cpp. "Syntax error" is here to catch this case.1.1605 - cat >conftest.$ac_ext <<_ACEOF1.1606 -/* confdefs.h. */1.1607 -_ACEOF1.1608 -cat confdefs.h >>conftest.$ac_ext1.1609 -cat >>conftest.$ac_ext <<_ACEOF1.1610 -/* end confdefs.h. */1.1611 -#ifdef __STDC__1.1612 -# include <limits.h>1.1613 -#else1.1614 -# include <assert.h>1.1615 -#endif1.1616 - Syntax error1.1617 -_ACEOF1.1618 -if { (ac_try="$ac_cpp conftest.$ac_ext"1.1619 -case "(($ac_try" in1.1620 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1.1621 - *) ac_try_echo=$ac_try;;1.1622 -esac1.1623 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&51.1624 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er11.1625 - ac_status=$?1.1626 - grep -v '^ *+' conftest.er1 >conftest.err1.1627 - rm -f conftest.er11.1628 - cat conftest.err >&51.1629 - echo "$as_me:$LINENO: \$? = $ac_status" >&51.1630 - (exit $ac_status); } >/dev/null && {1.1631 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||1.1632 - test ! -s conftest.err1.1633 - }; then1.1634 - :1.1635 -else1.1636 - echo "$as_me: failed program was:" >&51.1637 -sed 's/^/| /' conftest.$ac_ext >&51.1638 -1.1639 - # Broken: fails on valid input.1.1640 -continue1.1641 -fi1.1642 -1.1643 -rm -f conftest.err conftest.$ac_ext1.1644 -1.1645 - # OK, works on sane cases. Now check whether nonexistent headers1.1646 - # can be detected and how.1.1647 - cat >conftest.$ac_ext <<_ACEOF1.1648 -/* confdefs.h. */1.1649 -_ACEOF1.1650 -cat confdefs.h >>conftest.$ac_ext1.1651 -cat >>conftest.$ac_ext <<_ACEOF1.1652 -/* end confdefs.h. */1.1653 -#include <ac_nonexistent.h>1.1654 -_ACEOF1.1655 -if { (ac_try="$ac_cpp conftest.$ac_ext"1.1656 -case "(($ac_try" in1.1657 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1.1658 - *) ac_try_echo=$ac_try;;1.1659 -esac1.1660 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&51.1661 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er11.1662 - ac_status=$?1.1663 - grep -v '^ *+' conftest.er1 >conftest.err1.1664 - rm -f conftest.er11.1665 - cat conftest.err >&51.1666 - echo "$as_me:$LINENO: \$? = $ac_status" >&51.1667 - (exit $ac_status); } >/dev/null && {1.1668 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||1.1669 - test ! -s conftest.err1.1670 - }; then1.1671 - # Broken: success on invalid input.1.1672 -continue1.1673 -else1.1674 - echo "$as_me: failed program was:" >&51.1675 -sed 's/^/| /' conftest.$ac_ext >&51.1676 -1.1677 - # Passes both tests.1.1678 -ac_preproc_ok=:1.1679 -break1.1680 -fi1.1681 -1.1682 -rm -f conftest.err conftest.$ac_ext1.1683 -1.1684 -done1.1685 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.1.1686 -rm -f conftest.err conftest.$ac_ext1.1687 -if $ac_preproc_ok; then1.1688 - :1.1689 -else1.1690 - { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check1.1691 -See \`config.log' for more details." >&51.1692 -echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check1.1693 -See \`config.log' for more details." >&2;}1.1694 - { (exit 1); exit 1; }; }1.1695 -fi1.1696 -1.1697 -ac_ext=c1.1698 -ac_cpp='$CPP $CPPFLAGS'1.1699 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'1.1700 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'1.1701 -ac_compiler_gnu=$ac_cv_c_compiler_gnu1.1702 -1.1704 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&51.1705 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }1.1706 @@ -13606,6 +14778,13 @@1.1707 Usually this means the macro was only invoked conditionally." >&2;}1.1708 { (exit 1); exit 1; }; }1.1709 fi1.1710 +if test -z "${am__fastdepCC_FOR_BUILD_TRUE}" && test -z "${am__fastdepCC_FOR_BUILD_FALSE}"; then1.1711 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC_FOR_BUILD\" was never defined.1.1712 +Usually this means the macro was only invoked conditionally." >&51.1713 +echo "$as_me: error: conditional \"am__fastdepCC_FOR_BUILD\" was never defined.1.1714 +Usually this means the macro was only invoked conditionally." >&2;}1.1715 + { (exit 1); exit 1; }; }1.1716 +fi1.1717 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then1.1718 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.1.1719 Usually this means the macro was only invoked conditionally." >&51.1720 @@ -14367,15 +15546,7 @@1.1721 CCDEPMODE!$CCDEPMODE$ac_delim1.1722 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim1.1723 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim1.1724 -OBJC!$OBJC$ac_delim1.1725 -OBJCFLAGS!$OBJCFLAGS$ac_delim1.1726 -ac_ct_OBJC!$ac_ct_OBJC$ac_delim1.1727 -SED!$SED$ac_delim1.1728 -CCAS!$CCAS$ac_delim1.1729 -CCASFLAGS!$CCASFLAGS$ac_delim1.1730 CPP!$CPP$ac_delim1.1731 -GREP!$GREP$ac_delim1.1732 -EGREP!$EGREP$ac_delim1.1733 build!$build$ac_delim1.1734 build_cpu!$build_cpu$ac_delim1.1735 build_vendor!$build_vendor$ac_delim1.1736 @@ -14384,9 +15555,17 @@1.1737 host_cpu!$host_cpu$ac_delim1.1738 host_vendor!$host_vendor$ac_delim1.1739 host_os!$host_os$ac_delim1.1740 -OBJCDEPMODE!$OBJCDEPMODE$ac_delim1.1741 -am__fastdepOBJC_TRUE!$am__fastdepOBJC_TRUE$ac_delim1.1742 -am__fastdepOBJC_FALSE!$am__fastdepOBJC_FALSE$ac_delim1.1743 +CC!$CC$ac_delim1.1744 +CFLAGS!$CFLAGS$ac_delim1.1745 +CPPFLAGS!$CPPFLAGS$ac_delim1.1746 +CC_FOR_BUILD!$CC_FOR_BUILD$ac_delim1.1747 +ac_ct_CC_FOR_BUILD!$ac_ct_CC_FOR_BUILD$ac_delim1.1748 +CC_FOR_BUILDDEPMODE!$CC_FOR_BUILDDEPMODE$ac_delim1.1749 +am__fastdepCC_FOR_BUILD_TRUE!$am__fastdepCC_FOR_BUILD_TRUE$ac_delim1.1750 +am__fastdepCC_FOR_BUILD_FALSE!$am__fastdepCC_FOR_BUILD_FALSE$ac_delim1.1751 +CPP!$CPP$ac_delim1.1752 +CPPFLAGS!$CPPFLAGS$ac_delim1.1753 +CPP_FOR_BUILD!$CPP_FOR_BUILD$ac_delim1.1754 _ACEOF1.1756 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then1.1757 @@ -14428,6 +15607,21 @@1.1758 ac_delim='%!_!# '1.1759 for ac_last_try in false false false false false :; do1.1760 cat >conf$$subs.sed <<_ACEOF1.1761 +BUILD_EXEEXT!$BUILD_EXEEXT$ac_delim1.1762 +BUILD_OBJEXT!$BUILD_OBJEXT$ac_delim1.1763 +CFLAGS_FOR_BUILD!$CFLAGS_FOR_BUILD$ac_delim1.1764 +CPPFLAGS_FOR_BUILD!$CPPFLAGS_FOR_BUILD$ac_delim1.1765 +OBJC!$OBJC$ac_delim1.1766 +OBJCFLAGS!$OBJCFLAGS$ac_delim1.1767 +ac_ct_OBJC!$ac_ct_OBJC$ac_delim1.1768 +SED!$SED$ac_delim1.1769 +CCAS!$CCAS$ac_delim1.1770 +CCASFLAGS!$CCASFLAGS$ac_delim1.1771 +GREP!$GREP$ac_delim1.1772 +EGREP!$EGREP$ac_delim1.1773 +OBJCDEPMODE!$OBJCDEPMODE$ac_delim1.1774 +am__fastdepOBJC_TRUE!$am__fastdepOBJC_TRUE$ac_delim1.1775 +am__fastdepOBJC_FALSE!$am__fastdepOBJC_FALSE$ac_delim1.1776 POD2MAN!$POD2MAN$ac_delim1.1777 POD2HTML!$POD2HTML$ac_delim1.1778 GUI_COCOA_TRUE!$GUI_COCOA_TRUE$ac_delim1.1779 @@ -14510,6 +15704,47 @@1.1780 DATADIRNAME!$DATADIRNAME$ac_delim1.1781 GMOFILES!$GMOFILES$ac_delim1.1782 INSTOBJEXT!$INSTOBJEXT$ac_delim1.1783 +_ACEOF1.1784 +1.1785 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then1.1786 + break1.1787 + elif $ac_last_try; then1.1788 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&51.1789 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}1.1790 + { (exit 1); exit 1; }; }1.1791 + else1.1792 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "1.1793 + fi1.1794 +done1.1795 +1.1796 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`1.1797 +if test -n "$ac_eof"; then1.1798 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`1.1799 + ac_eof=`expr $ac_eof + 1`1.1800 +fi1.1801 +1.1802 +cat >>$CONFIG_STATUS <<_ACEOF1.1803 +cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof1.1804 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b1.1805 +_ACEOF1.1806 +sed '1.1807 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g1.1808 +s/^/s,@/; s/!/@,|#_!!_#|/1.1809 +:n1.1810 +t n1.1811 +s/'"$ac_delim"'$/,g/; t1.1812 +s/$/\\/; p1.1813 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n1.1814 +' >>$CONFIG_STATUS <conf$$subs.sed1.1815 +rm -f conf$$subs.sed1.1816 +cat >>$CONFIG_STATUS <<_ACEOF1.1817 +CEOF$ac_eof1.1818 +_ACEOF1.1819 +1.1820 +1.1821 +ac_delim='%!_!# '1.1822 +for ac_last_try in false false false false false :; do1.1823 + cat >conf$$subs.sed <<_ACEOF1.1824 INTLLIBS!$INTLLIBS$ac_delim1.1825 PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim1.1826 PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim1.1827 @@ -14520,7 +15755,7 @@1.1828 LTLIBOBJS!$LTLIBOBJS$ac_delim1.1829 _ACEOF1.1831 - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 90; then1.1832 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 8; then1.1833 break1.1834 elif $ac_last_try; then1.1835 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&51.1836 @@ -14538,7 +15773,7 @@1.1837 fi1.1839 cat >>$CONFIG_STATUS <<_ACEOF1.1840 -cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof1.1841 +cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof1.1842 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end1.1843 _ACEOF1.1844 sed '1.1845 @@ -14801,7 +16036,7 @@1.1846 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t1.1847 s&@INSTALL@&$ac_INSTALL&;t t1.1848 $ac_datarootdir_hack1.1849 -" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out1.1850 +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" >$tmp/out1.1852 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&1.1853 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
.