Search
lxdream.org :: lxdream/configure :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename configure
changeset 1200:3b2097efa97d
prev1199:62d0a21fac1c
next1210:79bbd30363f4
author nkeynes
date Mon Jan 30 17:47:29 2012 +1000 (12 years ago)
permissions -rw-r--r--
last change Add include sys/socket.h to provide type definitions (needed on some
platforms)
file annotate diff log raw
1.1 --- a/configure Wed Dec 21 12:15:06 2011 +1000
1.2 +++ b/configure Mon Jan 30 17:47:29 2012 +1000
1.3 @@ -690,15 +690,7 @@
1.4 CCDEPMODE
1.5 am__fastdepCC_TRUE
1.6 am__fastdepCC_FALSE
1.7 -OBJC
1.8 -OBJCFLAGS
1.9 -ac_ct_OBJC
1.10 -SED
1.11 -CCAS
1.12 -CCASFLAGS
1.13 CPP
1.14 -GREP
1.15 -EGREP
1.16 build
1.17 build_cpu
1.18 build_vendor
1.19 @@ -707,6 +699,29 @@
1.20 host_cpu
1.21 host_vendor
1.22 host_os
1.23 +CC
1.24 +CFLAGS
1.25 +CPPFLAGS
1.26 +CC_FOR_BUILD
1.27 +ac_ct_CC_FOR_BUILD
1.28 +CC_FOR_BUILDDEPMODE
1.29 +am__fastdepCC_FOR_BUILD_TRUE
1.30 +am__fastdepCC_FOR_BUILD_FALSE
1.31 +CPP
1.32 +CPPFLAGS
1.33 +CPP_FOR_BUILD
1.34 +BUILD_EXEEXT
1.35 +BUILD_OBJEXT
1.36 +CFLAGS_FOR_BUILD
1.37 +CPPFLAGS_FOR_BUILD
1.38 +OBJC
1.39 +OBJCFLAGS
1.40 +ac_ct_OBJC
1.41 +SED
1.42 +CCAS
1.43 +CCASFLAGS
1.44 +GREP
1.45 +EGREP
1.46 OBJCDEPMODE
1.47 am__fastdepOBJC_TRUE
1.48 am__fastdepOBJC_FALSE
1.49 @@ -809,11 +824,16 @@
1.50 LDFLAGS
1.51 LIBS
1.52 CPPFLAGS
1.53 +CPP
1.54 +CC
1.55 +CFLAGS
1.56 +CPPFLAGS
1.57 +CPP
1.58 +CPPFLAGS
1.59 OBJC
1.60 OBJCFLAGS
1.61 CCAS
1.62 CCASFLAGS
1.63 -CPP
1.64 PKG_CONFIG
1.65 LIBPNG_CFLAGS
1.66 LIBPNG_LIBS
1.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> if
1.70 you have headers in a nonstandard directory <include dir>
1.71 + CPP C preprocessor
1.72 OBJC Objective C compiler command
1.73 OBJCFLAGS Objective C compiler flags
1.74 CCAS assembler compiler command (defaults to CC)
1.75 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1.76 - CPP C preprocessor
1.77 PKG_CONFIG path to pkg-config utility
1.78 LIBPNG_CFLAGS
1.79 C compiler flags for LIBPNG, overriding pkg-config
1.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_gnu
1.84 +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
1.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"; then
1.88 + CPP=
1.89 +fi
1.90 +if test -z "$CPP"; then
1.91 + if test "${ac_cv_prog_CPP+set}" = set; then
1.92 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.93 +else
1.94 + # Double quotes because CPP needs to be expanded
1.95 + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
1.96 + do
1.97 + ac_preproc_ok=false
1.98 +for ac_c_preproc_warn_flag in '' yes
1.99 +do
1.100 + # Use a header file that comes with gcc, so configuring glibc
1.101 + # with a fresh cross-compiler works.
1.102 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.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 <<_ACEOF
1.107 +/* confdefs.h. */
1.108 +_ACEOF
1.109 +cat confdefs.h >>conftest.$ac_ext
1.110 +cat >>conftest.$ac_ext <<_ACEOF
1.111 +/* end confdefs.h. */
1.112 +#ifdef __STDC__
1.113 +# include <limits.h>
1.114 +#else
1.115 +# include <assert.h>
1.116 +#endif
1.117 + Syntax error
1.118 +_ACEOF
1.119 +if { (ac_try="$ac_cpp conftest.$ac_ext"
1.120 +case "(($ac_try" in
1.121 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.122 + *) ac_try_echo=$ac_try;;
1.123 +esac
1.124 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.125 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.126 + ac_status=$?
1.127 + grep -v '^ *+' conftest.er1 >conftest.err
1.128 + rm -f conftest.er1
1.129 + cat conftest.err >&5
1.130 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.131 + (exit $ac_status); } >/dev/null && {
1.132 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1.133 + test ! -s conftest.err
1.134 + }; then
1.135 + :
1.136 +else
1.137 + echo "$as_me: failed program was:" >&5
1.138 +sed 's/^/| /' conftest.$ac_ext >&5
1.139 +
1.140 + # Broken: fails on valid input.
1.141 +continue
1.142 +fi
1.143 +
1.144 +rm -f conftest.err conftest.$ac_ext
1.145 +
1.146 + # OK, works on sane cases. Now check whether nonexistent headers
1.147 + # can be detected and how.
1.148 + cat >conftest.$ac_ext <<_ACEOF
1.149 +/* confdefs.h. */
1.150 +_ACEOF
1.151 +cat confdefs.h >>conftest.$ac_ext
1.152 +cat >>conftest.$ac_ext <<_ACEOF
1.153 +/* end confdefs.h. */
1.154 +#include <ac_nonexistent.h>
1.155 +_ACEOF
1.156 +if { (ac_try="$ac_cpp conftest.$ac_ext"
1.157 +case "(($ac_try" in
1.158 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.159 + *) ac_try_echo=$ac_try;;
1.160 +esac
1.161 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.162 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.163 + ac_status=$?
1.164 + grep -v '^ *+' conftest.er1 >conftest.err
1.165 + rm -f conftest.er1
1.166 + cat conftest.err >&5
1.167 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.168 + (exit $ac_status); } >/dev/null && {
1.169 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1.170 + test ! -s conftest.err
1.171 + }; then
1.172 + # Broken: success on invalid input.
1.173 +continue
1.174 +else
1.175 + echo "$as_me: failed program was:" >&5
1.176 +sed 's/^/| /' conftest.$ac_ext >&5
1.177 +
1.178 + # Passes both tests.
1.179 +ac_preproc_ok=:
1.180 +break
1.181 +fi
1.182 +
1.183 +rm -f conftest.err conftest.$ac_ext
1.184 +
1.185 +done
1.186 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.187 +rm -f conftest.err conftest.$ac_ext
1.188 +if $ac_preproc_ok; then
1.189 + break
1.190 +fi
1.191 +
1.192 + done
1.193 + ac_cv_prog_CPP=$CPP
1.194 +
1.195 +fi
1.196 + CPP=$ac_cv_prog_CPP
1.197 +else
1.198 + ac_cv_prog_CPP=$CPP
1.199 +fi
1.200 +{ echo "$as_me:$LINENO: result: $CPP" >&5
1.201 +echo "${ECHO_T}$CPP" >&6; }
1.202 +ac_preproc_ok=false
1.203 +for ac_c_preproc_warn_flag in '' yes
1.204 +do
1.205 + # Use a header file that comes with gcc, so configuring glibc
1.206 + # with a fresh cross-compiler works.
1.207 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.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 <<_ACEOF
1.212 +/* confdefs.h. */
1.213 +_ACEOF
1.214 +cat confdefs.h >>conftest.$ac_ext
1.215 +cat >>conftest.$ac_ext <<_ACEOF
1.216 +/* end confdefs.h. */
1.217 +#ifdef __STDC__
1.218 +# include <limits.h>
1.219 +#else
1.220 +# include <assert.h>
1.221 +#endif
1.222 + Syntax error
1.223 +_ACEOF
1.224 +if { (ac_try="$ac_cpp conftest.$ac_ext"
1.225 +case "(($ac_try" in
1.226 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.227 + *) ac_try_echo=$ac_try;;
1.228 +esac
1.229 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.230 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.231 + ac_status=$?
1.232 + grep -v '^ *+' conftest.er1 >conftest.err
1.233 + rm -f conftest.er1
1.234 + cat conftest.err >&5
1.235 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.236 + (exit $ac_status); } >/dev/null && {
1.237 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1.238 + test ! -s conftest.err
1.239 + }; then
1.240 + :
1.241 +else
1.242 + echo "$as_me: failed program was:" >&5
1.243 +sed 's/^/| /' conftest.$ac_ext >&5
1.244 +
1.245 + # Broken: fails on valid input.
1.246 +continue
1.247 +fi
1.248 +
1.249 +rm -f conftest.err conftest.$ac_ext
1.250 +
1.251 + # OK, works on sane cases. Now check whether nonexistent headers
1.252 + # can be detected and how.
1.253 + cat >conftest.$ac_ext <<_ACEOF
1.254 +/* confdefs.h. */
1.255 +_ACEOF
1.256 +cat confdefs.h >>conftest.$ac_ext
1.257 +cat >>conftest.$ac_ext <<_ACEOF
1.258 +/* end confdefs.h. */
1.259 +#include <ac_nonexistent.h>
1.260 +_ACEOF
1.261 +if { (ac_try="$ac_cpp conftest.$ac_ext"
1.262 +case "(($ac_try" in
1.263 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.264 + *) ac_try_echo=$ac_try;;
1.265 +esac
1.266 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.267 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.268 + ac_status=$?
1.269 + grep -v '^ *+' conftest.er1 >conftest.err
1.270 + rm -f conftest.er1
1.271 + cat conftest.err >&5
1.272 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.273 + (exit $ac_status); } >/dev/null && {
1.274 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1.275 + test ! -s conftest.err
1.276 + }; then
1.277 + # Broken: success on invalid input.
1.278 +continue
1.279 +else
1.280 + echo "$as_me: failed program was:" >&5
1.281 +sed 's/^/| /' conftest.$ac_ext >&5
1.282 +
1.283 + # Passes both tests.
1.284 +ac_preproc_ok=:
1.285 +break
1.286 +fi
1.287 +
1.288 +rm -f conftest.err conftest.$ac_ext
1.289 +
1.290 +done
1.291 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.292 +rm -f conftest.err conftest.$ac_ext
1.293 +if $ac_preproc_ok; then
1.294 + :
1.295 +else
1.296 + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
1.297 +See \`config.log' for more details." >&5
1.298 +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
1.299 +See \`config.log' for more details." >&2;}
1.300 + { (exit 1); exit 1; }; }
1.301 +fi
1.302 +
1.303 +ac_ext=c
1.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_gnu
1.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" >&5
1.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" >&5
1.317 +echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1.318 +if test "${ac_cv_build+set}" = set; then
1.319 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.320 +else
1.321 + ac_build_alias=$build_alias
1.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" >&5
1.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" >&5
1.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 +fi
1.334 +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1.335 +echo "${ECHO_T}$ac_cv_build" >&6; }
1.336 +case $ac_cv_build in
1.337 +*-*-*) ;;
1.338 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1.339 +echo "$as_me: error: invalid value of canonical build" >&2;}
1.340 + { (exit 1); exit 1; }; };;
1.341 +esac
1.342 +build=$ac_cv_build
1.343 +ac_save_IFS=$IFS; IFS='-'
1.344 +set x $ac_cv_build
1.345 +shift
1.346 +build_cpu=$1
1.347 +build_vendor=$2
1.348 +shift; shift
1.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_IFS
1.353 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1.354 +
1.355 +
1.356 +{ echo "$as_me:$LINENO: checking host system type" >&5
1.357 +echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1.358 +if test "${ac_cv_host+set}" = set; then
1.359 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.360 +else
1.361 + if test "x$host_alias" = x; then
1.362 + ac_cv_host=$ac_cv_build
1.363 +else
1.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" >&5
1.366 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1.367 + { (exit 1); exit 1; }; }
1.368 +fi
1.369 +
1.370 +fi
1.371 +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1.372 +echo "${ECHO_T}$ac_cv_host" >&6; }
1.373 +case $ac_cv_host in
1.374 +*-*-*) ;;
1.375 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1.376 +echo "$as_me: error: invalid value of canonical host" >&2;}
1.377 + { (exit 1); exit 1; }; };;
1.378 +esac
1.379 +host=$ac_cv_host
1.380 +ac_save_IFS=$IFS; IFS='-'
1.381 +set x $ac_cv_host
1.382 +shift
1.383 +host_cpu=$1
1.384 +host_vendor=$2
1.385 +shift; shift
1.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_IFS
1.390 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1.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"; then
1.397 + if test "$#" = yes; then
1.398 + { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
1.399 +See \`config.log' for more details." >&5
1.400 +echo "$as_me: error: cannot run test program while cross compiling
1.401 +See \`config.log' for more details." >&2;}
1.402 + { (exit 1); exit 1; }; }
1.403 +else
1.404 + cat >conftest.$ac_ext <<_ACEOF
1.405 +int main(){return 0;}
1.406 +_ACEOF
1.407 +rm -f conftest$ac_exeext
1.408 +if { (ac_try="$ac_link"
1.409 +case "(($ac_try" in
1.410 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.411 + *) ac_try_echo=$ac_try;;
1.412 +esac
1.413 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.414 + (eval "$ac_link") 2>&5
1.415 + ac_status=$?
1.416 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.417 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.418 + { (case "(($ac_try" in
1.419 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.420 + *) ac_try_echo=$ac_try;;
1.421 +esac
1.422 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.423 + (eval "$ac_try") 2>&5
1.424 + ac_status=$?
1.425 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.426 + (exit $ac_status); }; }; then
1.427 + CC_FOR_BUILD="$CC"
1.428 +else
1.429 + echo "$as_me: program exited with status $ac_status" >&5
1.430 +echo "$as_me: failed program was:" >&5
1.431 +sed 's/^/| /' conftest.$ac_ext >&5
1.432 +
1.433 +fi
1.434 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.435 +fi
1.436 +
1.437 +
1.438 +fi
1.439 +
1.440 +ac_ext=c
1.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_gnu
1.445 +if test -n "$ac_build_tool_prefix"; then
1.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=$2
1.448 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.449 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.450 +if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then
1.451 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.452 +else
1.453 + if test -n "$CC_FOR_BUILD"; then
1.454 + ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
1.455 +else
1.456 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.457 +for as_dir in $PATH
1.458 +do
1.459 + IFS=$as_save_IFS
1.460 + test -z "$as_dir" && as_dir=.
1.461 + for ac_exec_ext in '' $ac_executable_extensions; do
1.462 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.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" >&5
1.465 + break 2
1.466 + fi
1.467 +done
1.468 +done
1.469 +IFS=$as_save_IFS
1.470 +
1.471 +fi
1.472 +fi
1.473 +CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
1.474 +if test -n "$CC_FOR_BUILD"; then
1.475 + { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&5
1.476 +echo "${ECHO_T}$CC_FOR_BUILD" >&6; }
1.477 +else
1.478 + { echo "$as_me:$LINENO: result: no" >&5
1.479 +echo "${ECHO_T}no" >&6; }
1.480 +fi
1.481 +
1.482 +
1.483 +fi
1.484 +if test -z "$ac_cv_prog_CC_FOR_BUILD"; then
1.485 + ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD
1.486 + # Extract the first word of "gcc", so it can be a program name with args.
1.487 +set dummy gcc; ac_word=$2
1.488 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.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; then
1.491 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.492 +else
1.493 + if test -n "$ac_ct_CC_FOR_BUILD"; then
1.494 + ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
1.495 +else
1.496 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.497 +for as_dir in $PATH
1.498 +do
1.499 + IFS=$as_save_IFS
1.500 + test -z "$as_dir" && as_dir=.
1.501 + for ac_exec_ext in '' $ac_executable_extensions; do
1.502 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.503 + ac_cv_prog_ac_ct_CC_FOR_BUILD="gcc"
1.504 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.505 + break 2
1.506 + fi
1.507 +done
1.508 +done
1.509 +IFS=$as_save_IFS
1.510 +
1.511 +fi
1.512 +fi
1.513 +ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD
1.514 +if test -n "$ac_ct_CC_FOR_BUILD"; then
1.515 + { echo "$as_me:$LINENO: result: $ac_ct_CC_FOR_BUILD" >&5
1.516 +echo "${ECHO_T}$ac_ct_CC_FOR_BUILD" >&6; }
1.517 +else
1.518 + { echo "$as_me:$LINENO: result: no" >&5
1.519 +echo "${ECHO_T}no" >&6; }
1.520 +fi
1.521 +
1.522 + if test "x$ac_ct_CC_FOR_BUILD" = x; then
1.523 + CC_FOR_BUILD=""
1.524 + else
1.525 + case $#:$ac_tool_warned in
1.526 +yes:)
1.527 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1.528 +whose name does not start with the build triplet. If you think this
1.529 +configuration is useful to you, please write to autoconf@gnu.org." >&5
1.530 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1.531 +whose name does not start with the build triplet. If you think this
1.532 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1.533 +ac_tool_warned=yes ;;
1.534 +esac
1.535 + CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD
1.536 + fi
1.537 +else
1.538 + CC_FOR_BUILD="$ac_cv_prog_CC_FOR_BUILD"
1.539 +fi
1.540 +
1.541 +if test -z "$CC_FOR_BUILD"; then
1.542 + if test -n "$ac_build_tool_prefix"; then
1.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=$2
1.545 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.546 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.547 +if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then
1.548 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.549 +else
1.550 + if test -n "$CC_FOR_BUILD"; then
1.551 + ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
1.552 +else
1.553 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.554 +for as_dir in $PATH
1.555 +do
1.556 + IFS=$as_save_IFS
1.557 + test -z "$as_dir" && as_dir=.
1.558 + for ac_exec_ext in '' $ac_executable_extensions; do
1.559 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.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" >&5
1.562 + break 2
1.563 + fi
1.564 +done
1.565 +done
1.566 +IFS=$as_save_IFS
1.567 +
1.568 +fi
1.569 +fi
1.570 +CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
1.571 +if test -n "$CC_FOR_BUILD"; then
1.572 + { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&5
1.573 +echo "${ECHO_T}$CC_FOR_BUILD" >&6; }
1.574 +else
1.575 + { echo "$as_me:$LINENO: result: no" >&5
1.576 +echo "${ECHO_T}no" >&6; }
1.577 +fi
1.578 +
1.579 +
1.580 + fi
1.581 +fi
1.582 +if test -z "$CC_FOR_BUILD"; then
1.583 + # Extract the first word of "cc", so it can be a program name with args.
1.584 +set dummy cc; ac_word=$2
1.585 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.586 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.587 +if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then
1.588 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.589 +else
1.590 + if test -n "$CC_FOR_BUILD"; then
1.591 + ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
1.592 +else
1.593 + ac_prog_rejected=no
1.594 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.595 +for as_dir in $PATH
1.596 +do
1.597 + IFS=$as_save_IFS
1.598 + test -z "$as_dir" && as_dir=.
1.599 + for ac_exec_ext in '' $ac_executable_extensions; do
1.600 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.601 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1.602 + ac_prog_rejected=yes
1.603 + continue
1.604 + fi
1.605 + ac_cv_prog_CC_FOR_BUILD="cc"
1.606 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.607 + break 2
1.608 + fi
1.609 +done
1.610 +done
1.611 +IFS=$as_save_IFS
1.612 +
1.613 +if test $ac_prog_rejected = yes; then
1.614 + # We found a bogon in the path, so make sure we never use it.
1.615 + set dummy $ac_cv_prog_CC_FOR_BUILD
1.616 + shift
1.617 + if test $# != 0; then
1.618 + # We chose a different compiler from the bogus one.
1.619 + # However, it has the same basename, so the bogon will be chosen
1.620 + # first if we set CC_FOR_BUILD to just the basename; use the full file name.
1.621 + shift
1.622 + ac_cv_prog_CC_FOR_BUILD="$as_dir/$ac_word${1+' '}$@"
1.623 + fi
1.624 +fi
1.625 +fi
1.626 +fi
1.627 +CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
1.628 +if test -n "$CC_FOR_BUILD"; then
1.629 + { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&5
1.630 +echo "${ECHO_T}$CC_FOR_BUILD" >&6; }
1.631 +else
1.632 + { echo "$as_me:$LINENO: result: no" >&5
1.633 +echo "${ECHO_T}no" >&6; }
1.634 +fi
1.635 +
1.636 +
1.637 +fi
1.638 +if test -z "$CC_FOR_BUILD"; then
1.639 + if test -n "$ac_build_tool_prefix"; then
1.640 + for ac_prog in cl.exe
1.641 + do
1.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=$2
1.644 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.645 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.646 +if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then
1.647 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.648 +else
1.649 + if test -n "$CC_FOR_BUILD"; then
1.650 + ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
1.651 +else
1.652 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.653 +for as_dir in $PATH
1.654 +do
1.655 + IFS=$as_save_IFS
1.656 + test -z "$as_dir" && as_dir=.
1.657 + for ac_exec_ext in '' $ac_executable_extensions; do
1.658 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.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" >&5
1.661 + break 2
1.662 + fi
1.663 +done
1.664 +done
1.665 +IFS=$as_save_IFS
1.666 +
1.667 +fi
1.668 +fi
1.669 +CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
1.670 +if test -n "$CC_FOR_BUILD"; then
1.671 + { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&5
1.672 +echo "${ECHO_T}$CC_FOR_BUILD" >&6; }
1.673 +else
1.674 + { echo "$as_me:$LINENO: result: no" >&5
1.675 +echo "${ECHO_T}no" >&6; }
1.676 +fi
1.677 +
1.678 +
1.679 + test -n "$CC_FOR_BUILD" && break
1.680 + done
1.681 +fi
1.682 +if test -z "$CC_FOR_BUILD"; then
1.683 + ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD
1.684 + for ac_prog in cl.exe
1.685 +do
1.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=$2
1.688 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1.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; then
1.691 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.692 +else
1.693 + if test -n "$ac_ct_CC_FOR_BUILD"; then
1.694 + ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
1.695 +else
1.696 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.697 +for as_dir in $PATH
1.698 +do
1.699 + IFS=$as_save_IFS
1.700 + test -z "$as_dir" && as_dir=.
1.701 + for ac_exec_ext in '' $ac_executable_extensions; do
1.702 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.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" >&5
1.705 + break 2
1.706 + fi
1.707 +done
1.708 +done
1.709 +IFS=$as_save_IFS
1.710 +
1.711 +fi
1.712 +fi
1.713 +ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD
1.714 +if test -n "$ac_ct_CC_FOR_BUILD"; then
1.715 + { echo "$as_me:$LINENO: result: $ac_ct_CC_FOR_BUILD" >&5
1.716 +echo "${ECHO_T}$ac_ct_CC_FOR_BUILD" >&6; }
1.717 +else
1.718 + { echo "$as_me:$LINENO: result: no" >&5
1.719 +echo "${ECHO_T}no" >&6; }
1.720 +fi
1.721 +
1.722 +
1.723 + test -n "$ac_ct_CC_FOR_BUILD" && break
1.724 +done
1.725 +
1.726 + if test "x$ac_ct_CC_FOR_BUILD" = x; then
1.727 + CC_FOR_BUILD=""
1.728 + else
1.729 + case $#:$ac_tool_warned in
1.730 +yes:)
1.731 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1.732 +whose name does not start with the build triplet. If you think this
1.733 +configuration is useful to you, please write to autoconf@gnu.org." >&5
1.734 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1.735 +whose name does not start with the build triplet. If you think this
1.736 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1.737 +ac_tool_warned=yes ;;
1.738 +esac
1.739 + CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD
1.740 + fi
1.741 +fi
1.742 +
1.743 +fi
1.744 +
1.745 +
1.746 +test -z "$CC_FOR_BUILD" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1.747 +See \`config.log' for more details." >&5
1.748 +echo "$as_me: error: no acceptable C compiler found in \$PATH
1.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" >&5
1.754 +ac_compiler=`set X $ac_build_compile; echo $2`
1.755 +{ (ac_try="$ac_compiler --version >&5"
1.756 +case "(($ac_try" in
1.757 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.758 + *) ac_try_echo=$ac_try;;
1.759 +esac
1.760 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.761 + (eval "$ac_compiler --version >&5") 2>&5
1.762 + ac_status=$?
1.763 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.764 + (exit $ac_status); }
1.765 +{ (ac_try="$ac_compiler -v >&5"
1.766 +case "(($ac_try" in
1.767 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.768 + *) ac_try_echo=$ac_try;;
1.769 +esac
1.770 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.771 + (eval "$ac_compiler -v >&5") 2>&5
1.772 + ac_status=$?
1.773 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.774 + (exit $ac_status); }
1.775 +{ (ac_try="$ac_compiler -V >&5"
1.776 +case "(($ac_try" in
1.777 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.778 + *) ac_try_echo=$ac_try;;
1.779 +esac
1.780 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.781 + (eval "$ac_compiler -V >&5") 2>&5
1.782 + ac_status=$?
1.783 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.784 + (exit $ac_status); }
1.785 +
1.786 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1.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; then
1.789 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.790 +else
1.791 + cat >conftest.$ac_ext <<_ACEOF
1.792 +/* confdefs.h. */
1.793 +_ACEOF
1.794 +cat confdefs.h >>conftest.$ac_ext
1.795 +cat >>conftest.$ac_ext <<_ACEOF
1.796 +/* end confdefs.h. */
1.797 +
1.798 +int
1.799 +main ()
1.800 +{
1.801 +#ifndef __GNUC__
1.802 + choke me
1.803 +#endif
1.804 +
1.805 + ;
1.806 + return 0;
1.807 +}
1.808 +_ACEOF
1.809 +rm -f conftest.$ac_build_objext
1.810 +if { (ac_try="$ac_build_compile"
1.811 +case "(($ac_try" in
1.812 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.813 + *) ac_try_echo=$ac_try;;
1.814 +esac
1.815 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.816 + (eval "$ac_build_compile") 2>conftest.er1
1.817 + ac_status=$?
1.818 + grep -v '^ *+' conftest.er1 >conftest.err
1.819 + rm -f conftest.er1
1.820 + cat conftest.err >&5
1.821 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.822 + (exit $ac_status); } && {
1.823 + test -z "$ac_c_werror_flag" ||
1.824 + test ! -s conftest.err
1.825 + } && test -s conftest.$ac_build_objext; then
1.826 + ac_compiler_gnu=yes
1.827 +else
1.828 + echo "$as_me: failed program was:" >&5
1.829 +sed 's/^/| /' conftest.$ac_ext >&5
1.830 +
1.831 + ac_compiler_gnu=no
1.832 +fi
1.833 +
1.834 +rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
1.835 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
1.836 +
1.837 +fi
1.838 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1.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_BUILD
1.843 +{ echo "$as_me:$LINENO: checking whether $CC_FOR_BUILD accepts -g" >&5
1.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; then
1.846 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.847 +else
1.848 + ac_save_c_werror_flag=$ac_c_werror_flag
1.849 + ac_c_werror_flag=yes
1.850 + ac_cv_build_prog_cc_g=no
1.851 + CFLAGS_FOR_BUILD="-g"
1.852 + cat >conftest.$ac_ext <<_ACEOF
1.853 +/* confdefs.h. */
1.854 +_ACEOF
1.855 +cat confdefs.h >>conftest.$ac_ext
1.856 +cat >>conftest.$ac_ext <<_ACEOF
1.857 +/* end confdefs.h. */
1.858 +
1.859 +int
1.860 +main ()
1.861 +{
1.862 +
1.863 + ;
1.864 + return 0;
1.865 +}
1.866 +_ACEOF
1.867 +rm -f conftest.$ac_build_objext
1.868 +if { (ac_try="$ac_build_compile"
1.869 +case "(($ac_try" in
1.870 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.871 + *) ac_try_echo=$ac_try;;
1.872 +esac
1.873 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.874 + (eval "$ac_build_compile") 2>conftest.er1
1.875 + ac_status=$?
1.876 + grep -v '^ *+' conftest.er1 >conftest.err
1.877 + rm -f conftest.er1
1.878 + cat conftest.err >&5
1.879 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.880 + (exit $ac_status); } && {
1.881 + test -z "$ac_c_werror_flag" ||
1.882 + test ! -s conftest.err
1.883 + } && test -s conftest.$ac_build_objext; then
1.884 + ac_cv_build_prog_cc_g=yes
1.885 +else
1.886 + echo "$as_me: failed program was:" >&5
1.887 +sed 's/^/| /' conftest.$ac_ext >&5
1.888 +
1.889 + CFLAGS_FOR_BUILD=""
1.890 + cat >conftest.$ac_ext <<_ACEOF
1.891 +/* confdefs.h. */
1.892 +_ACEOF
1.893 +cat confdefs.h >>conftest.$ac_ext
1.894 +cat >>conftest.$ac_ext <<_ACEOF
1.895 +/* end confdefs.h. */
1.896 +
1.897 +int
1.898 +main ()
1.899 +{
1.900 +
1.901 + ;
1.902 + return 0;
1.903 +}
1.904 +_ACEOF
1.905 +rm -f conftest.$ac_build_objext
1.906 +if { (ac_try="$ac_build_compile"
1.907 +case "(($ac_try" in
1.908 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.909 + *) ac_try_echo=$ac_try;;
1.910 +esac
1.911 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.912 + (eval "$ac_build_compile") 2>conftest.er1
1.913 + ac_status=$?
1.914 + grep -v '^ *+' conftest.er1 >conftest.err
1.915 + rm -f conftest.er1
1.916 + cat conftest.err >&5
1.917 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.918 + (exit $ac_status); } && {
1.919 + test -z "$ac_c_werror_flag" ||
1.920 + test ! -s conftest.err
1.921 + } && test -s conftest.$ac_build_objext; then
1.922 + :
1.923 +else
1.924 + echo "$as_me: failed program was:" >&5
1.925 +sed 's/^/| /' conftest.$ac_ext >&5
1.926 +
1.927 + ac_c_werror_flag=$ac_save_c_werror_flag
1.928 + CFLAGS_FOR_BUILD="-g"
1.929 + cat >conftest.$ac_ext <<_ACEOF
1.930 +/* confdefs.h. */
1.931 +_ACEOF
1.932 +cat confdefs.h >>conftest.$ac_ext
1.933 +cat >>conftest.$ac_ext <<_ACEOF
1.934 +/* end confdefs.h. */
1.935 +
1.936 +int
1.937 +main ()
1.938 +{
1.939 +
1.940 + ;
1.941 + return 0;
1.942 +}
1.943 +_ACEOF
1.944 +rm -f conftest.$ac_build_objext
1.945 +if { (ac_try="$ac_build_compile"
1.946 +case "(($ac_try" in
1.947 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.948 + *) ac_try_echo=$ac_try;;
1.949 +esac
1.950 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.951 + (eval "$ac_build_compile") 2>conftest.er1
1.952 + ac_status=$?
1.953 + grep -v '^ *+' conftest.er1 >conftest.err
1.954 + rm -f conftest.er1
1.955 + cat conftest.err >&5
1.956 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.957 + (exit $ac_status); } && {
1.958 + test -z "$ac_c_werror_flag" ||
1.959 + test ! -s conftest.err
1.960 + } && test -s conftest.$ac_build_objext; then
1.961 + ac_cv_build_prog_cc_g=yes
1.962 +else
1.963 + echo "$as_me: failed program was:" >&5
1.964 +sed 's/^/| /' conftest.$ac_ext >&5
1.965 +
1.966 +
1.967 +fi
1.968 +
1.969 +rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
1.970 +fi
1.971 +
1.972 +rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
1.973 +fi
1.974 +
1.975 +rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
1.976 + ac_c_werror_flag=$ac_save_c_werror_flag
1.977 +fi
1.978 +{ echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_g" >&5
1.979 +echo "${ECHO_T}$ac_cv_build_prog_cc_g" >&6; }
1.980 +if test "$ac_test_CFLAGS" = set; then
1.981 + CFLAGS_FOR_BUILD=$ac_save_CFLAGS
1.982 +elif test $ac_cv_build_prog_cc_g = yes; then
1.983 + if test "$GCC" = yes; then
1.984 + CFLAGS_FOR_BUILD="-g -O2"
1.985 + else
1.986 + CFLAGS_FOR_BUILD="-g"
1.987 + fi
1.988 +else
1.989 + if test "$GCC" = yes; then
1.990 + CFLAGS_FOR_BUILD="-O2"
1.991 + else
1.992 + CFLAGS_FOR_BUILD=
1.993 + fi
1.994 +fi
1.995 +{ echo "$as_me:$LINENO: checking for $CC_FOR_BUILD option to accept ISO C89" >&5
1.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; then
1.998 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.999 +else
1.1000 + ac_cv_prog_cc_c89=no
1.1001 +ac_save_CC=$CC_FOR_BUILD
1.1002 +cat >conftest.$ac_ext <<_ACEOF
1.1003 +/* confdefs.h. */
1.1004 +_ACEOF
1.1005 +cat confdefs.h >>conftest.$ac_ext
1.1006 +cat >>conftest.$ac_ext <<_ACEOF
1.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 has
1.1032 + function prototypes and stuff, but not '\xHH' hex character constants.
1.1033 + These don't provoke an error unfortunately, instead are silently treated
1.1034 + as 'x'. The following induces an error, until -std is added to get
1.1035 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
1.1036 + array size at least. It's necessary to write '\x00'==0 to get something
1.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 parameters
1.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 +int
1.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 +_ACEOF
1.1059 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
1.1060 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1.1061 +do
1.1062 + CC_FOR_BUILD="$ac_save_CC $ac_arg"
1.1063 + rm -f conftest.$ac_build_objext
1.1064 +if { (ac_try="$ac_build_compile"
1.1065 +case "(($ac_try" in
1.1066 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.1067 + *) ac_try_echo=$ac_try;;
1.1068 +esac
1.1069 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.1070 + (eval "$ac_build_compile") 2>conftest.er1
1.1071 + ac_status=$?
1.1072 + grep -v '^ *+' conftest.er1 >conftest.err
1.1073 + rm -f conftest.er1
1.1074 + cat conftest.err >&5
1.1075 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1076 + (exit $ac_status); } && {
1.1077 + test -z "$ac_c_werror_flag" ||
1.1078 + test ! -s conftest.err
1.1079 + } && test -s conftest.$ac_build_objext; then
1.1080 + ac_cv_prog_cc_c89=$ac_arg
1.1081 +else
1.1082 + echo "$as_me: failed program was:" >&5
1.1083 +sed 's/^/| /' conftest.$ac_ext >&5
1.1084 +
1.1085 +
1.1086 +fi
1.1087 +
1.1088 +rm -f core conftest.err conftest.$ac_build_objext
1.1089 + test "x$ac_cv_prog_cc_c89" != "xno" && break
1.1090 +done
1.1091 +rm -f conftest.$ac_ext
1.1092 +CC_FOR_BUILD=$ac_save_CC
1.1093 +
1.1094 +fi
1.1095 +# AC_CACHE_VAL
1.1096 +case "x$ac_cv_prog_cc_c89" in
1.1097 + x)
1.1098 + { echo "$as_me:$LINENO: result: none needed" >&5
1.1099 +echo "${ECHO_T}none needed" >&6; } ;;
1.1100 + xno)
1.1101 + { echo "$as_me:$LINENO: result: unsupported" >&5
1.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" >&5
1.1106 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
1.1107 +esac
1.1108 +
1.1109 +
1.1110 +ac_ext=c
1.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_gnu
1.1115 +
1.1116 +depcc="$CC_FOR_BUILD" am_compiler_list=
1.1117 +
1.1118 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
1.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; then
1.1121 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.1122 +else
1.1123 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1.1124 + # We make a subdir and do the tests there. Otherwise we can end up
1.1125 + # making bogus files that we don't know about and never remove. For
1.1126 + # instance it was reported that on HP-UX the gcc test will end up
1.1127 + # making a dummy file named `D' -- because `-MD' means `put the output
1.1128 + # in D'.
1.1129 + mkdir conftest.dir
1.1130 + # Copy depcomp to subdir because otherwise we won't find it if we're
1.1131 + # using a relative directory.
1.1132 + cp "$am_depcomp" conftest.dir
1.1133 + cd conftest.dir
1.1134 + # We will build objects and dependencies in a subdirectory because
1.1135 + # it helps to detect inapplicable dependency modes. For instance
1.1136 + # both Tru64's cc and ICC support -MD to output dependencies as a
1.1137 + # side effect of compilation, but ICC will put the dependencies in
1.1138 + # the current directory while Tru64 will put them in the object
1.1139 + # directory.
1.1140 + mkdir sub
1.1141 +
1.1142 + am_cv_CC_FOR_BUILD_dependencies_compiler_type=none
1.1143 + if test "$am_compiler_list" = ""; then
1.1144 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1.1145 + fi
1.1146 + for depmode in $am_compiler_list; do
1.1147 + # Setup a source with many dependencies, because some compilers
1.1148 + # like to wrap large dependency lists on column 80 (with \), and
1.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 may
1.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.c
1.1155 + for i in 1 2 3 4 5 6; do
1.1156 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.1157 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
1.1158 + # Solaris 8's {/usr,}/bin/sh.
1.1159 + touch sub/conftst$i.h
1.1160 + done
1.1161 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.1162 +
1.1163 + case $depmode in
1.1164 + nosideeffect)
1.1165 + # after this tag, mechanisms are not by side-effect, so they'll
1.1166 + # only be used when explicitly requested
1.1167 + if test "x$enable_dependency_tracking" = xyes; then
1.1168 + continue
1.1169 + else
1.1170 + break
1.1171 + fi
1.1172 + ;;
1.1173 + none) break ;;
1.1174 + esac
1.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 properly
1.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; then
1.1186 + # icc doesn't choke on unknown options, it will just issue warnings
1.1187 + # or remarks (even with -Werror). So we grep stderr for any message
1.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 required
1.1191 + # The diagnosis changed in icc 8.0:
1.1192 + # icc: Command line remark: option '-MP' not supported
1.1193 + if (grep 'ignoring option' conftest.err ||
1.1194 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
1.1195 + am_cv_CC_FOR_BUILD_dependencies_compiler_type=$depmode
1.1196 + break
1.1197 + fi
1.1198 + fi
1.1199 + done
1.1200 +
1.1201 + cd ..
1.1202 + rm -rf conftest.dir
1.1203 +else
1.1204 + am_cv_CC_FOR_BUILD_dependencies_compiler_type=none
1.1205 +fi
1.1206 +
1.1207 +fi
1.1208 +{ echo "$as_me:$LINENO: result: $am_cv_CC_FOR_BUILD_dependencies_compiler_type" >&5
1.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_type
1.1211 +
1.1212 +
1.1213 +
1.1214 +if
1.1215 + test "x$enable_dependency_tracking" != xno \
1.1216 + && test "$am_cv_CC_FOR_BUILD_dependencies_compiler_type" = gcc3; then
1.1217 + am__fastdepCC_FOR_BUILD_TRUE=
1.1218 + am__fastdepCC_FOR_BUILD_FALSE='#'
1.1219 +else
1.1220 + am__fastdepCC_FOR_BUILD_TRUE='#'
1.1221 + am__fastdepCC_FOR_BUILD_FALSE=
1.1222 +fi
1.1223 +
1.1224 +
1.1225 +ac_ext=c
1.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_gnu
1.1230 +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
1.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"; then
1.1234 + CPP_FOR_BUILD=
1.1235 +fi
1.1236 +if test -z "$CPP_FOR_BUILD"; then
1.1237 + if test "${ac_cv_build_prog_CPP+set}" = set; then
1.1238 + echo $ECHO_N "(cached) $ECHO_C" >&6
1.1239 +else
1.1240 + # Double quotes because CPP needs to be expanded
1.1241 + for CPP_FOR_BUILD in "$CC_FOR_BUILD -E" "$CC_FOR_BUILD -E -traditional-cpp" "/lib/cpp"
1.1242 + do
1.1243 + ac_preproc_ok=false
1.1244 +for ac_c_preproc_warn_flag in '' yes
1.1245 +do
1.1246 + # Use a header file that comes with gcc, so configuring glibc
1.1247 + # with a fresh cross-compiler works.
1.1248 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.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 <<_ACEOF
1.1253 +/* confdefs.h. */
1.1254 +_ACEOF
1.1255 +cat confdefs.h >>conftest.$ac_ext
1.1256 +cat >>conftest.$ac_ext <<_ACEOF
1.1257 +/* end confdefs.h. */
1.1258 +#ifdef __STDC__
1.1259 +# include <limits.h>
1.1260 +#else
1.1261 +# include <assert.h>
1.1262 +#endif
1.1263 + Syntax error
1.1264 +_ACEOF
1.1265 +if { (ac_try="$ac_build_cpp conftest.$ac_ext"
1.1266 +case "(($ac_try" in
1.1267 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.1268 + *) ac_try_echo=$ac_try;;
1.1269 +esac
1.1270 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.1271 + (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er1
1.1272 + ac_status=$?
1.1273 + grep -v '^ *+' conftest.er1 >conftest.err
1.1274 + rm -f conftest.er1
1.1275 + cat conftest.err >&5
1.1276 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1277 + (exit $ac_status); } >/dev/null && {
1.1278 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1.1279 + test ! -s conftest.err
1.1280 + }; then
1.1281 + :
1.1282 +else
1.1283 + echo "$as_me: failed program was:" >&5
1.1284 +sed 's/^/| /' conftest.$ac_ext >&5
1.1285 +
1.1286 + # Broken: fails on valid input.
1.1287 +continue
1.1288 +fi
1.1289 +
1.1290 +rm -f conftest.err conftest.$ac_ext
1.1291 +
1.1292 + # OK, works on sane cases. Now check whether nonexistent headers
1.1293 + # can be detected and how.
1.1294 + cat >conftest.$ac_ext <<_ACEOF
1.1295 +/* confdefs.h. */
1.1296 +_ACEOF
1.1297 +cat confdefs.h >>conftest.$ac_ext
1.1298 +cat >>conftest.$ac_ext <<_ACEOF
1.1299 +/* end confdefs.h. */
1.1300 +#include <ac_nonexistent.h>
1.1301 +_ACEOF
1.1302 +if { (ac_try="$ac_build_cpp conftest.$ac_ext"
1.1303 +case "(($ac_try" in
1.1304 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.1305 + *) ac_try_echo=$ac_try;;
1.1306 +esac
1.1307 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.1308 + (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er1
1.1309 + ac_status=$?
1.1310 + grep -v '^ *+' conftest.er1 >conftest.err
1.1311 + rm -f conftest.er1
1.1312 + cat conftest.err >&5
1.1313 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1314 + (exit $ac_status); } >/dev/null && {
1.1315 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1.1316 + test ! -s conftest.err
1.1317 + }; then
1.1318 + # Broken: success on invalid input.
1.1319 +continue
1.1320 +else
1.1321 + echo "$as_me: failed program was:" >&5
1.1322 +sed 's/^/| /' conftest.$ac_ext >&5
1.1323 +
1.1324 + # Passes both tests.
1.1325 +ac_preproc_ok=:
1.1326 +break
1.1327 +fi
1.1328 +
1.1329 +rm -f conftest.err conftest.$ac_ext
1.1330 +
1.1331 +done
1.1332 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.1333 +rm -f conftest.err conftest.$ac_ext
1.1334 +if $ac_preproc_ok; then
1.1335 + break
1.1336 +fi
1.1337 +
1.1338 + done
1.1339 + ac_cv_build_prog_CPP=$CPP_FOR_BUILD
1.1340 +
1.1341 +fi
1.1342 + CPP_FOR_BUILD=$ac_cv_build_prog_CPP
1.1343 +else
1.1344 + ac_cv_build_prog_CPP=$CPP_FOR_BUILD
1.1345 +fi
1.1346 +{ echo "$as_me:$LINENO: result: $CPP_FOR_BUILD" >&5
1.1347 +echo "${ECHO_T}$CPP_FOR_BUILD" >&6; }
1.1348 +ac_preproc_ok=false
1.1349 +for ac_c_preproc_warn_flag in '' yes
1.1350 +do
1.1351 + # Use a header file that comes with gcc, so configuring glibc
1.1352 + # with a fresh cross-compiler works.
1.1353 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.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 <<_ACEOF
1.1358 +/* confdefs.h. */
1.1359 +_ACEOF
1.1360 +cat confdefs.h >>conftest.$ac_ext
1.1361 +cat >>conftest.$ac_ext <<_ACEOF
1.1362 +/* end confdefs.h. */
1.1363 +#ifdef __STDC__
1.1364 +# include <limits.h>
1.1365 +#else
1.1366 +# include <assert.h>
1.1367 +#endif
1.1368 + Syntax error
1.1369 +_ACEOF
1.1370 +if { (ac_try="$ac_build_cpp conftest.$ac_ext"
1.1371 +case "(($ac_try" in
1.1372 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.1373 + *) ac_try_echo=$ac_try;;
1.1374 +esac
1.1375 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.1376 + (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er1
1.1377 + ac_status=$?
1.1378 + grep -v '^ *+' conftest.er1 >conftest.err
1.1379 + rm -f conftest.er1
1.1380 + cat conftest.err >&5
1.1381 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1382 + (exit $ac_status); } >/dev/null && {
1.1383 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1.1384 + test ! -s conftest.err
1.1385 + }; then
1.1386 + :
1.1387 +else
1.1388 + echo "$as_me: failed program was:" >&5
1.1389 +sed 's/^/| /' conftest.$ac_ext >&5
1.1390 +
1.1391 + # Broken: fails on valid input.
1.1392 +continue
1.1393 +fi
1.1394 +
1.1395 +rm -f conftest.err conftest.$ac_ext
1.1396 +
1.1397 + # OK, works on sane cases. Now check whether nonexistent headers
1.1398 + # can be detected and how.
1.1399 + cat >conftest.$ac_ext <<_ACEOF
1.1400 +/* confdefs.h. */
1.1401 +_ACEOF
1.1402 +cat confdefs.h >>conftest.$ac_ext
1.1403 +cat >>conftest.$ac_ext <<_ACEOF
1.1404 +/* end confdefs.h. */
1.1405 +#include <ac_nonexistent.h>
1.1406 +_ACEOF
1.1407 +if { (ac_try="$ac_build_cpp conftest.$ac_ext"
1.1408 +case "(($ac_try" in
1.1409 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.1410 + *) ac_try_echo=$ac_try;;
1.1411 +esac
1.1412 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.1413 + (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er1
1.1414 + ac_status=$?
1.1415 + grep -v '^ *+' conftest.er1 >conftest.err
1.1416 + rm -f conftest.er1
1.1417 + cat conftest.err >&5
1.1418 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1419 + (exit $ac_status); } >/dev/null && {
1.1420 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1.1421 + test ! -s conftest.err
1.1422 + }; then
1.1423 + # Broken: success on invalid input.
1.1424 +continue
1.1425 +else
1.1426 + echo "$as_me: failed program was:" >&5
1.1427 +sed 's/^/| /' conftest.$ac_ext >&5
1.1428 +
1.1429 + # Passes both tests.
1.1430 +ac_preproc_ok=:
1.1431 +break
1.1432 +fi
1.1433 +
1.1434 +rm -f conftest.err conftest.$ac_ext
1.1435 +
1.1436 +done
1.1437 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.1438 +rm -f conftest.err conftest.$ac_ext
1.1439 +if $ac_preproc_ok; then
1.1440 + :
1.1441 +else
1.1442 + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP_FOR_BUILD\" fails sanity check
1.1443 +See \`config.log' for more details." >&5
1.1444 +echo "$as_me: error: C preprocessor \"$CPP_FOR_BUILD\" fails sanity check
1.1445 +See \`config.log' for more details." >&2;}
1.1446 + { (exit 1); exit 1; }; }
1.1447 +fi
1.1448 +
1.1449 +ac_ext=c
1.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_gnu
1.1454 +
1.1455 +
1.1456 +
1.1457 +
1.1458 +BUILD_EXEEXT=$ac_build_exeext
1.1459 +BUILD_OBJEXT=$ac_build_objext
1.1460 +
1.1461 +ac_ext=c
1.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_gnu
1.1466 if test -n "$ac_tool_prefix"; then
1.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=$2
1.1469 @@ -5572,236 +6974,6 @@
1.1470
1.1471
1.1472
1.1473 -ac_ext=c
1.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_gnu
1.1478 -{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
1.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"; then
1.1482 - CPP=
1.1483 -fi
1.1484 -if test -z "$CPP"; then
1.1485 - if test "${ac_cv_prog_CPP+set}" = set; then
1.1486 - echo $ECHO_N "(cached) $ECHO_C" >&6
1.1487 -else
1.1488 - # Double quotes because CPP needs to be expanded
1.1489 - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
1.1490 - do
1.1491 - ac_preproc_ok=false
1.1492 -for ac_c_preproc_warn_flag in '' yes
1.1493 -do
1.1494 - # Use a header file that comes with gcc, so configuring glibc
1.1495 - # with a fresh cross-compiler works.
1.1496 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.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 <<_ACEOF
1.1501 -/* confdefs.h. */
1.1502 -_ACEOF
1.1503 -cat confdefs.h >>conftest.$ac_ext
1.1504 -cat >>conftest.$ac_ext <<_ACEOF
1.1505 -/* end confdefs.h. */
1.1506 -#ifdef __STDC__
1.1507 -# include <limits.h>
1.1508 -#else
1.1509 -# include <assert.h>
1.1510 -#endif
1.1511 - Syntax error
1.1512 -_ACEOF
1.1513 -if { (ac_try="$ac_cpp conftest.$ac_ext"
1.1514 -case "(($ac_try" in
1.1515 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.1516 - *) ac_try_echo=$ac_try;;
1.1517 -esac
1.1518 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.1519 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.1520 - ac_status=$?
1.1521 - grep -v '^ *+' conftest.er1 >conftest.err
1.1522 - rm -f conftest.er1
1.1523 - cat conftest.err >&5
1.1524 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1525 - (exit $ac_status); } >/dev/null && {
1.1526 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1.1527 - test ! -s conftest.err
1.1528 - }; then
1.1529 - :
1.1530 -else
1.1531 - echo "$as_me: failed program was:" >&5
1.1532 -sed 's/^/| /' conftest.$ac_ext >&5
1.1533 -
1.1534 - # Broken: fails on valid input.
1.1535 -continue
1.1536 -fi
1.1537 -
1.1538 -rm -f conftest.err conftest.$ac_ext
1.1539 -
1.1540 - # OK, works on sane cases. Now check whether nonexistent headers
1.1541 - # can be detected and how.
1.1542 - cat >conftest.$ac_ext <<_ACEOF
1.1543 -/* confdefs.h. */
1.1544 -_ACEOF
1.1545 -cat confdefs.h >>conftest.$ac_ext
1.1546 -cat >>conftest.$ac_ext <<_ACEOF
1.1547 -/* end confdefs.h. */
1.1548 -#include <ac_nonexistent.h>
1.1549 -_ACEOF
1.1550 -if { (ac_try="$ac_cpp conftest.$ac_ext"
1.1551 -case "(($ac_try" in
1.1552 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.1553 - *) ac_try_echo=$ac_try;;
1.1554 -esac
1.1555 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.1556 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.1557 - ac_status=$?
1.1558 - grep -v '^ *+' conftest.er1 >conftest.err
1.1559 - rm -f conftest.er1
1.1560 - cat conftest.err >&5
1.1561 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1562 - (exit $ac_status); } >/dev/null && {
1.1563 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1.1564 - test ! -s conftest.err
1.1565 - }; then
1.1566 - # Broken: success on invalid input.
1.1567 -continue
1.1568 -else
1.1569 - echo "$as_me: failed program was:" >&5
1.1570 -sed 's/^/| /' conftest.$ac_ext >&5
1.1571 -
1.1572 - # Passes both tests.
1.1573 -ac_preproc_ok=:
1.1574 -break
1.1575 -fi
1.1576 -
1.1577 -rm -f conftest.err conftest.$ac_ext
1.1578 -
1.1579 -done
1.1580 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.1581 -rm -f conftest.err conftest.$ac_ext
1.1582 -if $ac_preproc_ok; then
1.1583 - break
1.1584 -fi
1.1585 -
1.1586 - done
1.1587 - ac_cv_prog_CPP=$CPP
1.1588 -
1.1589 -fi
1.1590 - CPP=$ac_cv_prog_CPP
1.1591 -else
1.1592 - ac_cv_prog_CPP=$CPP
1.1593 -fi
1.1594 -{ echo "$as_me:$LINENO: result: $CPP" >&5
1.1595 -echo "${ECHO_T}$CPP" >&6; }
1.1596 -ac_preproc_ok=false
1.1597 -for ac_c_preproc_warn_flag in '' yes
1.1598 -do
1.1599 - # Use a header file that comes with gcc, so configuring glibc
1.1600 - # with a fresh cross-compiler works.
1.1601 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.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 <<_ACEOF
1.1606 -/* confdefs.h. */
1.1607 -_ACEOF
1.1608 -cat confdefs.h >>conftest.$ac_ext
1.1609 -cat >>conftest.$ac_ext <<_ACEOF
1.1610 -/* end confdefs.h. */
1.1611 -#ifdef __STDC__
1.1612 -# include <limits.h>
1.1613 -#else
1.1614 -# include <assert.h>
1.1615 -#endif
1.1616 - Syntax error
1.1617 -_ACEOF
1.1618 -if { (ac_try="$ac_cpp conftest.$ac_ext"
1.1619 -case "(($ac_try" in
1.1620 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.1621 - *) ac_try_echo=$ac_try;;
1.1622 -esac
1.1623 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.1624 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.1625 - ac_status=$?
1.1626 - grep -v '^ *+' conftest.er1 >conftest.err
1.1627 - rm -f conftest.er1
1.1628 - cat conftest.err >&5
1.1629 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1630 - (exit $ac_status); } >/dev/null && {
1.1631 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1.1632 - test ! -s conftest.err
1.1633 - }; then
1.1634 - :
1.1635 -else
1.1636 - echo "$as_me: failed program was:" >&5
1.1637 -sed 's/^/| /' conftest.$ac_ext >&5
1.1638 -
1.1639 - # Broken: fails on valid input.
1.1640 -continue
1.1641 -fi
1.1642 -
1.1643 -rm -f conftest.err conftest.$ac_ext
1.1644 -
1.1645 - # OK, works on sane cases. Now check whether nonexistent headers
1.1646 - # can be detected and how.
1.1647 - cat >conftest.$ac_ext <<_ACEOF
1.1648 -/* confdefs.h. */
1.1649 -_ACEOF
1.1650 -cat confdefs.h >>conftest.$ac_ext
1.1651 -cat >>conftest.$ac_ext <<_ACEOF
1.1652 -/* end confdefs.h. */
1.1653 -#include <ac_nonexistent.h>
1.1654 -_ACEOF
1.1655 -if { (ac_try="$ac_cpp conftest.$ac_ext"
1.1656 -case "(($ac_try" in
1.1657 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.1658 - *) ac_try_echo=$ac_try;;
1.1659 -esac
1.1660 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.1661 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
1.1662 - ac_status=$?
1.1663 - grep -v '^ *+' conftest.er1 >conftest.err
1.1664 - rm -f conftest.er1
1.1665 - cat conftest.err >&5
1.1666 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1667 - (exit $ac_status); } >/dev/null && {
1.1668 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1.1669 - test ! -s conftest.err
1.1670 - }; then
1.1671 - # Broken: success on invalid input.
1.1672 -continue
1.1673 -else
1.1674 - echo "$as_me: failed program was:" >&5
1.1675 -sed 's/^/| /' conftest.$ac_ext >&5
1.1676 -
1.1677 - # Passes both tests.
1.1678 -ac_preproc_ok=:
1.1679 -break
1.1680 -fi
1.1681 -
1.1682 -rm -f conftest.err conftest.$ac_ext
1.1683 -
1.1684 -done
1.1685 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.1686 -rm -f conftest.err conftest.$ac_ext
1.1687 -if $ac_preproc_ok; then
1.1688 - :
1.1689 -else
1.1690 - { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
1.1691 -See \`config.log' for more details." >&5
1.1692 -echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
1.1693 -See \`config.log' for more details." >&2;}
1.1694 - { (exit 1); exit 1; }; }
1.1695 -fi
1.1696 -
1.1697 -ac_ext=c
1.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_gnu
1.1702 -
1.1703
1.1704 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
1.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 fi
1.1710 +if test -z "${am__fastdepCC_FOR_BUILD_TRUE}" && test -z "${am__fastdepCC_FOR_BUILD_FALSE}"; then
1.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." >&5
1.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 +fi
1.1717 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
1.1718 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
1.1719 Usually this means the macro was only invoked conditionally." >&5
1.1720 @@ -14367,15 +15546,7 @@
1.1721 CCDEPMODE!$CCDEPMODE$ac_delim
1.1722 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
1.1723 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
1.1724 -OBJC!$OBJC$ac_delim
1.1725 -OBJCFLAGS!$OBJCFLAGS$ac_delim
1.1726 -ac_ct_OBJC!$ac_ct_OBJC$ac_delim
1.1727 -SED!$SED$ac_delim
1.1728 -CCAS!$CCAS$ac_delim
1.1729 -CCASFLAGS!$CCASFLAGS$ac_delim
1.1730 CPP!$CPP$ac_delim
1.1731 -GREP!$GREP$ac_delim
1.1732 -EGREP!$EGREP$ac_delim
1.1733 build!$build$ac_delim
1.1734 build_cpu!$build_cpu$ac_delim
1.1735 build_vendor!$build_vendor$ac_delim
1.1736 @@ -14384,9 +15555,17 @@
1.1737 host_cpu!$host_cpu$ac_delim
1.1738 host_vendor!$host_vendor$ac_delim
1.1739 host_os!$host_os$ac_delim
1.1740 -OBJCDEPMODE!$OBJCDEPMODE$ac_delim
1.1741 -am__fastdepOBJC_TRUE!$am__fastdepOBJC_TRUE$ac_delim
1.1742 -am__fastdepOBJC_FALSE!$am__fastdepOBJC_FALSE$ac_delim
1.1743 +CC!$CC$ac_delim
1.1744 +CFLAGS!$CFLAGS$ac_delim
1.1745 +CPPFLAGS!$CPPFLAGS$ac_delim
1.1746 +CC_FOR_BUILD!$CC_FOR_BUILD$ac_delim
1.1747 +ac_ct_CC_FOR_BUILD!$ac_ct_CC_FOR_BUILD$ac_delim
1.1748 +CC_FOR_BUILDDEPMODE!$CC_FOR_BUILDDEPMODE$ac_delim
1.1749 +am__fastdepCC_FOR_BUILD_TRUE!$am__fastdepCC_FOR_BUILD_TRUE$ac_delim
1.1750 +am__fastdepCC_FOR_BUILD_FALSE!$am__fastdepCC_FOR_BUILD_FALSE$ac_delim
1.1751 +CPP!$CPP$ac_delim
1.1752 +CPPFLAGS!$CPPFLAGS$ac_delim
1.1753 +CPP_FOR_BUILD!$CPP_FOR_BUILD$ac_delim
1.1754 _ACEOF
1.1755
1.1756 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
1.1757 @@ -14428,6 +15607,21 @@
1.1758 ac_delim='%!_!# '
1.1759 for ac_last_try in false false false false false :; do
1.1760 cat >conf$$subs.sed <<_ACEOF
1.1761 +BUILD_EXEEXT!$BUILD_EXEEXT$ac_delim
1.1762 +BUILD_OBJEXT!$BUILD_OBJEXT$ac_delim
1.1763 +CFLAGS_FOR_BUILD!$CFLAGS_FOR_BUILD$ac_delim
1.1764 +CPPFLAGS_FOR_BUILD!$CPPFLAGS_FOR_BUILD$ac_delim
1.1765 +OBJC!$OBJC$ac_delim
1.1766 +OBJCFLAGS!$OBJCFLAGS$ac_delim
1.1767 +ac_ct_OBJC!$ac_ct_OBJC$ac_delim
1.1768 +SED!$SED$ac_delim
1.1769 +CCAS!$CCAS$ac_delim
1.1770 +CCASFLAGS!$CCASFLAGS$ac_delim
1.1771 +GREP!$GREP$ac_delim
1.1772 +EGREP!$EGREP$ac_delim
1.1773 +OBJCDEPMODE!$OBJCDEPMODE$ac_delim
1.1774 +am__fastdepOBJC_TRUE!$am__fastdepOBJC_TRUE$ac_delim
1.1775 +am__fastdepOBJC_FALSE!$am__fastdepOBJC_FALSE$ac_delim
1.1776 POD2MAN!$POD2MAN$ac_delim
1.1777 POD2HTML!$POD2HTML$ac_delim
1.1778 GUI_COCOA_TRUE!$GUI_COCOA_TRUE$ac_delim
1.1779 @@ -14510,6 +15704,47 @@
1.1780 DATADIRNAME!$DATADIRNAME$ac_delim
1.1781 GMOFILES!$GMOFILES$ac_delim
1.1782 INSTOBJEXT!$INSTOBJEXT$ac_delim
1.1783 +_ACEOF
1.1784 +
1.1785 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
1.1786 + break
1.1787 + elif $ac_last_try; then
1.1788 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
1.1789 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
1.1790 + { (exit 1); exit 1; }; }
1.1791 + else
1.1792 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
1.1793 + fi
1.1794 +done
1.1795 +
1.1796 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
1.1797 +if test -n "$ac_eof"; then
1.1798 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
1.1799 + ac_eof=`expr $ac_eof + 1`
1.1800 +fi
1.1801 +
1.1802 +cat >>$CONFIG_STATUS <<_ACEOF
1.1803 +cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
1.1804 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1.1805 +_ACEOF
1.1806 +sed '
1.1807 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
1.1808 +s/^/s,@/; s/!/@,|#_!!_#|/
1.1809 +:n
1.1810 +t n
1.1811 +s/'"$ac_delim"'$/,g/; t
1.1812 +s/$/\\/; p
1.1813 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
1.1814 +' >>$CONFIG_STATUS <conf$$subs.sed
1.1815 +rm -f conf$$subs.sed
1.1816 +cat >>$CONFIG_STATUS <<_ACEOF
1.1817 +CEOF$ac_eof
1.1818 +_ACEOF
1.1819 +
1.1820 +
1.1821 +ac_delim='%!_!# '
1.1822 +for ac_last_try in false false false false false :; do
1.1823 + cat >conf$$subs.sed <<_ACEOF
1.1824 INTLLIBS!$INTLLIBS$ac_delim
1.1825 PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
1.1826 PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
1.1827 @@ -14520,7 +15755,7 @@
1.1828 LTLIBOBJS!$LTLIBOBJS$ac_delim
1.1829 _ACEOF
1.1830
1.1831 - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 90; then
1.1832 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 8; then
1.1833 break
1.1834 elif $ac_last_try; then
1.1835 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
1.1836 @@ -14538,7 +15773,7 @@
1.1837 fi
1.1838
1.1839 cat >>$CONFIG_STATUS <<_ACEOF
1.1840 -cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
1.1841 +cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
1.1842 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
1.1843 _ACEOF
1.1844 sed '
1.1845 @@ -14801,7 +16036,7 @@
1.1846 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
1.1847 s&@INSTALL@&$ac_INSTALL&;t t
1.1848 $ac_datarootdir_hack
1.1849 -" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
1.1850 +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" >$tmp/out
1.1851
1.1852 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
1.1853 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
.