revision 1211:eecdeb37934a
summary |
tree |
shortlog |
changelog |
graph |
changeset |
raw | bz2 | zip | gz changeset | 1211:eecdeb37934a |
parent | 1210:79bbd30363f4 |
child | 1212:d1117828f011 |
author | nkeynes |
date | Fri Feb 10 19:26:10 2012 +1000 (11 years ago) |
Break tools out into its own Makefile using CC_FOR_BUILD
![]() | .hgignore | view | annotate | diff | log | |
![]() | Makefile.in | view | annotate | diff | log | |
![]() | acinclude.m4 | view | annotate | diff | log | |
![]() | config.h.in | view | annotate | diff | log | |
![]() | configure | view | annotate | diff | log | |
![]() | configure.in | view | annotate | diff | log | |
![]() | m4/ccforbuild.m4 | view | annotate | diff | log | |
![]() | src/Makefile.am | view | annotate | diff | log | |
![]() | src/Makefile.in | view | annotate | diff | log | |
![]() | src/tools/Makefile.am | view | annotate | diff | log | |
![]() | src/tools/Makefile.in | view | annotate | diff | log |
1.1 --- a/.hgignore Tue Feb 07 14:27:13 2012 +10001.2 +++ b/.hgignore Fri Feb 10 19:26:10 2012 +10001.3 @@ -17,9 +17,9 @@1.4 lxdream-.*.tar.gz1.5 lxdream-.*.zip1.6 src/drivers/mac_keymap.h1.7 -src/gendec1.8 -src/genglsl1.9 -src/genmach1.10 +src/tools/gendec1.11 +src/tools/genglsl1.12 +src/tools/genmach1.13 src/pvr2/shaders.h1.14 src/pvr2/shaders.def1.15 src/sh4/sh4dasm.c
2.1 --- a/Makefile.in Tue Feb 07 14:27:13 2012 +10002.2 +++ b/Makefile.in Fri Feb 10 19:26:10 2012 +10002.3 @@ -46,7 +46,7 @@2.4 subdir = .2.5 ACLOCAL_M4 = $(top_srcdir)/aclocal.m42.6 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \2.7 - $(top_srcdir)/configure.in2.8 + $(top_srcdir)/m4/ccforbuild.m4 $(top_srcdir)/configure.in2.9 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \2.10 $(ACLOCAL_M4)2.11 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \2.12 @@ -154,6 +154,8 @@2.13 EXEEXT = @EXEEXT@2.14 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@2.15 GLIB_CFLAGS = @GLIB_CFLAGS@2.16 +GLIB_FOR_BUILD_CFLAGS = @GLIB_FOR_BUILD_CFLAGS@2.17 +GLIB_FOR_BUILD_LIBS = @GLIB_FOR_BUILD_LIBS@2.18 GLIB_LIBS = @GLIB_LIBS@2.19 GMOFILES = @GMOFILES@2.20 GMSGFMT = @GMSGFMT@2.21 @@ -550,7 +552,7 @@2.22 distdir: $(DISTFILES)2.23 $(am__remove_distdir)2.24 mkdir $(distdir)2.25 - $(mkdir_p) $(distdir)/. $(distdir)/po $(distdir)/test2.26 + $(mkdir_p) $(distdir)/. $(distdir)/m4 $(distdir)/po $(distdir)/test2.27 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \2.28 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \2.29 list='$(DISTFILES)'; for file in $$list; do \
3.1 --- a/acinclude.m4 Tue Feb 07 14:27:13 2012 +10003.2 +++ b/acinclude.m4 Fri Feb 10 19:26:10 2012 +10003.3 @@ -162,94 +162,3 @@3.4 $2 ]);3.5 AC_LANG_POP([Objective C])3.6 ]);3.7 -3.8 -3.9 -3.10 -AC_DEFUN([AC_PROG_CC_FOR_BUILD], [dnl3.11 -AC_REQUIRE([AC_PROG_CC])dnl3.12 -AC_REQUIRE([AC_PROG_CPP])dnl3.13 -AC_REQUIRE([AC_EXEEXT])dnl3.14 -AC_REQUIRE([AC_CANONICAL_HOST])dnl3.15 -dnl3.16 -ac_main_cc="$CC"3.17 -test -n "$build_alias" && ac_build_tool_prefix=$build_alias-3.18 -3.19 -pushdef([cross_compiling], [#])dnl3.20 -dnl If main compiler works and CC_FOR_BUILD is unset, use the main compiler3.21 -if test -z "$CC_FOR_BUILD"; then3.22 - AC_RUN_IFELSE([int main(){return 0;}], [CC_FOR_BUILD="$CC"], [],[])3.23 -fi3.24 -dnl Use the standard macros, but make them use other variable names3.25 -dnl3.26 -pushdef([ac_cv_prog_CPP], ac_cv_build_prog_CPP)dnl3.27 -pushdef([ac_cv_prog_gcc], ac_cv_build_prog_gcc)dnl3.28 -pushdef([ac_cv_prog_cc_works], ac_cv_build_prog_cc_works)dnl3.29 -pushdef([ac_cv_prog_cc_cross], ac_cv_build_prog_cc_cross)dnl3.30 -pushdef([ac_cv_prog_cc_g], ac_cv_build_prog_cc_g)dnl3.31 -pushdef([ac_cv_exeext], ac_cv_build_exeext)dnl3.32 -pushdef([ac_cv_objext], ac_cv_build_objext)dnl3.33 -pushdef([ac_exeext], ac_build_exeext)dnl3.34 -pushdef([ac_objext], ac_build_objext)dnl3.35 -pushdef([CC], CC_FOR_BUILD)dnl3.36 -pushdef([CPP], CPP_FOR_BUILD)dnl3.37 -pushdef([CFLAGS], CFLAGS_FOR_BUILD)dnl3.38 -pushdef([CPPFLAGS], CPPFLAGS_FOR_BUILD)dnl3.39 -pushdef([host], build)dnl3.40 -pushdef([host_alias], build_alias)dnl3.41 -pushdef([host_cpu], build_cpu)dnl3.42 -pushdef([host_vendor], build_vendor)dnl3.43 -pushdef([host_os], build_os)dnl3.44 -pushdef([ac_tool_prefix], ac_build_tool_prefix)dnl3.45 -pushdef([ac_cv_host], ac_cv_build)dnl3.46 -pushdef([ac_cv_host_alias], ac_cv_build_alias)dnl3.47 -pushdef([ac_cv_host_cpu], ac_cv_build_cpu)dnl3.48 -pushdef([ac_cv_host_vendor], ac_cv_build_vendor)dnl3.49 -pushdef([ac_cv_host_os], ac_cv_build_os)dnl3.50 -pushdef([ac_cpp], ac_build_cpp)dnl3.51 -pushdef([ac_compile], ac_build_compile)dnl3.52 -pushdef([ac_link], ac_build_link)dnl3.53 -3.54 -AC_PROG_CC3.55 -AC_PROG_CPP3.56 -AC_EXEEXT3.57 -3.58 -dnl Restore the old definitions3.59 -dnl3.60 -popdef([ac_link])dnl3.61 -popdef([ac_compile])dnl3.62 -popdef([ac_cpp])dnl3.63 -popdef([ac_cv_host_os])dnl3.64 -popdef([ac_cv_host_vendor])dnl3.65 -popdef([ac_cv_host_cpu])dnl3.66 -popdef([ac_cv_host_alias])dnl3.67 -popdef([ac_cv_host])dnl3.68 -popdef([ac_tool_prefix])dnl3.69 -popdef([host_os])dnl3.70 -popdef([host_vendor])dnl3.71 -popdef([host_cpu])dnl3.72 -popdef([host_alias])dnl3.73 -popdef([host])dnl3.74 -popdef([CPPFLAGS])dnl3.75 -popdef([CFLAGS])dnl3.76 -popdef([CPP])dnl3.77 -popdef([CC])dnl3.78 -popdef([ac_objext])dnl3.79 -popdef([ac_exeext])dnl3.80 -popdef([ac_cv_objext])dnl3.81 -popdef([ac_cv_exeext])dnl3.82 -popdef([ac_cv_prog_cc_g])dnl3.83 -popdef([ac_cv_prog_cc_works])dnl3.84 -popdef([ac_cv_prog_cc_cross])dnl3.85 -popdef([ac_cv_prog_gcc])dnl3.86 -popdef([ac_cv_prog_CPP])dnl3.87 -popdef([cross_compiling])dnl3.88 -3.89 -dnl Finally, set Makefile variables3.90 -dnl3.91 -BUILD_EXEEXT=$ac_build_exeext3.92 -BUILD_OBJEXT=$ac_build_objext3.93 -AC_SUBST(BUILD_EXEEXT)dnl3.94 -AC_SUBST(BUILD_OBJEXT)dnl3.95 -AC_SUBST([CFLAGS_FOR_BUILD])dnl3.96 -AC_SUBST([CPPFLAGS_FOR_BUILD])dnl3.97 -])
4.1 --- a/config.h.in Tue Feb 07 14:27:13 2012 +10004.2 +++ b/config.h.in Fri Feb 10 19:26:10 2012 +10004.3 @@ -106,18 +106,27 @@4.4 /* Have Color Clamp */4.5 #undef HAVE_OPENGL_CLAMP_COLOR4.7 +/* Have glClearDepthf function */4.8 +#undef HAVE_OPENGL_CLEAR_DEPTHF4.9 +4.10 /* Have 2.0 framebuffer_object support */4.11 #undef HAVE_OPENGL_FBO4.13 /* Have EXT_framebuffer_object support */4.14 #undef HAVE_OPENGL_FBO_EXT4.16 +/* Have OpenGL fixed-functionality */4.17 +#undef HAVE_OPENGL_FIXEDFUNC4.18 +4.19 /* Have 2.0 shader support */4.20 #undef HAVE_OPENGL_SHADER4.22 /* Have ARB shader support */4.23 #undef HAVE_OPENGL_SHADER_ARB4.25 +/* Have glAreTexturesResident */4.26 +#undef HAVE_OPENGL_TEX_RESIDENT4.27 +4.28 /* Building with the OSMesa video driver */4.29 #undef HAVE_OSMESA
5.1 --- a/configure Tue Feb 07 14:27:13 2012 +10005.2 +++ b/configure Fri Feb 10 19:26:10 2012 +10005.3 @@ -674,6 +674,14 @@5.4 MAINTAINER_MODE_TRUE5.5 MAINTAINER_MODE_FALSE5.6 MAINT5.7 +build5.8 +build_cpu5.9 +build_vendor5.10 +build_os5.11 +host5.12 +host_cpu5.13 +host_vendor5.14 +host_os5.15 CC5.16 CFLAGS5.17 LDFLAGS5.18 @@ -691,14 +699,6 @@5.19 am__fastdepCC_TRUE5.20 am__fastdepCC_FALSE5.21 CPP5.22 -build5.23 -build_cpu5.24 -build_vendor5.25 -build_os5.26 -host5.27 -host_cpu5.28 -host_vendor5.29 -host_os5.30 CC5.31 CFLAGS5.32 CPPFLAGS5.33 @@ -743,6 +743,8 @@5.34 GLIB_LIBS5.35 GTK_CFLAGS5.36 GTK_LIBS5.37 +GLIB_FOR_BUILD_CFLAGS5.38 +GLIB_FOR_BUILD_LIBS5.39 GUI_GTK_TRUE5.40 GUI_GTK_FALSE5.41 LIBISOFS_CFLAGS5.42 @@ -841,6 +843,8 @@5.43 GLIB_LIBS5.44 GTK_CFLAGS5.45 GTK_LIBS5.46 +GLIB_FOR_BUILD_CFLAGS5.47 +GLIB_FOR_BUILD_LIBS5.48 LIBISOFS_CFLAGS5.49 LIBISOFS_LIBS5.50 LIBGL_CFLAGS5.51 @@ -1478,6 +1482,10 @@5.52 GLIB_LIBS linker flags for GLIB, overriding pkg-config5.53 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config5.54 GTK_LIBS linker flags for GTK, overriding pkg-config5.55 + GLIB_FOR_BUILD_CFLAGS5.56 + C compiler flags for GLIB_FOR_BUILD, overriding pkg-config5.57 + GLIB_FOR_BUILD_LIBS5.58 + linker flags for GLIB_FOR_BUILD, overriding pkg-config5.59 LIBISOFS_CFLAGS5.60 C compiler flags for LIBISOFS, overriding pkg-config5.61 LIBISOFS_LIBS5.62 @@ -2408,6 +2416,98 @@5.63 ac_config_headers="$ac_config_headers config.h"5.66 +# Make sure we can run config.sub.5.67 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||5.68 + { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&55.69 +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}5.70 + { (exit 1); exit 1; }; }5.71 +5.72 +{ echo "$as_me:$LINENO: checking build system type" >&55.73 +echo $ECHO_N "checking build system type... $ECHO_C" >&6; }5.74 +if test "${ac_cv_build+set}" = set; then5.75 + echo $ECHO_N "(cached) $ECHO_C" >&65.76 +else5.77 + ac_build_alias=$build_alias5.78 +test "x$ac_build_alias" = x &&5.79 + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`5.80 +test "x$ac_build_alias" = x &&5.81 + { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&55.82 +echo "$as_me: error: cannot guess build type; you must specify one" >&2;}5.83 + { (exit 1); exit 1; }; }5.84 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||5.85 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&55.86 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}5.87 + { (exit 1); exit 1; }; }5.88 +5.89 +fi5.90 +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&55.91 +echo "${ECHO_T}$ac_cv_build" >&6; }5.92 +case $ac_cv_build in5.93 +*-*-*) ;;5.94 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&55.95 +echo "$as_me: error: invalid value of canonical build" >&2;}5.96 + { (exit 1); exit 1; }; };;5.97 +esac5.98 +build=$ac_cv_build5.99 +ac_save_IFS=$IFS; IFS='-'5.100 +set x $ac_cv_build5.101 +shift5.102 +build_cpu=$15.103 +build_vendor=$25.104 +shift; shift5.105 +# Remember, the first character of IFS is used to create $*,5.106 +# except with old shells:5.107 +build_os=$*5.108 +IFS=$ac_save_IFS5.109 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac5.110 +5.111 +5.112 +{ echo "$as_me:$LINENO: checking host system type" >&55.113 +echo $ECHO_N "checking host system type... $ECHO_C" >&6; }5.114 +if test "${ac_cv_host+set}" = set; then5.115 + echo $ECHO_N "(cached) $ECHO_C" >&65.116 +else5.117 + if test "x$host_alias" = x; then5.118 + ac_cv_host=$ac_cv_build5.119 +else5.120 + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||5.121 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&55.122 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}5.123 + { (exit 1); exit 1; }; }5.124 +fi5.125 +5.126 +fi5.127 +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&55.128 +echo "${ECHO_T}$ac_cv_host" >&6; }5.129 +case $ac_cv_host in5.130 +*-*-*) ;;5.131 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&55.132 +echo "$as_me: error: invalid value of canonical host" >&2;}5.133 + { (exit 1); exit 1; }; };;5.134 +esac5.135 +host=$ac_cv_host5.136 +ac_save_IFS=$IFS; IFS='-'5.137 +set x $ac_cv_host5.138 +shift5.139 +host_cpu=$15.140 +host_vendor=$25.141 +shift; shift5.142 +# Remember, the first character of IFS is used to create $*,5.143 +# except with old shells:5.144 +host_os=$*5.145 +IFS=$ac_save_IFS5.146 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac5.147 +5.148 +5.149 +5.150 +5.151 +5.152 +5.153 +5.154 +5.155 +5.156 +5.157 +5.158 DEPDIR="${am__leading_dot}deps"5.160 ac_config_commands="$ac_config_commands depfiles"5.161 @@ -4360,6 +4460,794 @@5.162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'5.163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'5.164 ac_compiler_gnu=$ac_cv_c_compiler_gnu5.165 +if test -n "$ac_tool_prefix"; then5.166 + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.5.167 +set dummy ${ac_tool_prefix}gcc; ac_word=$25.168 +{ echo "$as_me:$LINENO: checking for $ac_word" >&55.169 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }5.170 +if test "${ac_cv_prog_CC+set}" = set; then5.171 + echo $ECHO_N "(cached) $ECHO_C" >&65.172 +else5.173 + if test -n "$CC"; then5.174 + ac_cv_prog_CC="$CC" # Let the user override the test.5.175 +else5.176 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR5.177 +for as_dir in $PATH5.178 +do5.179 + IFS=$as_save_IFS5.180 + test -z "$as_dir" && as_dir=.5.181 + for ac_exec_ext in '' $ac_executable_extensions; do5.182 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then5.183 + ac_cv_prog_CC="${ac_tool_prefix}gcc"5.184 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&55.185 + break 25.186 + fi5.187 +done5.188 +done5.189 +IFS=$as_save_IFS5.190 +5.191 +fi5.192 +fi5.193 +CC=$ac_cv_prog_CC5.194 +if test -n "$CC"; then5.195 + { echo "$as_me:$LINENO: result: $CC" >&55.196 +echo "${ECHO_T}$CC" >&6; }5.197 +else5.198 + { echo "$as_me:$LINENO: result: no" >&55.199 +echo "${ECHO_T}no" >&6; }5.200 +fi5.201 +5.202 +5.203 +fi5.204 +if test -z "$ac_cv_prog_CC"; then5.205 + ac_ct_CC=$CC5.206 + # Extract the first word of "gcc", so it can be a program name with args.5.207 +set dummy gcc; ac_word=$25.208 +{ echo "$as_me:$LINENO: checking for $ac_word" >&55.209 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }5.210 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then5.211 + echo $ECHO_N "(cached) $ECHO_C" >&65.212 +else5.213 + if test -n "$ac_ct_CC"; then5.214 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.5.215 +else5.216 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR5.217 +for as_dir in $PATH5.218 +do5.219 + IFS=$as_save_IFS5.220 + test -z "$as_dir" && as_dir=.5.221 + for ac_exec_ext in '' $ac_executable_extensions; do5.222 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then5.223 + ac_cv_prog_ac_ct_CC="gcc"5.224 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&55.225 + break 25.226 + fi5.227 +done5.228 +done5.229 +IFS=$as_save_IFS5.230 +5.231 +fi5.232 +fi5.233 +ac_ct_CC=$ac_cv_prog_ac_ct_CC5.234 +if test -n "$ac_ct_CC"; then5.235 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&55.236 +echo "${ECHO_T}$ac_ct_CC" >&6; }5.237 +else5.238 + { echo "$as_me:$LINENO: result: no" >&55.239 +echo "${ECHO_T}no" >&6; }5.240 +fi5.241 +5.242 + if test "x$ac_ct_CC" = x; then5.243 + CC=""5.244 + else5.245 + case $cross_compiling:$ac_tool_warned in5.246 +yes:)5.247 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools5.248 +whose name does not start with the host triplet. If you think this5.249 +configuration is useful to you, please write to autoconf@gnu.org." >&55.250 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools5.251 +whose name does not start with the host triplet. If you think this5.252 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}5.253 +ac_tool_warned=yes ;;5.254 +esac5.255 + CC=$ac_ct_CC5.256 + fi5.257 +else5.258 + CC="$ac_cv_prog_CC"5.259 +fi5.260 +5.261 +if test -z "$CC"; then5.262 + if test -n "$ac_tool_prefix"; then5.263 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.5.264 +set dummy ${ac_tool_prefix}cc; ac_word=$25.265 +{ echo "$as_me:$LINENO: checking for $ac_word" >&55.266 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }5.267 +if test "${ac_cv_prog_CC+set}" = set; then5.268 + echo $ECHO_N "(cached) $ECHO_C" >&65.269 +else5.270 + if test -n "$CC"; then5.271 + ac_cv_prog_CC="$CC" # Let the user override the test.5.272 +else5.273 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR5.274 +for as_dir in $PATH5.275 +do5.276 + IFS=$as_save_IFS5.277 + test -z "$as_dir" && as_dir=.5.278 + for ac_exec_ext in '' $ac_executable_extensions; do5.279 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then5.280 + ac_cv_prog_CC="${ac_tool_prefix}cc"5.281 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&55.282 + break 25.283 + fi5.284 +done5.285 +done5.286 +IFS=$as_save_IFS5.287 +5.288 +fi5.289 +fi5.290 +CC=$ac_cv_prog_CC5.291 +if test -n "$CC"; then5.292 + { echo "$as_me:$LINENO: result: $CC" >&55.293 +echo "${ECHO_T}$CC" >&6; }5.294 +else5.295 + { echo "$as_me:$LINENO: result: no" >&55.296 +echo "${ECHO_T}no" >&6; }5.297 +fi5.298 +5.299 +5.300 + fi5.301 +fi5.302 +if test -z "$CC"; then5.303 + # Extract the first word of "cc", so it can be a program name with args.5.304 +set dummy cc; ac_word=$25.305 +{ echo "$as_me:$LINENO: checking for $ac_word" >&55.306 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }5.307 +if test "${ac_cv_prog_CC+set}" = set; then5.308 + echo $ECHO_N "(cached) $ECHO_C" >&65.309 +else5.310 + if test -n "$CC"; then5.311 + ac_cv_prog_CC="$CC" # Let the user override the test.5.312 +else5.313 + ac_prog_rejected=no5.314 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR5.315 +for as_dir in $PATH5.316 +do5.317 + IFS=$as_save_IFS5.318 + test -z "$as_dir" && as_dir=.5.319 + for ac_exec_ext in '' $ac_executable_extensions; do5.320 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then5.321 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then5.322 + ac_prog_rejected=yes5.323 + continue5.324 + fi5.325 + ac_cv_prog_CC="cc"5.326 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&55.327 + break 25.328 + fi5.329 +done5.330 +done5.331 +IFS=$as_save_IFS5.332 +5.333 +if test $ac_prog_rejected = yes; then5.334 + # We found a bogon in the path, so make sure we never use it.5.335 + set dummy $ac_cv_prog_CC5.336 + shift5.337 + if test $# != 0; then5.338 + # We chose a different compiler from the bogus one.5.339 + # However, it has the same basename, so the bogon will be chosen5.340 + # first if we set CC to just the basename; use the full file name.5.341 + shift5.342 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"5.343 + fi5.344 +fi5.345 +fi5.346 +fi5.347 +CC=$ac_cv_prog_CC5.348 +if test -n "$CC"; then5.349 + { echo "$as_me:$LINENO: result: $CC" >&55.350 +echo "${ECHO_T}$CC" >&6; }5.351 +else5.352 + { echo "$as_me:$LINENO: result: no" >&55.353 +echo "${ECHO_T}no" >&6; }5.354 +fi5.355 +5.356 +5.357 +fi5.358 +if test -z "$CC"; then5.359 + if test -n "$ac_tool_prefix"; then5.360 + for ac_prog in cl.exe5.361 + do5.362 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.5.363 +set dummy $ac_tool_prefix$ac_prog; ac_word=$25.364 +{ echo "$as_me:$LINENO: checking for $ac_word" >&55.365 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }5.366 +if test "${ac_cv_prog_CC+set}" = set; then5.367 + echo $ECHO_N "(cached) $ECHO_C" >&65.368 +else5.369 + if test -n "$CC"; then5.370 + ac_cv_prog_CC="$CC" # Let the user override the test.5.371 +else5.372 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR5.373 +for as_dir in $PATH5.374 +do5.375 + IFS=$as_save_IFS5.376 + test -z "$as_dir" && as_dir=.5.377 + for ac_exec_ext in '' $ac_executable_extensions; do5.378 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then5.379 + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"5.380 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&55.381 + break 25.382 + fi5.383 +done5.384 +done5.385 +IFS=$as_save_IFS5.386 +5.387 +fi5.388 +fi5.389 +CC=$ac_cv_prog_CC5.390 +if test -n "$CC"; then5.391 + { echo "$as_me:$LINENO: result: $CC" >&55.392 +echo "${ECHO_T}$CC" >&6; }5.393 +else5.394 + { echo "$as_me:$LINENO: result: no" >&55.395 +echo "${ECHO_T}no" >&6; }5.396 +fi5.397 +5.398 +5.399 + test -n "$CC" && break5.400 + done5.401 +fi5.402 +if test -z "$CC"; then5.403 + ac_ct_CC=$CC5.404 + for ac_prog in cl.exe5.405 +do5.406 + # Extract the first word of "$ac_prog", so it can be a program name with args.5.407 +set dummy $ac_prog; ac_word=$25.408 +{ echo "$as_me:$LINENO: checking for $ac_word" >&55.409 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }5.410 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then5.411 + echo $ECHO_N "(cached) $ECHO_C" >&65.412 +else5.413 + if test -n "$ac_ct_CC"; then5.414 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.5.415 +else5.416 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR5.417 +for as_dir in $PATH5.418 +do5.419 + IFS=$as_save_IFS5.420 + test -z "$as_dir" && as_dir=.5.421 + for ac_exec_ext in '' $ac_executable_extensions; do5.422 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then5.423 + ac_cv_prog_ac_ct_CC="$ac_prog"5.424 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&55.425 + break 25.426 + fi5.427 +done5.428 +done5.429 +IFS=$as_save_IFS5.430 +5.431 +fi5.432 +fi5.433 +ac_ct_CC=$ac_cv_prog_ac_ct_CC5.434 +if test -n "$ac_ct_CC"; then5.435 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&55.436 +echo "${ECHO_T}$ac_ct_CC" >&6; }5.437 +else5.438 + { echo "$as_me:$LINENO: result: no" >&55.439 +echo "${ECHO_T}no" >&6; }5.440 +fi5.441 +5.442 +5.443 + test -n "$ac_ct_CC" && break5.444 +done5.445 +5.446 + if test "x$ac_ct_CC" = x; then5.447 + CC=""5.448 + else5.449 + case $cross_compiling:$ac_tool_warned in5.450 +yes:)5.451 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools5.452 +whose name does not start with the host triplet. If you think this5.453 +configuration is useful to you, please write to autoconf@gnu.org." >&55.454 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools5.455 +whose name does not start with the host triplet. If you think this5.456 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}5.457 +ac_tool_warned=yes ;;5.458 +esac5.459 + CC=$ac_ct_CC5.460 + fi5.461 +fi5.462 +5.463 +fi5.464 +5.465 +5.466 +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH5.467 +See \`config.log' for more details." >&55.468 +echo "$as_me: error: no acceptable C compiler found in \$PATH5.469 +See \`config.log' for more details." >&2;}5.470 + { (exit 1); exit 1; }; }5.471 +5.472 +# Provide some information about the compiler.5.473 +echo "$as_me:$LINENO: checking for C compiler version" >&55.474 +ac_compiler=`set X $ac_compile; echo $2`5.475 +{ (ac_try="$ac_compiler --version >&5"5.476 +case "(($ac_try" in5.477 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;5.478 + *) ac_try_echo=$ac_try;;5.479 +esac5.480 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&55.481 + (eval "$ac_compiler --version >&5") 2>&55.482 + ac_status=$?5.483 + echo "$as_me:$LINENO: \$? = $ac_status" >&55.484 + (exit $ac_status); }5.485 +{ (ac_try="$ac_compiler -v >&5"5.486 +case "(($ac_try" in5.487 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;5.488 + *) ac_try_echo=$ac_try;;5.489 +esac5.490 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&55.491 + (eval "$ac_compiler -v >&5") 2>&55.492 + ac_status=$?5.493 + echo "$as_me:$LINENO: \$? = $ac_status" >&55.494 + (exit $ac_status); }5.495 +{ (ac_try="$ac_compiler -V >&5"5.496 +case "(($ac_try" in5.497 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;5.498 + *) ac_try_echo=$ac_try;;5.499 +esac5.500 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&55.501 + (eval "$ac_compiler -V >&5") 2>&55.502 + ac_status=$?5.503 + echo "$as_me:$LINENO: \$? = $ac_status" >&55.504 + (exit $ac_status); }5.505 +5.506 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&55.507 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }5.508 +if test "${ac_cv_c_compiler_gnu+set}" = set; then5.509 + echo $ECHO_N "(cached) $ECHO_C" >&65.510 +else5.511 + cat >conftest.$ac_ext <<_ACEOF5.512 +/* confdefs.h. */5.513 +_ACEOF5.514 +cat confdefs.h >>conftest.$ac_ext5.515 +cat >>conftest.$ac_ext <<_ACEOF5.516 +/* end confdefs.h. */5.517 +5.518 +int5.519 +main ()5.520 +{5.521 +#ifndef __GNUC__5.522 + choke me5.523 +#endif5.524 +5.525 + ;5.526 + return 0;5.527 +}5.528 +_ACEOF5.529 +rm -f conftest.$ac_objext5.530 +if { (ac_try="$ac_compile"5.531 +case "(($ac_try" in5.532 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;5.533 + *) ac_try_echo=$ac_try;;5.534 +esac5.535 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&55.536 + (eval "$ac_compile") 2>conftest.er15.537 + ac_status=$?5.538 + grep -v '^ *+' conftest.er1 >conftest.err5.539 + rm -f conftest.er15.540 + cat conftest.err >&55.541 + echo "$as_me:$LINENO: \$? = $ac_status" >&55.542 + (exit $ac_status); } && {5.543 + test -z "$ac_c_werror_flag" ||5.544 + test ! -s conftest.err5.545 + } && test -s conftest.$ac_objext; then5.546 + ac_compiler_gnu=yes5.547 +else5.548 + echo "$as_me: failed program was:" >&55.549 +sed 's/^/| /' conftest.$ac_ext >&55.550 +5.551 + ac_compiler_gnu=no5.552 +fi5.553 +5.554 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext5.555 +ac_cv_c_compiler_gnu=$ac_compiler_gnu5.556 +5.557 +fi5.558 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&55.559 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }5.560 +GCC=`test $ac_compiler_gnu = yes && echo yes`5.561 +ac_test_CFLAGS=${CFLAGS+set}5.562 +ac_save_CFLAGS=$CFLAGS5.563 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&55.564 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }5.565 +if test "${ac_cv_prog_cc_g+set}" = set; then5.566 + echo $ECHO_N "(cached) $ECHO_C" >&65.567 +else5.568 + ac_save_c_werror_flag=$ac_c_werror_flag5.569 + ac_c_werror_flag=yes5.570 + ac_cv_prog_cc_g=no5.571 + CFLAGS="-g"5.572 + cat >conftest.$ac_ext <<_ACEOF5.573 +/* confdefs.h. */5.574 +_ACEOF5.575 +cat confdefs.h >>conftest.$ac_ext5.576 +cat >>conftest.$ac_ext <<_ACEOF5.577 +/* end confdefs.h. */5.578 +5.579 +int5.580 +main ()5.581 +{5.582 +5.583 + ;5.584 + return 0;5.585 +}5.586 +_ACEOF5.587 +rm -f conftest.$ac_objext5.588 +if { (ac_try="$ac_compile"5.589 +case "(($ac_try" in5.590 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;5.591 + *) ac_try_echo=$ac_try;;5.592 +esac5.593 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&55.594 + (eval "$ac_compile") 2>conftest.er15.595 + ac_status=$?5.596 + grep -v '^ *+' conftest.er1 >conftest.err5.597 + rm -f conftest.er15.598 + cat conftest.err >&55.599 + echo "$as_me:$LINENO: \$? = $ac_status" >&55.600 + (exit $ac_status); } && {5.601 + test -z "$ac_c_werror_flag" ||5.602 + test ! -s conftest.err5.603 + } && test -s conftest.$ac_objext; then5.604 + ac_cv_prog_cc_g=yes5.605 +else5.606 + echo "$as_me: failed program was:" >&55.607 +sed 's/^/| /' conftest.$ac_ext >&55.608 +5.609 + CFLAGS=""5.610 + cat >conftest.$ac_ext <<_ACEOF5.611 +/* confdefs.h. */5.612 +_ACEOF5.613 +cat confdefs.h >>conftest.$ac_ext5.614 +cat >>conftest.$ac_ext <<_ACEOF5.615 +/* end confdefs.h. */5.616 +5.617 +int5.618 +main ()5.619 +{5.620 +5.621 + ;5.622 + return 0;5.623 +}5.624 +_ACEOF5.625 +rm -f conftest.$ac_objext5.626 +if { (ac_try="$ac_compile"5.627 +case "(($ac_try" in5.628 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;5.629 + *) ac_try_echo=$ac_try;;5.630 +esac5.631 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&55.632 + (eval "$ac_compile") 2>conftest.er15.633 + ac_status=$?5.634 + grep -v '^ *+' conftest.er1 >conftest.err5.635 + rm -f conftest.er15.636 + cat conftest.err >&55.637 + echo "$as_me:$LINENO: \$? = $ac_status" >&55.638 + (exit $ac_status); } && {5.639 + test -z "$ac_c_werror_flag" ||5.640 + test ! -s conftest.err5.641 + } && test -s conftest.$ac_objext; then5.642 + :5.643 +else5.644 + echo "$as_me: failed program was:" >&55.645 +sed 's/^/| /' conftest.$ac_ext >&55.646 +5.647 + ac_c_werror_flag=$ac_save_c_werror_flag5.648 + CFLAGS="-g"5.649 + cat >conftest.$ac_ext <<_ACEOF5.650 +/* confdefs.h. */5.651 +_ACEOF5.652 +cat confdefs.h >>conftest.$ac_ext5.653 +cat >>conftest.$ac_ext <<_ACEOF5.654 +/* end confdefs.h. */5.655 +5.656 +int5.657 +main ()5.658 +{5.659 +5.660 + ;5.661 + return 0;5.662 +}5.663 +_ACEOF5.664 +rm -f conftest.$ac_objext5.665 +if { (ac_try="$ac_compile"5.666 +case "(($ac_try" in5.667 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;5.668 + *) ac_try_echo=$ac_try;;5.669 +esac5.670 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&55.671 + (eval "$ac_compile") 2>conftest.er15.672 + ac_status=$?5.673 + grep -v '^ *+' conftest.er1 >conftest.err5.674 + rm -f conftest.er15.675 + cat conftest.err >&55.676 + echo "$as_me:$LINENO: \$? = $ac_status" >&55.677 + (exit $ac_status); } && {5.678 + test -z "$ac_c_werror_flag" ||5.679 + test ! -s conftest.err5.680 + } && test -s conftest.$ac_objext; then5.681 + ac_cv_prog_cc_g=yes5.682 +else5.683 + echo "$as_me: failed program was:" >&55.684 +sed 's/^/| /' conftest.$ac_ext >&55.685 +5.686 +5.687 +fi5.688 +5.689 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext5.690 +fi5.691 +5.692 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext5.693 +fi5.694 +5.695 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext5.696 + ac_c_werror_flag=$ac_save_c_werror_flag5.697 +fi5.698 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&55.699 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }5.700 +if test "$ac_test_CFLAGS" = set; then5.701 + CFLAGS=$ac_save_CFLAGS5.702 +elif test $ac_cv_prog_cc_g = yes; then5.703 + if test "$GCC" = yes; then5.704 + CFLAGS="-g -O2"5.705 + else5.706 + CFLAGS="-g"5.707 + fi5.708 +else5.709 + if test "$GCC" = yes; then5.710 + CFLAGS="-O2"5.711 + else5.712 + CFLAGS=5.713 + fi5.714 +fi5.715 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&55.716 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }5.717 +if test "${ac_cv_prog_cc_c89+set}" = set; then5.718 + echo $ECHO_N "(cached) $ECHO_C" >&65.719 +else5.720 + ac_cv_prog_cc_c89=no5.721 +ac_save_CC=$CC5.722 +cat >conftest.$ac_ext <<_ACEOF5.723 +/* confdefs.h. */5.724 +_ACEOF5.725 +cat confdefs.h >>conftest.$ac_ext5.726 +cat >>conftest.$ac_ext <<_ACEOF5.727 +/* end confdefs.h. */5.728 +#include <stdarg.h>5.729 +#include <stdio.h>5.730 +#include <sys/types.h>5.731 +#include <sys/stat.h>5.732 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */5.733 +struct buf { int x; };5.734 +FILE * (*rcsopen) (struct buf *, struct stat *, int);5.735 +static char *e (p, i)5.736 + char **p;5.737 + int i;5.738 +{5.739 + return p[i];5.740 +}5.741 +static char *f (char * (*g) (char **, int), char **p, ...)5.742 +{5.743 + char *s;5.744 + va_list v;5.745 + va_start (v,p);5.746 + s = g (p, va_arg (v,int));5.747 + va_end (v);5.748 + return s;5.749 +}5.750 +5.751 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has5.752 + function prototypes and stuff, but not '\xHH' hex character constants.5.753 + These don't provoke an error unfortunately, instead are silently treated5.754 + as 'x'. The following induces an error, until -std is added to get5.755 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an5.756 + array size at least. It's necessary to write '\x00'==0 to get something5.757 + that's true only with -std. */5.758 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];5.759 +5.760 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters5.761 + inside strings and character constants. */5.762 +#define FOO(x) 'x'5.763 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];5.764 +5.765 +int test (int i, double x);5.766 +struct s1 {int (*f) (int a);};5.767 +struct s2 {int (*f) (double a);};5.768 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);5.769 +int argc;5.770 +char **argv;5.771 +int5.772 +main ()5.773 +{5.774 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];5.775 + ;5.776 + return 0;5.777 +}5.778 +_ACEOF5.779 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \5.780 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"5.781 +do5.782 + CC="$ac_save_CC $ac_arg"5.783 + rm -f conftest.$ac_objext5.784 +if { (ac_try="$ac_compile"5.785 +case "(($ac_try" in5.786 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;5.787 + *) ac_try_echo=$ac_try;;5.788 +esac5.789 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&55.790 + (eval "$ac_compile") 2>conftest.er15.791 + ac_status=$?5.792 + grep -v '^ *+' conftest.er1 >conftest.err5.793 + rm -f conftest.er15.794 + cat conftest.err >&55.795 + echo "$as_me:$LINENO: \$? = $ac_status" >&55.796 + (exit $ac_status); } && {5.797 + test -z "$ac_c_werror_flag" ||5.798 + test ! -s conftest.err5.799 + } && test -s conftest.$ac_objext; then5.800 + ac_cv_prog_cc_c89=$ac_arg5.801 +else5.802 + echo "$as_me: failed program was:" >&55.803 +sed 's/^/| /' conftest.$ac_ext >&55.804 +5.805 +5.806 +fi5.807 +5.808 +rm -f core conftest.err conftest.$ac_objext5.809 + test "x$ac_cv_prog_cc_c89" != "xno" && break5.810 +done5.811 +rm -f conftest.$ac_ext5.812 +CC=$ac_save_CC5.813 +5.814 +fi5.815 +# AC_CACHE_VAL5.816 +case "x$ac_cv_prog_cc_c89" in5.817 + x)5.818 + { echo "$as_me:$LINENO: result: none needed" >&55.819 +echo "${ECHO_T}none needed" >&6; } ;;5.820 + xno)5.821 + { echo "$as_me:$LINENO: result: unsupported" >&55.822 +echo "${ECHO_T}unsupported" >&6; } ;;5.823 + *)5.824 + CC="$CC $ac_cv_prog_cc_c89"5.825 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&55.826 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;5.827 +esac5.828 +5.829 +5.830 +ac_ext=c5.831 +ac_cpp='$CPP $CPPFLAGS'5.832 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'5.833 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'5.834 +ac_compiler_gnu=$ac_cv_c_compiler_gnu5.835 +5.836 +depcc="$CC" am_compiler_list=5.837 +5.838 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&55.839 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }5.840 +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then5.841 + echo $ECHO_N "(cached) $ECHO_C" >&65.842 +else5.843 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then5.844 + # We make a subdir and do the tests there. Otherwise we can end up5.845 + # making bogus files that we don't know about and never remove. For5.846 + # instance it was reported that on HP-UX the gcc test will end up5.847 + # making a dummy file named `D' -- because `-MD' means `put the output5.848 + # in D'.5.849 + mkdir conftest.dir5.850 + # Copy depcomp to subdir because otherwise we won't find it if we're5.851 + # using a relative directory.5.852 + cp "$am_depcomp" conftest.dir5.853 + cd conftest.dir5.854 + # We will build objects and dependencies in a subdirectory because5.855 + # it helps to detect inapplicable dependency modes. For instance5.856 + # both Tru64's cc and ICC support -MD to output dependencies as a5.857 + # side effect of compilation, but ICC will put the dependencies in5.858 + # the current directory while Tru64 will put them in the object5.859 + # directory.5.860 + mkdir sub5.861 +5.862 + am_cv_CC_dependencies_compiler_type=none5.863 + if test "$am_compiler_list" = ""; then5.864 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`5.865 + fi5.866 + for depmode in $am_compiler_list; do5.867 + # Setup a source with many dependencies, because some compilers5.868 + # like to wrap large dependency lists on column 80 (with \), and5.869 + # we should not choose a depcomp mode which is confused by this.5.870 + #5.871 + # We need to recreate these files for each test, as the compiler may5.872 + # overwrite some of them when testing with obscure command lines.5.873 + # This happens at least with the AIX C compiler.5.874 + : > sub/conftest.c5.875 + for i in 1 2 3 4 5 6; do5.876 + echo '#include "conftst'$i'.h"' >> sub/conftest.c5.877 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with5.878 + # Solaris 8's {/usr,}/bin/sh.5.879 + touch sub/conftst$i.h5.880 + done5.881 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf5.882 +5.883 + case $depmode in5.884 + nosideeffect)5.885 + # after this tag, mechanisms are not by side-effect, so they'll5.886 + # only be used when explicitly requested5.887 + if test "x$enable_dependency_tracking" = xyes; then5.888 + continue5.889 + else5.890 + break5.891 + fi5.892 + ;;5.893 + none) break ;;5.894 + esac5.895 + # We check with `-c' and `-o' for the sake of the "dashmstdout"5.896 + # mode. It turns out that the SunPro C++ compiler does not properly5.897 + # handle `-M -o', and we need to detect this.5.898 + if depmode=$depmode \5.899 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \5.900 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \5.901 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \5.902 + >/dev/null 2>conftest.err &&5.903 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&5.904 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&5.905 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then5.906 + # icc doesn't choke on unknown options, it will just issue warnings5.907 + # or remarks (even with -Werror). So we grep stderr for any message5.908 + # that says an option was ignored or not supported.5.909 + # When given -MP, icc 7.0 and 7.1 complain thusly:5.910 + # icc: Command line warning: ignoring option '-M'; no argument required5.911 + # The diagnosis changed in icc 8.0:5.912 + # icc: Command line remark: option '-MP' not supported5.913 + if (grep 'ignoring option' conftest.err ||5.914 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else5.915 + am_cv_CC_dependencies_compiler_type=$depmode5.916 + break5.917 + fi5.918 + fi5.919 + done5.920 +5.921 + cd ..5.922 + rm -rf conftest.dir5.923 +else5.924 + am_cv_CC_dependencies_compiler_type=none5.925 +fi5.926 +5.927 +fi5.928 +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&55.929 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }5.930 +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type5.931 +5.932 +5.933 +5.934 +if5.935 + test "x$enable_dependency_tracking" != xno \5.936 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then5.937 + am__fastdepCC_TRUE=5.938 + am__fastdepCC_FALSE='#'5.939 +else5.940 + am__fastdepCC_TRUE='#'5.941 + am__fastdepCC_FALSE=5.942 +fi5.943 +5.944 +5.945 +5.946 +am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc5.947 +5.948 +ac_ext=c5.949 +ac_cpp='$CPP $CPPFLAGS'5.950 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'5.951 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'5.952 +ac_compiler_gnu=$ac_cv_c_compiler_gnu5.953 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&55.954 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }5.955 # On Suns, sometimes $CPP names a directory.5.956 @@ -4586,89 +5474,6 @@5.957 ac_compiler_gnu=$ac_cv_c_compiler_gnu5.960 -# Make sure we can run config.sub.5.961 -$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||5.962 - { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&55.963 -echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}5.964 - { (exit 1); exit 1; }; }5.965 -5.966 -{ echo "$as_me:$LINENO: checking build system type" >&55.967 -echo $ECHO_N "checking build system type... $ECHO_C" >&6; }5.968 -if test "${ac_cv_build+set}" = set; then5.969 - echo $ECHO_N "(cached) $ECHO_C" >&65.970 -else5.971 - ac_build_alias=$build_alias5.972 -test "x$ac_build_alias" = x &&5.973 - ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`5.974 -test "x$ac_build_alias" = x &&5.975 - { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&55.976 -echo "$as_me: error: cannot guess build type; you must specify one" >&2;}5.977 - { (exit 1); exit 1; }; }5.978 -ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||5.979 - { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&55.980 -echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}5.981 - { (exit 1); exit 1; }; }5.982 -5.983 -fi5.984 -{ echo "$as_me:$LINENO: result: $ac_cv_build" >&55.985 -echo "${ECHO_T}$ac_cv_build" >&6; }5.986 -case $ac_cv_build in5.987 -*-*-*) ;;5.988 -*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&55.989 -echo "$as_me: error: invalid value of canonical build" >&2;}5.990 - { (exit 1); exit 1; }; };;5.991 -esac5.992 -build=$ac_cv_build5.993 -ac_save_IFS=$IFS; IFS='-'5.994 -set x $ac_cv_build5.995 -shift5.996 -build_cpu=$15.997 -build_vendor=$25.998 -shift; shift5.999 -# Remember, the first character of IFS is used to create $*,5.1000 -# except with old shells:5.1001 -build_os=$*5.1002 -IFS=$ac_save_IFS5.1003 -case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac5.1004 -5.1005 -5.1006 -{ echo "$as_me:$LINENO: checking host system type" >&55.1007 -echo $ECHO_N "checking host system type... $ECHO_C" >&6; }5.1008 -if test "${ac_cv_host+set}" = set; then5.1009 - echo $ECHO_N "(cached) $ECHO_C" >&65.1010 -else5.1011 - if test "x$host_alias" = x; then5.1012 - ac_cv_host=$ac_cv_build5.1013 -else5.1014 - ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||5.1015 - { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&55.1016 -echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}5.1017 - { (exit 1); exit 1; }; }5.1018 -fi5.1019 -5.1020 -fi5.1021 -{ echo "$as_me:$LINENO: result: $ac_cv_host" >&55.1022 -echo "${ECHO_T}$ac_cv_host" >&6; }5.1023 -case $ac_cv_host in5.1024 -*-*-*) ;;5.1025 -*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&55.1026 -echo "$as_me: error: invalid value of canonical host" >&2;}5.1027 - { (exit 1); exit 1; }; };;5.1028 -esac5.1029 -host=$ac_cv_host5.1030 -ac_save_IFS=$IFS; IFS='-'5.1031 -set x $ac_cv_host5.1032 -shift5.1033 -host_cpu=$15.1034 -host_vendor=$25.1035 -shift; shift5.1036 -# Remember, the first character of IFS is used to create $*,5.1037 -# except with old shells:5.1038 -host_os=$*5.1039 -IFS=$ac_save_IFS5.1040 -case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac5.1041 -5.1042 -5.1043 ac_main_cc="$CC"5.1044 test -n "$build_alias" && ac_build_tool_prefix=$build_alias-5.1046 @@ -4716,11 +5521,12 @@5.1048 fi5.1050 +5.1051 ac_ext=c5.1052 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'5.1053 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'5.1054 ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'5.1055 -ac_compiler_gnu=$ac_cv_c_compiler_gnu5.1056 +ac_build_compiler_gnu=$ac_cv_c_compiler_gnu5.1057 if test -n "$ac_build_tool_prefix"; then5.1058 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.5.1059 set dummy ${ac_build_tool_prefix}gcc; ac_word=$25.1060 @@ -5102,21 +5908,21 @@5.1061 test -z "$ac_c_werror_flag" ||5.1062 test ! -s conftest.err5.1063 } && test -s conftest.$ac_build_objext; then5.1064 - ac_compiler_gnu=yes5.1065 -else5.1066 - echo "$as_me: failed program was:" >&55.1067 -sed 's/^/| /' conftest.$ac_ext >&55.1068 -5.1069 - ac_compiler_gnu=no5.1070 + ac_build_compiler_gnu=yes5.1071 +else5.1072 + echo "$as_me: failed program was:" >&55.1073 +sed 's/^/| /' conftest.$ac_ext >&55.1074 +5.1075 + ac_build_compiler_gnu=no5.1076 fi5.1078 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext5.1079 -ac_cv_c_compiler_gnu=$ac_compiler_gnu5.1080 +ac_cv_c_compiler_gnu=$ac_build_compiler_gnu5.1082 fi5.1083 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&55.1084 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }5.1085 -GCC=`test $ac_compiler_gnu = yes && echo yes`5.1086 +GCC=`test $ac_build_compiler_gnu = yes && echo yes`5.1087 ac_test_CFLAGS=${CFLAGS_FOR_BUILD+set}5.1088 ac_save_CFLAGS=$CFLAGS_FOR_BUILD5.1089 { echo "$as_me:$LINENO: checking whether $CC_FOR_BUILD accepts -g" >&55.1090 @@ -5273,10 +6079,10 @@5.1091 fi5.1092 { echo "$as_me:$LINENO: checking for $CC_FOR_BUILD option to accept ISO C89" >&55.1093 echo $ECHO_N "checking for $CC_FOR_BUILD option to accept ISO C89... $ECHO_C" >&6; }5.1094 -if test "${ac_cv_prog_cc_c89+set}" = set; then5.1095 - echo $ECHO_N "(cached) $ECHO_C" >&65.1096 -else5.1097 - ac_cv_prog_cc_c89=no5.1098 +if test "${ac_cv_build_prog_cc_stdc+set}" = set; then5.1099 + echo $ECHO_N "(cached) $ECHO_C" >&65.1100 +else5.1101 + ac_cv_build_prog_cc_stdc=no5.1102 ac_save_CC=$CC_FOR_BUILD5.1103 cat >conftest.$ac_ext <<_ACEOF5.1104 /* confdefs.h. */5.1105 @@ -5356,7 +6162,7 @@5.1106 test -z "$ac_c_werror_flag" ||5.1107 test ! -s conftest.err5.1108 } && test -s conftest.$ac_build_objext; then5.1109 - ac_cv_prog_cc_c89=$ac_arg5.1110 + ac_cv_build_prog_cc_stdc=$ac_arg5.1111 else5.1112 echo "$as_me: failed program was:" >&55.1113 sed 's/^/| /' conftest.$ac_ext >&55.1114 @@ -5365,14 +6171,14 @@5.1115 fi5.1117 rm -f core conftest.err conftest.$ac_build_objext5.1118 - test "x$ac_cv_prog_cc_c89" != "xno" && break5.1119 + test "x$ac_cv_build_prog_cc_stdc" != "xno" && break5.1120 done5.1121 rm -f conftest.$ac_ext5.1122 CC_FOR_BUILD=$ac_save_CC5.1124 fi5.1125 # AC_CACHE_VAL5.1126 -case "x$ac_cv_prog_cc_c89" in5.1127 +case "x$ac_cv_build_prog_cc_stdc" in5.1128 x)5.1129 { echo "$as_me:$LINENO: result: none needed" >&55.1130 echo "${ECHO_T}none needed" >&6; } ;;5.1131 @@ -5380,9 +6186,9 @@5.1132 { echo "$as_me:$LINENO: result: unsupported" >&55.1133 echo "${ECHO_T}unsupported" >&6; } ;;5.1134 *)5.1135 - CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_prog_cc_c89"5.1136 - { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&55.1137 -echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;5.1138 + CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_build_prog_cc_stdc"5.1139 + { echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_stdc" >&55.1140 +echo "${ECHO_T}$ac_cv_build_prog_cc_stdc" >&6; } ;;5.1141 esac5.1144 @@ -5390,7 +6196,7 @@5.1145 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'5.1146 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'5.1147 ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'5.1148 -ac_compiler_gnu=$ac_cv_c_compiler_gnu5.1149 +ac_build_compiler_gnu=$ac_cv_c_compiler_gnu5.1151 depcc="$CC_FOR_BUILD" am_compiler_list=5.1153 @@ -5501,804 +6307,216 @@5.1154 fi5.1157 -ac_ext=c5.1158 -ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'5.1159 -ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'5.1160 -ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'5.1161 -ac_compiler_gnu=$ac_cv_c_compiler_gnu5.1162 -{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&55.1163 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }5.1164 -# On Suns, sometimes $CPP names a directory.5.1165 -if test -n "$CPP_FOR_BUILD" && test -d "$CPP_FOR_BUILD"; then5.1166 - CPP_FOR_BUILD=5.1167 -fi5.1168 -if test -z "$CPP_FOR_BUILD"; then5.1169 - if test "${ac_cv_build_prog_CPP+set}" = set; then5.1170 - echo $ECHO_N "(cached) $ECHO_C" >&65.1171 -else5.1172 - # Double quotes because CPP needs to be expanded5.1173 - for CPP_FOR_BUILD in "$CC_FOR_BUILD -E" "$CC_FOR_BUILD -E -traditional-cpp" "/lib/cpp"5.1174 - do5.1175 - ac_preproc_ok=false5.1176 -for ac_c_preproc_warn_flag in '' yes5.1177 -do5.1178 - # Use a header file that comes with gcc, so configuring glibc5.1179 - # with a fresh cross-compiler works.5.1180 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since5.1181 - # <limits.h> exists even on freestanding compilers.5.1182 - # On the NeXT, cc -E runs the code through the compiler's parser,5.1183 - # not just through cpp. "Syntax error" is here to catch this case.5.1184 - cat >conftest.$ac_ext <<_ACEOF5.1185 -/* confdefs.h. */5.1186 -_ACEOF5.1187 -cat confdefs.h >>conftest.$ac_ext5.1188 -cat >>conftest.$ac_ext <<_ACEOF5.1189 -/* end confdefs.h. */5.1190 -#ifdef __STDC__5.1191 -# include <limits.h>5.1192 -#else5.1193 -# include <assert.h>5.1194 -#endif5.1195 - Syntax error5.1196 -_ACEOF5.1197 -if { (ac_try="$ac_build_cpp conftest.$ac_ext"5.1198 -case "(($ac_try" in5.1199 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;5.1200 - *) ac_try_echo=$ac_try;;5.1201 -esac5.1202 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&55.1203 - (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er15.1204 - ac_status=$?5.1205 - grep -v '^ *+' conftest.er1 >conftest.err5.1206 - rm -f conftest.er15.1207 - cat conftest.err >&55.1208 - echo "$as_me:$LINENO: \$? = $ac_status" >&55.1209 - (exit $ac_status); } >/dev/null && {5.1210 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||5.1211 - test ! -s conftest.err5.1212 - }; then5.1213 - :5.1214 -else5.1215 - echo "$as_me: failed program was:" >&55.1216 -sed 's/^/| /' conftest.$ac_ext >&55.1217 -5.1218 - # Broken: fails on valid input.5.1219 -continue5.1220 -fi5.1221 -5.1222 -rm -f conftest.err conftest.$ac_ext5.1223 -5.1224 - # OK, works on sane cases. Now check whether nonexistent headers5.1225 - # can be detected and how.5.1226 - cat >conftest.$ac_ext <<_ACEOF5.1227 -/* confdefs.h. */5.1228 -_ACEOF5.1229 -cat confdefs.h >>conftest.$ac_ext5.1230 -cat >>conftest.$ac_ext <<_ACEOF5.1231 -/* end confdefs.h. */5.1232 -#include <ac_nonexistent.h>5.1233 -_ACEOF5.1234 -if { (ac_try="$ac_build_cpp conftest.$ac_ext"5.1235 -case "(($ac_try" in5.1236 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;5.1237 - *) ac_try_echo=$ac_try;;5.1238 -esac5.1239 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&55.1240 - (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er15.1241 - ac_status=$?5.1242 - grep -v '^ *+' conftest.er1 >conftest.err5.1243 - rm -f conftest.er15.1244 - cat conftest.err >&55.1245 - echo "$as_me:$LINENO: \$? = $ac_status" >&55.1246 - (exit $ac_status); } >/dev/null && {5.1247 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||5.1248 - test ! -s conftest.err5.1249 - }; then5.1250 - # Broken: success on invalid input.5.1251 -continue5.1252 -else5.1253 - echo "$as_me: failed program was:" >&55.1254 -sed 's/^/| /' conftest.$ac_ext >&55.1255 -5.1256 - # Passes both tests.5.1257 -ac_preproc_ok=:5.1258 -break5.1259 -fi5.1260 -5.1261 -rm -f conftest.err conftest.$ac_ext5.1262 -5.1263 -done5.1264 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.5.1265 -rm -f conftest.err conftest.$ac_ext5.1266 -if $ac_preproc_ok; then5.1267 - break5.1268 -fi5.1269 -5.1270 - done5.1271 - ac_cv_build_prog_CPP=$CPP_FOR_BUILD5.1272 -5.1273 -fi5.1274 - CPP_FOR_BUILD=$ac_cv_build_prog_CPP5.1275 -else5.1276 - ac_cv_build_prog_CPP=$CPP_FOR_BUILD5.1277 -fi5.1278 -{ echo "$as_me:$LINENO: result: $CPP_FOR_BUILD" >&55.1279 -echo "${ECHO_T}$CPP_FOR_BUILD" >&6; }5.1280 -ac_preproc_ok=false5.1281 -for ac_c_preproc_warn_flag in '' yes5.1282 -do5.1283 - # Use a header file that comes with gcc, so configuring glibc5.1284 - # with a fresh cross-compiler works.5.1285 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since5.1286 - # <limits.h> exists even on freestanding compilers.5.1287 - # On the NeXT, cc -E runs the code through the compiler's parser,5.1288 - # not just through cpp. "Syntax error" is here to catch this case.5.1289 - cat >conftest.$ac_ext <<_ACEOF5.1290 -/* confdefs.h. */5.1291 -_ACEOF5.1292 -cat confdefs.h >>conftest.$ac_ext5.1293 -cat >>conftest.$ac_ext <<_ACEOF5.1294 -/* end confdefs.h. */5.1295 -#ifdef __STDC__5.1296 -# include <limits.h>5.1297 -#else5.1298 -# include <assert.h>5.1299 -#endif5.1300 - Syntax error5.1301 -_ACEOF5.1302 -if { (ac_try="$ac_build_cpp conftest.$ac_ext"5.1303 -case "(($ac_try" in5.1304 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;5.1305 - *) ac_try_echo=$ac_try;;5.1306 -esac5.1307 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&55.1308 - (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er15.1309 - ac_status=$?5.1310 - grep -v '^ *+' conftest.er1 >conftest.err5.1311 - rm -f conftest.er15.1312 - cat conftest.err >&55.1313 - echo "$as_me:$LINENO: \$? = $ac_status" >&55.1314 - (exit $ac_status); } >/dev/null && {5.1315 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||5.1316 - test ! -s conftest.err5.1317 - }; then5.1318 - :5.1319 -else5.1320 - echo "$as_me: failed program was:" >&55.1321 -sed 's/^/| /' conftest.$ac_ext >&55.1322 -5.1323 - # Broken: fails on valid input.5.1324 -continue5.1325 -fi5.1326 -5.1327 -rm -f conftest.err conftest.$ac_ext5.1328 -5.1329 - # OK, works on sane cases. Now check whether nonexistent headers5.1330 - # can be detected and how.5.1331 - cat >conftest.$ac_ext <<_ACEOF5.1332 -/* confdefs.h. */5.1333 -_ACEOF5.1334 -cat confdefs.h >>conftest.$ac_ext5.1335 -cat >>conftest.$ac_ext <<_ACEOF5.1336 -/* end confdefs.h. */5.1337 -#include <ac_nonexistent.h>5.1338 -_ACEOF5.1339 -if { (ac_try="$ac_build_cpp conftest.$ac_ext"5.1340 -case "(($ac_try" in5.1341 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;5.1342 - *) ac_try_echo=$ac_try;;5.1343 -esac5.1344 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&55.1345 - (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er15.1346 - ac_status=$?5.1347 - grep -v '^ *+' conftest.er1 >conftest.err5.1348 - rm -f conftest.er15.1349 - cat conftest.err >&55.1350 - echo "$as_me:$LINENO: \$? = $ac_status" >&55.1351 - (exit $ac_status); } >/dev/null && {5.1352 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||5.1353 - test ! -s conftest.err5.1354 - }; then5.1355 - # Broken: success on invalid input.5.1356 -continue5.1357 -else5.1358 - echo "$as_me: failed program was:" >&55.1359 -sed 's/^/| /' conftest.$ac_ext >&55.1360 -5.1361 - # Passes both tests.5.1362 -ac_preproc_ok=:5.1363 -break5.1364 -fi5.1365 -5.1366 -rm -f conftest.err conftest.$ac_ext5.1367 -5.1368 -done5.1369 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.5.1370 -rm -f conftest.err conftest.$ac_ext5.1371 -if $ac_preproc_ok; then5.1372 - :5.1373 -else5.1374 - { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP_FOR_BUILD\" fails sanity check5.1375 -See \`config.log' for more details." >&55.1376 -echo "$as_me: error: C preprocessor \"$CPP_FOR_BUILD\" fails sanity check5.1377 -See \`config.log' for more details." >&2;}5.1378 - { (exit 1); exit 1; }; }5.1379 -fi5.1380 -5.1381 -ac_ext=c5.1382 -ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'5.1383 -ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'5.1384 -ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'5.1385 -ac_compiler_gnu=$ac_cv_c_compiler_gnu5.1386 -5.1387 -5.1388 -5.1389 -5.1390 -BUILD_EXEEXT=$ac_build_exeext5.1391 -BUILD_OBJEXT=$ac_build_objext5.1392 -5.1393 -ac_ext=c5.1394 -ac_cpp='$CPP $CPPFLAGS'5.1395 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'5.1396 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'5.1397 -ac_compiler_gnu=$ac_cv_c_compiler_gnu5.1398 -if test -n "$ac_tool_prefix"; then5.1399 - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.5.1400 -set dummy ${ac_tool_prefix}gcc; ac_word=$25.1401 -{ echo "$as_me:$LINENO: checking for $ac_word" >&55.1402 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }5.1403 -if test "${ac_cv_prog_CC+set}" = set; then5.1404 - echo $ECHO_N "(cached) $ECHO_C" >&65.1405 -else5.1406 - if test -n "$CC"; then5.1407 - ac_cv_prog_CC="$CC" # Let the user override the test.5.1408 -else5.1409 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR5.1410 -for as_dir in $PATH5.1411 -do5.1412 - IFS=$as_save_IFS5.1413 - test -z "$as_dir" && as_dir=.5.1414 - for ac_exec_ext in '' $ac_executable_extensions; do5.1415 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then5.1416 - ac_cv_prog_CC="${ac_tool_prefix}gcc"5.1417 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&55.1418 - break 25.1419 - fi5.1420 -done5.1421 -done5.1422 -IFS=$as_save_IFS5.1423 -5.1424 -fi5.1425 -fi5.1426 -CC=$ac_cv_prog_CC5.1427 -if test -n "$CC"; then5.1428 - { echo "$as_me:$LINENO: result: $CC" >&55.1429 -echo "${ECHO_T}$CC" >&6; }5.1430 -else5.1431 - { echo "$as_me:$LINENO: result: no" >&55.1432 -echo "${ECHO_T}no" >&6; }5.1433 -fi5.1434 -5.1435 -5.1436 -fi5.1437 -if test -z "$ac_cv_prog_CC"; then5.1438 - ac_ct_CC=$CC5.1439 - # Extract the first word of "gcc", so it can be a program name with args.5.1440 -set dummy gcc; ac_word=$25.1441 -{ echo "$as_me:$LINENO: checking for $ac_word" >&55.1442 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }5.1443 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then5.1444 - echo $ECHO_N "(cached) $ECHO_C" >&65.1445 -else5.1446 - if test -n "$ac_ct_CC"; then5.1447 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.5.1448 -else5.1449 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR5.1450 -for as_dir in $PATH5.1451 -do5.1452 - IFS=$as_save_IFS5.1453 - test -z "$as_dir" && as_dir=.5.1454 - for ac_exec_ext in '' $ac_executable_extensions; do5.1455 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then5.1456 - ac_cv_prog_ac_ct_CC="gcc"5.1457 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&55.1458 - break 25.1459 - fi5.1460 -done5.1461 -done5.1462 -IFS=$as_save_IFS5.1463 -5.1464 -fi5.1465 -fi5.1466 -ac_ct_CC=$ac_cv_prog_ac_ct_CC5.1467 -if test -n "$ac_ct_CC"; then5.1468 - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&55.1469 -echo "${ECHO_T}$ac_ct_CC" >&6; }5.1470 -else5.1471 - { echo "$as_me:$LINENO: result: no" >&55.1472 -echo "${ECHO_T}no" >&6; }5.1473 -fi5.1474 -5.1475 - if test "x$ac_ct_CC" = x; then5.1476 - CC=""5.1477 - else5.1478 - case $cross_compiling:$ac_tool_warned in5.1479 -yes:)5.1480 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools5.1481 -whose name does not start with the host triplet. If you think this5.1482 -configuration is useful to you, please write to autoconf@gnu.org." >&55.1483 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools5.1484 -whose name does not start with the host triplet. If you think this5.1485 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}5.1486 -ac_tool_warned=yes ;;5.1487 -esac5.1488 - CC=$ac_ct_CC5.1489 - fi5.1490 -else5.1491 - CC="$ac_cv_prog_CC"5.1492 -fi5.1493 -5.1494 -if test -z "$CC"; then5.1495 - if test -n "$ac_tool_prefix"; then5.1496 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.5.1497 -set dummy ${ac_tool_prefix}cc; ac_word=$25.1498 -{ echo "$as_me:$LINENO: checking for $ac_word" >&55.1499 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }5.1500 -if test "${ac_cv_prog_CC+set}" = set; then5.1501 - echo $ECHO_N "(cached) $ECHO_C" >&65.1502 -else5.1503 - if test -n "$CC"; then5.1504 - ac_cv_prog_CC="$CC" # Let the user override the test.5.1505 -else5.1506 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR5.1507 -for as_dir in $PATH5.1508 -do5.1509 - IFS=$as_save_IFS5.1510 - test -z "$as_dir" && as_dir=.5.1511 - for ac_exec_ext in '' $ac_executable_extensions; do5.1512 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then5.1513 - ac_cv_prog_CC="${ac_tool_prefix}cc"5.1514 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&55.1515 - break 25.1516 - fi5.1517 -done5.1518 -done5.1519 -IFS=$as_save_IFS5.1520 -5.1521 -fi5.1522 -fi5.1523 -CC=$ac_cv_prog_CC5.1524 -if test -n "$CC"; then5.1525 - { echo "$as_me:$LINENO: result: $CC" >&55.1526 -echo "${ECHO_T}$CC" >&6; }5.1527 -else5.1528 - { echo "$as_me:$LINENO: result: no" >&55.1529 -echo "${ECHO_T}no" >&6; }5.1530 -fi5.1531 -5.1532 -5.1533 - fi5.1534 -fi5.1535 -if test -z "$CC"; then5.1536 - # Extract the first word of "cc", so it can be a program name with args.5.1537 -set dummy cc; ac_word=$25.1538 -{ echo "$as_me:$LINENO: checking for $ac_word" >&55.1539 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }5.1540 -if test "${ac_cv_prog_CC+set}" = set; then5.1541 - echo $ECHO_N "(cached) $ECHO_C" >&65.1542 -else5.1543 - if test -n "$CC"; then5.1544 - ac_cv_prog_CC="$CC" # Let the user override the test.5.1545 -else5.1546 - ac_prog_rejected=no5.1547 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR5.1548 -for as_dir in $PATH5.1549 -do5.1550 - IFS=$as_save_IFS5.1551 - test -z "$as_dir" && as_dir=.5.1552 - for ac_exec_ext in '' $ac_executable_extensions; do5.1553 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then5.1554 - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then5.1555 - ac_prog_rejected=yes5.1556 - continue5.1557 - fi5.1558 - ac_cv_prog_CC="cc"5.1559 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&55.1560 - break 25.1561 - fi5.1562 -done5.1563 -done5.1564 -IFS=$as_save_IFS5.1565 -5.1566 -if test $ac_prog_rejected = yes; then5.1567 - # We found a bogon in the path, so make sure we never use it.5.1568 - set dummy $ac_cv_prog_CC5.1569 - shift5.1570 - if test $# != 0; then5.1571 - # We chose a different compiler from the bogus one.5.1572 - # However, it has the same basename, so the bogon will be chosen5.1573 - # first if we set CC to just the basename; use the full file name.5.1574 - shift5.1575 - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"5.1576 - fi5.1577 -fi5.1578 -fi5.1579 -fi5.1580 -CC=$ac_cv_prog_CC5.1581 -if test -n "$CC"; then5.1582 - { echo "$as_me:$LINENO: result: $CC" >&55.1583 -echo "${ECHO_T}$CC" >&6; }5.1584 -else5.1585 - { echo "$as_me:$LINENO: result: no" >&55.1586 -echo "${ECHO_T}no" >&6; }5.1587 -fi5.1588 -5.1589 -5.1590 -fi5.1591 -if test -z "$CC"; then5.1592 - if test -n "$ac_tool_prefix"; then5.1593 - for ac_prog in cl.exe5.1594 - do5.1595 - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.5.1596 -set dummy $ac_tool_prefix$ac_prog; ac_word=$25.1597 -{ echo "$as_me:$LINENO: checking for $ac_word" >&55.1598 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }5.1599 -if test "${ac_cv_prog_CC+set}" = set; then5.1600 - echo $ECHO_N "(cached) $ECHO_C" >&65.1601 -else5.1602 - if test -n "$CC"; then5.1603 - ac_cv_prog_CC="$CC" # Let the user override the test.5.1604 -else5.1605 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR5.1606 -for as_dir in $PATH5.1607 -do5.1608 - IFS=$as_save_IFS5.1609 - test -z "$as_dir" && as_dir=.5.1610 - for ac_exec_ext in '' $ac_executable_extensions; do5.1611 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then5.1612 - ac_cv_prog_CC="$ac_tool_prefix$ac_prog"5.1613 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&55.1614 - break 25.1615 - fi5.1616 -done5.1617 -done5.1618 -IFS=$as_save_IFS5.1619 -5.1620 -fi5.1621 -fi5.1622 -CC=$ac_cv_prog_CC5.1623 -if test -n "$CC"; then5.1624 - { echo "$as_me:$LINENO: result: $CC" >&55.1625 -echo "${ECHO_T}$CC" >&6; }5.1626 -else5.1627 - { echo "$as_me:$LINENO: result: no" >&55.1628 -echo "${ECHO_T}no" >&6; }5.1629 -fi5.1630 -5.1631 -5.1632 - test -n "$CC" && break5.1633 - done5.1634 -fi5.1635 -if test -z "$CC"; then5.1636 - ac_ct_CC=$CC5.1637 - for ac_prog in cl.exe5.1638 -do5.1639 - # Extract the first word of "$ac_prog", so it can be a program name with args.5.1640 -set dummy $ac_prog; ac_word=$25.1641 -{ echo "$as_me:$LINENO: checking for $ac_word" >&55.1642 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }5.1643 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then5.1644 - echo $ECHO_N "(cached) $ECHO_C" >&65.1645 -else5.1646 - if test -n "$ac_ct_CC"; then5.1647 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.5.1648 -else5.1649 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR5.1650 -for as_dir in $PATH5.1651 -do5.1652 - IFS=$as_save_IFS5.1653 - test -z "$as_dir" && as_dir=.5.1654 - for ac_exec_ext in '' $ac_executable_extensions; do5.1655 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then5.1656 - ac_cv_prog_ac_ct_CC="$ac_prog"5.1657 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&55.1658 - break 25.1659 - fi5.1660 -done5.1661 -done5.1662 -IFS=$as_save_IFS5.1663 -5.1664 -fi5.1665 -fi5.1666 -ac_ct_CC=$ac_cv_prog_ac_ct_CC5.1667 -if test -n "$ac_ct_CC"; then5.1668 - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&55.1669 -echo "${ECHO_T}$ac_ct_CC" >&6; }5.1670 -else5.1671 - { echo "$as_me:$LINENO: result: no" >&55.1672 -echo "${ECHO_T}no" >&6; }5.1673 -fi5.1674 -5.1675 -5.1676 - test -n "$ac_ct_CC" && break5.1677 -done5.1678 -5.1679 - if test "x$ac_ct_CC" = x; then5.1680 - CC=""5.1681 - else5.1682 - case $cross_compiling:$ac_tool_warned in5.1683 -yes:)5.1684 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools5.1685 -whose name does not start with the host triplet. If you think this5.1686 -configuration is useful to you, please write to autoconf@gnu.org." >&55.1687 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools5.1688 -whose name does not start with the host triplet. If you think this5.1689 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}5.1690 -ac_tool_warned=yes ;;5.1691 -esac5.1692 - CC=$ac_ct_CC5.1693 - fi5.1694 -fi5.1695 -5.1696 -fi5.1697 -5.1698 -5.1699 -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH5.1700 -See \`config.log' for more details." >&55.1701 -echo "$as_me: error: no acceptable C compiler found in \$PATH5.1702 -See \`config.log' for more details." >&2;}5.1703 - { (exit 1); exit 1; }; }5.1704 -5.1705 -# Provide some information about the compiler.5.1706 -echo "$as_me:$LINENO: checking for C compiler version" >&55.1707 -ac_compiler=`set X $ac_compile; echo $2`5.1708 -{ (ac_try="$ac_compiler --version >&5"5.1709 -case "(($ac_try" in5.1710 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;5.1711 - *) ac_try_echo=$ac_try;;5.1712 -esac5.1713 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&55.1714 - (eval "$ac_compiler --version >&5") 2>&55.1715 - ac_status=$?5.1716 - echo "$as_me:$LINENO: \$? = $ac_status" >&55.1717 - (exit $ac_status); }5.1718 -{ (ac_try="$ac_compiler -v >&5"5.1719 -case "(($ac_try" in5.1720 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;5.1721 - *) ac_try_echo=$ac_try;;5.1722 -esac5.1723 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&55.1724 - (eval "$ac_compiler -v >&5") 2>&55.1725 - ac_status=$?5.1726 - echo "$as_me:$LINENO: \$? = $ac_status" >&55.1727 - (exit $ac_status); }5.1728 -{ (ac_try="$ac_compiler -V >&5"5.1729 -case "(($ac_try" in5.1730 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;5.1731 - *) ac_try_echo=$ac_try;;5.1732 -esac5.1733 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&55.1734 - (eval "$ac_compiler -V >&5") 2>&55.1735 - ac_status=$?5.1736 - echo "$as_me:$LINENO: \$? = $ac_status" >&55.1737 - (exit $ac_status); }5.1738 -5.1739 -{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&55.1740 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }5.1741 -if test "${ac_cv_c_compiler_gnu+set}" = set; then5.1742 - echo $ECHO_N "(cached) $ECHO_C" >&65.1743 -else5.1744 - cat >conftest.$ac_ext <<_ACEOF5.1745 -/* confdefs.h. */5.1746 -_ACEOF5.1747 -cat confdefs.h >>conftest.$ac_ext5.1748 -cat >>conftest.$ac_ext <<_ACEOF5.1749 -/* end confdefs.h. */5.1750 -5.1751 -int5.1752 -main ()5.1753 -{5.1754 -#ifndef __GNUC__5.1755 - choke me5.1756 -#endif5.1757 -5.1758 - ;5.1759 - return 0;5.1760 -}5.1761 -_ACEOF5.1762 -rm -f conftest.$ac_objext5.1763 -if { (ac_try="$ac_compile"5.1764 -case "(($ac_try" in5.1765 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;5.1766 - *) ac_try_echo=$ac_try;;5.1767 -esac5.1768 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&55.1769 - (eval "$ac_compile") 2>conftest.er15.1770 - ac_status=$?5.1771 - grep -v '^ *+' conftest.er1 >conftest.err5.1772 - rm -f conftest.er15.1773 - cat conftest.err >&55.1774 - echo "$as_me:$LINENO: \$? = $ac_status" >&55.1775 - (exit $ac_status); } && {5.1776 - test -z "$ac_c_werror_flag" ||5.1777 - test ! -s conftest.err5.1778 - } && test -s conftest.$ac_objext; then5.1779 - ac_compiler_gnu=yes5.1780 -else5.1781 - echo "$as_me: failed program was:" >&55.1782 -sed 's/^/| /' conftest.$ac_ext >&55.1783 -5.1784 - ac_compiler_gnu=no5.1785 -fi5.1786 -5.1787 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext5.1788 -ac_cv_c_compiler_gnu=$ac_compiler_gnu5.1789 -5.1790 -fi5.1791 -{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&55.1792 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }5.1793 -GCC=`test $ac_compiler_gnu = yes && echo yes`5.1794 -ac_test_CFLAGS=${CFLAGS+set}5.1795 -ac_save_CFLAGS=$CFLAGS5.1796 -{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&55.1797 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }5.1798 -if test "${ac_cv_prog_cc_g+set}" = set; then5.1799 - echo $ECHO_N "(cached) $ECHO_C" >&65.1800 -else5.1801 - ac_save_c_werror_flag=$ac_c_werror_flag5.1802 - ac_c_werror_flag=yes5.1803 - ac_cv_prog_cc_g=no5.1804 - CFLAGS="-g"5.1805 - cat >conftest.$ac_ext <<_ACEOF5.1806 -/* confdefs.h. */5.1807 -_ACEOF5.1808 -cat confdefs.h >>conftest.$ac_ext5.1809 -cat >>conftest.$ac_ext <<_ACEOF5.1810 -/* end confdefs.h. */5.1811 -5.1812 -int5.1813 -main ()5.1814 -{5.1815 -5.1816 - ;5.1817 - return 0;5.1818 -}5.1819 -_ACEOF5.1820 -rm -f conftest.$ac_objext5.1821 -if { (ac_try="$ac_compile"5.1822 -case "(($ac_try" in5.1823 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;5.1824 - *) ac_try_echo=$ac_try;;5.1825 -esac5.1826 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&55.1827 - (eval "$ac_compile") 2>conftest.er15.1828 - ac_status=$?5.1829 - grep -v '^ *+' conftest.er1 >conftest.err5.1830 - rm -f conftest.er15.1831 - cat conftest.err >&55.1832 - echo "$as_me:$LINENO: \$? = $ac_status" >&55.1833 - (exit $ac_status); } && {5.1834 - test -z "$ac_c_werror_flag" ||5.1835 - test ! -s conftest.err5.1836 - } && test -s conftest.$ac_objext; then5.1837 - ac_cv_prog_cc_g=yes5.1838 -else5.1839 - echo "$as_me: failed program was:" >&55.1840 -sed 's/^/| /' conftest.$ac_ext >&55.1841 -5.1842 - CFLAGS=""5.1843 - cat >conftest.$ac_ext <<_ACEOF5.1844 -/* confdefs.h. */5.1845 -_ACEOF5.1846 -cat confdefs.h >>conftest.$ac_ext5.1847 -cat >>conftest.$ac_ext <<_ACEOF5.1848 -/* end confdefs.h. */5.1849 -5.1850 -int5.1851 -main ()5.1852 -{5.1853 -5.1854 - ;5.1855 - return 0;5.1856 -}5.1857 -_ACEOF5.1858 -rm -f conftest.$ac_objext5.1859 -if { (ac_try="$ac_compile"5.1860 -case "(($ac_try" in5.1861 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;5.1862 - *) ac_try_echo=$ac_try;;5.1863 -esac5.1864 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&55.1865 - (eval "$ac_compile") 2>conftest.er15.1866 - ac_status=$?5.1867 - grep -v '^ *+' conftest.er1 >conftest.err5.1868 - rm -f conftest.er15.1869 - cat conftest.err >&55.1870 - echo "$as_me:$LINENO: \$? = $ac_status" >&55.1871 - (exit $ac_status); } && {5.1872 - test -z "$ac_c_werror_flag" ||5.1873 - test ! -s conftest.err5.1874 - } && test -s conftest.$ac_objext; then5.1875 - :5.1876 -else5.1877 - echo "$as_me: failed program was:" >&55.1878 -sed 's/^/| /' conftest.$ac_ext >&55.1879 -5.1880 - ac_c_werror_flag=$ac_save_c_werror_flag5.1881 - CFLAGS="-g"5.1882 - cat >conftest.$ac_ext <<_ACEOF5.1883 -/* confdefs.h. */5.1884 -_ACEOF5.1885 -cat confdefs.h >>conftest.$ac_ext5.1886 -cat >>conftest.$ac_ext <<_ACEOF5.1887 -/* end confdefs.h. */5.1888 -5.1889 -int5.1890 -main ()5.1891 -{5.1892 -5.1893 - ;5.1894 - return 0;5.1895 -}5.1896 -_ACEOF5.1897 -rm -f conftest.$ac_objext5.1898 -if { (ac_try="$ac_compile"5.1899 -case "(($ac_try" in5.1900 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;5.1901 - *) ac_try_echo=$ac_try;;5.1902 -esac5.1903 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&55.1904 - (eval "$ac_compile") 2>conftest.er15.1905 - ac_status=$?5.1906 - grep -v '^ *+' conftest.er1 >conftest.err5.1907 - rm -f conftest.er15.1908 - cat conftest.err >&55.1909 - echo "$as_me:$LINENO: \$? = $ac_status" >&55.1910 - (exit $ac_status); } && {5.1911 - test -z "$ac_c_werror_flag" ||5.1912 - test ! -s conftest.err5.1913 - } && test -s conftest.$ac_objext; then5.1914 - ac_cv_prog_cc_g=yes5.1915 -else5.1916 - echo "$as_me: failed program was:" >&55.1917 -sed 's/^/| /' conftest.$ac_ext >&55.1918 -5.1919 -5.1920 -fi5.1921 -5.1922 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext5.1923 -fi5.1924 -5.1925 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext5.1926 -fi5.1927 -5.1928 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext5.1929 - ac_c_werror_flag=$ac_save_c_werror_flag5.1930 -fi5.1931 -{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&55.1932 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }5.1933 -if test "$ac_test_CFLAGS" = set; then5.1934 - CFLAGS=$ac_save_CFLAGS5.1935 -elif test $ac_cv_prog_cc_g = yes; then5.1936 - if test "$GCC" = yes; then5.1937 - CFLAGS="-g -O2"5.1938 - else5.1939 - CFLAGS="-g"5.1940 - fi5.1941 -else5.1942 - if test "$GCC" = yes; then5.1943 - CFLAGS="-O2"5.1944 - else5.1945 - CFLAGS=5.1946 - fi5.1947 -fi5.1948 -{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&55.1949 -echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }5.1950 -if test "${ac_cv_prog_cc_c89+set}" = set; then5.1951 - echo $ECHO_N "(cached) $ECHO_C" >&65.1952 -else5.1953 - ac_cv_prog_cc_c89=no5.1954 -ac_save_CC=$CC5.1955 + case $ac_cv_build_prog_cc_stdc in5.1956 + no) ac_cv_build_prog_cc_stdc=no; ac_cv_build_prog_cc_stdc=no ;;5.1957 + *) { echo "$as_me:$LINENO: checking for $CC_FOR_BUILD option to accept ISO C99" >&55.1958 +echo $ECHO_N "checking for $CC_FOR_BUILD option to accept ISO C99... $ECHO_C" >&6; }5.1959 +if test "${ac_cv_build_prog_cc_stdc+set}" = set; then5.1960 + echo $ECHO_N "(cached) $ECHO_C" >&65.1961 +else5.1962 + ac_cv_build_prog_cc_stdc=no5.1963 +ac_save_CC=$CC_FOR_BUILD5.1964 +cat >conftest.$ac_ext <<_ACEOF5.1965 +/* confdefs.h. */5.1966 +_ACEOF5.1967 +cat confdefs.h >>conftest.$ac_ext5.1968 +cat >>conftest.$ac_ext <<_ACEOF5.1969 +/* end confdefs.h. */5.1970 +#include <stdarg.h>5.1971 +#include <stdbool.h>5.1972 +#include <stdlib.h>5.1973 +#include <wchar.h>5.1974 +#include <stdio.h>5.1975 +5.1976 +// Check varargs macros. These examples are taken from C99 6.10.3.5.5.1977 +#define debug(...) fprintf (stderr, __VA_ARGS__)5.1978 +#define showlist(...) puts (#__VA_ARGS__)5.1979 +#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))5.1980 +static void5.1981 +test_varargs_macros (void)5.1982 +{5.1983 + int x = 1234;5.1984 + int y = 5678;5.1985 + debug ("Flag");5.1986 + debug ("X = %d\n", x);5.1987 + showlist (The first, second, and third items.);5.1988 + report (x>y, "x is %d but y is %d", x, y);5.1989 +}5.1990 +5.1991 +// Check long long types.5.1992 +#define BIG64 18446744073709551615ull5.1993 +#define BIG32 4294967295ul5.1994 +#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)5.1995 +#if !BIG_OK5.1996 + your preprocessor is broken;5.1997 +#endif5.1998 +#if BIG_OK5.1999 +#else5.2000 + your preprocessor is broken;5.2001 +#endif5.2002 +static long long int bignum = -9223372036854775807LL;5.2003 +static unsigned long long int ubignum = BIG64;5.2004 +5.2005 +struct incomplete_array5.2006 +{5.2007 + int datasize;5.2008 + double data[];5.2009 +};5.2010 +5.2011 +struct named_init {5.2012 + int number;5.2013 + const wchar_t *name;5.2014 + double average;5.2015 +};5.2016 +5.2017 +typedef const char *ccp;5.2018 +5.2019 +static inline int5.2020 +test_restrict (ccp restrict text)5.2021 +{5.2022 + // See if C++-style comments work.5.2023 + // Iterate through items via the restricted pointer.5.2024 + // Also check for declarations in for loops.5.2025 + for (unsigned int i = 0; *(text+i) != '\0'; ++i)5.2026 + continue;5.2027 + return 0;5.2028 +}5.2029 +5.2030 +// Check varargs and va_copy.5.2031 +static void5.2032 +test_varargs (const char *format, ...)5.2033 +{5.2034 + va_list args;5.2035 + va_start (args, format);5.2036 + va_list args_copy;5.2037 + va_copy (args_copy, args);5.2038 +5.2039 + const char *str;5.2040 + int number;5.2041 + float fnumber;5.2042 +5.2043 + while (*format)5.2044 + {5.2045 + switch (*format++)5.2046 + {5.2047 + case 's': // string5.2048 + str = va_arg (args_copy, const char *);5.2049 + break;5.2050 + case 'd': // int5.2051 + number = va_arg (args_copy, int);5.2052 + break;5.2053 + case 'f': // float5.2054 + fnumber = va_arg (args_copy, double);5.2055 + break;5.2056 + default:5.2057 + break;5.2058 + }5.2059 + }5.2060 + va_end (args_copy);5.2061 + va_end (args);5.2062 +}5.2063 +5.2064 +int5.2065 +main ()5.2066 +{5.2067 +5.2068 + // Check bool.5.2069 + _Bool success = false;5.2070 +5.2071 + // Check restrict.5.2072 + if (test_restrict ("String literal") == 0)5.2073 + success = true;5.2074 + char *restrict newvar = "Another string";5.2075 +5.2076 + // Check varargs.5.2077 + test_varargs ("s, d' f .", "string", 65, 34.234);5.2078 + test_varargs_macros ();5.2079 +5.2080 + // Check flexible array members.5.2081 + struct incomplete_array *ia =5.2082 + malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));5.2083 + ia->datasize = 10;5.2084 + for (int i = 0; i < ia->datasize; ++i)5.2085 + ia->data[i] = i * 1.234;5.2086 +5.2087 + // Check named initializers.5.2088 + struct named_init ni = {5.2089 + .number = 34,5.2090 + .name = L"Test wide string",5.2091 + .average = 543.34343,5.2092 + };5.2093 +5.2094 + ni.number = 58;5.2095 +5.2096 + int dynamic_array[ni.number];5.2097 + dynamic_array[ni.number - 1] = 543;5.2098 +5.2099 + // work around unused variable warnings5.2100 + return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'5.2101 + || dynamic_array[ni.number - 1] != 543);5.2102 +5.2103 + ;5.2104 + return 0;5.2105 +}5.2106 +_ACEOF5.2107 +for ac_arg in '' -std=gnu99 -c99 -qlanglvl=extc995.2108 +do5.2109 + CC_FOR_BUILD="$ac_save_CC $ac_arg"5.2110 + rm -f conftest.$ac_build_objext5.2111 +if { (ac_try="$ac_build_compile"5.2112 +case "(($ac_try" in5.2113 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;5.2114 + *) ac_try_echo=$ac_try;;5.2115 +esac5.2116 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&55.2117 + (eval "$ac_build_compile") 2>conftest.er15.2118 + ac_status=$?5.2119 + grep -v '^ *+' conftest.er1 >conftest.err5.2120 + rm -f conftest.er15.2121 + cat conftest.err >&55.2122 + echo "$as_me:$LINENO: \$? = $ac_status" >&55.2123 + (exit $ac_status); } && {5.2124 + test -z "$ac_c_werror_flag" ||5.2125 + test ! -s conftest.err5.2126 + } && test -s conftest.$ac_build_objext; then5.2127 + ac_cv_build_prog_cc_stdc=$ac_arg5.2128 +else5.2129 + echo "$as_me: failed program was:" >&55.2130 +sed 's/^/| /' conftest.$ac_ext >&55.2131 +5.2132 +5.2133 +fi5.2134 +5.2135 +rm -f core conftest.err conftest.$ac_build_objext5.2136 + test "x$ac_cv_build_prog_cc_stdc" != "xno" && break5.2137 +done5.2138 +rm -f conftest.$ac_ext5.2139 +CC_FOR_BUILD=$ac_save_CC5.2140 +5.2141 +fi5.2142 +# AC_CACHE_VAL5.2143 +case "x$ac_cv_build_prog_cc_stdc" in5.2144 + x)5.2145 + { echo "$as_me:$LINENO: result: none needed" >&55.2146 +echo "${ECHO_T}none needed" >&6; } ;;5.2147 + xno)5.2148 + { echo "$as_me:$LINENO: result: unsupported" >&55.2149 +echo "${ECHO_T}unsupported" >&6; } ;;5.2150 + *)5.2151 + CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_build_prog_cc_stdc"5.2152 + { echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_stdc" >&55.2153 +echo "${ECHO_T}$ac_cv_build_prog_cc_stdc" >&6; } ;;5.2154 +esac5.2155 +if test "x$ac_cv_build_prog_cc_stdc" != xno; then5.2156 + ac_cv_build_prog_cc_stdc=$ac_cv_build_prog_cc_stdc5.2157 +else5.2158 + { echo "$as_me:$LINENO: checking for $CC_FOR_BUILD option to accept ISO C89" >&55.2159 +echo $ECHO_N "checking for $CC_FOR_BUILD option to accept ISO C89... $ECHO_C" >&6; }5.2160 +if test "${ac_cv_build_prog_cc_stdc+set}" = set; then5.2161 + echo $ECHO_N "(cached) $ECHO_C" >&65.2162 +else5.2163 + ac_cv_build_prog_cc_stdc=no5.2164 +ac_save_CC=$CC_FOR_BUILD5.2165 cat >conftest.$ac_ext <<_ACEOF5.2166 /* confdefs.h. */5.2167 _ACEOF5.2168 @@ -6359,41 +6577,41 @@5.2169 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \5.2170 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"5.2171 do5.2172 - CC="$ac_save_CC $ac_arg"5.2173 - rm -f conftest.$ac_objext5.2174 -if { (ac_try="$ac_compile"5.2175 -case "(($ac_try" in5.2176 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;5.2177 - *) ac_try_echo=$ac_try;;5.2178 -esac5.2179 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&55.2180 - (eval "$ac_compile") 2>conftest.er15.2181 - ac_status=$?5.2182 - grep -v '^ *+' conftest.er1 >conftest.err5.2183 - rm -f conftest.er15.2184 - cat conftest.err >&55.2185 - echo "$as_me:$LINENO: \$? = $ac_status" >&55.2186 - (exit $ac_status); } && {5.2187 - test -z "$ac_c_werror_flag" ||5.2188 - test ! -s conftest.err5.2189 - } && test -s conftest.$ac_objext; then5.2190 - ac_cv_prog_cc_c89=$ac_arg5.2191 -else5.2192 - echo "$as_me: failed program was:" >&55.2193 -sed 's/^/| /' conftest.$ac_ext >&55.2194 -5.2195 -5.2196 -fi5.2197 -5.2198 -rm -f core conftest.err conftest.$ac_objext5.2199 - test "x$ac_cv_prog_cc_c89" != "xno" && break5.2200 + CC_FOR_BUILD="$ac_save_CC $ac_arg"5.2201 + rm -f conftest.$ac_build_objext5.2202 +if { (ac_try="$ac_build_compile"5.2203 +case "(($ac_try" in5.2204 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;5.2205 + *) ac_try_echo=$ac_try;;5.2206 +esac5.2207 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&55.2208 + (eval "$ac_build_compile") 2>conftest.er15.2209 + ac_status=$?5.2210 + grep -v '^ *+' conftest.er1 >conftest.err5.2211 + rm -f conftest.er15.2212 + cat conftest.err >&55.2213 + echo "$as_me:$LINENO: \$? = $ac_status" >&55.2214 + (exit $ac_status); } && {5.2215 + test -z "$ac_c_werror_flag" ||5.2216 + test ! -s conftest.err5.2217 + } && test -s conftest.$ac_build_objext; then5.2218 + ac_cv_build_prog_cc_stdc=$ac_arg5.2219 +else5.2220 + echo "$as_me: failed program was:" >&55.2221 +sed 's/^/| /' conftest.$ac_ext >&55.2222 +5.2223 +5.2224 +fi5.2225 +5.2226 +rm -f core conftest.err conftest.$ac_build_objext5.2227 + test "x$ac_cv_build_prog_cc_stdc" != "xno" && break5.2228 done5.2229 rm -f conftest.$ac_ext5.2230 -CC=$ac_save_CC5.2231 +CC_FOR_BUILD=$ac_save_CC5.2233 fi5.2234 # AC_CACHE_VAL5.2235 -case "x$ac_cv_prog_cc_c89" in5.2236 +case "x$ac_cv_build_prog_cc_stdc" in5.2237 x)5.2238 { echo "$as_me:$LINENO: result: none needed" >&55.2239 echo "${ECHO_T}none needed" >&6; } ;;5.2240 @@ -6401,129 +6619,272 @@5.2241 { echo "$as_me:$LINENO: result: unsupported" >&55.2242 echo "${ECHO_T}unsupported" >&6; } ;;5.2243 *)5.2244 - CC="$CC $ac_cv_prog_cc_c89"5.2245 - { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&55.2246 -echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;5.2247 -esac5.2248 -5.2249 -5.2250 -ac_ext=c5.2251 -ac_cpp='$CPP $CPPFLAGS'5.2252 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'5.2253 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'5.2254 -ac_compiler_gnu=$ac_cv_c_compiler_gnu5.2255 -5.2256 -depcc="$CC" am_compiler_list=5.2257 -5.2258 -{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&55.2259 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }5.2260 -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then5.2261 - echo $ECHO_N "(cached) $ECHO_C" >&65.2262 -else5.2263 - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then5.2264 - # We make a subdir and do the tests there. Otherwise we can end up5.2265 - # making bogus files that we don't know about and never remove. For5.2266 - # instance it was reported that on HP-UX the gcc test will end up5.2267 - # making a dummy file named `D' -- because `-MD' means `put the output5.2268 - # in D'.5.2269 - mkdir conftest.dir5.2270 - # Copy depcomp to subdir because otherwise we won't find it if we're5.2271 - # using a relative directory.5.2272 - cp "$am_depcomp" conftest.dir5.2273 - cd conftest.dir5.2274 - # We will build objects and dependencies in a subdirectory because5.2275 - # it helps to detect inapplicable dependency modes. For instance5.2276 - # both Tru64's cc and ICC support -MD to output dependencies as a5.2277 - # side effect of compilation, but ICC will put the dependencies in5.2278 - # the current directory while Tru64 will put them in the object5.2279 - # directory.5.2280 - mkdir sub5.2281 -5.2282 - am_cv_CC_dependencies_compiler_type=none5.2283 - if test "$am_compiler_list" = ""; then5.2284 - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`5.2285 - fi5.2286 - for depmode in $am_compiler_list; do5.2287 - # Setup a source with many dependencies, because some compilers5.2288 - # like to wrap large dependency lists on column 80 (with \), and5.2289 - # we should not choose a depcomp mode which is confused by this.5.2290 - #5.2291 - # We need to recreate these files for each test, as the compiler may5.2292 - # overwrite some of them when testing with obscure command lines.5.2293 - # This happens at least with the AIX C compiler.5.2294 - : > sub/conftest.c5.2295 - for i in 1 2 3 4 5 6; do5.2296 - echo '#include "conftst'$i'.h"' >> sub/conftest.c5.2297 - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with5.2298 - # Solaris 8's {/usr,}/bin/sh.5.2299 - touch sub/conftst$i.h5.2300 + CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_build_prog_cc_stdc"5.2301 + { echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_stdc" >&55.2302 +echo "${ECHO_T}$ac_cv_build_prog_cc_stdc" >&6; } ;;5.2303 +esac5.2304 +if test "x$ac_cv_build_prog_cc_stdc" != xno; then5.2305 + ac_cv_build_prog_cc_stdc=$ac_cv_build_prog_cc_stdc5.2306 +else5.2307 + ac_cv_build_prog_cc_stdc=no5.2308 +fi5.2309 +5.2310 +5.2311 +fi5.2312 +5.2313 + ;;5.2314 +esac5.2315 + { echo "$as_me:$LINENO: checking for $CC_FOR_BUILD option to accept ISO Standard C" >&55.2316 +echo $ECHO_N "checking for $CC_FOR_BUILD option to accept ISO Standard C... $ECHO_C" >&6; }5.2317 + if test "${ac_cv_build_prog_cc_stdc+set}" = set; then5.2318 + echo $ECHO_N "(cached) $ECHO_C" >&65.2319 +fi5.2320 +5.2321 + case $ac_cv_build_prog_cc_stdc in5.2322 + no) { echo "$as_me:$LINENO: result: unsupported" >&55.2323 +echo "${ECHO_T}unsupported" >&6; } ;;5.2324 + '') { echo "$as_me:$LINENO: result: none needed" >&55.2325 +echo "${ECHO_T}none needed" >&6; } ;;5.2326 + *) { echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_stdc" >&55.2327 +echo "${ECHO_T}$ac_cv_build_prog_cc_stdc" >&6; } ;;5.2328 +esac5.2329 +5.2330 +5.2331 +ac_ext=c5.2332 +ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'5.2333 +ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'5.2334 +ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'5.2335 +ac_build_compiler_gnu=$ac_cv_c_compiler_gnu5.2336 +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&55.2337 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }5.2338 +# On Suns, sometimes $CPP names a directory.5.2339 +if test -n "$CPP_FOR_BUILD" && test -d "$CPP_FOR_BUILD"; then5.2340 + CPP_FOR_BUILD=5.2341 +fi5.2342 +if test -z "$CPP_FOR_BUILD"; then5.2343 + if test "${ac_cv_build_prog_CPP+set}" = set; then5.2344 + echo $ECHO_N "(cached) $ECHO_C" >&65.2345 +else5.2346 + # Double quotes because CPP needs to be expanded5.2347 + for CPP_FOR_BUILD in "$CC_FOR_BUILD -E" "$CC_FOR_BUILD -E -traditional-cpp" "/lib/cpp"5.2348 + do5.2349 + ac_preproc_ok=false5.2350 +for ac_c_preproc_warn_flag in '' yes5.2351 +do5.2352 + # Use a header file that comes with gcc, so configuring glibc5.2353 + # with a fresh cross-compiler works.5.2354 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since5.2355 + # <limits.h> exists even on freestanding compilers.5.2356 + # On the NeXT, cc -E runs the code through the compiler's parser,5.2357 + # not just through cpp. "Syntax error" is here to catch this case.5.2358 + cat >conftest.$ac_ext <<_ACEOF5.2359 +/* confdefs.h. */5.2360 +_ACEOF5.2361 +cat confdefs.h >>conftest.$ac_ext5.2362 +cat >>conftest.$ac_ext <<_ACEOF5.2363 +/* end confdefs.h. */5.2364 +#ifdef __STDC__5.2365 +# include <limits.h>5.2366 +#else5.2367 +# include <assert.h>5.2368 +#endif5.2369 + Syntax error5.2370 +_ACEOF5.2371 +if { (ac_try="$ac_build_cpp conftest.$ac_ext"5.2372 +case "(($ac_try" in5.2373 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;5.2374 + *) ac_try_echo=$ac_try;;5.2375 +esac5.2376 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&55.2377 + (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er15.2378 + ac_status=$?5.2379 + grep -v '^ *+' conftest.er1 >conftest.err5.2380 + rm -f conftest.er15.2381 + cat conftest.err >&55.2382 + echo "$as_me:$LINENO: \$? = $ac_status" >&55.2383 + (exit $ac_status); } >/dev/null && {5.2384 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||5.2385 + test ! -s conftest.err5.2386 + }; then5.2387 + :5.2388 +else5.2389 + echo "$as_me: failed program was:" >&55.2390 +sed 's/^/| /' conftest.$ac_ext >&55.2391 +5.2392 + # Broken: fails on valid input.5.2393 +continue5.2394 +fi5.2395 +5.2396 +rm -f conftest.err conftest.$ac_ext5.2397 +5.2398 + # OK, works on sane cases. Now check whether nonexistent headers5.2399 + # can be detected and how.5.2400 + cat >conftest.$ac_ext <<_ACEOF5.2401 +/* confdefs.h. */5.2402 +_ACEOF5.2403 +cat confdefs.h >>conftest.$ac_ext5.2404 +cat >>conftest.$ac_ext <<_ACEOF5.2405 +/* end confdefs.h. */5.2406 +#include <ac_nonexistent.h>5.2407 +_ACEOF5.2408 +if { (ac_try="$ac_build_cpp conftest.$ac_ext"5.2409 +case "(($ac_try" in5.2410 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;5.2411 + *) ac_try_echo=$ac_try;;5.2412 +esac5.2413 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&55.2414 + (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er15.2415 + ac_status=$?5.2416 + grep -v '^ *+' conftest.er1 >conftest.err5.2417 + rm -f conftest.er15.2418 + cat conftest.err >&55.2419 + echo "$as_me:$LINENO: \$? = $ac_status" >&55.2420 + (exit $ac_status); } >/dev/null && {5.2421 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||5.2422 + test ! -s conftest.err5.2423 + }; then5.2424 + # Broken: success on invalid input.5.2425 +continue5.2426 +else5.2427 + echo "$as_me: failed program was:" >&55.2428 +sed 's/^/| /' conftest.$ac_ext >&55.2429 +5.2430 + # Passes both tests.5.2431 +ac_preproc_ok=:5.2432 +break5.2433 +fi5.2434 +5.2435 +rm -f conftest.err conftest.$ac_ext5.2436 +5.2437 +done5.2438 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.5.2439 +rm -f conftest.err conftest.$ac_ext5.2440 +if $ac_preproc_ok; then5.2441 + break5.2442 +fi5.2443 +5.2444 done5.2445 - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf5.2446 -5.2447 - case $depmode in5.2448 - nosideeffect)5.2449 - # after this tag, mechanisms are not by side-effect, so they'll5.2450 - # only be used when explicitly requested5.2451 - if test "x$enable_dependency_tracking" = xyes; then5.2452 - continue5.2453 - else5.2454 - break5.2455 - fi5.2456 - ;;5.2457 - none) break ;;5.2458 - esac5.2459 - # We check with `-c' and `-o' for the sake of the "dashmstdout"5.2460 - # mode. It turns out that the SunPro C++ compiler does not properly5.2461 - # handle `-M -o', and we need to detect this.5.2462 - if depmode=$depmode \5.2463 - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \5.2464 - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \5.2465 - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \5.2466 - >/dev/null 2>conftest.err &&5.2467 - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&5.2468 - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&5.2469 - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then5.2470 - # icc doesn't choke on unknown options, it will just issue warnings5.2471 - # or remarks (even with -Werror). So we grep stderr for any message5.2472 - # that says an option was ignored or not supported.5.2473 - # When given -MP, icc 7.0 and 7.1 complain thusly:5.2474 - # icc: Command line warning: ignoring option '-M'; no argument required5.2475 - # The diagnosis changed in icc 8.0:5.2476 - # icc: Command line remark: option '-MP' not supported5.2477 - if (grep 'ignoring option' conftest.err ||5.2478 - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else5.2479 - am_cv_CC_dependencies_compiler_type=$depmode5.2480 - break5.2481 - fi5.2482 - fi5.2483 - done5.2484 -5.2485 - cd ..5.2486 - rm -rf conftest.dir5.2487 -else5.2488 - am_cv_CC_dependencies_compiler_type=none5.2489 -fi5.2490 -5.2491 -fi5.2492 -{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&55.2493 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }5.2494 -CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type5.2495 -5.2496 -5.2497 -5.2498 -if5.2499 - test "x$enable_dependency_tracking" != xno \5.2500 - && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then5.2501 - am__fastdepCC_TRUE=5.2502 - am__fastdepCC_FALSE='#'5.2503 -else5.2504 - am__fastdepCC_TRUE='#'5.2505 - am__fastdepCC_FALSE=5.2506 -fi5.2507 -5.2508 -5.2509 -5.2510 -am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc5.2511 + ac_cv_build_prog_CPP=$CPP_FOR_BUILD5.2512 +5.2513 +fi5.2514 + CPP_FOR_BUILD=$ac_cv_build_prog_CPP5.2515 +else5.2516 + ac_cv_build_prog_CPP=$CPP_FOR_BUILD5.2517 +fi5.2518 +{ echo "$as_me:$LINENO: result: $CPP_FOR_BUILD" >&55.2519 +echo "${ECHO_T}$CPP_FOR_BUILD" >&6; }5.2520 +ac_preproc_ok=false5.2521 +for ac_c_preproc_warn_flag in '' yes5.2522 +do5.2523 + # Use a header file that comes with gcc, so configuring glibc5.2524 + # with a fresh cross-compiler works.5.2525 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since5.2526 + # <limits.h> exists even on freestanding compilers.5.2527 + # On the NeXT, cc -E runs the code through the compiler's parser,5.2528 + # not just through cpp. "Syntax error" is here to catch this case.5.2529 + cat >conftest.$ac_ext <<_ACEOF5.2530 +/* confdefs.h. */5.2531 +_ACEOF5.2532 +cat confdefs.h >>conftest.$ac_ext5.2533 +cat >>conftest.$ac_ext <<_ACEOF5.2534 +/* end confdefs.h. */5.2535 +#ifdef __STDC__5.2536 +# include <limits.h>5.2537 +#else5.2538 +# include <assert.h>5.2539 +#endif5.2540 + Syntax error5.2541 +_ACEOF5.2542 +if { (ac_try="$ac_build_cpp conftest.$ac_ext"5.2543 +case "(($ac_try" in5.2544 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;5.2545 + *) ac_try_echo=$ac_try;;5.2546 +esac5.2547 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&55.2548 + (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er15.2549 + ac_status=$?5.2550 + grep -v '^ *+' conftest.er1 >conftest.err5.2551 + rm -f conftest.er15.2552 + cat conftest.err >&55.2553 + echo "$as_me:$LINENO: \$? = $ac_status" >&55.2554 + (exit $ac_status); } >/dev/null && {5.2555 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||5.2556 + test ! -s conftest.err5.2557 + }; then5.2558 + :5.2559 +else5.2560 + echo "$as_me: failed program was:" >&55.2561 +sed 's/^/| /' conftest.$ac_ext >&55.2562 +5.2563 + # Broken: fails on valid input.5.2564 +continue5.2565 +fi5.2566 +5.2567 +rm -f conftest.err conftest.$ac_ext5.2568 +5.2569 + # OK, works on sane cases. Now check whether nonexistent headers5.2570 + # can be detected and how.5.2571 + cat >conftest.$ac_ext <<_ACEOF5.2572 +/* confdefs.h. */5.2573 +_ACEOF5.2574 +cat confdefs.h >>conftest.$ac_ext5.2575 +cat >>conftest.$ac_ext <<_ACEOF5.2576 +/* end confdefs.h. */5.2577 +#include <ac_nonexistent.h>5.2578 +_ACEOF5.2579 +if { (ac_try="$ac_build_cpp conftest.$ac_ext"5.2580 +case "(($ac_try" in5.2581 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;5.2582 + *) ac_try_echo=$ac_try;;5.2583 +esac5.2584 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&55.2585 + (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er15.2586 + ac_status=$?5.2587 + grep -v '^ *+' conftest.er1 >conftest.err5.2588 + rm -f conftest.er15.2589 + cat conftest.err >&55.2590 + echo "$as_me:$LINENO: \$? = $ac_status" >&55.2591 + (exit $ac_status); } >/dev/null && {5.2592 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||5.2593 + test ! -s conftest.err5.2594 + }; then5.2595 + # Broken: success on invalid input.5.2596 +continue5.2597 +else5.2598 + echo "$as_me: failed program was:" >&55.2599 +sed 's/^/| /' conftest.$ac_ext >&55.2600 +5.2601 + # Passes both tests.5.2602 +ac_preproc_ok=:5.2603 +break5.2604 +fi5.2605 +5.2606 +rm -f conftest.err conftest.$ac_ext5.2607 +5.2608 +done5.2609 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.5.2610 +rm -f conftest.err conftest.$ac_ext5.2611 +if $ac_preproc_ok; then5.2612 + :5.2613 +else5.2614 + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP_FOR_BUILD\" fails sanity check5.2615 +See \`config.log' for more details." >&55.2616 +echo "$as_me: error: C preprocessor \"$CPP_FOR_BUILD\" fails sanity check5.2617 +See \`config.log' for more details." >&2;}5.2618 + { (exit 1); exit 1; }; }5.2619 +fi5.2620 +5.2621 +ac_ext=c5.2622 +ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'5.2623 +ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'5.2624 +ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'5.2625 +ac_build_compiler_gnu=$ac_cv_c_compiler_gnu5.2626 +5.2627 +5.2628 +5.2629 +5.2630 +BUILD_EXEEXT=$ac_build_exeext5.2631 +BUILD_OBJEXT=$ac_build_objext5.2633 ac_ext=m5.2634 ac_cpp='$OBJCPP $CPPFLAGS'5.2635 @@ -7959,89 +8320,6 @@5.2637 fi5.2639 -# Make sure we can run config.sub.5.2640 -$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||5.2641 - { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&55.2642 -echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}5.2643 - { (exit 1); exit 1; }; }5.2644 -5.2645 -{ echo "$as_me:$LINENO: checking build system type" >&55.2646 -echo $ECHO_N "checking build system type... $ECHO_C" >&6; }5.2647 -if test "${ac_cv_build+set}" = set; then5.2648 - echo $ECHO_N "(cached) $ECHO_C" >&65.2649 -else5.2650 - ac_build_alias=$build_alias5.2651 -test "x$ac_build_alias" = x &&5.2652 - ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`5.2653 -test "x$ac_build_alias" = x &&5.2654 - { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&55.2655 -echo "$as_me: error: cannot guess build type; you must specify one" >&2;}5.2656 - { (exit 1); exit 1; }; }5.2657 -ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||5.2658 - { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&55.2659 -echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}5.2660 - { (exit 1); exit 1; }; }5.2661 -5.2662 -fi5.2663 -{ echo "$as_me:$LINENO: result: $ac_cv_build" >&55.2664 -echo "${ECHO_T}$ac_cv_build" >&6; }5.2665 -case $ac_cv_build in5.2666 -*-*-*) ;;5.2667 -*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&55.2668 -echo "$as_me: error: invalid value of canonical build" >&2;}5.2669 - { (exit 1); exit 1; }; };;5.2670 -esac5.2671 -build=$ac_cv_build5.2672 -ac_save_IFS=$IFS; IFS='-'5.2673 -set x $ac_cv_build5.2674 -shift5.2675 -build_cpu=$15.2676 -build_vendor=$25.2677 -shift; shift5.2678 -# Remember, the first character of IFS is used to create $*,5.2679 -# except with old shells:5.2680 -build_os=$*5.2681 -IFS=$ac_save_IFS5.2682 -case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac5.2683 -5.2684 -5.2685 -{ echo "$as_me:$LINENO: checking host system type" >&55.2686 -echo $ECHO_N "checking host system type... $ECHO_C" >&6; }5.2687 -if test "${ac_cv_host+set}" = set; then5.2688 - echo $ECHO_N "(cached) $ECHO_C" >&65.2689 -else5.2690 - if test "x$host_alias" = x; then5.2691 - ac_cv_host=$ac_cv_build5.2692 -else5.2693 - ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||5.2694 - { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&55.2695 -echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}5.2696 - { (exit 1); exit 1; }; }5.2697 -fi5.2698 -5.2699 -fi5.2700 -{ echo "$as_me:$LINENO: result: $ac_cv_host" >&55.2701 -echo "${ECHO_T}$ac_cv_host" >&6; }5.2702 -case $ac_cv_host in5.2703 -*-*-*) ;;5.2704 -*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&55.2705 -echo "$as_me: error: invalid value of canonical host" >&2;}5.2706 - { (exit 1); exit 1; }; };;5.2707 -esac5.2708 -host=$ac_cv_host5.2709 -ac_save_IFS=$IFS; IFS='-'5.2710 -set x $ac_cv_host5.2711 -shift5.2712 -host_cpu=$15.2713 -host_vendor=$25.2714 -shift; shift5.2715 -# Remember, the first character of IFS is used to create $*,5.2716 -# except with old shells:5.2717 -host_os=$*5.2718 -IFS=$ac_save_IFS5.2719 -case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac5.2720 -5.2721 -5.2724 depcc="$OBJC" am_compiler_list='gcc3 gcc'5.2725 @@ -8991,6 +9269,7 @@5.2727 fi5.2729 +CFLAGS_FOR_BUILD="-O2 -std=c99"5.2730 CFLAGS="-g -fexceptions"5.2731 OBJCFLAGS="-g -fexceptions"5.2733 @@ -10575,6 +10854,116 @@5.2737 +pkg_failed=no5.2738 +{ echo "$as_me:$LINENO: checking for GLIB_FOR_BUILD" >&55.2739 +echo $ECHO_N "checking for GLIB_FOR_BUILD... $ECHO_C" >&6; }5.2740 +5.2741 +if test -n "$GLIB_FOR_BUILD_CFLAGS"; then5.2742 + pkg_cv_GLIB_FOR_BUILD_CFLAGS="$GLIB_FOR_BUILD_CFLAGS"5.2743 + elif test -n "$PKG_CONFIG"; then5.2744 + if test -n "$PKG_CONFIG" && \5.2745 + { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&55.2746 + ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&55.2747 + ac_status=$?5.2748 + echo "$as_me:$LINENO: \$? = $ac_status" >&55.2749 + (exit $ac_status); }; then5.2750 + pkg_cv_GLIB_FOR_BUILD_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`5.2751 +else5.2752 + pkg_failed=yes5.2753 +fi5.2754 + else5.2755 + pkg_failed=untried5.2756 +fi5.2757 +if test -n "$GLIB_FOR_BUILD_LIBS"; then5.2758 + pkg_cv_GLIB_FOR_BUILD_LIBS="$GLIB_FOR_BUILD_LIBS"5.2759 + elif test -n "$PKG_CONFIG"; then5.2760 + if test -n "$PKG_CONFIG" && \5.2761 + { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&55.2762 + ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&55.2763 + ac_status=$?5.2764 + echo "$as_me:$LINENO: \$? = $ac_status" >&55.2765 + (exit $ac_status); }; then5.2766 + pkg_cv_GLIB_FOR_BUILD_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`5.2767 +else5.2768 + pkg_failed=yes5.2769 +fi5.2770 + else5.2771 + pkg_failed=untried5.2772 +fi5.2773 +5.2774 +5.2775 +5.2776 +if test $pkg_failed = yes; then5.2777 +5.2778 +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then5.2779 + _pkg_short_errors_supported=yes5.2780 +else5.2781 + _pkg_short_errors_supported=no5.2782 +fi5.2783 + if test $_pkg_short_errors_supported = yes; then5.2784 + GLIB_FOR_BUILD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0" 2>&1`5.2785 + else5.2786 + GLIB_FOR_BUILD_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0" 2>&1`5.2787 + fi5.2788 + # Put the nasty error message in config.log where it belongs5.2789 + echo "$GLIB_FOR_BUILD_PKG_ERRORS" >&55.2790 +5.2791 + { { echo "$as_me:$LINENO: error: Package requirements (glib-2.0) were not met:5.2792 +5.2793 +$GLIB_FOR_BUILD_PKG_ERRORS5.2794 +5.2795 +Consider adjusting the PKG_CONFIG_PATH environment variable if you5.2796 +installed software in a non-standard prefix.5.2797 +5.2798 +Alternatively, you may set the environment variables GLIB_FOR_BUILD_CFLAGS5.2799 +and GLIB_FOR_BUILD_LIBS to avoid the need to call pkg-config.5.2800 +See the pkg-config man page for more details.5.2801 +" >&55.2802 +echo "$as_me: error: Package requirements (glib-2.0) were not met:5.2803 +5.2804 +$GLIB_FOR_BUILD_PKG_ERRORS5.2805 +5.2806 +Consider adjusting the PKG_CONFIG_PATH environment variable if you5.2807 +installed software in a non-standard prefix.5.2808 +5.2809 +Alternatively, you may set the environment variables GLIB_FOR_BUILD_CFLAGS5.2810 +and GLIB_FOR_BUILD_LIBS to avoid the need to call pkg-config.5.2811 +See the pkg-config man page for more details.5.2812 +" >&2;}5.2813 + { (exit 1); exit 1; }; }5.2814 +elif test $pkg_failed = untried; then5.2815 + { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it5.2816 +is in your PATH or set the PKG_CONFIG environment variable to the full5.2817 +path to pkg-config.5.2818 +5.2819 +Alternatively, you may set the environment variables GLIB_FOR_BUILD_CFLAGS5.2820 +and GLIB_FOR_BUILD_LIBS to avoid the need to call pkg-config.5.2821 +See the pkg-config man page for more details.5.2822 +5.2823 +To get pkg-config, see <http://pkg-config.freedesktop.org/>.5.2824 +See \`config.log' for more details." >&55.2825 +echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it5.2826 +is in your PATH or set the PKG_CONFIG environment variable to the full5.2827 +path to pkg-config.5.2828 +5.2829 +Alternatively, you may set the environment variables GLIB_FOR_BUILD_CFLAGS5.2830 +and GLIB_FOR_BUILD_LIBS to avoid the need to call pkg-config.5.2831 +See the pkg-config man page for more details.5.2832 +5.2833 +To get pkg-config, see <http://pkg-config.freedesktop.org/>.5.2834 +See \`config.log' for more details." >&2;}5.2835 + { (exit 1); exit 1; }; }5.2836 +else5.2837 + GLIB_FOR_BUILD_CFLAGS=$pkg_cv_GLIB_FOR_BUILD_CFLAGS5.2838 + GLIB_FOR_BUILD_LIBS=$pkg_cv_GLIB_FOR_BUILD_LIBS5.2839 + { echo "$as_me:$LINENO: result: yes" >&55.2840 +echo "${ECHO_T}yes" >&6; }5.2841 + :5.2842 +fi5.2843 +5.2844 +5.2845 +5.2846 +5.2847 if test "$HAVE_GTK" = 'yes'; then5.2848 GUI_GTK_TRUE=5.2849 GUI_GTK_FALSE='#'5.2850 @@ -11703,6 +12092,274 @@5.2852 fi5.2854 +{ echo "$as_me:$LINENO: checking for glClearDepthf" >&55.2855 +echo $ECHO_N "checking for glClearDepthf... $ECHO_C" >&6; }5.2856 +if test "${ac_cv_func_glClearDepthf+set}" = set; then5.2857 + echo $ECHO_N "(cached) $ECHO_C" >&65.2858 +else5.2859 + cat >conftest.$ac_ext <<_ACEOF5.2860 +/* confdefs.h. */5.2861 +_ACEOF5.2862 +cat confdefs.h >>conftest.$ac_ext5.2863 +cat >>conftest.$ac_ext <<_ACEOF5.2864 +/* end confdefs.h. */5.2865 +/* Define glClearDepthf to an innocuous variant, in case <limits.h> declares glClearDepthf.5.2866 + For example, HP-UX 11i <limits.h> declares gettimeofday. */5.2867 +#define glClearDepthf innocuous_glClearDepthf5.2868 +5.2869 +/* System header to define __stub macros and hopefully few prototypes,5.2870 + which can conflict with char glClearDepthf (); below.5.2871 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since5.2872 + <limits.h> exists even on freestanding compilers. */5.2873 +5.2874 +#ifdef __STDC__5.2875 +# include <limits.h>5.2876 +#else5.2877 +# include <assert.h>5.2878 +#endif5.2879 +5.2880 +#undef glClearDepthf5.2881 +5.2882 +/* Override any GCC internal prototype to avoid an error.5.2883 + Use char because int might match the return type of a GCC5.2884 + builtin and then its argument prototype would still apply. */5.2885 +#ifdef __cplusplus5.2886 +extern "C"5.2887 +#endif5.2888 +char glClearDepthf ();5.2889 +/* The GNU C library defines this for functions which it implements5.2890 + to always fail with ENOSYS. Some functions are actually named5.2891 + something starting with __ and the normal name is an alias. */5.2892 +#if defined __stub_glClearDepthf || defined __stub___glClearDepthf5.2893 +choke me5.2894 +#endif5.2895 +5.2896 +int5.2897 +main ()5.2898 +{5.2899 +return glClearDepthf ();5.2900 + ;5.2901 + return 0;5.2902 +}5.2903 +_ACEOF5.2904 +rm -f conftest.$ac_objext conftest$ac_exeext5.2905 +if { (ac_try="$ac_link"5.2906 +case "(($ac_try" in5.2907 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;5.2908 + *) ac_try_echo=$ac_try;;5.2909 +esac5.2910 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&55.2911 + (eval "$ac_link") 2>conftest.er15.2912 + ac_status=$?5.2913 + grep -v '^ *+' conftest.er1 >conftest.err5.2914 + rm -f conftest.er15.2915 + cat conftest.err >&55.2916 + echo "$as_me:$LINENO: \$? = $ac_status" >&55.2917 + (exit $ac_status); } && {5.2918 + test -z "$ac_c_werror_flag" ||5.2919 + test ! -s conftest.err5.2920 + } && test -s conftest$ac_exeext &&5.2921 + $as_test_x conftest$ac_exeext; then5.2922 + ac_cv_func_glClearDepthf=yes5.2923 +else5.2924 + echo "$as_me: failed program was:" >&55.2925 +sed 's/^/| /' conftest.$ac_ext >&55.2926 +5.2927 + ac_cv_func_glClearDepthf=no5.2928 +fi5.2929 +5.2930 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \5.2931 + conftest$ac_exeext conftest.$ac_ext5.2932 +fi5.2933 +{ echo "$as_me:$LINENO: result: $ac_cv_func_glClearDepthf" >&55.2934 +echo "${ECHO_T}$ac_cv_func_glClearDepthf" >&6; }5.2935 +if test $ac_cv_func_glClearDepthf = yes; then5.2936 +5.2937 +cat >>confdefs.h <<\_ACEOF5.2938 +#define HAVE_OPENGL_CLEAR_DEPTHF 15.2939 +_ACEOF5.2940 +5.2941 +fi5.2942 +5.2943 +{ echo "$as_me:$LINENO: checking for glAreTexturesResident" >&55.2944 +echo $ECHO_N "checking for glAreTexturesResident... $ECHO_C" >&6; }5.2945 +if test "${ac_cv_func_glAreTexturesResident+set}" = set; then5.2946 + echo $ECHO_N "(cached) $ECHO_C" >&65.2947 +else5.2948 + cat >conftest.$ac_ext <<_ACEOF5.2949 +/* confdefs.h. */5.2950 +_ACEOF5.2951 +cat confdefs.h >>conftest.$ac_ext5.2952 +cat >>conftest.$ac_ext <<_ACEOF5.2953 +/* end confdefs.h. */5.2954 +/* Define glAreTexturesResident to an innocuous variant, in case <limits.h> declares glAreTexturesResident.5.2955 + For example, HP-UX 11i <limits.h> declares gettimeofday. */5.2956 +#define glAreTexturesResident innocuous_glAreTexturesResident5.2957 +5.2958 +/* System header to define __stub macros and hopefully few prototypes,5.2959 + which can conflict with char glAreTexturesResident (); below.5.2960 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since5.2961 + <limits.h> exists even on freestanding compilers. */5.2962 +5.2963 +#ifdef __STDC__5.2964 +# include <limits.h>5.2965 +#else5.2966 +# include <assert.h>5.2967 +#endif5.2968 +5.2969 +#undef glAreTexturesResident5.2970 +5.2971 +/* Override any GCC internal prototype to avoid an error.5.2972 + Use char because int might match the return type of a GCC5.2973 + builtin and then its argument prototype would still apply. */5.2974 +#ifdef __cplusplus5.2975 +extern "C"5.2976 +#endif5.2977 +char glAreTexturesResident ();5.2978 +/* The GNU C library defines this for functions which it implements5.2979 + to always fail with ENOSYS. Some functions are actually named5.2980 + something starting with __ and the normal name is an alias. */5.2981 +#if defined __stub_glAreTexturesResident || defined __stub___glAreTexturesResident5.2982 +choke me5.2983 +#endif5.2984 +5.2985 +int5.2986 +main ()5.2987 +{5.2988 +return glAreTexturesResident ();5.2989 + ;5.2990 + return 0;5.2991 +}5.2992 +_ACEOF5.2993 +rm -f conftest.$ac_objext conftest$ac_exeext5.2994 +if { (ac_try="$ac_link"5.2995 +case "(($ac_try" in5.2996 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;5.2997 + *) ac_try_echo=$ac_try;;5.2998 +esac5.2999 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&55.3000 + (eval "$ac_link") 2>conftest.er15.3001 + ac_status=$?5.3002 + grep -v '^ *+' conftest.er1 >conftest.err5.3003 + rm -f conftest.er15.3004 + cat conftest.err >&55.3005 + echo "$as_me:$LINENO: \$? = $ac_status" >&55.3006 + (exit $ac_status); } && {5.3007 + test -z "$ac_c_werror_flag" ||5.3008 + test ! -s conftest.err5.3009 + } && test -s conftest$ac_exeext &&5.3010 + $as_test_x conftest$ac_exeext; then5.3011 + ac_cv_func_glAreTexturesResident=yes5.3012 +else5.3013 + echo "$as_me: failed program was:" >&55.3014 +sed 's/^/| /' conftest.$ac_ext >&55.3015 +5.3016 + ac_cv_func_glAreTexturesResident=no5.3017 +fi5.3018 +5.3019 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \5.3020 + conftest$ac_exeext conftest.$ac_ext5.3021 +fi5.3022 +{ echo "$as_me:$LINENO: result: $ac_cv_func_glAreTexturesResident" >&55.3023 +echo "${ECHO_T}$ac_cv_func_glAreTexturesResident" >&6; }5.3024 +if test $ac_cv_func_glAreTexturesResident = yes; then5.3025 +5.3026 +cat >>confdefs.h <<\_ACEOF5.3027 +#define HAVE_OPENGL_TEX_RESIDENT 15.3028 +_ACEOF5.3029 +5.3030 +fi5.3031 +5.3032 +{ echo "$as_me:$LINENO: checking for glTexEnvi" >&55.3033 +echo $ECHO_N "checking for glTexEnvi... $ECHO_C" >&6; }5.3034 +if test "${ac_cv_func_glTexEnvi+set}" = set; then5.3035 + echo $ECHO_N "(cached) $ECHO_C" >&65.3036 +else5.3037 + cat >conftest.$ac_ext <<_ACEOF5.3038 +/* confdefs.h. */5.3039 +_ACEOF5.3040 +cat confdefs.h >>conftest.$ac_ext5.3041 +cat >>conftest.$ac_ext <<_ACEOF5.3042 +/* end confdefs.h. */5.3043 +/* Define glTexEnvi to an innocuous variant, in case <limits.h> declares glTexEnvi.5.3044 + For example, HP-UX 11i <limits.h> declares gettimeofday. */5.3045 +#define glTexEnvi innocuous_glTexEnvi5.3046 +5.3047 +/* System header to define __stub macros and hopefully few prototypes,5.3048 + which can conflict with char glTexEnvi (); below.5.3049 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since5.3050 + <limits.h> exists even on freestanding compilers. */5.3051 +5.3052 +#ifdef __STDC__5.3053 +# include <limits.h>5.3054 +#else5.3055 +# include <assert.h>5.3056 +#endif5.3057 +5.3058 +#undef glTexEnvi5.3059 +5.3060 +/* Override any GCC internal prototype to avoid an error.5.3061 + Use char because int might match the return type of a GCC5.3062 + builtin and then its argument prototype would still apply. */5.3063 +#ifdef __cplusplus5.3064 +extern "C"5.3065 +#endif5.3066 +char glTexEnvi ();5.3067 +/* The GNU C library defines this for functions which it implements5.3068 + to always fail with ENOSYS. Some functions are actually named5.3069 + something starting with __ and the normal name is an alias. */5.3070 +#if defined __stub_glTexEnvi || defined __stub___glTexEnvi5.3071 +choke me5.3072 +#endif5.3073 +5.3074 +int5.3075 +main ()5.3076 +{5.3077 +return glTexEnvi ();5.3078 + ;5.3079 + return 0;5.3080 +}5.3081 +_ACEOF5.3082 +rm -f conftest.$ac_objext conftest$ac_exeext5.3083 +if { (ac_try="$ac_link"5.3084 +case "(($ac_try" in5.3085 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;5.3086 + *) ac_try_echo=$ac_try;;5.3087 +esac5.3088 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&55.3089 + (eval "$ac_link") 2>conftest.er15.3090 + ac_status=$?5.3091 + grep -v '^ *+' conftest.er1 >conftest.err5.3092 + rm -f conftest.er15.3093 + cat conftest.err >&55.3094 + echo "$as_me:$LINENO: \$? = $ac_status" >&55.3095 + (exit $ac_status); } && {5.3096 + test -z "$ac_c_werror_flag" ||5.3097 + test ! -s conftest.err5.3098 + } && test -s conftest$ac_exeext &&5.3099 + $as_test_x conftest$ac_exeext; then5.3100 + ac_cv_func_glTexEnvi=yes5.3101 +else5.3102 + echo "$as_me: failed program was:" >&55.3103 +sed 's/^/| /' conftest.$ac_ext >&55.3104 +5.3105 + ac_cv_func_glTexEnvi=no5.3106 +fi5.3107 +5.3108 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \5.3109 + conftest$ac_exeext conftest.$ac_ext5.3110 +fi5.3111 +{ echo "$as_me:$LINENO: result: $ac_cv_func_glTexEnvi" >&55.3112 +echo "${ECHO_T}$ac_cv_func_glTexEnvi" >&6; }5.3113 +if test $ac_cv_func_glTexEnvi = yes; then5.3114 +5.3115 +cat >>confdefs.h <<\_ACEOF5.3116 +#define HAVE_OPENGL_FIXEDFUNC 15.3117 +_ACEOF5.3118 +5.3119 +fi5.3120 +5.3121 +5.3125 @@ -14741,7 +15398,7 @@5.3126 < $srcdir/po/POTFILES.in > po/POTFILES5.3129 -ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in test/Makefile Info.plist"5.3130 +ac_config_files="$ac_config_files Makefile src/Makefile src/tools/Makefile po/Makefile.in test/Makefile Info.plist"5.3132 cat >confcache <<\_ACEOF5.3133 # This file is a shell script that caches the results of configure5.3134 @@ -14867,6 +15524,13 @@5.3135 Usually this means the macro was only invoked conditionally." >&2;}5.3136 { (exit 1); exit 1; }; }5.3137 fi5.3138 +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then5.3139 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.5.3140 +Usually this means the macro was only invoked conditionally." >&55.3141 +echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.5.3142 +Usually this means the macro was only invoked conditionally." >&2;}5.3143 + { (exit 1); exit 1; }; }5.3144 +fi5.3145 if test -z "${am__fastdepCC_FOR_BUILD_TRUE}" && test -z "${am__fastdepCC_FOR_BUILD_FALSE}"; then5.3146 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC_FOR_BUILD\" was never defined.5.3147 Usually this means the macro was only invoked conditionally." >&55.3148 @@ -14874,13 +15538,6 @@5.3149 Usually this means the macro was only invoked conditionally." >&2;}5.3150 { (exit 1); exit 1; }; }5.3151 fi5.3152 -if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then5.3153 - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.5.3154 -Usually this means the macro was only invoked conditionally." >&55.3155 -echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.5.3156 -Usually this means the macro was only invoked conditionally." >&2;}5.3157 - { (exit 1); exit 1; }; }5.3158 -fi5.3159 if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then5.3160 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepOBJC\" was never defined.5.3161 Usually this means the macro was only invoked conditionally." >&55.3162 @@ -15493,6 +16150,7 @@5.3163 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;5.3164 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;5.3165 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;5.3166 + "src/tools/Makefile") CONFIG_FILES="$CONFIG_FILES src/tools/Makefile" ;;5.3167 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;5.3168 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;5.3169 "Info.plist") CONFIG_FILES="$CONFIG_FILES Info.plist" ;;5.3170 @@ -15619,6 +16277,14 @@5.3171 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim5.3172 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim5.3173 MAINT!$MAINT$ac_delim5.3174 +build!$build$ac_delim5.3175 +build_cpu!$build_cpu$ac_delim5.3176 +build_vendor!$build_vendor$ac_delim5.3177 +build_os!$build_os$ac_delim5.3178 +host!$host$ac_delim5.3179 +host_cpu!$host_cpu$ac_delim5.3180 +host_vendor!$host_vendor$ac_delim5.3181 +host_os!$host_os$ac_delim5.3182 CC!$CC$ac_delim5.3183 CFLAGS!$CFLAGS$ac_delim5.3184 LDFLAGS!$LDFLAGS$ac_delim5.3185 @@ -15636,14 +16302,6 @@5.3186 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim5.3187 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim5.3188 CPP!$CPP$ac_delim5.3189 -build!$build$ac_delim5.3190 -build_cpu!$build_cpu$ac_delim5.3191 -build_vendor!$build_vendor$ac_delim5.3192 -build_os!$build_os$ac_delim5.3193 -host!$host$ac_delim5.3194 -host_cpu!$host_cpu$ac_delim5.3195 -host_vendor!$host_vendor$ac_delim5.3196 -host_os!$host_os$ac_delim5.3197 CC!$CC$ac_delim5.3198 CFLAGS!$CFLAGS$ac_delim5.3199 CPPFLAGS!$CPPFLAGS$ac_delim5.3200 @@ -15729,6 +16387,8 @@5.3201 GLIB_LIBS!$GLIB_LIBS$ac_delim5.3202 GTK_CFLAGS!$GTK_CFLAGS$ac_delim5.3203 GTK_LIBS!$GTK_LIBS$ac_delim5.3204 +GLIB_FOR_BUILD_CFLAGS!$GLIB_FOR_BUILD_CFLAGS$ac_delim5.3205 +GLIB_FOR_BUILD_LIBS!$GLIB_FOR_BUILD_LIBS$ac_delim5.3206 GUI_GTK_TRUE!$GUI_GTK_TRUE$ac_delim5.3207 GUI_GTK_FALSE!$GUI_GTK_FALSE$ac_delim5.3208 LIBISOFS_CFLAGS!$LIBISOFS_CFLAGS$ac_delim5.3209 @@ -15791,8 +16451,6 @@5.3210 CATALOGS!$CATALOGS$ac_delim5.3211 CATOBJEXT!$CATOBJEXT$ac_delim5.3212 DATADIRNAME!$DATADIRNAME$ac_delim5.3213 -GMOFILES!$GMOFILES$ac_delim5.3214 -INSTOBJEXT!$INSTOBJEXT$ac_delim5.3215 _ACEOF5.3217 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then5.3218 @@ -15834,6 +16492,8 @@5.3219 ac_delim='%!_!# '5.3220 for ac_last_try in false false false false false :; do5.3221 cat >conf$$subs.sed <<_ACEOF5.3222 +GMOFILES!$GMOFILES$ac_delim5.3223 +INSTOBJEXT!$INSTOBJEXT$ac_delim5.3224 INTLLIBS!$INTLLIBS$ac_delim5.3225 PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim5.3226 PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim5.3227 @@ -15844,7 +16504,7 @@5.3228 LTLIBOBJS!$LTLIBOBJS$ac_delim5.3229 _ACEOF5.3231 - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 8; then5.3232 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 10; then5.3233 break5.3234 elif $ac_last_try; then5.3235 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6.1 --- a/configure.in Tue Feb 07 14:27:13 2012 +10006.2 +++ b/configure.in Fri Feb 10 19:26:10 2012 +10006.3 @@ -5,17 +5,20 @@6.4 AM_MAINTAINER_MODE6.5 AM_CONFIG_HEADER(config.h)6.7 +AC_CANONICAL_BUILD6.8 +AC_CANONICAL_HOST6.9 +6.10 +m4_include([m4/ccforbuild.m4])6.11 +6.12 AC_ISC_POSIX6.13 AC_PROG_CC6.14 +AM_PROG_CC_STDC6.15 AC_PROG_CC_FOR_BUILD6.16 -AM_PROG_CC_STDC6.17 AC_PROG_OBJC6.18 AC_PROG_SED6.19 AM_PROG_AS6.20 AC_CHECK_SIZEOF([void *])6.21 AC_HEADER_STDC6.22 -AC_CANONICAL_BUILD6.23 -AC_CANONICAL_HOST6.25 _AM_DEPENDENCIES([OBJC])6.27 @@ -102,6 +105,7 @@6.28 fi6.30 dnl ------------------ C Compiler flags -----------------------6.31 +CFLAGS_FOR_BUILD="-O2 -std=c99"6.32 CFLAGS="-g -fexceptions"6.33 OBJCFLAGS="-g -fexceptions"6.34 AC_DEFINE(HAVE_EXCEPTIONS, [1], [Have exception stack-frame information])6.35 @@ -228,6 +232,10 @@6.36 fi6.37 fi6.39 +AC_PUSH_CC_FOR_BUILD6.40 +PKG_CHECK_MODULES(GLIB_FOR_BUILD, glib-2.0)6.41 +AC_POP_CC_FOR_BUILD6.42 +6.43 AM_CONDITIONAL(GUI_GTK, [test "$HAVE_GTK" = 'yes'])6.45 PKG_CHECK_MODULES(LIBISOFS, [libisofs-1] )6.46 @@ -291,6 +299,11 @@6.47 AC_CHECK_FUNC(glCreateShader, [ AC_DEFINE([HAVE_OPENGL_SHADER],1,[Have 2.0 shader support]) ], [])6.48 AC_CHECK_FUNC(glCreateShaderObjectARB, [ AC_DEFINE([HAVE_OPENGL_SHADER_ARB],1,[Have ARB shader support]) ], [])6.49 AC_CHECK_FUNC(glClampColorARB, [ AC_DEFINE([HAVE_OPENGL_CLAMP_COLOR],1,[Have Color Clamp]) ], [])6.50 +AC_CHECK_FUNC(glClearDepthf, [ AC_DEFINE([HAVE_OPENGL_CLEAR_DEPTHF],1,[Have glClearDepthf function]) ], [])6.51 +AC_CHECK_FUNC(glAreTexturesResident, [ AC_DEFINE([HAVE_OPENGL_TEX_RESIDENT],1,[Have glAreTexturesResident]) ], [])6.52 +AC_CHECK_FUNC(glTexEnvi, [ AC_DEFINE([HAVE_OPENGL_FIXEDFUNC],1,[Have OpenGL fixed-functionality]) ], [])dnl glTexEnvi is a pretty fair proxy for this.6.53 +6.54 +6.57 dnl ------------------- SH4 translator target -------------------6.58 @@ -443,6 +456,7 @@6.59 AC_OUTPUT([6.60 Makefile6.61 src/Makefile6.62 +src/tools/Makefile6.63 po/Makefile.in6.64 test/Makefile6.65 Info.plist
7.1 --- /dev/null Thu Jan 01 00:00:00 1970 +00007.2 +++ b/m4/ccforbuild.m4 Fri Feb 10 19:26:10 2012 +10007.3 @@ -0,0 +1,107 @@7.4 +AC_DEFUN([AC_PUSH_CC_FOR_BUILD], [dnl7.5 +pushdef([ac_cv_prog_CPP], ac_cv_build_prog_CPP)dnl7.6 +pushdef([ac_cv_prog_gcc], ac_cv_build_prog_gcc)dnl7.7 +pushdef([ac_cv_prog_cc_works], ac_cv_build_prog_cc_works)dnl7.8 +pushdef([ac_cv_prog_cc_cross], ac_cv_build_prog_cc_cross)dnl7.9 +pushdef([ac_cv_prog_cc_g], ac_cv_build_prog_cc_g)dnl7.10 +pushdef([ac_cv_prog_cc_stdc], ac_cv_build_prog_cc_stdc)dnl7.11 +pushdef([ac_cv_prog_cc_c99], ac_cv_build_prog_cc_stdc)dnl7.12 +pushdef([ac_cv_prog_cc_c89], ac_cv_build_prog_cc_stdc)dnl7.13 +dnl pushdef([ac_cv_c_compiler_gnu], ac_cv_build_c_compiler_gnu)dnl7.14 +pushdef([ac_cv_exeext], ac_cv_build_exeext)dnl7.15 +pushdef([ac_cv_objext], ac_cv_build_objext)dnl7.16 +pushdef([ac_exeext], ac_build_exeext)dnl7.17 +pushdef([ac_objext], ac_build_objext)dnl7.18 +pushdef([CC], CC_FOR_BUILD)dnl7.19 +pushdef([CPP], CPP_FOR_BUILD)dnl7.20 +pushdef([CFLAGS], CFLAGS_FOR_BUILD)dnl7.21 +pushdef([CPPFLAGS], CPPFLAGS_FOR_BUILD)dnl7.22 +pushdef([host], build)dnl7.23 +pushdef([host_alias], build_alias)dnl7.24 +pushdef([host_cpu], build_cpu)dnl7.25 +pushdef([host_vendor], build_vendor)dnl7.26 +pushdef([host_os], build_os)dnl7.27 +pushdef([ac_compiler_gnu], ac_build_compiler_gnu)dnl7.28 +pushdef([ac_tool_prefix], ac_build_tool_prefix)dnl7.29 +pushdef([ac_cv_host], ac_cv_build)dnl7.30 +pushdef([ac_cv_host_alias], ac_cv_build_alias)dnl7.31 +pushdef([ac_cv_host_cpu], ac_cv_build_cpu)dnl7.32 +pushdef([ac_cv_host_vendor], ac_cv_build_vendor)dnl7.33 +pushdef([ac_cv_host_os], ac_cv_build_os)dnl7.34 +pushdef([ac_cpp], ac_build_cpp)dnl7.35 +pushdef([ac_compile], ac_build_compile)dnl7.36 +pushdef([ac_link], ac_build_link)dnl7.37 +])7.38 +7.39 +AC_DEFUN([AC_POP_CC_FOR_BUILD], [dnl7.40 +popdef([ac_link])dnl7.41 +popdef([ac_compile])dnl7.42 +popdef([ac_cpp])dnl7.43 +popdef([ac_cv_host_os])dnl7.44 +popdef([ac_cv_host_vendor])dnl7.45 +popdef([ac_cv_host_cpu])dnl7.46 +popdef([ac_cv_host_alias])dnl7.47 +popdef([ac_cv_host])dnl7.48 +popdef([ac_tool_prefix])dnl7.49 +popdef([ac_compiler_gnu])dnl7.50 +popdef([host_os])dnl7.51 +popdef([host_vendor])dnl7.52 +popdef([host_cpu])dnl7.53 +popdef([host_alias])dnl7.54 +popdef([host])dnl7.55 +popdef([CPPFLAGS])dnl7.56 +popdef([CFLAGS])dnl7.57 +popdef([CPP])dnl7.58 +popdef([CC])dnl7.59 +popdef([ac_objext])dnl7.60 +popdef([ac_exeext])dnl7.61 +popdef([ac_cv_objext])dnl7.62 +popdef([ac_cv_exeext])dnl7.63 +dnl popdef([ac_cv_c_compiler_gnu])dnl7.64 +popdef([ac_cv_prog_cc_c89])dnl7.65 +popdef([ac_cv_prog_cc_c99])dnl7.66 +popdef([ac_cv_prog_cc_stdc])dnl7.67 +popdef([ac_cv_prog_cc_g])dnl7.68 +popdef([ac_cv_prog_cc_works])dnl7.69 +popdef([ac_cv_prog_cc_cross])dnl7.70 +popdef([ac_cv_prog_gcc])dnl7.71 +popdef([ac_cv_prog_CPP])dnl7.72 +])7.73 +7.74 +7.75 +AC_DEFUN([AC_PROG_CC_FOR_BUILD], [dnl7.76 +AC_REQUIRE([AC_PROG_CC])dnl7.77 +AC_REQUIRE([AC_PROG_CPP])dnl7.78 +AC_REQUIRE([AC_EXEEXT])dnl7.79 +AC_REQUIRE([AC_CANONICAL_HOST])dnl7.80 +dnl7.81 +ac_main_cc="$CC"7.82 +test -n "$build_alias" && ac_build_tool_prefix=$build_alias-7.83 +7.84 +pushdef([cross_compiling], [#])dnl7.85 +dnl If main compiler works and CC_FOR_BUILD is unset, use the main compiler7.86 +if test -z "$CC_FOR_BUILD"; then7.87 + AC_RUN_IFELSE([int main(){return 0;}], [CC_FOR_BUILD="$CC"], [],[])7.88 +fi7.89 +dnl Use the standard macros, but make them use other variable names7.90 +dnl7.91 +AC_PUSH_CC_FOR_BUILD7.92 +7.93 +AC_PROG_CC7.94 +AC_PROG_CC_STDC7.95 +AC_PROG_CPP7.96 +AC_EXEEXT7.97 +7.98 +dnl Restore the old definitions7.99 +dnl7.100 +AC_POP_CC_FOR_BUILD7.101 +popdef([cross_compiling])dnl7.102 +dnl Finally, set Makefile variables7.103 +dnl7.104 +BUILD_EXEEXT=$ac_build_exeext7.105 +BUILD_OBJEXT=$ac_build_objext7.106 +AC_SUBST(BUILD_EXEEXT)dnl7.107 +AC_SUBST(BUILD_OBJEXT)dnl7.108 +AC_SUBST([CFLAGS_FOR_BUILD])dnl7.109 +AC_SUBST([CPPFLAGS_FOR_BUILD])dnl7.110 +])
8.1 --- a/src/Makefile.am Tue Feb 07 14:27:13 2012 +10008.2 +++ b/src/Makefile.am Fri Feb 10 19:26:10 2012 +10008.3 @@ -1,4 +1,7 @@8.4 ## Process this file with automake to produce Makefile.in8.5 +8.6 +SUBDIRS=tools8.7 +8.8 SVNVERSION=@SVNVERSION@8.9 INCLUDES = \8.10 -DPACKAGE_DATA_DIR=\""$(datadir)"\" \8.11 @@ -12,7 +15,6 @@8.12 PLUGINCFLAGS = @PLUGINCFLAGS@8.13 PLUGINLDFLAGS = @PLUGINLDFLAGS@8.14 bin_PROGRAMS = lxdream8.15 -noinst_PROGRAMS = gendec genglsl genmach8.16 check_PROGRAMS = test/testxlt test/testlxpaths8.18 pkglib_PROGRAMS=8.19 @@ -35,9 +37,6 @@8.21 #all-am: checkversion8.23 -gendec_SOURCES = tools/gendec.c tools/gendec.h tools/insparse.c tools/actparse.c8.24 -genmach_SOURCES = tools/genmach.c tools/genmach.h tools/mdparse.c8.25 -genglsl_SOURCES = tools/genglsl.c8.26 lxdream_LINK = $(LINK) @LXDREAMLDFLAGS@8.27 lxdream_LDADD = @LXDREAM_LIBS@ @GLIB_LIBS@ @GTK_LIBS@ @LIBPNG_LIBS@ @LIBISOFS_LIBS@ $(INTLLIBS)8.28 lxdream_SOURCES = \8.29 @@ -233,31 +232,32 @@8.30 endif8.33 -8.34 -gendec_LDADD = @GLIB_LIBS@ @GTK_LIBS@ $(INTLLIBS)8.35 -genglsl_LDADD = @GLIB_LIBS@ @GTK_LIBS@ $(INTLLIBS)8.36 -genmach_LDADD = @GLIB_LIBS@ @GTK_LIBS@ $(INTLLIBS)8.37 -8.38 -8.39 test_testxlt_SOURCES = test/testxlt.c xlat/xltcache.c xlat/xltcache.h8.40 test_testlxpaths_SOURCES = test/testlxpaths.c lxpaths.c8.41 test_testlxpaths_LDADD = @GLIB_LIBS@8.43 -sh4/sh4core.c: gendec$(EXEEXT) sh4/sh4.def sh4/sh4core.in8.44 +GENDEC = tools/gendec$(EXEEXT)8.45 +GENGLSL = tools/genglsl$(EXEEXT)8.46 +GENMACH = totols/genmach$(EXEEXT)8.47 +8.48 +$(GENDEC) $(GENGLSL) $(GENMACH):8.49 + $(MAKE) $(AM_MAKEFLAGS) -C tools8.50 +8.51 +sh4/sh4core.c: $(GENDEC) sh4/sh4.def sh4/sh4core.in8.52 $(mkdir_p) `dirname $@`8.53 - ./gendec $(srcdir)/sh4/sh4.def $(srcdir)/sh4/sh4core.in -o $@8.54 -sh4/sh4dasm.c: gendec$(EXEEXT) sh4/sh4.def sh4/sh4dasm.in8.55 + $(GENDEC) $(srcdir)/sh4/sh4.def $(srcdir)/sh4/sh4core.in -o $@8.56 +sh4/sh4dasm.c: $(GENDEC) sh4/sh4.def sh4/sh4dasm.in8.57 $(mkdir_p) `dirname $@`8.58 - ./gendec $(srcdir)/sh4/sh4.def $(srcdir)/sh4/sh4dasm.in -o $@8.59 -sh4/sh4x86.c: gendec$(EXEEXT) sh4/sh4.def sh4/sh4x86.in8.60 + $(GENDEC) $(srcdir)/sh4/sh4.def $(srcdir)/sh4/sh4dasm.in -o $@8.61 +sh4/sh4x86.c: $(GENDEC) sh4/sh4.def sh4/sh4x86.in8.62 $(mkdir_p) `dirname $@`8.63 - ./gendec $(srcdir)/sh4/sh4.def $(srcdir)/sh4/sh4x86.in -o $@8.64 -sh4/sh4stat.c: gendec$(EXEEXT) sh4/sh4.def sh4/sh4stat.in8.65 + $(GENDEC) $(srcdir)/sh4/sh4.def $(srcdir)/sh4/sh4x86.in -o $@8.66 +sh4/sh4stat.c: $(GENDEC) sh4/sh4.def sh4/sh4stat.in8.67 $(mkdir_p) `dirname $@`8.68 - ./gendec $(srcdir)/sh4/sh4.def $(srcdir)/sh4/sh4stat.in -o $@8.69 -pvr2/shaders.def: genglsl$(EXEEXT) pvr2/shaders.glsl8.70 + $(GENDEC) $(srcdir)/sh4/sh4.def $(srcdir)/sh4/sh4stat.in -o $@8.71 +pvr2/shaders.def: $(GENGLSL) pvr2/shaders.glsl8.72 $(mkdir_p) `dirname $@`8.73 - ./genglsl $(srcdir)/pvr2/shaders.glsl $@8.74 + $(GENGLSL) $(srcdir)/pvr2/shaders.glsl $@8.75 pvr2/shaders.h: pvr2/shaders.def8.76 drivers/mac_keymap.h: dckeysyms.h drivers/mac_keymap.txt drivers/genkeymap.pl8.77 $(mkdir_p) `dirname $@`
9.1 --- a/src/Makefile.in Tue Feb 07 14:27:13 2012 +10009.2 +++ b/src/Makefile.in Fri Feb 10 19:26:10 2012 +10009.3 @@ -37,7 +37,6 @@9.4 build_triplet = @build@9.5 host_triplet = @host@9.6 bin_PROGRAMS = lxdream$(EXEEXT)9.7 -noinst_PROGRAMS = gendec$(EXEEXT) genglsl$(EXEEXT) genmach$(EXEEXT)9.8 check_PROGRAMS = test/testxlt$(EXEEXT) test/testlxpaths$(EXEEXT) \9.9 $(am__EXEEXT_1)9.10 pkglib_PROGRAMS = $(am__EXEEXT_2) $(am__EXEEXT_3) $(am__EXEEXT_4) \9.11 @@ -93,7 +92,7 @@9.12 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in9.13 ACLOCAL_M4 = $(top_srcdir)/aclocal.m49.14 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \9.15 - $(top_srcdir)/configure.in9.16 + $(top_srcdir)/m4/ccforbuild.m4 $(top_srcdir)/configure.in9.17 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \9.18 $(ACLOCAL_M4)9.19 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs9.20 @@ -110,7 +109,7 @@9.21 @AUDIO_ALSA_TRUE@@BUILD_SHARED_TRUE@am__EXEEXT_6 = audio_alsa.@SOEXT@$(EXEEXT)9.22 @BUILD_SHARED_TRUE@@INPUT_LIRC_TRUE@am__EXEEXT_7 = input_lirc.@SOEXT@$(EXEEXT)9.23 pkglibPROGRAMS_INSTALL = $(INSTALL_PROGRAM)9.24 -PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS) $(pkglib_PROGRAMS)9.25 +PROGRAMS = $(bin_PROGRAMS) $(pkglib_PROGRAMS)9.26 am_audio_alsa_@SOEXT@_OBJECTS =9.27 audio_alsa_@SOEXT@_OBJECTS = $(am_audio_alsa_@SOEXT@_OBJECTS)9.28 @AUDIO_ALSA_TRUE@@BUILD_SHARED_TRUE@audio_alsa_@SOEXT@_DEPENDENCIES = \9.29 @@ -127,17 +126,6 @@9.30 audio_sdl_@SOEXT@_OBJECTS = $(am_audio_sdl_@SOEXT@_OBJECTS)9.31 @AUDIO_SDL_TRUE@@BUILD_SHARED_TRUE@audio_sdl_@SOEXT@_DEPENDENCIES = \9.32 @AUDIO_SDL_TRUE@@BUILD_SHARED_TRUE@ audio_sdl.lo9.33 -am_gendec_OBJECTS = gendec.$(OBJEXT) insparse.$(OBJEXT) \9.34 - actparse.$(OBJEXT)9.35 -gendec_OBJECTS = $(am_gendec_OBJECTS)9.36 -am__DEPENDENCIES_1 =9.37 -gendec_DEPENDENCIES = $(am__DEPENDENCIES_1)9.38 -am_genglsl_OBJECTS = genglsl.$(OBJEXT)9.39 -genglsl_OBJECTS = $(am_genglsl_OBJECTS)9.40 -genglsl_DEPENDENCIES = $(am__DEPENDENCIES_1)9.41 -am_genmach_OBJECTS = genmach.$(OBJEXT) mdparse.$(OBJEXT)9.42 -genmach_OBJECTS = $(am_genmach_OBJECTS)9.43 -genmach_DEPENDENCIES = $(am__DEPENDENCIES_1)9.44 am_input_lirc_@SOEXT@_OBJECTS =9.45 input_lirc_@SOEXT@_OBJECTS = $(am_input_lirc_@SOEXT@_OBJECTS)9.46 @BUILD_SHARED_TRUE@@INPUT_LIRC_TRUE@input_lirc_@SOEXT@_DEPENDENCIES = \9.47 @@ -291,6 +279,7 @@9.48 $(am__objects_13) $(am__objects_14) $(am__objects_15) \9.49 $(am__objects_16) $(am__objects_17) $(am__objects_18)9.50 lxdream_OBJECTS = $(am_lxdream_OBJECTS)9.51 +am__DEPENDENCIES_1 =9.52 lxdream_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \9.53 $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \9.54 $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)9.55 @@ -338,19 +327,24 @@9.56 $(LDFLAGS) -o $@9.57 SOURCES = $(audio_alsa_@SOEXT@_SOURCES) $(audio_esd_@SOEXT@_SOURCES) \9.58 $(audio_pulse_@SOEXT@_SOURCES) $(audio_sdl_@SOEXT@_SOURCES) \9.59 - $(gendec_SOURCES) $(genglsl_SOURCES) $(genmach_SOURCES) \9.60 $(input_lirc_@SOEXT@_SOURCES) $(lxdream_SOURCES) \9.61 $(lxdream_dummy_@SOEXT@_SOURCES) $(test_testlxpaths_SOURCES) \9.62 $(test_testsh4x86_SOURCES) $(test_testxlt_SOURCES)9.63 DIST_SOURCES = $(audio_alsa_@SOEXT@_SOURCES) \9.64 $(audio_esd_@SOEXT@_SOURCES) $(audio_pulse_@SOEXT@_SOURCES) \9.65 - $(audio_sdl_@SOEXT@_SOURCES) $(gendec_SOURCES) \9.66 - $(genglsl_SOURCES) $(genmach_SOURCES) \9.67 - $(input_lirc_@SOEXT@_SOURCES) $(am__lxdream_SOURCES_DIST) \9.68 - $(lxdream_dummy_@SOEXT@_SOURCES) $(test_testlxpaths_SOURCES) \9.69 + $(audio_sdl_@SOEXT@_SOURCES) $(input_lirc_@SOEXT@_SOURCES) \9.70 + $(am__lxdream_SOURCES_DIST) $(lxdream_dummy_@SOEXT@_SOURCES) \9.71 + $(test_testlxpaths_SOURCES) \9.72 $(am__test_testsh4x86_SOURCES_DIST) $(test_testxlt_SOURCES)9.73 +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \9.74 + html-recursive info-recursive install-data-recursive \9.75 + install-exec-recursive install-info-recursive \9.76 + install-recursive installcheck-recursive installdirs-recursive \9.77 + pdf-recursive ps-recursive uninstall-info-recursive \9.78 + uninstall-recursive9.79 ETAGS = etags9.80 CTAGS = ctags9.81 +DIST_SUBDIRS = $(SUBDIRS)9.82 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)9.83 ACLOCAL = @ACLOCAL@9.84 ALSA_CFLAGS = @ALSA_CFLAGS@9.85 @@ -418,6 +412,8 @@9.86 EXEEXT = @EXEEXT@9.87 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@9.88 GLIB_CFLAGS = @GLIB_CFLAGS@9.89 +GLIB_FOR_BUILD_CFLAGS = @GLIB_FOR_BUILD_CFLAGS@9.90 +GLIB_FOR_BUILD_LIBS = @GLIB_FOR_BUILD_LIBS@9.91 GLIB_LIBS = @GLIB_LIBS@9.92 GMOFILES = @GMOFILES@9.93 GMSGFMT = @GMSGFMT@9.94 @@ -548,6 +544,7 @@9.95 sharedstatedir = @sharedstatedir@9.96 sysconfdir = @sysconfdir@9.97 target_alias = @target_alias@9.98 +SUBDIRS = tools9.99 SVNVERSION = @SVNVERSION@9.100 INCLUDES = \9.101 -DPACKAGE_DATA_DIR=\""$(datadir)"\" \9.102 @@ -570,9 +567,6 @@9.105 #all-am: checkversion9.106 -gendec_SOURCES = tools/gendec.c tools/gendec.h tools/insparse.c tools/actparse.c9.107 -genmach_SOURCES = tools/genmach.c tools/genmach.h tools/mdparse.c9.108 -genglsl_SOURCES = tools/genglsl.c9.109 lxdream_LINK = $(LINK) @LXDREAMLDFLAGS@9.110 lxdream_LDADD = @LXDREAM_LIBS@ @GLIB_LIBS@ @GTK_LIBS@ @LIBPNG_LIBS@ \9.111 @LIBISOFS_LIBS@ $(INTLLIBS) $(am__append_18) $(am__append_20) \9.112 @@ -647,14 +641,14 @@9.113 @BUILD_SHARED_TRUE@@INPUT_LIRC_TRUE@input_lirc_@SOEXT@_SOURCES =9.114 @BUILD_SHARED_TRUE@@INPUT_LIRC_TRUE@input_lirc_@SOEXT@_LDADD = input_lirc.lo -llirc_client9.115 @BUILD_SHARED_TRUE@@INPUT_LIRC_TRUE@input_lirc_@SOEXT@_LDFLAGS = $(PLUGINLDFLAGS)9.116 -gendec_LDADD = @GLIB_LIBS@ @GTK_LIBS@ $(INTLLIBS)9.117 -genglsl_LDADD = @GLIB_LIBS@ @GTK_LIBS@ $(INTLLIBS)9.118 -genmach_LDADD = @GLIB_LIBS@ @GTK_LIBS@ $(INTLLIBS)9.119 test_testxlt_SOURCES = test/testxlt.c xlat/xltcache.c xlat/xltcache.h9.120 test_testlxpaths_SOURCES = test/testlxpaths.c lxpaths.c9.121 test_testlxpaths_LDADD = @GLIB_LIBS@9.122 +GENDEC = tools/gendec$(EXEEXT)9.123 +GENGLSL = tools/genglsl$(EXEEXT)9.124 +GENMACH = totols/genmach$(EXEEXT)9.125 all: $(BUILT_SOURCES)9.126 - $(MAKE) $(AM_MAKEFLAGS) all-am9.127 + $(MAKE) $(AM_MAKEFLAGS) all-recursive9.129 .SUFFIXES:9.130 .SUFFIXES: .c .m .o .obj9.131 @@ -713,9 +707,6 @@9.133 clean-checkPROGRAMS:9.134 -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)9.135 -9.136 -clean-noinstPROGRAMS:9.137 - -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)9.138 install-pkglibPROGRAMS: $(pkglib_PROGRAMS)9.139 @$(NORMAL_INSTALL)9.140 test -z "$(pkglibdir)" || $(mkdir_p) "$(DESTDIR)$(pkglibdir)"9.141 @@ -751,15 +742,6 @@9.142 audio_sdl.@SOEXT@$(EXEEXT): $(audio_sdl_@SOEXT@_OBJECTS) $(audio_sdl_@SOEXT@_DEPENDENCIES)9.143 @rm -f audio_sdl.@SOEXT@$(EXEEXT)9.144 $(LINK) $(audio_sdl_@SOEXT@_LDFLAGS) $(audio_sdl_@SOEXT@_OBJECTS) $(audio_sdl_@SOEXT@_LDADD) $(LIBS)9.145 -gendec$(EXEEXT): $(gendec_OBJECTS) $(gendec_DEPENDENCIES)9.146 - @rm -f gendec$(EXEEXT)9.147 - $(LINK) $(gendec_LDFLAGS) $(gendec_OBJECTS) $(gendec_LDADD) $(LIBS)9.148 -genglsl$(EXEEXT): $(genglsl_OBJECTS) $(genglsl_DEPENDENCIES)9.149 - @rm -f genglsl$(EXEEXT)9.150 - $(LINK) $(genglsl_LDFLAGS) $(genglsl_OBJECTS) $(genglsl_LDADD) $(LIBS)9.151 -genmach$(EXEEXT): $(genmach_OBJECTS) $(genmach_DEPENDENCIES)9.152 - @rm -f genmach$(EXEEXT)9.153 - $(LINK) $(genmach_LDFLAGS) $(genmach_OBJECTS) $(genmach_LDADD) $(LIBS)9.154 input_lirc.@SOEXT@$(EXEEXT): $(input_lirc_@SOEXT@_OBJECTS) $(input_lirc_@SOEXT@_DEPENDENCIES)9.155 @rm -f input_lirc.@SOEXT@$(EXEEXT)9.156 $(LINK) $(input_lirc_@SOEXT@_LDFLAGS) $(input_lirc_@SOEXT@_OBJECTS) $(input_lirc_@SOEXT@_LDADD) $(LIBS)9.157 @@ -788,11 +770,6 @@9.158 distclean-compile:9.159 -rm -f *.tab.c9.161 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/actparse.Po@am__quote@9.162 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gendec.Po@am__quote@9.163 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/genglsl.Po@am__quote@9.164 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/genmach.Po@am__quote@9.165 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/insparse.Po@am__quote@9.166 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lxdream-aica.Po@am__quote@9.167 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lxdream-armcore.Po@am__quote@9.168 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lxdream-armdasm.Po@am__quote@9.169 @@ -916,7 +893,6 @@9.170 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lxdream-xltcache.Po@am__quote@9.171 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lxdream-yuv.Po@am__quote@9.172 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lxpaths.Po@am__quote@9.173 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mdparse.Po@am__quote@9.174 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_testsh4x86-cpu.Po@am__quote@9.175 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_testsh4x86-dis-buf.Po@am__quote@9.176 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_testsh4x86-dis-init.Po@am__quote@9.177 @@ -947,90 +923,6 @@9.178 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@9.179 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`9.181 -gendec.o: tools/gendec.c9.182 -@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT gendec.o -MD -MP -MF "$(DEPDIR)/gendec.Tpo" -c -o gendec.o `test -f 'tools/gendec.c' || echo '$(srcdir)/'`tools/gendec.c; \9.183 -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/gendec.Tpo" "$(DEPDIR)/gendec.Po"; else rm -f "$(DEPDIR)/gendec.Tpo"; exit 1; fi9.184 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tools/gendec.c' object='gendec.o' libtool=no @AMDEPBACKSLASH@9.185 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@9.186 -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o gendec.o `test -f 'tools/gendec.c' || echo '$(srcdir)/'`tools/gendec.c9.187 -9.188 -gendec.obj: tools/gendec.c9.189 -@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT gendec.obj -MD -MP -MF "$(DEPDIR)/gendec.Tpo" -c -o gendec.obj `if test -f 'tools/gendec.c'; then $(CYGPATH_W) 'tools/gendec.c'; else $(CYGPATH_W) '$(srcdir)/tools/gendec.c'; fi`; \9.190 -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/gendec.Tpo" "$(DEPDIR)/gendec.Po"; else rm -f "$(DEPDIR)/gendec.Tpo"; exit 1; fi9.191 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tools/gendec.c' object='gendec.obj' libtool=no @AMDEPBACKSLASH@9.192 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@9.193 -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o gendec.obj `if test -f 'tools/gendec.c'; then $(CYGPATH_W) 'tools/gendec.c'; else $(CYGPATH_W) '$(srcdir)/tools/gendec.c'; fi`9.194 -9.195 -insparse.o: tools/insparse.c9.196 -@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT insparse.o -MD -MP -MF "$(DEPDIR)/insparse.Tpo" -c -o insparse.o `test -f 'tools/insparse.c' || echo '$(srcdir)/'`tools/insparse.c; \9.197 -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/insparse.Tpo" "$(DEPDIR)/insparse.Po"; else rm -f "$(DEPDIR)/insparse.Tpo"; exit 1; fi9.198 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tools/insparse.c' object='insparse.o' libtool=no @AMDEPBACKSLASH@9.199 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@9.200 -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o insparse.o `test -f 'tools/insparse.c' || echo '$(srcdir)/'`tools/insparse.c9.201 -9.202 -insparse.obj: tools/insparse.c9.203 -@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT insparse.obj -MD -MP -MF "$(DEPDIR)/insparse.Tpo" -c -o insparse.obj `if test -f 'tools/insparse.c'; then $(CYGPATH_W) 'tools/insparse.c'; else $(CYGPATH_W) '$(srcdir)/tools/insparse.c'; fi`; \9.204 -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/insparse.Tpo" "$(DEPDIR)/insparse.Po"; else rm -f "$(DEPDIR)/insparse.Tpo"; exit 1; fi9.205 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tools/insparse.c' object='insparse.obj' libtool=no @AMDEPBACKSLASH@9.206 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@9.207 -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o insparse.obj `if test -f 'tools/insparse.c'; then $(CYGPATH_W) 'tools/insparse.c'; else $(CYGPATH_W) '$(srcdir)/tools/insparse.c'; fi`9.208 -9.209 -actparse.o: tools/actparse.c9.210 -@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT actparse.o -MD -MP -MF "$(DEPDIR)/actparse.Tpo" -c -o actparse.o `test -f 'tools/actparse.c' || echo '$(srcdir)/'`tools/actparse.c; \9.211 -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/actparse.Tpo" "$(DEPDIR)/actparse.Po"; else rm -f "$(DEPDIR)/actparse.Tpo"; exit 1; fi9.212 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tools/actparse.c' object='actparse.o' libtool=no @AMDEPBACKSLASH@9.213 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@9.214 -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o actparse.o `test -f 'tools/actparse.c' || echo '$(srcdir)/'`tools/actparse.c9.215 -9.216 -actparse.obj: tools/actparse.c9.217 -@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT actparse.obj -MD -MP -MF "$(DEPDIR)/actparse.Tpo" -c -o actparse.obj `if test -f 'tools/actparse.c'; then $(CYGPATH_W) 'tools/actparse.c'; else $(CYGPATH_W) '$(srcdir)/tools/actparse.c'; fi`; \9.218 -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/actparse.Tpo" "$(DEPDIR)/actparse.Po"; else rm -f "$(DEPDIR)/actparse.Tpo"; exit 1; fi9.219 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tools/actparse.c' object='actparse.obj' libtool=no @AMDEPBACKSLASH@9.220 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@9.221 -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o actparse.obj `if test -f 'tools/actparse.c'; then $(CYGPATH_W) 'tools/actparse.c'; else $(CYGPATH_W) '$(srcdir)/tools/actparse.c'; fi`9.222 -9.223 -genglsl.o: tools/genglsl.c9.224 -@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT genglsl.o -MD -MP -MF "$(DEPDIR)/genglsl.Tpo" -c -o genglsl.o `test -f 'tools/genglsl.c' || echo '$(srcdir)/'`tools/genglsl.c; \9.225 -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/genglsl.Tpo" "$(DEPDIR)/genglsl.Po"; else rm -f "$(DEPDIR)/genglsl.Tpo"; exit 1; fi9.226 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tools/genglsl.c' object='genglsl.o' libtool=no @AMDEPBACKSLASH@9.227 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@9.228 -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o genglsl.o `test -f 'tools/genglsl.c' || echo '$(srcdir)/'`tools/genglsl.c9.229 -9.230 -genglsl.obj: tools/genglsl.c9.231 -@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT genglsl.obj -MD -MP -MF "$(DEPDIR)/genglsl.Tpo" -c -o genglsl.obj `if test -f 'tools/genglsl.c'; then $(CYGPATH_W) 'tools/genglsl.c'; else $(CYGPATH_W) '$(srcdir)/tools/genglsl.c'; fi`; \9.232 -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/genglsl.Tpo" "$(DEPDIR)/genglsl.Po"; else rm -f "$(DEPDIR)/genglsl.Tpo"; exit 1; fi9.233 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tools/genglsl.c' object='genglsl.obj' libtool=no @AMDEPBACKSLASH@9.234 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@9.235 -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o genglsl.obj `if test -f 'tools/genglsl.c'; then $(CYGPATH_W) 'tools/genglsl.c'; else $(CYGPATH_W) '$(srcdir)/tools/genglsl.c'; fi`9.236 -9.237 -genmach.o: tools/genmach.c9.238 -@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT genmach.o -MD -MP -MF "$(DEPDIR)/genmach.Tpo" -c -o genmach.o `test -f 'tools/genmach.c' || echo '$(srcdir)/'`tools/genmach.c; \9.239 -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/genmach.Tpo" "$(DEPDIR)/genmach.Po"; else rm -f "$(DEPDIR)/genmach.Tpo"; exit 1; fi9.240 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tools/genmach.c' object='genmach.o' libtool=no @AMDEPBACKSLASH@9.241 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@9.242 -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o genmach.o `test -f 'tools/genmach.c' || echo '$(srcdir)/'`tools/genmach.c9.243 -9.244 -genmach.obj: tools/genmach.c9.245 -@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT genmach.obj -MD -MP -MF "$(DEPDIR)/genmach.Tpo" -c -o genmach.obj `if test -f 'tools/genmach.c'; then $(CYGPATH_W) 'tools/genmach.c'; else $(CYGPATH_W) '$(srcdir)/tools/genmach.c'; fi`; \9.246 -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/genmach.Tpo" "$(DEPDIR)/genmach.Po"; else rm -f "$(DEPDIR)/genmach.Tpo"; exit 1; fi9.247 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tools/genmach.c' object='genmach.obj' libtool=no @AMDEPBACKSLASH@9.248 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@9.249 -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o genmach.obj `if test -f 'tools/genmach.c'; then $(CYGPATH_W) 'tools/genmach.c'; else $(CYGPATH_W) '$(srcdir)/tools/genmach.c'; fi`9.250 -9.251 -mdparse.o: tools/mdparse.c9.252 -@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT mdparse.o -MD -MP -MF "$(DEPDIR)/mdparse.Tpo" -c -o mdparse.o `test -f 'tools/mdparse.c' || echo '$(srcdir)/'`tools/mdparse.c; \9.253 -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/mdparse.Tpo" "$(DEPDIR)/mdparse.Po"; else rm -f "$(DEPDIR)/mdparse.Tpo"; exit 1; fi9.254 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tools/mdparse.c' object='mdparse.o' libtool=no @AMDEPBACKSLASH@9.255 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@9.256 -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o mdparse.o `test -f 'tools/mdparse.c' || echo '$(srcdir)/'`tools/mdparse.c9.257 -9.258 -mdparse.obj: tools/mdparse.c9.259 -@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT mdparse.obj -MD -MP -MF "$(DEPDIR)/mdparse.Tpo" -c -o mdparse.obj `if test -f 'tools/mdparse.c'; then $(CYGPATH_W) 'tools/mdparse.c'; else $(CYGPATH_W) '$(srcdir)/tools/mdparse.c'; fi`; \9.260 -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/mdparse.Tpo" "$(DEPDIR)/mdparse.Po"; else rm -f "$(DEPDIR)/mdparse.Tpo"; exit 1; fi9.261 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tools/mdparse.c' object='mdparse.obj' libtool=no @AMDEPBACKSLASH@9.262 -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@9.263 -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o mdparse.obj `if test -f 'tools/mdparse.c'; then $(CYGPATH_W) 'tools/mdparse.c'; else $(CYGPATH_W) '$(srcdir)/tools/mdparse.c'; fi`9.264 -9.265 lxdream-main.o: main.c9.266 @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lxdream_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lxdream-main.o -MD -MP -MF "$(DEPDIR)/lxdream-main.Tpo" -c -o lxdream-main.o `test -f 'main.c' || echo '$(srcdir)/'`main.c; \9.267 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/lxdream-main.Tpo" "$(DEPDIR)/lxdream-main.Po"; else rm -f "$(DEPDIR)/lxdream-main.Tpo"; exit 1; fi9.268 @@ -2964,6 +2856,77 @@9.269 @am__fastdepOBJC_FALSE@ $(OBJC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lxdream_CPPFLAGS) $(CPPFLAGS) $(AM_OBJCFLAGS) $(OBJCFLAGS) -c -o lxdream-osx_iokit.obj `if test -f 'drivers/osx_iokit.m'; then $(CYGPATH_W) 'drivers/osx_iokit.m'; else $(CYGPATH_W) '$(srcdir)/drivers/osx_iokit.m'; fi`9.270 uninstall-info-am:9.272 +# This directory's subdirectories are mostly independent; you can cd9.273 +# into them and run `make' without going through this Makefile.9.274 +# To change the values of `make' variables: instead of editing Makefiles,9.275 +# (1) if the variable is set in `config.status', edit `config.status'9.276 +# (which will cause the Makefiles to be regenerated when you run `make');9.277 +# (2) otherwise, pass the desired values on the `make' command line.9.278 +$(RECURSIVE_TARGETS):9.279 + @failcom='exit 1'; \9.280 + for f in x $$MAKEFLAGS; do \9.281 + case $$f in \9.282 + *=* | --[!k]*);; \9.283 + *k*) failcom='fail=yes';; \9.284 + esac; \9.285 + done; \9.286 + dot_seen=no; \9.287 + target=`echo $@ | sed s/-recursive//`; \9.288 + list='$(SUBDIRS)'; for subdir in $$list; do \9.289 + echo "Making $$target in $$subdir"; \9.290 + if test "$$subdir" = "."; then \9.291 + dot_seen=yes; \9.292 + local_target="$$target-am"; \9.293 + else \9.294 + local_target="$$target"; \9.295 + fi; \9.296 + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \9.297 + || eval $$failcom; \9.298 + done; \9.299 + if test "$$dot_seen" = "no"; then \9.300 + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \9.301 + fi; test -z "$$fail"9.302 +9.303 +mostlyclean-recursive clean-recursive distclean-recursive \9.304 +maintainer-clean-recursive:9.305 + @failcom='exit 1'; \9.306 + for f in x $$MAKEFLAGS; do \9.307 + case $$f in \9.308 + *=* | --[!k]*);; \9.309 + *k*) failcom='fail=yes';; \9.310 + esac; \9.311 + done; \9.312 + dot_seen=no; \9.313 + case "$@" in \9.314 + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \9.315 + *) list='$(SUBDIRS)' ;; \9.316 + esac; \9.317 + rev=''; for subdir in $$list; do \9.318 + if test "$$subdir" = "."; then :; else \9.319 + rev="$$subdir $$rev"; \9.320 + fi; \9.321 + done; \9.322 + rev="$$rev ."; \9.323 + target=`echo $@ | sed s/-recursive//`; \9.324 + for subdir in $$rev; do \9.325 + echo "Making $$target in $$subdir"; \9.326 + if test "$$subdir" = "."; then \9.327 + local_target="$$target-am"; \9.328 + else \9.329 + local_target="$$target"; \9.330 + fi; \9.331 + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \9.332 + || eval $$failcom; \9.333 + done && test -z "$$fail"9.334 +tags-recursive:9.335 + list='$(SUBDIRS)'; for subdir in $$list; do \9.336 + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \9.337 + done9.338 +ctags-recursive:9.339 + list='$(SUBDIRS)'; for subdir in $$list; do \9.340 + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \9.341 + done9.342 +9.343 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)9.344 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \9.345 unique=`for i in $$list; do \9.346 @@ -2974,10 +2937,23 @@9.347 mkid -fID $$unique9.348 tags: TAGS9.350 -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \9.351 +TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \9.352 $(TAGS_FILES) $(LISP)9.353 tags=; \9.354 here=`pwd`; \9.355 + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \9.356 + include_option=--etags-include; \9.357 + empty_fix=.; \9.358 + else \9.359 + include_option=--include; \9.360 + empty_fix=; \9.361 + fi; \9.362 + list='$(SUBDIRS)'; for subdir in $$list; do \9.363 + if test "$$subdir" = .; then :; else \9.364 + test ! -f $$subdir/TAGS || \9.365 + tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \9.366 + fi; \9.367 + done; \9.368 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \9.369 unique=`for i in $$list; do \9.370 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \9.371 @@ -2990,7 +2966,7 @@9.372 $$tags $$unique; \9.373 fi9.374 ctags: CTAGS9.375 -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \9.376 +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \9.377 $(TAGS_FILES) $(LISP)9.378 tags=; \9.379 here=`pwd`; \9.380 @@ -3113,26 +3089,42 @@9.381 || exit 1; \9.382 fi; \9.383 done9.384 + list='$(DIST_SUBDIRS)'; for subdir in $$list; do \9.385 + if test "$$subdir" = .; then :; else \9.386 + test -d "$(distdir)/$$subdir" \9.387 + || $(mkdir_p) "$(distdir)/$$subdir" \9.388 + || exit 1; \9.389 + distdir=`$(am__cd) $(distdir) && pwd`; \9.390 + top_distdir=`$(am__cd) $(top_distdir) && pwd`; \9.391 + (cd $$subdir && \9.392 + $(MAKE) $(AM_MAKEFLAGS) \9.393 + top_distdir="$$top_distdir" \9.394 + distdir="$$distdir/$$subdir" \9.395 + distdir) \9.396 + || exit 1; \9.397 + fi; \9.398 + done9.399 check-am: all-am9.400 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)9.401 $(MAKE) $(AM_MAKEFLAGS) check-TESTS9.402 check: $(BUILT_SOURCES)9.403 - $(MAKE) $(AM_MAKEFLAGS) check-am9.404 + $(MAKE) $(AM_MAKEFLAGS) check-recursive9.405 all-am: Makefile $(PROGRAMS)9.406 -installdirs:9.407 +installdirs: installdirs-recursive9.408 +installdirs-am:9.409 for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkglibdir)"; do \9.410 test -z "$$dir" || $(mkdir_p) "$$dir"; \9.411 done9.412 install: $(BUILT_SOURCES)9.413 - $(MAKE) $(AM_MAKEFLAGS) install-am9.414 -install-exec: install-exec-am9.415 -install-data: install-data-am9.416 -uninstall: uninstall-am9.417 + $(MAKE) $(AM_MAKEFLAGS) install-recursive9.418 +install-exec: install-exec-recursive9.419 +install-data: install-data-recursive9.420 +uninstall: uninstall-recursive9.422 install-am: all-am9.423 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am9.425 -installcheck: installcheck-am9.426 +installcheck: installcheck-recursive9.427 install-strip:9.428 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \9.429 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \9.430 @@ -3151,24 +3143,24 @@9.431 @echo "This command is intended for maintainers to use"9.432 @echo "it deletes files that may require special tools to rebuild."9.433 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)9.434 -clean: clean-am9.435 +clean: clean-recursive9.437 clean-am: clean-binPROGRAMS clean-checkPROGRAMS clean-generic \9.438 - clean-noinstPROGRAMS clean-pkglibPROGRAMS mostlyclean-am9.439 + clean-pkglibPROGRAMS mostlyclean-am9.441 -distclean: distclean-am9.442 +distclean: distclean-recursive9.443 -rm -rf ./$(DEPDIR)9.444 -rm -f Makefile9.445 distclean-am: clean-am distclean-compile distclean-generic \9.446 distclean-tags9.448 -dvi: dvi-am9.449 +dvi: dvi-recursive9.451 dvi-am:9.453 -html: html-am9.454 +html: html-recursive9.456 -info: info-am9.457 +info: info-recursive9.459 info-am:9.461 @@ -3176,44 +3168,48 @@9.463 install-exec-am: install-binPROGRAMS install-pkglibPROGRAMS9.465 -install-info: install-info-am9.466 +install-info: install-info-recursive9.468 install-man:9.470 installcheck-am:9.472 -maintainer-clean: maintainer-clean-am9.473 +maintainer-clean: maintainer-clean-recursive9.474 -rm -rf ./$(DEPDIR)9.475 -rm -f Makefile9.476 maintainer-clean-am: distclean-am maintainer-clean-generic9.478 -mostlyclean: mostlyclean-am9.479 +mostlyclean: mostlyclean-recursive9.481 mostlyclean-am: mostlyclean-compile mostlyclean-generic9.483 -pdf: pdf-am9.484 +pdf: pdf-recursive9.486 pdf-am:9.488 -ps: ps-am9.489 +ps: ps-recursive9.491 ps-am:9.493 uninstall-am: uninstall-binPROGRAMS uninstall-info-am \9.494 uninstall-pkglibPROGRAMS9.496 -.PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \9.497 - clean-binPROGRAMS clean-checkPROGRAMS clean-generic \9.498 - clean-noinstPROGRAMS clean-pkglibPROGRAMS ctags distclean \9.499 - distclean-compile distclean-generic distclean-tags distdir dvi \9.500 - dvi-am html html-am info info-am install install-am \9.501 - install-binPROGRAMS install-data install-data-am install-exec \9.502 - install-exec-am install-info install-info-am install-man \9.503 +uninstall-info: uninstall-info-recursive9.504 +9.505 +.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-TESTS \9.506 + check-am clean clean-binPROGRAMS clean-checkPROGRAMS \9.507 + clean-generic clean-pkglibPROGRAMS clean-recursive ctags \9.508 + ctags-recursive distclean distclean-compile distclean-generic \9.509 + distclean-recursive distclean-tags distdir dvi dvi-am html \9.510 + html-am info info-am install install-am install-binPROGRAMS \9.511 + install-data install-data-am install-exec install-exec-am \9.512 + install-info install-info-am install-man \9.513 install-pkglibPROGRAMS install-strip installcheck \9.514 - installcheck-am installdirs maintainer-clean \9.515 - maintainer-clean-generic mostlyclean mostlyclean-compile \9.516 - mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \9.517 - uninstall-am uninstall-binPROGRAMS uninstall-info-am \9.518 + installcheck-am installdirs installdirs-am maintainer-clean \9.519 + maintainer-clean-generic maintainer-clean-recursive \9.520 + mostlyclean mostlyclean-compile mostlyclean-generic \9.521 + mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \9.522 + uninstall uninstall-am uninstall-binPROGRAMS uninstall-info-am \9.523 uninstall-pkglibPROGRAMS9.526 @@ -3235,21 +3231,24 @@9.527 @BUILD_SHARED_TRUE@@INPUT_LIRC_TRUE@input_lirc.lo: drivers/input_lirc.c9.528 @BUILD_SHARED_TRUE@@INPUT_LIRC_TRUE@ $(COMPILE) -DPLUGIN $(PLUGINCFLAGS) -c $< -o $@9.530 -sh4/sh4core.c: gendec$(EXEEXT) sh4/sh4.def sh4/sh4core.in9.531 +$(GENDEC) $(GENGLSL) $(GENMACH):9.532 + $(MAKE) $(AM_MAKEFLAGS) -C tools9.533 +9.534 +sh4/sh4core.c: $(GENDEC) sh4/sh4.def sh4/sh4core.in9.535 $(mkdir_p) `dirname $@`9.536 - ./gendec $(srcdir)/sh4/sh4.def $(srcdir)/sh4/sh4core.in -o $@9.537 -sh4/sh4dasm.c: gendec$(EXEEXT) sh4/sh4.def sh4/sh4dasm.in9.538 + $(GENDEC) $(srcdir)/sh4/sh4.def $(srcdir)/sh4/sh4core.in -o $@9.539 +sh4/sh4dasm.c: $(GENDEC) sh4/sh4.def sh4/sh4dasm.in9.540 $(mkdir_p) `dirname $@`9.541 - ./gendec $(srcdir)/sh4/sh4.def $(srcdir)/sh4/sh4dasm.in -o $@9.542 -sh4/sh4x86.c: gendec$(EXEEXT) sh4/sh4.def sh4/sh4x86.in9.543 + $(GENDEC) $(srcdir)/sh4/sh4.def $(srcdir)/sh4/sh4dasm.in -o $@9.544 +sh4/sh4x86.c: $(GENDEC) sh4/sh4.def sh4/sh4x86.in9.545 $(mkdir_p) `dirname $@`9.546 - ./gendec $(srcdir)/sh4/sh4.def $(srcdir)/sh4/sh4x86.in -o $@9.547 -sh4/sh4stat.c: gendec$(EXEEXT) sh4/sh4.def sh4/sh4stat.in9.548 + $(GENDEC) $(srcdir)/sh4/sh4.def $(srcdir)/sh4/sh4x86.in -o $@9.549 +sh4/sh4stat.c: $(GENDEC) sh4/sh4.def sh4/sh4stat.in9.550 $(mkdir_p) `dirname $@`9.551 - ./gendec $(srcdir)/sh4/sh4.def $(srcdir)/sh4/sh4stat.in -o $@9.552 -pvr2/shaders.def: genglsl$(EXEEXT) pvr2/shaders.glsl9.553 + $(GENDEC) $(srcdir)/sh4/sh4.def $(srcdir)/sh4/sh4stat.in -o $@9.554 +pvr2/shaders.def: $(GENGLSL) pvr2/shaders.glsl9.555 $(mkdir_p) `dirname $@`9.556 - ./genglsl $(srcdir)/pvr2/shaders.glsl $@9.557 + $(GENGLSL) $(srcdir)/pvr2/shaders.glsl $@9.558 pvr2/shaders.h: pvr2/shaders.def9.559 drivers/mac_keymap.h: dckeysyms.h drivers/mac_keymap.txt drivers/genkeymap.pl9.560 $(mkdir_p) `dirname $@`
10.1 --- /dev/null Thu Jan 01 00:00:00 1970 +000010.2 +++ b/src/tools/Makefile.am Fri Feb 10 19:26:10 2012 +100010.3 @@ -0,0 +1,19 @@10.4 +10.5 +AM_CPPFLAGS = -I$(top_srcdir)/src $(GLIB_FOR_BUILD_CFLAGS)10.6 +AM_LDFLAGS = $(GLIB_FOR_BUILD_LDFLAGS)10.7 +CC = $(CC_FOR_BUILD)10.8 +CPPFLAGS = $(CPPFLAGS_FOR_BUILD)10.9 +CFLAGS = $(CFLAGS_FOR_BUILD)10.10 +LDFLAGS = $(LDFLAGS_FOR_BUILD)10.11 +10.12 +noinst_PROGRAMS = gendec genglsl genmach10.13 +10.14 +gendec_SOURCES = gendec.c gendec.h insparse.c actparse.c10.15 +gendec_LDADD = @GLIB_LIBS@ @GTK_LIBS@ $(INTLLIBS)10.16 +10.17 +genmach_SOURCES = genmach.c genmach.h mdparse.c10.18 +genmach_LDADD = @GLIB_LIBS@ @GTK_LIBS@ $(INTLLIBS)10.19 +10.20 +genglsl_SOURCES = genglsl.c10.21 +genglsl_LDADD = @GLIB_LIBS@ @GTK_LIBS@ $(INTLLIBS)10.22 +
11.1 --- /dev/null Thu Jan 01 00:00:00 1970 +000011.2 +++ b/src/tools/Makefile.in Fri Feb 10 19:26:10 2012 +100011.3 @@ -0,0 +1,519 @@11.4 +# Makefile.in generated by automake 1.9.6 from Makefile.am.11.5 +# @configure_input@11.6 +11.7 +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,11.8 +# 2003, 2004, 2005 Free Software Foundation, Inc.11.9 +# This Makefile.in is free software; the Free Software Foundation11.10 +# gives unlimited permission to copy and/or distribute it,11.11 +# with or without modifications, as long as this notice is preserved.11.12 +11.13 +# This program is distributed in the hope that it will be useful,11.14 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without11.15 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A11.16 +# PARTICULAR PURPOSE.11.17 +11.18 +@SET_MAKE@11.19 +11.20 +srcdir = @srcdir@11.21 +top_srcdir = @top_srcdir@11.22 +VPATH = @srcdir@11.23 +pkgdatadir = $(datadir)/@PACKAGE@11.24 +pkglibdir = $(libdir)/@PACKAGE@11.25 +pkgincludedir = $(includedir)/@PACKAGE@11.26 +top_builddir = ../..11.27 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd11.28 +INSTALL = @INSTALL@11.29 +install_sh_DATA = $(install_sh) -c -m 64411.30 +install_sh_PROGRAM = $(install_sh) -c11.31 +install_sh_SCRIPT = $(install_sh) -c11.32 +INSTALL_HEADER = $(INSTALL_DATA)11.33 +transform = $(program_transform_name)11.34 +NORMAL_INSTALL = :11.35 +PRE_INSTALL = :11.36 +POST_INSTALL = :11.37 +NORMAL_UNINSTALL = :11.38 +PRE_UNINSTALL = :11.39 +POST_UNINSTALL = :11.40 +build_triplet = @build@11.41 +host_triplet = @host@11.42 +noinst_PROGRAMS = gendec$(EXEEXT) genglsl$(EXEEXT) genmach$(EXEEXT)11.43 +subdir = src/tools11.44 +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in11.45 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m411.46 +am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \11.47 + $(top_srcdir)/m4/ccforbuild.m4 $(top_srcdir)/configure.in11.48 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \11.49 + $(ACLOCAL_M4)11.50 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs11.51 +CONFIG_HEADER = $(top_builddir)/config.h11.52 +CONFIG_CLEAN_FILES =11.53 +PROGRAMS = $(noinst_PROGRAMS)11.54 +am_gendec_OBJECTS = gendec.$(OBJEXT) insparse.$(OBJEXT) \11.55 + actparse.$(OBJEXT)11.56 +gendec_OBJECTS = $(am_gendec_OBJECTS)11.57 +am__DEPENDENCIES_1 =11.58 +gendec_DEPENDENCIES = $(am__DEPENDENCIES_1)11.59 +am_genglsl_OBJECTS = genglsl.$(OBJEXT)11.60 +genglsl_OBJECTS = $(am_genglsl_OBJECTS)11.61 +genglsl_DEPENDENCIES = $(am__DEPENDENCIES_1)11.62 +am_genmach_OBJECTS = genmach.$(OBJEXT) mdparse.$(OBJEXT)11.63 +genmach_OBJECTS = $(am_genmach_OBJECTS)11.64 +genmach_DEPENDENCIES = $(am__DEPENDENCIES_1)11.65 +DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)11.66 +depcomp = $(SHELL) $(top_srcdir)/depcomp11.67 +am__depfiles_maybe = depfiles11.68 +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \11.69 + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)11.70 +CCLD = $(CC)11.71 +LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@11.72 +SOURCES = $(gendec_SOURCES) $(genglsl_SOURCES) $(genmach_SOURCES)11.73 +DIST_SOURCES = $(gendec_SOURCES) $(genglsl_SOURCES) $(genmach_SOURCES)11.74 +ETAGS = etags11.75 +CTAGS = ctags11.76 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)11.77 +ACLOCAL = @ACLOCAL@11.78 +ALSA_CFLAGS = @ALSA_CFLAGS@11.79 +ALSA_LIBS = @ALSA_LIBS@11.80 +AMDEP_FALSE = @AMDEP_FALSE@11.81 +AMDEP_TRUE = @AMDEP_TRUE@11.82 +AMTAR = @AMTAR@11.83 +ARMCC = @ARMCC@11.84 +ARMLD = @ARMLD@11.85 +ARMOBJCOPY = @ARMOBJCOPY@11.86 +AUDIO_ALSA_FALSE = @AUDIO_ALSA_FALSE@11.87 +AUDIO_ALSA_TRUE = @AUDIO_ALSA_TRUE@11.88 +AUDIO_ESOUND_FALSE = @AUDIO_ESOUND_FALSE@11.89 +AUDIO_ESOUND_TRUE = @AUDIO_ESOUND_TRUE@11.90 +AUDIO_OSX_FALSE = @AUDIO_OSX_FALSE@11.91 +AUDIO_OSX_TRUE = @AUDIO_OSX_TRUE@11.92 +AUDIO_PULSE_FALSE = @AUDIO_PULSE_FALSE@11.93 +AUDIO_PULSE_TRUE = @AUDIO_PULSE_TRUE@11.94 +AUDIO_SDL_FALSE = @AUDIO_SDL_FALSE@11.95 +AUDIO_SDL_TRUE = @AUDIO_SDL_TRUE@11.96 +AUTOCONF = @AUTOCONF@11.97 +AUTOHEADER = @AUTOHEADER@11.98 +AUTOMAKE = @AUTOMAKE@11.99 +AWK = @AWK@11.100 +BUILD_ARMTEST_FALSE = @BUILD_ARMTEST_FALSE@11.101 +BUILD_ARMTEST_TRUE = @BUILD_ARMTEST_TRUE@11.102 +BUILD_EXEEXT = @BUILD_EXEEXT@11.103 +BUILD_OBJEXT = @BUILD_OBJEXT@11.104 +BUILD_SH4X86_FALSE = @BUILD_SH4X86_FALSE@11.105 +BUILD_SH4X86_TRUE = @BUILD_SH4X86_TRUE@11.106 +BUILD_SHARED_FALSE = @BUILD_SHARED_FALSE@11.107 +BUILD_SHARED_TRUE = @BUILD_SHARED_TRUE@11.108 +BUILD_SYSTEST_FALSE = @BUILD_SYSTEST_FALSE@11.109 +BUILD_SYSTEST_TRUE = @BUILD_SYSTEST_TRUE@11.110 +CATALOGS = @CATALOGS@11.111 +CATOBJEXT = @CATOBJEXT@11.112 +CC = $(CC_FOR_BUILD)11.113 +CCAS = @CCAS@11.114 +CCASFLAGS = @CCASFLAGS@11.115 +CCDEPMODE = @CCDEPMODE@11.116 +CC_FOR_BUILD = @CC_FOR_BUILD@11.117 +CC_FOR_BUILDDEPMODE = @CC_FOR_BUILDDEPMODE@11.118 +CDROM_LINUX_FALSE = @CDROM_LINUX_FALSE@11.119 +CDROM_LINUX_TRUE = @CDROM_LINUX_TRUE@11.120 +CDROM_NONE_FALSE = @CDROM_NONE_FALSE@11.121 +CDROM_NONE_TRUE = @CDROM_NONE_TRUE@11.122 +CDROM_OSX_FALSE = @CDROM_OSX_FALSE@11.123 +CDROM_OSX_TRUE = @CDROM_OSX_TRUE@11.124 +CFLAGS = $(CFLAGS_FOR_BUILD)11.125 +CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@11.126 +CPP = @CPP@11.127 +CPPFLAGS = $(CPPFLAGS_FOR_BUILD)11.128 +CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@11.129 +CPP_FOR_BUILD = @CPP_FOR_BUILD@11.130 +CYGPATH_W = @CYGPATH_W@11.131 +DATADIRNAME = @DATADIRNAME@11.132 +DEFS = @DEFS@11.133 +DEPDIR = @DEPDIR@11.134 +ECHO_C = @ECHO_C@11.135 +ECHO_N = @ECHO_N@11.136 +ECHO_T = @ECHO_T@11.137 +EGREP = @EGREP@11.138 +ESOUND_CFLAGS = @ESOUND_CFLAGS@11.139 +ESOUND_LIBS = @ESOUND_LIBS@11.140 +EXEEXT = @EXEEXT@11.141 +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@11.142 +GLIB_CFLAGS = @GLIB_CFLAGS@11.143 +GLIB_FOR_BUILD_CFLAGS = @GLIB_FOR_BUILD_CFLAGS@11.144 +GLIB_FOR_BUILD_LIBS = @GLIB_FOR_BUILD_LIBS@11.145 +GLIB_LIBS = @GLIB_LIBS@11.146 +GMOFILES = @GMOFILES@11.147 +GMSGFMT = @GMSGFMT@11.148 +GREP = @GREP@11.149 +GTK_CFLAGS = @GTK_CFLAGS@11.150 +GTK_LIBS = @GTK_LIBS@11.151 +GUI_COCOA_FALSE = @GUI_COCOA_FALSE@11.152 +GUI_COCOA_TRUE = @GUI_COCOA_TRUE@11.153 +GUI_GTK_FALSE = @GUI_GTK_FALSE@11.154 +GUI_GTK_TRUE = @GUI_GTK_TRUE@11.155 +INPUT_LIRC_FALSE = @INPUT_LIRC_FALSE@11.156 +INPUT_LIRC_TRUE = @INPUT_LIRC_TRUE@11.157 +INSTALL_DATA = @INSTALL_DATA@11.158 +INSTALL_PROGRAM = @INSTALL_PROGRAM@11.159 +INSTALL_SCRIPT = @INSTALL_SCRIPT@11.160 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@11.161 +INSTOBJEXT = @INSTOBJEXT@11.162 +INTLLIBS = @INTLLIBS@11.163 +JOY_LINUX_FALSE = @JOY_LINUX_FALSE@11.164 +JOY_LINUX_TRUE = @JOY_LINUX_TRUE@11.165 +LDFLAGS = $(LDFLAGS_FOR_BUILD)11.166 +LIBGL_CFLAGS = @LIBGL_CFLAGS@11.167 +LIBGL_LIBS = @LIBGL_LIBS@11.168 +LIBISOFS_CFLAGS = @LIBISOFS_CFLAGS@11.169 +LIBISOFS_LIBS = @LIBISOFS_LIBS@11.170 +LIBOBJS = @LIBOBJS@11.171 +LIBPNG_CFLAGS = @LIBPNG_CFLAGS@11.172 +LIBPNG_LIBS = @LIBPNG_LIBS@11.173 +LIBS = @LIBS@11.174 +LTLIBOBJS = @LTLIBOBJS@11.175 +LXDREAMCPPFLAGS = @LXDREAMCPPFLAGS@11.176 +LXDREAMLDFLAGS = @LXDREAMLDFLAGS@11.177 +LXDREAM_LIBS = @LXDREAM_LIBS@11.178 +MAINT = @MAINT@11.179 +MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@11.180 +MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@11.181 +MAKEINFO = @MAKEINFO@11.182 +MKINSTALLDIRS = @MKINSTALLDIRS@11.183 +MSGFMT = @MSGFMT@11.184 +MSGFMT_OPTS = @MSGFMT_OPTS@11.185 +OBJC = @OBJC@11.186 +OBJCDEPMODE = @OBJCDEPMODE@11.187 +OBJCFLAGS = @OBJCFLAGS@11.188 +OBJEXT = @OBJEXT@11.189 +PACKAGE = @PACKAGE@11.190 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@11.191 +PACKAGE_NAME = @PACKAGE_NAME@11.192 +PACKAGE_STRING = @PACKAGE_STRING@11.193 +PACKAGE_TARNAME = @PACKAGE_TARNAME@11.194 +PACKAGE_VERSION = @PACKAGE_VERSION@11.195 +PATH_SEPARATOR = @PATH_SEPARATOR@11.196 +PKG_CONFIG = @PKG_CONFIG@11.197 +PLUGINCFLAGS = @PLUGINCFLAGS@11.198 +PLUGINLDFLAGS = @PLUGINLDFLAGS@11.199 +POD2HTML = @POD2HTML@11.200 +POD2MAN = @POD2MAN@11.201 +POFILES = @POFILES@11.202 +POSUB = @POSUB@11.203 +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@11.204 +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@11.205 +PULSE_CFLAGS = @PULSE_CFLAGS@11.206 +PULSE_LIBS = @PULSE_LIBS@11.207 +SDL_CFLAGS = @SDL_CFLAGS@11.208 +SDL_LIBS = @SDL_LIBS@11.209 +SED = @SED@11.210 +SET_MAKE = @SET_MAKE@11.211 +SHCC = @SHCC@11.212 +SHELL = @SHELL@11.213 +SHLD = @SHLD@11.214 +SHOBJCOPY = @SHOBJCOPY@11.215 +SOEXT = @SOEXT@11.216 +STRIP = @STRIP@11.217 +USE_NLS = @USE_NLS@11.218 +VERSION = @VERSION@11.219 +VIDEO_GLX_FALSE = @VIDEO_GLX_FALSE@11.220 +VIDEO_GLX_TRUE = @VIDEO_GLX_TRUE@11.221 +VIDEO_NSGL_FALSE = @VIDEO_NSGL_FALSE@11.222 +VIDEO_NSGL_TRUE = @VIDEO_NSGL_TRUE@11.223 +VIDEO_OSMESA_FALSE = @VIDEO_OSMESA_FALSE@11.224 +VIDEO_OSMESA_TRUE = @VIDEO_OSMESA_TRUE@11.225 +XGETTEXT = @XGETTEXT@11.226 +ac_ct_CC = @ac_ct_CC@11.227 +ac_ct_CC_FOR_BUILD = @ac_ct_CC_FOR_BUILD@11.228 +ac_ct_OBJC = @ac_ct_OBJC@11.229 +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@11.230 +am__fastdepCC_FOR_BUILD_FALSE = @am__fastdepCC_FOR_BUILD_FALSE@11.231 +am__fastdepCC_FOR_BUILD_TRUE = @am__fastdepCC_FOR_BUILD_TRUE@11.232 +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@11.233 +am__fastdepOBJC_FALSE = @am__fastdepOBJC_FALSE@11.234 +am__fastdepOBJC_TRUE = @am__fastdepOBJC_TRUE@11.235 +am__include = @am__include@11.236 +am__leading_dot = @am__leading_dot@11.237 +am__quote = @am__quote@11.238 +am__tar = @am__tar@11.239 +am__untar = @am__untar@11.240 +bindir = @bindir@11.241 +build = @build@11.242 +build_alias = @build_alias@11.243 +build_cpu = @build_cpu@11.244 +build_os = @build_os@11.245 +build_vendor = @build_vendor@11.246 +datadir = @datadir@11.247 +datarootdir = @datarootdir@11.248 +docdir = @docdir@11.249 +dvidir = @dvidir@11.250 +exec_prefix = @exec_prefix@11.251 +host = @host@11.252 +host_alias = @host_alias@11.253 +host_cpu = @host_cpu@11.254 +host_os = @host_os@11.255 +host_vendor = @host_vendor@11.256 +htmldir = @htmldir@11.257 +includedir = @includedir@11.258 +infodir = @infodir@11.259 +install_sh = @install_sh@11.260 +libdir = @libdir@11.261 +libexecdir = @libexecdir@11.262 +localedir = @localedir@11.263 +localstatedir = @localstatedir@11.264 +mandir = @mandir@11.265 +mkdir_p = @mkdir_p@11.266 +oldincludedir = @oldincludedir@11.267 +pdfdir = @pdfdir@11.268 +prefix = @prefix@11.269 +program_transform_name = @program_transform_name@11.270 +psdir = @psdir@11.271 +sbindir = @sbindir@11.272 +sharedstatedir = @sharedstatedir@11.273 +sysconfdir = @sysconfdir@11.274 +target_alias = @target_alias@11.275 +AM_CPPFLAGS = -I$(top_srcdir)/src $(GLIB_FOR_BUILD_CFLAGS)11.276 +AM_LDFLAGS = $(GLIB_FOR_BUILD_LDFLAGS)11.277 +gendec_SOURCES = gendec.c gendec.h insparse.c actparse.c11.278 +gendec_LDADD = @GLIB_LIBS@ @GTK_LIBS@ $(INTLLIBS)11.279 +genmach_SOURCES = genmach.c genmach.h mdparse.c11.280 +genmach_LDADD = @GLIB_LIBS@ @GTK_LIBS@ $(INTLLIBS)11.281 +genglsl_SOURCES = genglsl.c11.282 +genglsl_LDADD = @GLIB_LIBS@ @GTK_LIBS@ $(INTLLIBS)11.283 +all: all-am11.284 +11.285 +.SUFFIXES:11.286 +.SUFFIXES: .c .o .obj11.287 +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)11.288 + @for dep in $?; do \11.289 + case '$(am__configure_deps)' in \11.290 + *$$dep*) \11.291 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \11.292 + && exit 0; \11.293 + exit 1;; \11.294 + esac; \11.295 + done; \11.296 + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/tools/Makefile'; \11.297 + cd $(top_srcdir) && \11.298 + $(AUTOMAKE) --gnu src/tools/Makefile11.299 +.PRECIOUS: Makefile11.300 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status11.301 + @case '$?' in \11.302 + *config.status*) \11.303 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \11.304 + *) \11.305 + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \11.306 + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \11.307 + esac;11.308 +11.309 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)11.310 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh11.311 +11.312 +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)11.313 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh11.314 +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)11.315 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh11.316 +11.317 +clean-noinstPROGRAMS:11.318 + -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)11.319 +gendec$(EXEEXT): $(gendec_OBJECTS) $(gendec_DEPENDENCIES)11.320 + @rm -f gendec$(EXEEXT)11.321 + $(LINK) $(gendec_LDFLAGS) $(gendec_OBJECTS) $(gendec_LDADD) $(LIBS)11.322 +genglsl$(EXEEXT): $(genglsl_OBJECTS) $(genglsl_DEPENDENCIES)11.323 + @rm -f genglsl$(EXEEXT)11.324 + $(LINK) $(genglsl_LDFLAGS) $(genglsl_OBJECTS) $(genglsl_LDADD) $(LIBS)11.325 +genmach$(EXEEXT): $(genmach_OBJECTS) $(genmach_DEPENDENCIES)11.326 + @rm -f genmach$(EXEEXT)11.327 + $(LINK) $(genmach_LDFLAGS) $(genmach_OBJECTS) $(genmach_LDADD) $(LIBS)11.328 +11.329 +mostlyclean-compile:11.330 + -rm -f *.$(OBJEXT)11.331 +11.332 +distclean-compile:11.333 + -rm -f *.tab.c11.334 +11.335 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/actparse.Po@am__quote@11.336 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gendec.Po@am__quote@11.337 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/genglsl.Po@am__quote@11.338 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/genmach.Po@am__quote@11.339 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/insparse.Po@am__quote@11.340 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mdparse.Po@am__quote@11.341 +11.342 +.c.o:11.343 +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \11.344 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi11.345 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@11.346 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@11.347 +@am__fastdepCC_FALSE@ $(COMPILE) -c $<11.348 +11.349 +.c.obj:11.350 +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \11.351 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi11.352 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@11.353 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@11.354 +@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`11.355 +uninstall-info-am:11.356 +11.357 +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)11.358 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \11.359 + unique=`for i in $$list; do \11.360 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \11.361 + done | \11.362 + $(AWK) ' { files[$$0] = 1; } \11.363 + END { for (i in files) print i; }'`; \11.364 + mkid -fID $$unique11.365 +tags: TAGS11.366 +11.367 +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \11.368 + $(TAGS_FILES) $(LISP)11.369 + tags=; \11.370 + here=`pwd`; \11.371 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \11.372 + unique=`for i in $$list; do \11.373 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \11.374 + done | \11.375 + $(AWK) ' { files[$$0] = 1; } \11.376 + END { for (i in files) print i; }'`; \11.377 + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \11.378 + test -n "$$unique" || unique=$$empty_fix; \11.379 + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \11.380 + $$tags $$unique; \11.381 + fi11.382 +ctags: CTAGS11.383 +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \11.384 + $(TAGS_FILES) $(LISP)11.385 + tags=; \11.386 + here=`pwd`; \11.387 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \11.388 + unique=`for i in $$list; do \11.389 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \11.390 + done | \11.391 + $(AWK) ' { files[$$0] = 1; } \11.392 + END { for (i in files) print i; }'`; \11.393 + test -z "$(CTAGS_ARGS)$$tags$$unique" \11.394 + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \11.395 + $$tags $$unique11.396 +11.397 +GTAGS:11.398 + here=`$(am__cd) $(top_builddir) && pwd` \11.399 + && cd $(top_srcdir) \11.400 + && gtags -i $(GTAGS_ARGS) $$here11.401 +11.402 +distclean-tags:11.403 + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags11.404 +11.405 +distdir: $(DISTFILES)11.406 + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \11.407 + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \11.408 + list='$(DISTFILES)'; for file in $$list; do \11.409 + case $$file in \11.410 + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \11.411 + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \11.412 + esac; \11.413 + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \11.414 + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \11.415 + if test "$$dir" != "$$file" && test "$$dir" != "."; then \11.416 + dir="/$$dir"; \11.417 + $(mkdir_p) "$(distdir)$$dir"; \11.418 + else \11.419 + dir=''; \11.420 + fi; \11.421 + if test -d $$d/$$file; then \11.422 + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \11.423 + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \11.424 + fi; \11.425 + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \11.426 + else \11.427 + test -f $(distdir)/$$file \11.428 + || cp -p $$d/$$file $(distdir)/$$file \11.429 + || exit 1; \11.430 + fi; \11.431 + done11.432 +check-am: all-am11.433 +check: check-am11.434 +all-am: Makefile $(PROGRAMS)11.435 +installdirs:11.436 +install: install-am11.437 +install-exec: install-exec-am11.438 +install-data: install-data-am11.439 +uninstall: uninstall-am11.440 +11.441 +install-am: all-am11.442 + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am11.443 +11.444 +installcheck: installcheck-am11.445 +install-strip:11.446 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \11.447 + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \11.448 + `test -z '$(STRIP)' || \11.449 + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install11.450 +mostlyclean-generic:11.451 +11.452 +clean-generic:11.453 +11.454 +distclean-generic:11.455 + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)11.456 +11.457 +maintainer-clean-generic:11.458 + @echo "This command is intended for maintainers to use"11.459 + @echo "it deletes files that may require special tools to rebuild."11.460 +clean: clean-am11.461 +11.462 +clean-am: clean-generic clean-noinstPROGRAMS mostlyclean-am11.463 +11.464 +distclean: distclean-am11.465 + -rm -rf ./$(DEPDIR)11.466 + -rm -f Makefile11.467 +distclean-am: clean-am distclean-compile distclean-generic \11.468 + distclean-tags11.469 +11.470 +dvi: dvi-am11.471 +11.472 +dvi-am:11.473 +11.474 +html: html-am11.475 +11.476 +info: info-am11.477 +11.478 +info-am:11.479 +11.480 +install-data-am:11.481 +11.482 +install-exec-am:11.483 +11.484 +install-info: install-info-am11.485 +11.486 +install-man:11.487 +11.488 +installcheck-am:11.489 +11.490 +maintainer-clean: maintainer-clean-am11.491 + -rm -rf ./$(DEPDIR)11.492 + -rm -f Makefile11.493 +maintainer-clean-am: distclean-am maintainer-clean-generic11.494 +11.495 +mostlyclean: mostlyclean-am11.496 +11.497 +mostlyclean-am: mostlyclean-compile mostlyclean-generic11.498 +11.499 +pdf: pdf-am11.500 +11.501 +pdf-am:11.502 +11.503 +ps: ps-am11.504 +11.505 +ps-am:11.506 +11.507 +uninstall-am: uninstall-info-am11.508 +11.509 +.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \11.510 + clean-noinstPROGRAMS ctags distclean distclean-compile \11.511 + distclean-generic distclean-tags distdir dvi dvi-am html \11.512 + html-am info info-am install install-am install-data \11.513 + install-data-am install-exec install-exec-am install-info \11.514 + install-info-am install-man install-strip installcheck \11.515 + installcheck-am installdirs maintainer-clean \11.516 + maintainer-clean-generic mostlyclean mostlyclean-compile \11.517 + mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \11.518 + uninstall-am uninstall-info-am11.519 +11.520 +# Tell versions [3.59,3.63) of GNU make to not export all variables.11.521 +# Otherwise a system limit (for SysV at least) may be exceeded.11.522 +.NOEXPORT:
.