revision 1200:3b2097efa97d
summary |
tree |
shortlog |
changelog |
graph |
changeset |
raw | bz2 | zip | gz changeset | 1200:3b2097efa97d |
parent | 1199:62d0a21fac1c |
child | 1201:5502572ce192 |
author | nkeynes |
date | Wed Dec 21 17:13:08 2011 +1000 (12 years ago) |
Setup configure to detect/manage CC_FOR_BUILD
Makefile.in | view | annotate | diff | log | ||
acinclude.m4 | view | annotate | diff | log | ||
configure | view | annotate | diff | log | ||
configure.in | view | annotate | diff | log | ||
src/Makefile.in | view | annotate | diff | log |
1.1 --- a/Makefile.in Wed Dec 21 12:15:06 2011 +10001.2 +++ b/Makefile.in Wed Dec 21 17:13:08 2011 +10001.3 @@ -113,6 +113,8 @@1.4 AWK = @AWK@1.5 BUILD_ARMTEST_FALSE = @BUILD_ARMTEST_FALSE@1.6 BUILD_ARMTEST_TRUE = @BUILD_ARMTEST_TRUE@1.7 +BUILD_EXEEXT = @BUILD_EXEEXT@1.8 +BUILD_OBJEXT = @BUILD_OBJEXT@1.9 BUILD_SH4X86_FALSE = @BUILD_SH4X86_FALSE@1.10 BUILD_SH4X86_TRUE = @BUILD_SH4X86_TRUE@1.11 BUILD_SHARED_FALSE = @BUILD_SHARED_FALSE@1.12 @@ -125,6 +127,8 @@1.13 CCAS = @CCAS@1.14 CCASFLAGS = @CCASFLAGS@1.15 CCDEPMODE = @CCDEPMODE@1.16 +CC_FOR_BUILD = @CC_FOR_BUILD@1.17 +CC_FOR_BUILDDEPMODE = @CC_FOR_BUILDDEPMODE@1.18 CDROM_LINUX_FALSE = @CDROM_LINUX_FALSE@1.19 CDROM_LINUX_TRUE = @CDROM_LINUX_TRUE@1.20 CDROM_NONE_FALSE = @CDROM_NONE_FALSE@1.21 @@ -132,8 +136,11 @@1.22 CDROM_OSX_FALSE = @CDROM_OSX_FALSE@1.23 CDROM_OSX_TRUE = @CDROM_OSX_TRUE@1.24 CFLAGS = @CFLAGS@1.25 +CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@1.26 CPP = @CPP@1.27 CPPFLAGS = @CPPFLAGS@1.28 +CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@1.29 +CPP_FOR_BUILD = @CPP_FOR_BUILD@1.30 CYGPATH_W = @CYGPATH_W@1.31 DATADIRNAME = @DATADIRNAME@1.32 DEFS = @DEFS@1.33 @@ -196,7 +203,6 @@1.34 PACKAGE_NAME = @PACKAGE_NAME@1.35 PACKAGE_STRING = @PACKAGE_STRING@1.36 PACKAGE_TARNAME = @PACKAGE_TARNAME@1.37 -PACKAGE_URL = @PACKAGE_URL@1.38 PACKAGE_VERSION = @PACKAGE_VERSION@1.39 PATH_SEPARATOR = @PATH_SEPARATOR@1.40 PKG_CONFIG = @PKG_CONFIG@1.41 @@ -230,8 +236,11 @@1.42 VIDEO_OSMESA_TRUE = @VIDEO_OSMESA_TRUE@1.43 XGETTEXT = @XGETTEXT@1.44 ac_ct_CC = @ac_ct_CC@1.45 +ac_ct_CC_FOR_BUILD = @ac_ct_CC_FOR_BUILD@1.46 ac_ct_OBJC = @ac_ct_OBJC@1.47 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@1.48 +am__fastdepCC_FOR_BUILD_FALSE = @am__fastdepCC_FOR_BUILD_FALSE@1.49 +am__fastdepCC_FOR_BUILD_TRUE = @am__fastdepCC_FOR_BUILD_TRUE@1.50 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@1.51 am__fastdepOBJC_FALSE = @am__fastdepOBJC_FALSE@1.52 am__fastdepOBJC_TRUE = @am__fastdepOBJC_TRUE@
2.1 --- a/acinclude.m4 Wed Dec 21 12:15:06 2011 +10002.2 +++ b/acinclude.m4 Wed Dec 21 17:13:08 2011 +10002.3 @@ -162,3 +162,94 @@2.4 $2 ]);2.5 AC_LANG_POP([Objective C])2.6 ]);2.7 +2.8 +2.9 +2.10 +AC_DEFUN([AC_PROG_CC_FOR_BUILD], [dnl2.11 +AC_REQUIRE([AC_PROG_CC])dnl2.12 +AC_REQUIRE([AC_PROG_CPP])dnl2.13 +AC_REQUIRE([AC_EXEEXT])dnl2.14 +AC_REQUIRE([AC_CANONICAL_HOST])dnl2.15 +dnl2.16 +ac_main_cc="$CC"2.17 +test -n "$build_alias" && ac_build_tool_prefix=$build_alias-2.18 +2.19 +pushdef([cross_compiling], [#])dnl2.20 +dnl If main compiler works and CC_FOR_BUILD is unset, use the main compiler2.21 +if test -z "$CC_FOR_BUILD"; then2.22 + AC_RUN_IFELSE([int main(){return 0;}], [CC_FOR_BUILD="$CC"], [],[])2.23 +fi2.24 +dnl Use the standard macros, but make them use other variable names2.25 +dnl2.26 +pushdef([ac_cv_prog_CPP], ac_cv_build_prog_CPP)dnl2.27 +pushdef([ac_cv_prog_gcc], ac_cv_build_prog_gcc)dnl2.28 +pushdef([ac_cv_prog_cc_works], ac_cv_build_prog_cc_works)dnl2.29 +pushdef([ac_cv_prog_cc_cross], ac_cv_build_prog_cc_cross)dnl2.30 +pushdef([ac_cv_prog_cc_g], ac_cv_build_prog_cc_g)dnl2.31 +pushdef([ac_cv_exeext], ac_cv_build_exeext)dnl2.32 +pushdef([ac_cv_objext], ac_cv_build_objext)dnl2.33 +pushdef([ac_exeext], ac_build_exeext)dnl2.34 +pushdef([ac_objext], ac_build_objext)dnl2.35 +pushdef([CC], CC_FOR_BUILD)dnl2.36 +pushdef([CPP], CPP_FOR_BUILD)dnl2.37 +pushdef([CFLAGS], CFLAGS_FOR_BUILD)dnl2.38 +pushdef([CPPFLAGS], CPPFLAGS_FOR_BUILD)dnl2.39 +pushdef([host], build)dnl2.40 +pushdef([host_alias], build_alias)dnl2.41 +pushdef([host_cpu], build_cpu)dnl2.42 +pushdef([host_vendor], build_vendor)dnl2.43 +pushdef([host_os], build_os)dnl2.44 +pushdef([ac_tool_prefix], ac_build_tool_prefix)dnl2.45 +pushdef([ac_cv_host], ac_cv_build)dnl2.46 +pushdef([ac_cv_host_alias], ac_cv_build_alias)dnl2.47 +pushdef([ac_cv_host_cpu], ac_cv_build_cpu)dnl2.48 +pushdef([ac_cv_host_vendor], ac_cv_build_vendor)dnl2.49 +pushdef([ac_cv_host_os], ac_cv_build_os)dnl2.50 +pushdef([ac_cpp], ac_build_cpp)dnl2.51 +pushdef([ac_compile], ac_build_compile)dnl2.52 +pushdef([ac_link], ac_build_link)dnl2.53 +2.54 +AC_PROG_CC2.55 +AC_PROG_CPP2.56 +AC_EXEEXT2.57 +2.58 +dnl Restore the old definitions2.59 +dnl2.60 +popdef([ac_link])dnl2.61 +popdef([ac_compile])dnl2.62 +popdef([ac_cpp])dnl2.63 +popdef([ac_cv_host_os])dnl2.64 +popdef([ac_cv_host_vendor])dnl2.65 +popdef([ac_cv_host_cpu])dnl2.66 +popdef([ac_cv_host_alias])dnl2.67 +popdef([ac_cv_host])dnl2.68 +popdef([ac_tool_prefix])dnl2.69 +popdef([host_os])dnl2.70 +popdef([host_vendor])dnl2.71 +popdef([host_cpu])dnl2.72 +popdef([host_alias])dnl2.73 +popdef([host])dnl2.74 +popdef([CPPFLAGS])dnl2.75 +popdef([CFLAGS])dnl2.76 +popdef([CPP])dnl2.77 +popdef([CC])dnl2.78 +popdef([ac_objext])dnl2.79 +popdef([ac_exeext])dnl2.80 +popdef([ac_cv_objext])dnl2.81 +popdef([ac_cv_exeext])dnl2.82 +popdef([ac_cv_prog_cc_g])dnl2.83 +popdef([ac_cv_prog_cc_works])dnl2.84 +popdef([ac_cv_prog_cc_cross])dnl2.85 +popdef([ac_cv_prog_gcc])dnl2.86 +popdef([ac_cv_prog_CPP])dnl2.87 +popdef([cross_compiling])dnl2.88 +2.89 +dnl Finally, set Makefile variables2.90 +dnl2.91 +BUILD_EXEEXT=$ac_build_exeext2.92 +BUILD_OBJEXT=$ac_build_objext2.93 +AC_SUBST(BUILD_EXEEXT)dnl2.94 +AC_SUBST(BUILD_OBJEXT)dnl2.95 +AC_SUBST([CFLAGS_FOR_BUILD])dnl2.96 +AC_SUBST([CPPFLAGS_FOR_BUILD])dnl2.97 +])
3.1 --- a/configure Wed Dec 21 12:15:06 2011 +10003.2 +++ b/configure Wed Dec 21 17:13:08 2011 +10003.3 @@ -690,15 +690,7 @@3.4 CCDEPMODE3.5 am__fastdepCC_TRUE3.6 am__fastdepCC_FALSE3.7 -OBJC3.8 -OBJCFLAGS3.9 -ac_ct_OBJC3.10 -SED3.11 -CCAS3.12 -CCASFLAGS3.13 CPP3.14 -GREP3.15 -EGREP3.16 build3.17 build_cpu3.18 build_vendor3.19 @@ -707,6 +699,29 @@3.20 host_cpu3.21 host_vendor3.22 host_os3.23 +CC3.24 +CFLAGS3.25 +CPPFLAGS3.26 +CC_FOR_BUILD3.27 +ac_ct_CC_FOR_BUILD3.28 +CC_FOR_BUILDDEPMODE3.29 +am__fastdepCC_FOR_BUILD_TRUE3.30 +am__fastdepCC_FOR_BUILD_FALSE3.31 +CPP3.32 +CPPFLAGS3.33 +CPP_FOR_BUILD3.34 +BUILD_EXEEXT3.35 +BUILD_OBJEXT3.36 +CFLAGS_FOR_BUILD3.37 +CPPFLAGS_FOR_BUILD3.38 +OBJC3.39 +OBJCFLAGS3.40 +ac_ct_OBJC3.41 +SED3.42 +CCAS3.43 +CCASFLAGS3.44 +GREP3.45 +EGREP3.46 OBJCDEPMODE3.47 am__fastdepOBJC_TRUE3.48 am__fastdepOBJC_FALSE3.49 @@ -809,11 +824,16 @@3.50 LDFLAGS3.51 LIBS3.52 CPPFLAGS3.53 +CPP3.54 +CC3.55 +CFLAGS3.56 +CPPFLAGS3.57 +CPP3.58 +CPPFLAGS3.59 OBJC3.60 OBJCFLAGS3.61 CCAS3.62 CCASFLAGS3.63 -CPP3.64 PKG_CONFIG3.65 LIBPNG_CFLAGS3.66 LIBPNG_LIBS3.67 @@ -1445,11 +1465,11 @@3.68 LIBS libraries to pass to the linker, e.g. -l<library>3.69 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if3.70 you have headers in a nonstandard directory <include dir>3.71 + CPP C preprocessor3.72 OBJC Objective C compiler command3.73 OBJCFLAGS Objective C compiler flags3.74 CCAS assembler compiler command (defaults to CC)3.75 CCASFLAGS assembler compiler flags (defaults to CFLAGS)3.76 - CPP C preprocessor3.77 PKG_CONFIG path to pkg-config utility3.78 LIBPNG_CFLAGS3.79 C compiler flags for LIBPNG, overriding pkg-config3.80 @@ -4340,6 +4360,1388 @@3.81 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'3.82 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'3.83 ac_compiler_gnu=$ac_cv_c_compiler_gnu3.84 +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&53.85 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }3.86 +# On Suns, sometimes $CPP names a directory.3.87 +if test -n "$CPP" && test -d "$CPP"; then3.88 + CPP=3.89 +fi3.90 +if test -z "$CPP"; then3.91 + if test "${ac_cv_prog_CPP+set}" = set; then3.92 + echo $ECHO_N "(cached) $ECHO_C" >&63.93 +else3.94 + # Double quotes because CPP needs to be expanded3.95 + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"3.96 + do3.97 + ac_preproc_ok=false3.98 +for ac_c_preproc_warn_flag in '' yes3.99 +do3.100 + # Use a header file that comes with gcc, so configuring glibc3.101 + # with a fresh cross-compiler works.3.102 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since3.103 + # <limits.h> exists even on freestanding compilers.3.104 + # On the NeXT, cc -E runs the code through the compiler's parser,3.105 + # not just through cpp. "Syntax error" is here to catch this case.3.106 + cat >conftest.$ac_ext <<_ACEOF3.107 +/* confdefs.h. */3.108 +_ACEOF3.109 +cat confdefs.h >>conftest.$ac_ext3.110 +cat >>conftest.$ac_ext <<_ACEOF3.111 +/* end confdefs.h. */3.112 +#ifdef __STDC__3.113 +# include <limits.h>3.114 +#else3.115 +# include <assert.h>3.116 +#endif3.117 + Syntax error3.118 +_ACEOF3.119 +if { (ac_try="$ac_cpp conftest.$ac_ext"3.120 +case "(($ac_try" in3.121 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;3.122 + *) ac_try_echo=$ac_try;;3.123 +esac3.124 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&53.125 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er13.126 + ac_status=$?3.127 + grep -v '^ *+' conftest.er1 >conftest.err3.128 + rm -f conftest.er13.129 + cat conftest.err >&53.130 + echo "$as_me:$LINENO: \$? = $ac_status" >&53.131 + (exit $ac_status); } >/dev/null && {3.132 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||3.133 + test ! -s conftest.err3.134 + }; then3.135 + :3.136 +else3.137 + echo "$as_me: failed program was:" >&53.138 +sed 's/^/| /' conftest.$ac_ext >&53.139 +3.140 + # Broken: fails on valid input.3.141 +continue3.142 +fi3.143 +3.144 +rm -f conftest.err conftest.$ac_ext3.145 +3.146 + # OK, works on sane cases. Now check whether nonexistent headers3.147 + # can be detected and how.3.148 + cat >conftest.$ac_ext <<_ACEOF3.149 +/* confdefs.h. */3.150 +_ACEOF3.151 +cat confdefs.h >>conftest.$ac_ext3.152 +cat >>conftest.$ac_ext <<_ACEOF3.153 +/* end confdefs.h. */3.154 +#include <ac_nonexistent.h>3.155 +_ACEOF3.156 +if { (ac_try="$ac_cpp conftest.$ac_ext"3.157 +case "(($ac_try" in3.158 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;3.159 + *) ac_try_echo=$ac_try;;3.160 +esac3.161 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&53.162 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er13.163 + ac_status=$?3.164 + grep -v '^ *+' conftest.er1 >conftest.err3.165 + rm -f conftest.er13.166 + cat conftest.err >&53.167 + echo "$as_me:$LINENO: \$? = $ac_status" >&53.168 + (exit $ac_status); } >/dev/null && {3.169 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||3.170 + test ! -s conftest.err3.171 + }; then3.172 + # Broken: success on invalid input.3.173 +continue3.174 +else3.175 + echo "$as_me: failed program was:" >&53.176 +sed 's/^/| /' conftest.$ac_ext >&53.177 +3.178 + # Passes both tests.3.179 +ac_preproc_ok=:3.180 +break3.181 +fi3.182 +3.183 +rm -f conftest.err conftest.$ac_ext3.184 +3.185 +done3.186 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.3.187 +rm -f conftest.err conftest.$ac_ext3.188 +if $ac_preproc_ok; then3.189 + break3.190 +fi3.191 +3.192 + done3.193 + ac_cv_prog_CPP=$CPP3.194 +3.195 +fi3.196 + CPP=$ac_cv_prog_CPP3.197 +else3.198 + ac_cv_prog_CPP=$CPP3.199 +fi3.200 +{ echo "$as_me:$LINENO: result: $CPP" >&53.201 +echo "${ECHO_T}$CPP" >&6; }3.202 +ac_preproc_ok=false3.203 +for ac_c_preproc_warn_flag in '' yes3.204 +do3.205 + # Use a header file that comes with gcc, so configuring glibc3.206 + # with a fresh cross-compiler works.3.207 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since3.208 + # <limits.h> exists even on freestanding compilers.3.209 + # On the NeXT, cc -E runs the code through the compiler's parser,3.210 + # not just through cpp. "Syntax error" is here to catch this case.3.211 + cat >conftest.$ac_ext <<_ACEOF3.212 +/* confdefs.h. */3.213 +_ACEOF3.214 +cat confdefs.h >>conftest.$ac_ext3.215 +cat >>conftest.$ac_ext <<_ACEOF3.216 +/* end confdefs.h. */3.217 +#ifdef __STDC__3.218 +# include <limits.h>3.219 +#else3.220 +# include <assert.h>3.221 +#endif3.222 + Syntax error3.223 +_ACEOF3.224 +if { (ac_try="$ac_cpp conftest.$ac_ext"3.225 +case "(($ac_try" in3.226 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;3.227 + *) ac_try_echo=$ac_try;;3.228 +esac3.229 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&53.230 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er13.231 + ac_status=$?3.232 + grep -v '^ *+' conftest.er1 >conftest.err3.233 + rm -f conftest.er13.234 + cat conftest.err >&53.235 + echo "$as_me:$LINENO: \$? = $ac_status" >&53.236 + (exit $ac_status); } >/dev/null && {3.237 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||3.238 + test ! -s conftest.err3.239 + }; then3.240 + :3.241 +else3.242 + echo "$as_me: failed program was:" >&53.243 +sed 's/^/| /' conftest.$ac_ext >&53.244 +3.245 + # Broken: fails on valid input.3.246 +continue3.247 +fi3.248 +3.249 +rm -f conftest.err conftest.$ac_ext3.250 +3.251 + # OK, works on sane cases. Now check whether nonexistent headers3.252 + # can be detected and how.3.253 + cat >conftest.$ac_ext <<_ACEOF3.254 +/* confdefs.h. */3.255 +_ACEOF3.256 +cat confdefs.h >>conftest.$ac_ext3.257 +cat >>conftest.$ac_ext <<_ACEOF3.258 +/* end confdefs.h. */3.259 +#include <ac_nonexistent.h>3.260 +_ACEOF3.261 +if { (ac_try="$ac_cpp conftest.$ac_ext"3.262 +case "(($ac_try" in3.263 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;3.264 + *) ac_try_echo=$ac_try;;3.265 +esac3.266 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&53.267 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er13.268 + ac_status=$?3.269 + grep -v '^ *+' conftest.er1 >conftest.err3.270 + rm -f conftest.er13.271 + cat conftest.err >&53.272 + echo "$as_me:$LINENO: \$? = $ac_status" >&53.273 + (exit $ac_status); } >/dev/null && {3.274 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||3.275 + test ! -s conftest.err3.276 + }; then3.277 + # Broken: success on invalid input.3.278 +continue3.279 +else3.280 + echo "$as_me: failed program was:" >&53.281 +sed 's/^/| /' conftest.$ac_ext >&53.282 +3.283 + # Passes both tests.3.284 +ac_preproc_ok=:3.285 +break3.286 +fi3.287 +3.288 +rm -f conftest.err conftest.$ac_ext3.289 +3.290 +done3.291 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.3.292 +rm -f conftest.err conftest.$ac_ext3.293 +if $ac_preproc_ok; then3.294 + :3.295 +else3.296 + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check3.297 +See \`config.log' for more details." >&53.298 +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check3.299 +See \`config.log' for more details." >&2;}3.300 + { (exit 1); exit 1; }; }3.301 +fi3.302 +3.303 +ac_ext=c3.304 +ac_cpp='$CPP $CPPFLAGS'3.305 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'3.306 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'3.307 +ac_compiler_gnu=$ac_cv_c_compiler_gnu3.308 +3.309 +3.310 +# Make sure we can run config.sub.3.311 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||3.312 + { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&53.313 +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}3.314 + { (exit 1); exit 1; }; }3.315 +3.316 +{ echo "$as_me:$LINENO: checking build system type" >&53.317 +echo $ECHO_N "checking build system type... $ECHO_C" >&6; }3.318 +if test "${ac_cv_build+set}" = set; then3.319 + echo $ECHO_N "(cached) $ECHO_C" >&63.320 +else3.321 + ac_build_alias=$build_alias3.322 +test "x$ac_build_alias" = x &&3.323 + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`3.324 +test "x$ac_build_alias" = x &&3.325 + { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&53.326 +echo "$as_me: error: cannot guess build type; you must specify one" >&2;}3.327 + { (exit 1); exit 1; }; }3.328 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||3.329 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&53.330 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}3.331 + { (exit 1); exit 1; }; }3.332 +3.333 +fi3.334 +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&53.335 +echo "${ECHO_T}$ac_cv_build" >&6; }3.336 +case $ac_cv_build in3.337 +*-*-*) ;;3.338 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&53.339 +echo "$as_me: error: invalid value of canonical build" >&2;}3.340 + { (exit 1); exit 1; }; };;3.341 +esac3.342 +build=$ac_cv_build3.343 +ac_save_IFS=$IFS; IFS='-'3.344 +set x $ac_cv_build3.345 +shift3.346 +build_cpu=$13.347 +build_vendor=$23.348 +shift; shift3.349 +# Remember, the first character of IFS is used to create $*,3.350 +# except with old shells:3.351 +build_os=$*3.352 +IFS=$ac_save_IFS3.353 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac3.354 +3.355 +3.356 +{ echo "$as_me:$LINENO: checking host system type" >&53.357 +echo $ECHO_N "checking host system type... $ECHO_C" >&6; }3.358 +if test "${ac_cv_host+set}" = set; then3.359 + echo $ECHO_N "(cached) $ECHO_C" >&63.360 +else3.361 + if test "x$host_alias" = x; then3.362 + ac_cv_host=$ac_cv_build3.363 +else3.364 + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||3.365 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&53.366 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}3.367 + { (exit 1); exit 1; }; }3.368 +fi3.369 +3.370 +fi3.371 +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&53.372 +echo "${ECHO_T}$ac_cv_host" >&6; }3.373 +case $ac_cv_host in3.374 +*-*-*) ;;3.375 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&53.376 +echo "$as_me: error: invalid value of canonical host" >&2;}3.377 + { (exit 1); exit 1; }; };;3.378 +esac3.379 +host=$ac_cv_host3.380 +ac_save_IFS=$IFS; IFS='-'3.381 +set x $ac_cv_host3.382 +shift3.383 +host_cpu=$13.384 +host_vendor=$23.385 +shift; shift3.386 +# Remember, the first character of IFS is used to create $*,3.387 +# except with old shells:3.388 +host_os=$*3.389 +IFS=$ac_save_IFS3.390 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac3.391 +3.392 +3.393 +ac_main_cc="$CC"3.394 +test -n "$build_alias" && ac_build_tool_prefix=$build_alias-3.395 +3.396 +if test -z "$CC_FOR_BUILD"; then3.397 + if test "$#" = yes; then3.398 + { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling3.399 +See \`config.log' for more details." >&53.400 +echo "$as_me: error: cannot run test program while cross compiling3.401 +See \`config.log' for more details." >&2;}3.402 + { (exit 1); exit 1; }; }3.403 +else3.404 + cat >conftest.$ac_ext <<_ACEOF3.405 +int main(){return 0;}3.406 +_ACEOF3.407 +rm -f conftest$ac_exeext3.408 +if { (ac_try="$ac_link"3.409 +case "(($ac_try" in3.410 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;3.411 + *) ac_try_echo=$ac_try;;3.412 +esac3.413 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&53.414 + (eval "$ac_link") 2>&53.415 + ac_status=$?3.416 + echo "$as_me:$LINENO: \$? = $ac_status" >&53.417 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'3.418 + { (case "(($ac_try" in3.419 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;3.420 + *) ac_try_echo=$ac_try;;3.421 +esac3.422 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&53.423 + (eval "$ac_try") 2>&53.424 + ac_status=$?3.425 + echo "$as_me:$LINENO: \$? = $ac_status" >&53.426 + (exit $ac_status); }; }; then3.427 + CC_FOR_BUILD="$CC"3.428 +else3.429 + echo "$as_me: program exited with status $ac_status" >&53.430 +echo "$as_me: failed program was:" >&53.431 +sed 's/^/| /' conftest.$ac_ext >&53.432 +3.433 +fi3.434 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext3.435 +fi3.436 +3.437 +3.438 +fi3.439 +3.440 +ac_ext=c3.441 +ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'3.442 +ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'3.443 +ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'3.444 +ac_compiler_gnu=$ac_cv_c_compiler_gnu3.445 +if test -n "$ac_build_tool_prefix"; then3.446 + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.3.447 +set dummy ${ac_build_tool_prefix}gcc; ac_word=$23.448 +{ echo "$as_me:$LINENO: checking for $ac_word" >&53.449 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3.450 +if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then3.451 + echo $ECHO_N "(cached) $ECHO_C" >&63.452 +else3.453 + if test -n "$CC_FOR_BUILD"; then3.454 + ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.3.455 +else3.456 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR3.457 +for as_dir in $PATH3.458 +do3.459 + IFS=$as_save_IFS3.460 + test -z "$as_dir" && as_dir=.3.461 + for ac_exec_ext in '' $ac_executable_extensions; do3.462 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3.463 + ac_cv_prog_CC_FOR_BUILD="${ac_build_tool_prefix}gcc"3.464 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53.465 + break 23.466 + fi3.467 +done3.468 +done3.469 +IFS=$as_save_IFS3.470 +3.471 +fi3.472 +fi3.473 +CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD3.474 +if test -n "$CC_FOR_BUILD"; then3.475 + { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&53.476 +echo "${ECHO_T}$CC_FOR_BUILD" >&6; }3.477 +else3.478 + { echo "$as_me:$LINENO: result: no" >&53.479 +echo "${ECHO_T}no" >&6; }3.480 +fi3.481 +3.482 +3.483 +fi3.484 +if test -z "$ac_cv_prog_CC_FOR_BUILD"; then3.485 + ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD3.486 + # Extract the first word of "gcc", so it can be a program name with args.3.487 +set dummy gcc; ac_word=$23.488 +{ echo "$as_me:$LINENO: checking for $ac_word" >&53.489 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3.490 +if test "${ac_cv_prog_ac_ct_CC_FOR_BUILD+set}" = set; then3.491 + echo $ECHO_N "(cached) $ECHO_C" >&63.492 +else3.493 + if test -n "$ac_ct_CC_FOR_BUILD"; then3.494 + ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test.3.495 +else3.496 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR3.497 +for as_dir in $PATH3.498 +do3.499 + IFS=$as_save_IFS3.500 + test -z "$as_dir" && as_dir=.3.501 + for ac_exec_ext in '' $ac_executable_extensions; do3.502 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3.503 + ac_cv_prog_ac_ct_CC_FOR_BUILD="gcc"3.504 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53.505 + break 23.506 + fi3.507 +done3.508 +done3.509 +IFS=$as_save_IFS3.510 +3.511 +fi3.512 +fi3.513 +ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD3.514 +if test -n "$ac_ct_CC_FOR_BUILD"; then3.515 + { echo "$as_me:$LINENO: result: $ac_ct_CC_FOR_BUILD" >&53.516 +echo "${ECHO_T}$ac_ct_CC_FOR_BUILD" >&6; }3.517 +else3.518 + { echo "$as_me:$LINENO: result: no" >&53.519 +echo "${ECHO_T}no" >&6; }3.520 +fi3.521 +3.522 + if test "x$ac_ct_CC_FOR_BUILD" = x; then3.523 + CC_FOR_BUILD=""3.524 + else3.525 + case $#:$ac_tool_warned in3.526 +yes:)3.527 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools3.528 +whose name does not start with the build triplet. If you think this3.529 +configuration is useful to you, please write to autoconf@gnu.org." >&53.530 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools3.531 +whose name does not start with the build triplet. If you think this3.532 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}3.533 +ac_tool_warned=yes ;;3.534 +esac3.535 + CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD3.536 + fi3.537 +else3.538 + CC_FOR_BUILD="$ac_cv_prog_CC_FOR_BUILD"3.539 +fi3.540 +3.541 +if test -z "$CC_FOR_BUILD"; then3.542 + if test -n "$ac_build_tool_prefix"; then3.543 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.3.544 +set dummy ${ac_build_tool_prefix}cc; ac_word=$23.545 +{ echo "$as_me:$LINENO: checking for $ac_word" >&53.546 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3.547 +if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then3.548 + echo $ECHO_N "(cached) $ECHO_C" >&63.549 +else3.550 + if test -n "$CC_FOR_BUILD"; then3.551 + ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.3.552 +else3.553 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR3.554 +for as_dir in $PATH3.555 +do3.556 + IFS=$as_save_IFS3.557 + test -z "$as_dir" && as_dir=.3.558 + for ac_exec_ext in '' $ac_executable_extensions; do3.559 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3.560 + ac_cv_prog_CC_FOR_BUILD="${ac_build_tool_prefix}cc"3.561 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53.562 + break 23.563 + fi3.564 +done3.565 +done3.566 +IFS=$as_save_IFS3.567 +3.568 +fi3.569 +fi3.570 +CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD3.571 +if test -n "$CC_FOR_BUILD"; then3.572 + { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&53.573 +echo "${ECHO_T}$CC_FOR_BUILD" >&6; }3.574 +else3.575 + { echo "$as_me:$LINENO: result: no" >&53.576 +echo "${ECHO_T}no" >&6; }3.577 +fi3.578 +3.579 +3.580 + fi3.581 +fi3.582 +if test -z "$CC_FOR_BUILD"; then3.583 + # Extract the first word of "cc", so it can be a program name with args.3.584 +set dummy cc; ac_word=$23.585 +{ echo "$as_me:$LINENO: checking for $ac_word" >&53.586 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3.587 +if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then3.588 + echo $ECHO_N "(cached) $ECHO_C" >&63.589 +else3.590 + if test -n "$CC_FOR_BUILD"; then3.591 + ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.3.592 +else3.593 + ac_prog_rejected=no3.594 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR3.595 +for as_dir in $PATH3.596 +do3.597 + IFS=$as_save_IFS3.598 + test -z "$as_dir" && as_dir=.3.599 + for ac_exec_ext in '' $ac_executable_extensions; do3.600 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3.601 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then3.602 + ac_prog_rejected=yes3.603 + continue3.604 + fi3.605 + ac_cv_prog_CC_FOR_BUILD="cc"3.606 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53.607 + break 23.608 + fi3.609 +done3.610 +done3.611 +IFS=$as_save_IFS3.612 +3.613 +if test $ac_prog_rejected = yes; then3.614 + # We found a bogon in the path, so make sure we never use it.3.615 + set dummy $ac_cv_prog_CC_FOR_BUILD3.616 + shift3.617 + if test $# != 0; then3.618 + # We chose a different compiler from the bogus one.3.619 + # However, it has the same basename, so the bogon will be chosen3.620 + # first if we set CC_FOR_BUILD to just the basename; use the full file name.3.621 + shift3.622 + ac_cv_prog_CC_FOR_BUILD="$as_dir/$ac_word${1+' '}$@"3.623 + fi3.624 +fi3.625 +fi3.626 +fi3.627 +CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD3.628 +if test -n "$CC_FOR_BUILD"; then3.629 + { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&53.630 +echo "${ECHO_T}$CC_FOR_BUILD" >&6; }3.631 +else3.632 + { echo "$as_me:$LINENO: result: no" >&53.633 +echo "${ECHO_T}no" >&6; }3.634 +fi3.635 +3.636 +3.637 +fi3.638 +if test -z "$CC_FOR_BUILD"; then3.639 + if test -n "$ac_build_tool_prefix"; then3.640 + for ac_prog in cl.exe3.641 + do3.642 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.3.643 +set dummy $ac_build_tool_prefix$ac_prog; ac_word=$23.644 +{ echo "$as_me:$LINENO: checking for $ac_word" >&53.645 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3.646 +if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then3.647 + echo $ECHO_N "(cached) $ECHO_C" >&63.648 +else3.649 + if test -n "$CC_FOR_BUILD"; then3.650 + ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.3.651 +else3.652 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR3.653 +for as_dir in $PATH3.654 +do3.655 + IFS=$as_save_IFS3.656 + test -z "$as_dir" && as_dir=.3.657 + for ac_exec_ext in '' $ac_executable_extensions; do3.658 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3.659 + ac_cv_prog_CC_FOR_BUILD="$ac_build_tool_prefix$ac_prog"3.660 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53.661 + break 23.662 + fi3.663 +done3.664 +done3.665 +IFS=$as_save_IFS3.666 +3.667 +fi3.668 +fi3.669 +CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD3.670 +if test -n "$CC_FOR_BUILD"; then3.671 + { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&53.672 +echo "${ECHO_T}$CC_FOR_BUILD" >&6; }3.673 +else3.674 + { echo "$as_me:$LINENO: result: no" >&53.675 +echo "${ECHO_T}no" >&6; }3.676 +fi3.677 +3.678 +3.679 + test -n "$CC_FOR_BUILD" && break3.680 + done3.681 +fi3.682 +if test -z "$CC_FOR_BUILD"; then3.683 + ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD3.684 + for ac_prog in cl.exe3.685 +do3.686 + # Extract the first word of "$ac_prog", so it can be a program name with args.3.687 +set dummy $ac_prog; ac_word=$23.688 +{ echo "$as_me:$LINENO: checking for $ac_word" >&53.689 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }3.690 +if test "${ac_cv_prog_ac_ct_CC_FOR_BUILD+set}" = set; then3.691 + echo $ECHO_N "(cached) $ECHO_C" >&63.692 +else3.693 + if test -n "$ac_ct_CC_FOR_BUILD"; then3.694 + ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test.3.695 +else3.696 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR3.697 +for as_dir in $PATH3.698 +do3.699 + IFS=$as_save_IFS3.700 + test -z "$as_dir" && as_dir=.3.701 + for ac_exec_ext in '' $ac_executable_extensions; do3.702 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3.703 + ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_prog"3.704 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53.705 + break 23.706 + fi3.707 +done3.708 +done3.709 +IFS=$as_save_IFS3.710 +3.711 +fi3.712 +fi3.713 +ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD3.714 +if test -n "$ac_ct_CC_FOR_BUILD"; then3.715 + { echo "$as_me:$LINENO: result: $ac_ct_CC_FOR_BUILD" >&53.716 +echo "${ECHO_T}$ac_ct_CC_FOR_BUILD" >&6; }3.717 +else3.718 + { echo "$as_me:$LINENO: result: no" >&53.719 +echo "${ECHO_T}no" >&6; }3.720 +fi3.721 +3.722 +3.723 + test -n "$ac_ct_CC_FOR_BUILD" && break3.724 +done3.725 +3.726 + if test "x$ac_ct_CC_FOR_BUILD" = x; then3.727 + CC_FOR_BUILD=""3.728 + else3.729 + case $#:$ac_tool_warned in3.730 +yes:)3.731 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools3.732 +whose name does not start with the build triplet. If you think this3.733 +configuration is useful to you, please write to autoconf@gnu.org." >&53.734 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools3.735 +whose name does not start with the build triplet. If you think this3.736 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}3.737 +ac_tool_warned=yes ;;3.738 +esac3.739 + CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD3.740 + fi3.741 +fi3.742 +3.743 +fi3.744 +3.745 +3.746 +test -z "$CC_FOR_BUILD" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH3.747 +See \`config.log' for more details." >&53.748 +echo "$as_me: error: no acceptable C compiler found in \$PATH3.749 +See \`config.log' for more details." >&2;}3.750 + { (exit 1); exit 1; }; }3.751 +3.752 +# Provide some information about the compiler.3.753 +echo "$as_me:$LINENO: checking for C compiler version" >&53.754 +ac_compiler=`set X $ac_build_compile; echo $2`3.755 +{ (ac_try="$ac_compiler --version >&5"3.756 +case "(($ac_try" in3.757 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;3.758 + *) ac_try_echo=$ac_try;;3.759 +esac3.760 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&53.761 + (eval "$ac_compiler --version >&5") 2>&53.762 + ac_status=$?3.763 + echo "$as_me:$LINENO: \$? = $ac_status" >&53.764 + (exit $ac_status); }3.765 +{ (ac_try="$ac_compiler -v >&5"3.766 +case "(($ac_try" in3.767 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;3.768 + *) ac_try_echo=$ac_try;;3.769 +esac3.770 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&53.771 + (eval "$ac_compiler -v >&5") 2>&53.772 + ac_status=$?3.773 + echo "$as_me:$LINENO: \$? = $ac_status" >&53.774 + (exit $ac_status); }3.775 +{ (ac_try="$ac_compiler -V >&5"3.776 +case "(($ac_try" in3.777 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;3.778 + *) ac_try_echo=$ac_try;;3.779 +esac3.780 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&53.781 + (eval "$ac_compiler -V >&5") 2>&53.782 + ac_status=$?3.783 + echo "$as_me:$LINENO: \$? = $ac_status" >&53.784 + (exit $ac_status); }3.785 +3.786 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&53.787 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }3.788 +if test "${ac_cv_c_compiler_gnu+set}" = set; then3.789 + echo $ECHO_N "(cached) $ECHO_C" >&63.790 +else3.791 + cat >conftest.$ac_ext <<_ACEOF3.792 +/* confdefs.h. */3.793 +_ACEOF3.794 +cat confdefs.h >>conftest.$ac_ext3.795 +cat >>conftest.$ac_ext <<_ACEOF3.796 +/* end confdefs.h. */3.797 +3.798 +int3.799 +main ()3.800 +{3.801 +#ifndef __GNUC__3.802 + choke me3.803 +#endif3.804 +3.805 + ;3.806 + return 0;3.807 +}3.808 +_ACEOF3.809 +rm -f conftest.$ac_build_objext3.810 +if { (ac_try="$ac_build_compile"3.811 +case "(($ac_try" in3.812 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;3.813 + *) ac_try_echo=$ac_try;;3.814 +esac3.815 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&53.816 + (eval "$ac_build_compile") 2>conftest.er13.817 + ac_status=$?3.818 + grep -v '^ *+' conftest.er1 >conftest.err3.819 + rm -f conftest.er13.820 + cat conftest.err >&53.821 + echo "$as_me:$LINENO: \$? = $ac_status" >&53.822 + (exit $ac_status); } && {3.823 + test -z "$ac_c_werror_flag" ||3.824 + test ! -s conftest.err3.825 + } && test -s conftest.$ac_build_objext; then3.826 + ac_compiler_gnu=yes3.827 +else3.828 + echo "$as_me: failed program was:" >&53.829 +sed 's/^/| /' conftest.$ac_ext >&53.830 +3.831 + ac_compiler_gnu=no3.832 +fi3.833 +3.834 +rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext3.835 +ac_cv_c_compiler_gnu=$ac_compiler_gnu3.836 +3.837 +fi3.838 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&53.839 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }3.840 +GCC=`test $ac_compiler_gnu = yes && echo yes`3.841 +ac_test_CFLAGS=${CFLAGS_FOR_BUILD+set}3.842 +ac_save_CFLAGS=$CFLAGS_FOR_BUILD3.843 +{ echo "$as_me:$LINENO: checking whether $CC_FOR_BUILD accepts -g" >&53.844 +echo $ECHO_N "checking whether $CC_FOR_BUILD accepts -g... $ECHO_C" >&6; }3.845 +if test "${ac_cv_build_prog_cc_g+set}" = set; then3.846 + echo $ECHO_N "(cached) $ECHO_C" >&63.847 +else3.848 + ac_save_c_werror_flag=$ac_c_werror_flag3.849 + ac_c_werror_flag=yes3.850 + ac_cv_build_prog_cc_g=no3.851 + CFLAGS_FOR_BUILD="-g"3.852 + cat >conftest.$ac_ext <<_ACEOF3.853 +/* confdefs.h. */3.854 +_ACEOF3.855 +cat confdefs.h >>conftest.$ac_ext3.856 +cat >>conftest.$ac_ext <<_ACEOF3.857 +/* end confdefs.h. */3.858 +3.859 +int3.860 +main ()3.861 +{3.862 +3.863 + ;3.864 + return 0;3.865 +}3.866 +_ACEOF3.867 +rm -f conftest.$ac_build_objext3.868 +if { (ac_try="$ac_build_compile"3.869 +case "(($ac_try" in3.870 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;3.871 + *) ac_try_echo=$ac_try;;3.872 +esac3.873 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&53.874 + (eval "$ac_build_compile") 2>conftest.er13.875 + ac_status=$?3.876 + grep -v '^ *+' conftest.er1 >conftest.err3.877 + rm -f conftest.er13.878 + cat conftest.err >&53.879 + echo "$as_me:$LINENO: \$? = $ac_status" >&53.880 + (exit $ac_status); } && {3.881 + test -z "$ac_c_werror_flag" ||3.882 + test ! -s conftest.err3.883 + } && test -s conftest.$ac_build_objext; then3.884 + ac_cv_build_prog_cc_g=yes3.885 +else3.886 + echo "$as_me: failed program was:" >&53.887 +sed 's/^/| /' conftest.$ac_ext >&53.888 +3.889 + CFLAGS_FOR_BUILD=""3.890 + cat >conftest.$ac_ext <<_ACEOF3.891 +/* confdefs.h. */3.892 +_ACEOF3.893 +cat confdefs.h >>conftest.$ac_ext3.894 +cat >>conftest.$ac_ext <<_ACEOF3.895 +/* end confdefs.h. */3.896 +3.897 +int3.898 +main ()3.899 +{3.900 +3.901 + ;3.902 + return 0;3.903 +}3.904 +_ACEOF3.905 +rm -f conftest.$ac_build_objext3.906 +if { (ac_try="$ac_build_compile"3.907 +case "(($ac_try" in3.908 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;3.909 + *) ac_try_echo=$ac_try;;3.910 +esac3.911 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&53.912 + (eval "$ac_build_compile") 2>conftest.er13.913 + ac_status=$?3.914 + grep -v '^ *+' conftest.er1 >conftest.err3.915 + rm -f conftest.er13.916 + cat conftest.err >&53.917 + echo "$as_me:$LINENO: \$? = $ac_status" >&53.918 + (exit $ac_status); } && {3.919 + test -z "$ac_c_werror_flag" ||3.920 + test ! -s conftest.err3.921 + } && test -s conftest.$ac_build_objext; then3.922 + :3.923 +else3.924 + echo "$as_me: failed program was:" >&53.925 +sed 's/^/| /' conftest.$ac_ext >&53.926 +3.927 + ac_c_werror_flag=$ac_save_c_werror_flag3.928 + CFLAGS_FOR_BUILD="-g"3.929 + cat >conftest.$ac_ext <<_ACEOF3.930 +/* confdefs.h. */3.931 +_ACEOF3.932 +cat confdefs.h >>conftest.$ac_ext3.933 +cat >>conftest.$ac_ext <<_ACEOF3.934 +/* end confdefs.h. */3.935 +3.936 +int3.937 +main ()3.938 +{3.939 +3.940 + ;3.941 + return 0;3.942 +}3.943 +_ACEOF3.944 +rm -f conftest.$ac_build_objext3.945 +if { (ac_try="$ac_build_compile"3.946 +case "(($ac_try" in3.947 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;3.948 + *) ac_try_echo=$ac_try;;3.949 +esac3.950 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&53.951 + (eval "$ac_build_compile") 2>conftest.er13.952 + ac_status=$?3.953 + grep -v '^ *+' conftest.er1 >conftest.err3.954 + rm -f conftest.er13.955 + cat conftest.err >&53.956 + echo "$as_me:$LINENO: \$? = $ac_status" >&53.957 + (exit $ac_status); } && {3.958 + test -z "$ac_c_werror_flag" ||3.959 + test ! -s conftest.err3.960 + } && test -s conftest.$ac_build_objext; then3.961 + ac_cv_build_prog_cc_g=yes3.962 +else3.963 + echo "$as_me: failed program was:" >&53.964 +sed 's/^/| /' conftest.$ac_ext >&53.965 +3.966 +3.967 +fi3.968 +3.969 +rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext3.970 +fi3.971 +3.972 +rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext3.973 +fi3.974 +3.975 +rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext3.976 + ac_c_werror_flag=$ac_save_c_werror_flag3.977 +fi3.978 +{ echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_g" >&53.979 +echo "${ECHO_T}$ac_cv_build_prog_cc_g" >&6; }3.980 +if test "$ac_test_CFLAGS" = set; then3.981 + CFLAGS_FOR_BUILD=$ac_save_CFLAGS3.982 +elif test $ac_cv_build_prog_cc_g = yes; then3.983 + if test "$GCC" = yes; then3.984 + CFLAGS_FOR_BUILD="-g -O2"3.985 + else3.986 + CFLAGS_FOR_BUILD="-g"3.987 + fi3.988 +else3.989 + if test "$GCC" = yes; then3.990 + CFLAGS_FOR_BUILD="-O2"3.991 + else3.992 + CFLAGS_FOR_BUILD=3.993 + fi3.994 +fi3.995 +{ echo "$as_me:$LINENO: checking for $CC_FOR_BUILD option to accept ISO C89" >&53.996 +echo $ECHO_N "checking for $CC_FOR_BUILD option to accept ISO C89... $ECHO_C" >&6; }3.997 +if test "${ac_cv_prog_cc_c89+set}" = set; then3.998 + echo $ECHO_N "(cached) $ECHO_C" >&63.999 +else3.1000 + ac_cv_prog_cc_c89=no3.1001 +ac_save_CC=$CC_FOR_BUILD3.1002 +cat >conftest.$ac_ext <<_ACEOF3.1003 +/* confdefs.h. */3.1004 +_ACEOF3.1005 +cat confdefs.h >>conftest.$ac_ext3.1006 +cat >>conftest.$ac_ext <<_ACEOF3.1007 +/* end confdefs.h. */3.1008 +#include <stdarg.h>3.1009 +#include <stdio.h>3.1010 +#include <sys/types.h>3.1011 +#include <sys/stat.h>3.1012 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */3.1013 +struct buf { int x; };3.1014 +FILE * (*rcsopen) (struct buf *, struct stat *, int);3.1015 +static char *e (p, i)3.1016 + char **p;3.1017 + int i;3.1018 +{3.1019 + return p[i];3.1020 +}3.1021 +static char *f (char * (*g) (char **, int), char **p, ...)3.1022 +{3.1023 + char *s;3.1024 + va_list v;3.1025 + va_start (v,p);3.1026 + s = g (p, va_arg (v,int));3.1027 + va_end (v);3.1028 + return s;3.1029 +}3.1030 +3.1031 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has3.1032 + function prototypes and stuff, but not '\xHH' hex character constants.3.1033 + These don't provoke an error unfortunately, instead are silently treated3.1034 + as 'x'. The following induces an error, until -std is added to get3.1035 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an3.1036 + array size at least. It's necessary to write '\x00'==0 to get something3.1037 + that's true only with -std. */3.1038 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];3.1039 +3.1040 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters3.1041 + inside strings and character constants. */3.1042 +#define FOO(x) 'x'3.1043 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];3.1044 +3.1045 +int test (int i, double x);3.1046 +struct s1 {int (*f) (int a);};3.1047 +struct s2 {int (*f) (double a);};3.1048 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);3.1049 +int argc;3.1050 +char **argv;3.1051 +int3.1052 +main ()3.1053 +{3.1054 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];3.1055 + ;3.1056 + return 0;3.1057 +}3.1058 +_ACEOF3.1059 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \3.1060 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"3.1061 +do3.1062 + CC_FOR_BUILD="$ac_save_CC $ac_arg"3.1063 + rm -f conftest.$ac_build_objext3.1064 +if { (ac_try="$ac_build_compile"3.1065 +case "(($ac_try" in3.1066 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;3.1067 + *) ac_try_echo=$ac_try;;3.1068 +esac3.1069 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&53.1070 + (eval "$ac_build_compile") 2>conftest.er13.1071 + ac_status=$?3.1072 + grep -v '^ *+' conftest.er1 >conftest.err3.1073 + rm -f conftest.er13.1074 + cat conftest.err >&53.1075 + echo "$as_me:$LINENO: \$? = $ac_status" >&53.1076 + (exit $ac_status); } && {3.1077 + test -z "$ac_c_werror_flag" ||3.1078 + test ! -s conftest.err3.1079 + } && test -s conftest.$ac_build_objext; then3.1080 + ac_cv_prog_cc_c89=$ac_arg3.1081 +else3.1082 + echo "$as_me: failed program was:" >&53.1083 +sed 's/^/| /' conftest.$ac_ext >&53.1084 +3.1085 +3.1086 +fi3.1087 +3.1088 +rm -f core conftest.err conftest.$ac_build_objext3.1089 + test "x$ac_cv_prog_cc_c89" != "xno" && break3.1090 +done3.1091 +rm -f conftest.$ac_ext3.1092 +CC_FOR_BUILD=$ac_save_CC3.1093 +3.1094 +fi3.1095 +# AC_CACHE_VAL3.1096 +case "x$ac_cv_prog_cc_c89" in3.1097 + x)3.1098 + { echo "$as_me:$LINENO: result: none needed" >&53.1099 +echo "${ECHO_T}none needed" >&6; } ;;3.1100 + xno)3.1101 + { echo "$as_me:$LINENO: result: unsupported" >&53.1102 +echo "${ECHO_T}unsupported" >&6; } ;;3.1103 + *)3.1104 + CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_prog_cc_c89"3.1105 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&53.1106 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;3.1107 +esac3.1108 +3.1109 +3.1110 +ac_ext=c3.1111 +ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'3.1112 +ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'3.1113 +ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'3.1114 +ac_compiler_gnu=$ac_cv_c_compiler_gnu3.1115 +3.1116 +depcc="$CC_FOR_BUILD" am_compiler_list=3.1117 +3.1118 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&53.1119 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }3.1120 +if test "${am_cv_CC_FOR_BUILD_dependencies_compiler_type+set}" = set; then3.1121 + echo $ECHO_N "(cached) $ECHO_C" >&63.1122 +else3.1123 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then3.1124 + # We make a subdir and do the tests there. Otherwise we can end up3.1125 + # making bogus files that we don't know about and never remove. For3.1126 + # instance it was reported that on HP-UX the gcc test will end up3.1127 + # making a dummy file named `D' -- because `-MD' means `put the output3.1128 + # in D'.3.1129 + mkdir conftest.dir3.1130 + # Copy depcomp to subdir because otherwise we won't find it if we're3.1131 + # using a relative directory.3.1132 + cp "$am_depcomp" conftest.dir3.1133 + cd conftest.dir3.1134 + # We will build objects and dependencies in a subdirectory because3.1135 + # it helps to detect inapplicable dependency modes. For instance3.1136 + # both Tru64's cc and ICC support -MD to output dependencies as a3.1137 + # side effect of compilation, but ICC will put the dependencies in3.1138 + # the current directory while Tru64 will put them in the object3.1139 + # directory.3.1140 + mkdir sub3.1141 +3.1142 + am_cv_CC_FOR_BUILD_dependencies_compiler_type=none3.1143 + if test "$am_compiler_list" = ""; then3.1144 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`3.1145 + fi3.1146 + for depmode in $am_compiler_list; do3.1147 + # Setup a source with many dependencies, because some compilers3.1148 + # like to wrap large dependency lists on column 80 (with \), and3.1149 + # we should not choose a depcomp mode which is confused by this.3.1150 + #3.1151 + # We need to recreate these files for each test, as the compiler may3.1152 + # overwrite some of them when testing with obscure command lines.3.1153 + # This happens at least with the AIX C compiler.3.1154 + : > sub/conftest.c3.1155 + for i in 1 2 3 4 5 6; do3.1156 + echo '#include "conftst'$i'.h"' >> sub/conftest.c3.1157 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with3.1158 + # Solaris 8's {/usr,}/bin/sh.3.1159 + touch sub/conftst$i.h3.1160 + done3.1161 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf3.1162 +3.1163 + case $depmode in3.1164 + nosideeffect)3.1165 + # after this tag, mechanisms are not by side-effect, so they'll3.1166 + # only be used when explicitly requested3.1167 + if test "x$enable_dependency_tracking" = xyes; then3.1168 + continue3.1169 + else3.1170 + break3.1171 + fi3.1172 + ;;3.1173 + none) break ;;3.1174 + esac3.1175 + # We check with `-c' and `-o' for the sake of the "dashmstdout"3.1176 + # mode. It turns out that the SunPro C++ compiler does not properly3.1177 + # handle `-M -o', and we need to detect this.3.1178 + if depmode=$depmode \3.1179 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \3.1180 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \3.1181 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \3.1182 + >/dev/null 2>conftest.err &&3.1183 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&3.1184 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&3.1185 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then3.1186 + # icc doesn't choke on unknown options, it will just issue warnings3.1187 + # or remarks (even with -Werror). So we grep stderr for any message3.1188 + # that says an option was ignored or not supported.3.1189 + # When given -MP, icc 7.0 and 7.1 complain thusly:3.1190 + # icc: Command line warning: ignoring option '-M'; no argument required3.1191 + # The diagnosis changed in icc 8.0:3.1192 + # icc: Command line remark: option '-MP' not supported3.1193 + if (grep 'ignoring option' conftest.err ||3.1194 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else3.1195 + am_cv_CC_FOR_BUILD_dependencies_compiler_type=$depmode3.1196 + break3.1197 + fi3.1198 + fi3.1199 + done3.1200 +3.1201 + cd ..3.1202 + rm -rf conftest.dir3.1203 +else3.1204 + am_cv_CC_FOR_BUILD_dependencies_compiler_type=none3.1205 +fi3.1206 +3.1207 +fi3.1208 +{ echo "$as_me:$LINENO: result: $am_cv_CC_FOR_BUILD_dependencies_compiler_type" >&53.1209 +echo "${ECHO_T}$am_cv_CC_FOR_BUILD_dependencies_compiler_type" >&6; }3.1210 +CC_FOR_BUILDDEPMODE=depmode=$am_cv_CC_FOR_BUILD_dependencies_compiler_type3.1211 +3.1212 +3.1213 +3.1214 +if3.1215 + test "x$enable_dependency_tracking" != xno \3.1216 + && test "$am_cv_CC_FOR_BUILD_dependencies_compiler_type" = gcc3; then3.1217 + am__fastdepCC_FOR_BUILD_TRUE=3.1218 + am__fastdepCC_FOR_BUILD_FALSE='#'3.1219 +else3.1220 + am__fastdepCC_FOR_BUILD_TRUE='#'3.1221 + am__fastdepCC_FOR_BUILD_FALSE=3.1222 +fi3.1223 +3.1224 +3.1225 +ac_ext=c3.1226 +ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'3.1227 +ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'3.1228 +ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'3.1229 +ac_compiler_gnu=$ac_cv_c_compiler_gnu3.1230 +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&53.1231 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }3.1232 +# On Suns, sometimes $CPP names a directory.3.1233 +if test -n "$CPP_FOR_BUILD" && test -d "$CPP_FOR_BUILD"; then3.1234 + CPP_FOR_BUILD=3.1235 +fi3.1236 +if test -z "$CPP_FOR_BUILD"; then3.1237 + if test "${ac_cv_build_prog_CPP+set}" = set; then3.1238 + echo $ECHO_N "(cached) $ECHO_C" >&63.1239 +else3.1240 + # Double quotes because CPP needs to be expanded3.1241 + for CPP_FOR_BUILD in "$CC_FOR_BUILD -E" "$CC_FOR_BUILD -E -traditional-cpp" "/lib/cpp"3.1242 + do3.1243 + ac_preproc_ok=false3.1244 +for ac_c_preproc_warn_flag in '' yes3.1245 +do3.1246 + # Use a header file that comes with gcc, so configuring glibc3.1247 + # with a fresh cross-compiler works.3.1248 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since3.1249 + # <limits.h> exists even on freestanding compilers.3.1250 + # On the NeXT, cc -E runs the code through the compiler's parser,3.1251 + # not just through cpp. "Syntax error" is here to catch this case.3.1252 + cat >conftest.$ac_ext <<_ACEOF3.1253 +/* confdefs.h. */3.1254 +_ACEOF3.1255 +cat confdefs.h >>conftest.$ac_ext3.1256 +cat >>conftest.$ac_ext <<_ACEOF3.1257 +/* end confdefs.h. */3.1258 +#ifdef __STDC__3.1259 +# include <limits.h>3.1260 +#else3.1261 +# include <assert.h>3.1262 +#endif3.1263 + Syntax error3.1264 +_ACEOF3.1265 +if { (ac_try="$ac_build_cpp conftest.$ac_ext"3.1266 +case "(($ac_try" in3.1267 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;3.1268 + *) ac_try_echo=$ac_try;;3.1269 +esac3.1270 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&53.1271 + (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er13.1272 + ac_status=$?3.1273 + grep -v '^ *+' conftest.er1 >conftest.err3.1274 + rm -f conftest.er13.1275 + cat conftest.err >&53.1276 + echo "$as_me:$LINENO: \$? = $ac_status" >&53.1277 + (exit $ac_status); } >/dev/null && {3.1278 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||3.1279 + test ! -s conftest.err3.1280 + }; then3.1281 + :3.1282 +else3.1283 + echo "$as_me: failed program was:" >&53.1284 +sed 's/^/| /' conftest.$ac_ext >&53.1285 +3.1286 + # Broken: fails on valid input.3.1287 +continue3.1288 +fi3.1289 +3.1290 +rm -f conftest.err conftest.$ac_ext3.1291 +3.1292 + # OK, works on sane cases. Now check whether nonexistent headers3.1293 + # can be detected and how.3.1294 + cat >conftest.$ac_ext <<_ACEOF3.1295 +/* confdefs.h. */3.1296 +_ACEOF3.1297 +cat confdefs.h >>conftest.$ac_ext3.1298 +cat >>conftest.$ac_ext <<_ACEOF3.1299 +/* end confdefs.h. */3.1300 +#include <ac_nonexistent.h>3.1301 +_ACEOF3.1302 +if { (ac_try="$ac_build_cpp conftest.$ac_ext"3.1303 +case "(($ac_try" in3.1304 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;3.1305 + *) ac_try_echo=$ac_try;;3.1306 +esac3.1307 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&53.1308 + (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er13.1309 + ac_status=$?3.1310 + grep -v '^ *+' conftest.er1 >conftest.err3.1311 + rm -f conftest.er13.1312 + cat conftest.err >&53.1313 + echo "$as_me:$LINENO: \$? = $ac_status" >&53.1314 + (exit $ac_status); } >/dev/null && {3.1315 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||3.1316 + test ! -s conftest.err3.1317 + }; then3.1318 + # Broken: success on invalid input.3.1319 +continue3.1320 +else3.1321 + echo "$as_me: failed program was:" >&53.1322 +sed 's/^/| /' conftest.$ac_ext >&53.1323 +3.1324 + # Passes both tests.3.1325 +ac_preproc_ok=:3.1326 +break3.1327 +fi3.1328 +3.1329 +rm -f conftest.err conftest.$ac_ext3.1330 +3.1331 +done3.1332 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.3.1333 +rm -f conftest.err conftest.$ac_ext3.1334 +if $ac_preproc_ok; then3.1335 + break3.1336 +fi3.1337 +3.1338 + done3.1339 + ac_cv_build_prog_CPP=$CPP_FOR_BUILD3.1340 +3.1341 +fi3.1342 + CPP_FOR_BUILD=$ac_cv_build_prog_CPP3.1343 +else3.1344 + ac_cv_build_prog_CPP=$CPP_FOR_BUILD3.1345 +fi3.1346 +{ echo "$as_me:$LINENO: result: $CPP_FOR_BUILD" >&53.1347 +echo "${ECHO_T}$CPP_FOR_BUILD" >&6; }3.1348 +ac_preproc_ok=false3.1349 +for ac_c_preproc_warn_flag in '' yes3.1350 +do3.1351 + # Use a header file that comes with gcc, so configuring glibc3.1352 + # with a fresh cross-compiler works.3.1353 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since3.1354 + # <limits.h> exists even on freestanding compilers.3.1355 + # On the NeXT, cc -E runs the code through the compiler's parser,3.1356 + # not just through cpp. "Syntax error" is here to catch this case.3.1357 + cat >conftest.$ac_ext <<_ACEOF3.1358 +/* confdefs.h. */3.1359 +_ACEOF3.1360 +cat confdefs.h >>conftest.$ac_ext3.1361 +cat >>conftest.$ac_ext <<_ACEOF3.1362 +/* end confdefs.h. */3.1363 +#ifdef __STDC__3.1364 +# include <limits.h>3.1365 +#else3.1366 +# include <assert.h>3.1367 +#endif3.1368 + Syntax error3.1369 +_ACEOF3.1370 +if { (ac_try="$ac_build_cpp conftest.$ac_ext"3.1371 +case "(($ac_try" in3.1372 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;3.1373 + *) ac_try_echo=$ac_try;;3.1374 +esac3.1375 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&53.1376 + (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er13.1377 + ac_status=$?3.1378 + grep -v '^ *+' conftest.er1 >conftest.err3.1379 + rm -f conftest.er13.1380 + cat conftest.err >&53.1381 + echo "$as_me:$LINENO: \$? = $ac_status" >&53.1382 + (exit $ac_status); } >/dev/null && {3.1383 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||3.1384 + test ! -s conftest.err3.1385 + }; then3.1386 + :3.1387 +else3.1388 + echo "$as_me: failed program was:" >&53.1389 +sed 's/^/| /' conftest.$ac_ext >&53.1390 +3.1391 + # Broken: fails on valid input.3.1392 +continue3.1393 +fi3.1394 +3.1395 +rm -f conftest.err conftest.$ac_ext3.1396 +3.1397 + # OK, works on sane cases. Now check whether nonexistent headers3.1398 + # can be detected and how.3.1399 + cat >conftest.$ac_ext <<_ACEOF3.1400 +/* confdefs.h. */3.1401 +_ACEOF3.1402 +cat confdefs.h >>conftest.$ac_ext3.1403 +cat >>conftest.$ac_ext <<_ACEOF3.1404 +/* end confdefs.h. */3.1405 +#include <ac_nonexistent.h>3.1406 +_ACEOF3.1407 +if { (ac_try="$ac_build_cpp conftest.$ac_ext"3.1408 +case "(($ac_try" in3.1409 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;3.1410 + *) ac_try_echo=$ac_try;;3.1411 +esac3.1412 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&53.1413 + (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er13.1414 + ac_status=$?3.1415 + grep -v '^ *+' conftest.er1 >conftest.err3.1416 + rm -f conftest.er13.1417 + cat conftest.err >&53.1418 + echo "$as_me:$LINENO: \$? = $ac_status" >&53.1419 + (exit $ac_status); } >/dev/null && {3.1420 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||3.1421 + test ! -s conftest.err3.1422 + }; then3.1423 + # Broken: success on invalid input.3.1424 +continue3.1425 +else3.1426 + echo "$as_me: failed program was:" >&53.1427 +sed 's/^/| /' conftest.$ac_ext >&53.1428 +3.1429 + # Passes both tests.3.1430 +ac_preproc_ok=:3.1431 +break3.1432 +fi3.1433 +3.1434 +rm -f conftest.err conftest.$ac_ext3.1435 +3.1436 +done3.1437 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.3.1438 +rm -f conftest.err conftest.$ac_ext3.1439 +if $ac_preproc_ok; then3.1440 + :3.1441 +else3.1442 + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP_FOR_BUILD\" fails sanity check3.1443 +See \`config.log' for more details." >&53.1444 +echo "$as_me: error: C preprocessor \"$CPP_FOR_BUILD\" fails sanity check3.1445 +See \`config.log' for more details." >&2;}3.1446 + { (exit 1); exit 1; }; }3.1447 +fi3.1448 +3.1449 +ac_ext=c3.1450 +ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'3.1451 +ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'3.1452 +ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'3.1453 +ac_compiler_gnu=$ac_cv_c_compiler_gnu3.1454 +3.1455 +3.1456 +3.1457 +3.1458 +BUILD_EXEEXT=$ac_build_exeext3.1459 +BUILD_OBJEXT=$ac_build_objext3.1460 +3.1461 +ac_ext=c3.1462 +ac_cpp='$CPP $CPPFLAGS'3.1463 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'3.1464 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'3.1465 +ac_compiler_gnu=$ac_cv_c_compiler_gnu3.1466 if test -n "$ac_tool_prefix"; then3.1467 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.3.1468 set dummy ${ac_tool_prefix}gcc; ac_word=$23.1469 @@ -5572,236 +6974,6 @@3.1473 -ac_ext=c3.1474 -ac_cpp='$CPP $CPPFLAGS'3.1475 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'3.1476 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'3.1477 -ac_compiler_gnu=$ac_cv_c_compiler_gnu3.1478 -{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&53.1479 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }3.1480 -# On Suns, sometimes $CPP names a directory.3.1481 -if test -n "$CPP" && test -d "$CPP"; then3.1482 - CPP=3.1483 -fi3.1484 -if test -z "$CPP"; then3.1485 - if test "${ac_cv_prog_CPP+set}" = set; then3.1486 - echo $ECHO_N "(cached) $ECHO_C" >&63.1487 -else3.1488 - # Double quotes because CPP needs to be expanded3.1489 - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"3.1490 - do3.1491 - ac_preproc_ok=false3.1492 -for ac_c_preproc_warn_flag in '' yes3.1493 -do3.1494 - # Use a header file that comes with gcc, so configuring glibc3.1495 - # with a fresh cross-compiler works.3.1496 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since3.1497 - # <limits.h> exists even on freestanding compilers.3.1498 - # On the NeXT, cc -E runs the code through the compiler's parser,3.1499 - # not just through cpp. "Syntax error" is here to catch this case.3.1500 - cat >conftest.$ac_ext <<_ACEOF3.1501 -/* confdefs.h. */3.1502 -_ACEOF3.1503 -cat confdefs.h >>conftest.$ac_ext3.1504 -cat >>conftest.$ac_ext <<_ACEOF3.1505 -/* end confdefs.h. */3.1506 -#ifdef __STDC__3.1507 -# include <limits.h>3.1508 -#else3.1509 -# include <assert.h>3.1510 -#endif3.1511 - Syntax error3.1512 -_ACEOF3.1513 -if { (ac_try="$ac_cpp conftest.$ac_ext"3.1514 -case "(($ac_try" in3.1515 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;3.1516 - *) ac_try_echo=$ac_try;;3.1517 -esac3.1518 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&53.1519 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er13.1520 - ac_status=$?3.1521 - grep -v '^ *+' conftest.er1 >conftest.err3.1522 - rm -f conftest.er13.1523 - cat conftest.err >&53.1524 - echo "$as_me:$LINENO: \$? = $ac_status" >&53.1525 - (exit $ac_status); } >/dev/null && {3.1526 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||3.1527 - test ! -s conftest.err3.1528 - }; then3.1529 - :3.1530 -else3.1531 - echo "$as_me: failed program was:" >&53.1532 -sed 's/^/| /' conftest.$ac_ext >&53.1533 -3.1534 - # Broken: fails on valid input.3.1535 -continue3.1536 -fi3.1537 -3.1538 -rm -f conftest.err conftest.$ac_ext3.1539 -3.1540 - # OK, works on sane cases. Now check whether nonexistent headers3.1541 - # can be detected and how.3.1542 - cat >conftest.$ac_ext <<_ACEOF3.1543 -/* confdefs.h. */3.1544 -_ACEOF3.1545 -cat confdefs.h >>conftest.$ac_ext3.1546 -cat >>conftest.$ac_ext <<_ACEOF3.1547 -/* end confdefs.h. */3.1548 -#include <ac_nonexistent.h>3.1549 -_ACEOF3.1550 -if { (ac_try="$ac_cpp conftest.$ac_ext"3.1551 -case "(($ac_try" in3.1552 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;3.1553 - *) ac_try_echo=$ac_try;;3.1554 -esac3.1555 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&53.1556 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er13.1557 - ac_status=$?3.1558 - grep -v '^ *+' conftest.er1 >conftest.err3.1559 - rm -f conftest.er13.1560 - cat conftest.err >&53.1561 - echo "$as_me:$LINENO: \$? = $ac_status" >&53.1562 - (exit $ac_status); } >/dev/null && {3.1563 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||3.1564 - test ! -s conftest.err3.1565 - }; then3.1566 - # Broken: success on invalid input.3.1567 -continue3.1568 -else3.1569 - echo "$as_me: failed program was:" >&53.1570 -sed 's/^/| /' conftest.$ac_ext >&53.1571 -3.1572 - # Passes both tests.3.1573 -ac_preproc_ok=:3.1574 -break3.1575 -fi3.1576 -3.1577 -rm -f conftest.err conftest.$ac_ext3.1578 -3.1579 -done3.1580 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.3.1581 -rm -f conftest.err conftest.$ac_ext3.1582 -if $ac_preproc_ok; then3.1583 - break3.1584 -fi3.1585 -3.1586 - done3.1587 - ac_cv_prog_CPP=$CPP3.1588 -3.1589 -fi3.1590 - CPP=$ac_cv_prog_CPP3.1591 -else3.1592 - ac_cv_prog_CPP=$CPP3.1593 -fi3.1594 -{ echo "$as_me:$LINENO: result: $CPP" >&53.1595 -echo "${ECHO_T}$CPP" >&6; }3.1596 -ac_preproc_ok=false3.1597 -for ac_c_preproc_warn_flag in '' yes3.1598 -do3.1599 - # Use a header file that comes with gcc, so configuring glibc3.1600 - # with a fresh cross-compiler works.3.1601 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since3.1602 - # <limits.h> exists even on freestanding compilers.3.1603 - # On the NeXT, cc -E runs the code through the compiler's parser,3.1604 - # not just through cpp. "Syntax error" is here to catch this case.3.1605 - cat >conftest.$ac_ext <<_ACEOF3.1606 -/* confdefs.h. */3.1607 -_ACEOF3.1608 -cat confdefs.h >>conftest.$ac_ext3.1609 -cat >>conftest.$ac_ext <<_ACEOF3.1610 -/* end confdefs.h. */3.1611 -#ifdef __STDC__3.1612 -# include <limits.h>3.1613 -#else3.1614 -# include <assert.h>3.1615 -#endif3.1616 - Syntax error3.1617 -_ACEOF3.1618 -if { (ac_try="$ac_cpp conftest.$ac_ext"3.1619 -case "(($ac_try" in3.1620 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;3.1621 - *) ac_try_echo=$ac_try;;3.1622 -esac3.1623 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&53.1624 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er13.1625 - ac_status=$?3.1626 - grep -v '^ *+' conftest.er1 >conftest.err3.1627 - rm -f conftest.er13.1628 - cat conftest.err >&53.1629 - echo "$as_me:$LINENO: \$? = $ac_status" >&53.1630 - (exit $ac_status); } >/dev/null && {3.1631 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||3.1632 - test ! -s conftest.err3.1633 - }; then3.1634 - :3.1635 -else3.1636 - echo "$as_me: failed program was:" >&53.1637 -sed 's/^/| /' conftest.$ac_ext >&53.1638 -3.1639 - # Broken: fails on valid input.3.1640 -continue3.1641 -fi3.1642 -3.1643 -rm -f conftest.err conftest.$ac_ext3.1644 -3.1645 - # OK, works on sane cases. Now check whether nonexistent headers3.1646 - # can be detected and how.3.1647 - cat >conftest.$ac_ext <<_ACEOF3.1648 -/* confdefs.h. */3.1649 -_ACEOF3.1650 -cat confdefs.h >>conftest.$ac_ext3.1651 -cat >>conftest.$ac_ext <<_ACEOF3.1652 -/* end confdefs.h. */3.1653 -#include <ac_nonexistent.h>3.1654 -_ACEOF3.1655 -if { (ac_try="$ac_cpp conftest.$ac_ext"3.1656 -case "(($ac_try" in3.1657 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;3.1658 - *) ac_try_echo=$ac_try;;3.1659 -esac3.1660 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&53.1661 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er13.1662 - ac_status=$?3.1663 - grep -v '^ *+' conftest.er1 >conftest.err3.1664 - rm -f conftest.er13.1665 - cat conftest.err >&53.1666 - echo "$as_me:$LINENO: \$? = $ac_status" >&53.1667 - (exit $ac_status); } >/dev/null && {3.1668 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||3.1669 - test ! -s conftest.err3.1670 - }; then3.1671 - # Broken: success on invalid input.3.1672 -continue3.1673 -else3.1674 - echo "$as_me: failed program was:" >&53.1675 -sed 's/^/| /' conftest.$ac_ext >&53.1676 -3.1677 - # Passes both tests.3.1678 -ac_preproc_ok=:3.1679 -break3.1680 -fi3.1681 -3.1682 -rm -f conftest.err conftest.$ac_ext3.1683 -3.1684 -done3.1685 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.3.1686 -rm -f conftest.err conftest.$ac_ext3.1687 -if $ac_preproc_ok; then3.1688 - :3.1689 -else3.1690 - { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check3.1691 -See \`config.log' for more details." >&53.1692 -echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check3.1693 -See \`config.log' for more details." >&2;}3.1694 - { (exit 1); exit 1; }; }3.1695 -fi3.1696 -3.1697 -ac_ext=c3.1698 -ac_cpp='$CPP $CPPFLAGS'3.1699 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'3.1700 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'3.1701 -ac_compiler_gnu=$ac_cv_c_compiler_gnu3.1702 -3.1704 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&53.1705 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }3.1706 @@ -13606,6 +14778,13 @@3.1707 Usually this means the macro was only invoked conditionally." >&2;}3.1708 { (exit 1); exit 1; }; }3.1709 fi3.1710 +if test -z "${am__fastdepCC_FOR_BUILD_TRUE}" && test -z "${am__fastdepCC_FOR_BUILD_FALSE}"; then3.1711 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC_FOR_BUILD\" was never defined.3.1712 +Usually this means the macro was only invoked conditionally." >&53.1713 +echo "$as_me: error: conditional \"am__fastdepCC_FOR_BUILD\" was never defined.3.1714 +Usually this means the macro was only invoked conditionally." >&2;}3.1715 + { (exit 1); exit 1; }; }3.1716 +fi3.1717 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then3.1718 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.3.1719 Usually this means the macro was only invoked conditionally." >&53.1720 @@ -14367,15 +15546,7 @@3.1721 CCDEPMODE!$CCDEPMODE$ac_delim3.1722 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim3.1723 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim3.1724 -OBJC!$OBJC$ac_delim3.1725 -OBJCFLAGS!$OBJCFLAGS$ac_delim3.1726 -ac_ct_OBJC!$ac_ct_OBJC$ac_delim3.1727 -SED!$SED$ac_delim3.1728 -CCAS!$CCAS$ac_delim3.1729 -CCASFLAGS!$CCASFLAGS$ac_delim3.1730 CPP!$CPP$ac_delim3.1731 -GREP!$GREP$ac_delim3.1732 -EGREP!$EGREP$ac_delim3.1733 build!$build$ac_delim3.1734 build_cpu!$build_cpu$ac_delim3.1735 build_vendor!$build_vendor$ac_delim3.1736 @@ -14384,9 +15555,17 @@3.1737 host_cpu!$host_cpu$ac_delim3.1738 host_vendor!$host_vendor$ac_delim3.1739 host_os!$host_os$ac_delim3.1740 -OBJCDEPMODE!$OBJCDEPMODE$ac_delim3.1741 -am__fastdepOBJC_TRUE!$am__fastdepOBJC_TRUE$ac_delim3.1742 -am__fastdepOBJC_FALSE!$am__fastdepOBJC_FALSE$ac_delim3.1743 +CC!$CC$ac_delim3.1744 +CFLAGS!$CFLAGS$ac_delim3.1745 +CPPFLAGS!$CPPFLAGS$ac_delim3.1746 +CC_FOR_BUILD!$CC_FOR_BUILD$ac_delim3.1747 +ac_ct_CC_FOR_BUILD!$ac_ct_CC_FOR_BUILD$ac_delim3.1748 +CC_FOR_BUILDDEPMODE!$CC_FOR_BUILDDEPMODE$ac_delim3.1749 +am__fastdepCC_FOR_BUILD_TRUE!$am__fastdepCC_FOR_BUILD_TRUE$ac_delim3.1750 +am__fastdepCC_FOR_BUILD_FALSE!$am__fastdepCC_FOR_BUILD_FALSE$ac_delim3.1751 +CPP!$CPP$ac_delim3.1752 +CPPFLAGS!$CPPFLAGS$ac_delim3.1753 +CPP_FOR_BUILD!$CPP_FOR_BUILD$ac_delim3.1754 _ACEOF3.1756 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then3.1757 @@ -14428,6 +15607,21 @@3.1758 ac_delim='%!_!# '3.1759 for ac_last_try in false false false false false :; do3.1760 cat >conf$$subs.sed <<_ACEOF3.1761 +BUILD_EXEEXT!$BUILD_EXEEXT$ac_delim3.1762 +BUILD_OBJEXT!$BUILD_OBJEXT$ac_delim3.1763 +CFLAGS_FOR_BUILD!$CFLAGS_FOR_BUILD$ac_delim3.1764 +CPPFLAGS_FOR_BUILD!$CPPFLAGS_FOR_BUILD$ac_delim3.1765 +OBJC!$OBJC$ac_delim3.1766 +OBJCFLAGS!$OBJCFLAGS$ac_delim3.1767 +ac_ct_OBJC!$ac_ct_OBJC$ac_delim3.1768 +SED!$SED$ac_delim3.1769 +CCAS!$CCAS$ac_delim3.1770 +CCASFLAGS!$CCASFLAGS$ac_delim3.1771 +GREP!$GREP$ac_delim3.1772 +EGREP!$EGREP$ac_delim3.1773 +OBJCDEPMODE!$OBJCDEPMODE$ac_delim3.1774 +am__fastdepOBJC_TRUE!$am__fastdepOBJC_TRUE$ac_delim3.1775 +am__fastdepOBJC_FALSE!$am__fastdepOBJC_FALSE$ac_delim3.1776 POD2MAN!$POD2MAN$ac_delim3.1777 POD2HTML!$POD2HTML$ac_delim3.1778 GUI_COCOA_TRUE!$GUI_COCOA_TRUE$ac_delim3.1779 @@ -14510,6 +15704,47 @@3.1780 DATADIRNAME!$DATADIRNAME$ac_delim3.1781 GMOFILES!$GMOFILES$ac_delim3.1782 INSTOBJEXT!$INSTOBJEXT$ac_delim3.1783 +_ACEOF3.1784 +3.1785 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then3.1786 + break3.1787 + elif $ac_last_try; then3.1788 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&53.1789 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}3.1790 + { (exit 1); exit 1; }; }3.1791 + else3.1792 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "3.1793 + fi3.1794 +done3.1795 +3.1796 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`3.1797 +if test -n "$ac_eof"; then3.1798 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`3.1799 + ac_eof=`expr $ac_eof + 1`3.1800 +fi3.1801 +3.1802 +cat >>$CONFIG_STATUS <<_ACEOF3.1803 +cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof3.1804 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b3.1805 +_ACEOF3.1806 +sed '3.1807 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g3.1808 +s/^/s,@/; s/!/@,|#_!!_#|/3.1809 +:n3.1810 +t n3.1811 +s/'"$ac_delim"'$/,g/; t3.1812 +s/$/\\/; p3.1813 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n3.1814 +' >>$CONFIG_STATUS <conf$$subs.sed3.1815 +rm -f conf$$subs.sed3.1816 +cat >>$CONFIG_STATUS <<_ACEOF3.1817 +CEOF$ac_eof3.1818 +_ACEOF3.1819 +3.1820 +3.1821 +ac_delim='%!_!# '3.1822 +for ac_last_try in false false false false false :; do3.1823 + cat >conf$$subs.sed <<_ACEOF3.1824 INTLLIBS!$INTLLIBS$ac_delim3.1825 PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim3.1826 PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim3.1827 @@ -14520,7 +15755,7 @@3.1828 LTLIBOBJS!$LTLIBOBJS$ac_delim3.1829 _ACEOF3.1831 - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 90; then3.1832 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 8; then3.1833 break3.1834 elif $ac_last_try; then3.1835 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&53.1836 @@ -14538,7 +15773,7 @@3.1837 fi3.1839 cat >>$CONFIG_STATUS <<_ACEOF3.1840 -cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof3.1841 +cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof3.1842 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end3.1843 _ACEOF3.1844 sed '3.1845 @@ -14801,7 +16036,7 @@3.1846 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t3.1847 s&@INSTALL@&$ac_INSTALL&;t t3.1848 $ac_datarootdir_hack3.1849 -" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out3.1850 +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" >$tmp/out3.1852 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&3.1853 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4.1 --- a/configure.in Wed Dec 21 12:15:06 2011 +10004.2 +++ b/configure.in Wed Dec 21 17:13:08 2011 +10004.3 @@ -7,6 +7,7 @@4.5 AC_ISC_POSIX4.6 AC_PROG_CC4.7 +AC_PROG_CC_FOR_BUILD4.8 AM_PROG_CC_STDC4.9 AC_PROG_OBJC4.10 AC_PROG_SED
5.1 --- a/src/Makefile.in Wed Dec 21 12:15:06 2011 +10005.2 +++ b/src/Makefile.in Wed Dec 21 17:13:08 2011 +10005.3 @@ -373,6 +373,8 @@5.4 AWK = @AWK@5.5 BUILD_ARMTEST_FALSE = @BUILD_ARMTEST_FALSE@5.6 BUILD_ARMTEST_TRUE = @BUILD_ARMTEST_TRUE@5.7 +BUILD_EXEEXT = @BUILD_EXEEXT@5.8 +BUILD_OBJEXT = @BUILD_OBJEXT@5.9 BUILD_SH4X86_FALSE = @BUILD_SH4X86_FALSE@5.10 BUILD_SH4X86_TRUE = @BUILD_SH4X86_TRUE@5.11 BUILD_SHARED_FALSE = @BUILD_SHARED_FALSE@5.12 @@ -385,6 +387,8 @@5.13 CCAS = @CCAS@5.14 CCASFLAGS = @CCASFLAGS@5.15 CCDEPMODE = @CCDEPMODE@5.16 +CC_FOR_BUILD = @CC_FOR_BUILD@5.17 +CC_FOR_BUILDDEPMODE = @CC_FOR_BUILDDEPMODE@5.18 CDROM_LINUX_FALSE = @CDROM_LINUX_FALSE@5.19 CDROM_LINUX_TRUE = @CDROM_LINUX_TRUE@5.20 CDROM_NONE_FALSE = @CDROM_NONE_FALSE@5.21 @@ -392,8 +396,11 @@5.22 CDROM_OSX_FALSE = @CDROM_OSX_FALSE@5.23 CDROM_OSX_TRUE = @CDROM_OSX_TRUE@5.24 CFLAGS = @CFLAGS@5.25 +CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@5.26 CPP = @CPP@5.27 CPPFLAGS = @CPPFLAGS@5.28 +CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@5.29 +CPP_FOR_BUILD = @CPP_FOR_BUILD@5.30 CYGPATH_W = @CYGPATH_W@5.31 DATADIRNAME = @DATADIRNAME@5.32 DEFS = @DEFS@5.33 @@ -489,8 +496,11 @@5.34 VIDEO_OSMESA_TRUE = @VIDEO_OSMESA_TRUE@5.35 XGETTEXT = @XGETTEXT@5.36 ac_ct_CC = @ac_ct_CC@5.37 +ac_ct_CC_FOR_BUILD = @ac_ct_CC_FOR_BUILD@5.38 ac_ct_OBJC = @ac_ct_OBJC@5.39 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@5.40 +am__fastdepCC_FOR_BUILD_FALSE = @am__fastdepCC_FOR_BUILD_FALSE@5.41 +am__fastdepCC_FOR_BUILD_TRUE = @am__fastdepCC_FOR_BUILD_TRUE@5.42 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@5.43 am__fastdepOBJC_FALSE = @am__fastdepOBJC_FALSE@5.44 am__fastdepOBJC_TRUE = @am__fastdepOBJC_TRUE@
.