Search
lxdream.org :: lxdream :: r1211:eecdeb37934a
lxdream 0.9.1
released Jun 29
Download Now
changeset1211:eecdeb37934a
parent1210:79bbd30363f4
child1212:d1117828f011
authornkeynes
dateFri Feb 10 19:26:10 2012 +1000 (12 years ago)
Break tools out into its own Makefile using CC_FOR_BUILD
.hgignore
Makefile.in
acinclude.m4
config.h.in
configure
configure.in
m4/ccforbuild.m4
src/Makefile.am
src/Makefile.in
src/tools/Makefile.am
src/tools/Makefile.in
1.1 --- a/.hgignore Tue Feb 07 14:27:13 2012 +1000
1.2 +++ b/.hgignore Fri Feb 10 19:26:10 2012 +1000
1.3 @@ -17,9 +17,9 @@
1.4 lxdream-.*.tar.gz
1.5 lxdream-.*.zip
1.6 src/drivers/mac_keymap.h
1.7 -src/gendec
1.8 -src/genglsl
1.9 -src/genmach
1.10 +src/tools/gendec
1.11 +src/tools/genglsl
1.12 +src/tools/genmach
1.13 src/pvr2/shaders.h
1.14 src/pvr2/shaders.def
1.15 src/sh4/sh4dasm.c
2.1 --- a/Makefile.in Tue Feb 07 14:27:13 2012 +1000
2.2 +++ b/Makefile.in Fri Feb 10 19:26:10 2012 +1000
2.3 @@ -46,7 +46,7 @@
2.4 subdir = .
2.5 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
2.6 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
2.7 - $(top_srcdir)/configure.in
2.8 + $(top_srcdir)/m4/ccforbuild.m4 $(top_srcdir)/configure.in
2.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)/test
2.26 + $(mkdir_p) $(distdir)/. $(distdir)/m4 $(distdir)/po $(distdir)/test
2.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 +1000
3.2 +++ b/acinclude.m4 Fri Feb 10 19:26:10 2012 +1000
3.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], [dnl
3.11 -AC_REQUIRE([AC_PROG_CC])dnl
3.12 -AC_REQUIRE([AC_PROG_CPP])dnl
3.13 -AC_REQUIRE([AC_EXEEXT])dnl
3.14 -AC_REQUIRE([AC_CANONICAL_HOST])dnl
3.15 -dnl
3.16 -ac_main_cc="$CC"
3.17 -test -n "$build_alias" && ac_build_tool_prefix=$build_alias-
3.18 -
3.19 -pushdef([cross_compiling], [#])dnl
3.20 -dnl If main compiler works and CC_FOR_BUILD is unset, use the main compiler
3.21 -if test -z "$CC_FOR_BUILD"; then
3.22 - AC_RUN_IFELSE([int main(){return 0;}], [CC_FOR_BUILD="$CC"], [],[])
3.23 -fi
3.24 -dnl Use the standard macros, but make them use other variable names
3.25 -dnl
3.26 -pushdef([ac_cv_prog_CPP], ac_cv_build_prog_CPP)dnl
3.27 -pushdef([ac_cv_prog_gcc], ac_cv_build_prog_gcc)dnl
3.28 -pushdef([ac_cv_prog_cc_works], ac_cv_build_prog_cc_works)dnl
3.29 -pushdef([ac_cv_prog_cc_cross], ac_cv_build_prog_cc_cross)dnl
3.30 -pushdef([ac_cv_prog_cc_g], ac_cv_build_prog_cc_g)dnl
3.31 -pushdef([ac_cv_exeext], ac_cv_build_exeext)dnl
3.32 -pushdef([ac_cv_objext], ac_cv_build_objext)dnl
3.33 -pushdef([ac_exeext], ac_build_exeext)dnl
3.34 -pushdef([ac_objext], ac_build_objext)dnl
3.35 -pushdef([CC], CC_FOR_BUILD)dnl
3.36 -pushdef([CPP], CPP_FOR_BUILD)dnl
3.37 -pushdef([CFLAGS], CFLAGS_FOR_BUILD)dnl
3.38 -pushdef([CPPFLAGS], CPPFLAGS_FOR_BUILD)dnl
3.39 -pushdef([host], build)dnl
3.40 -pushdef([host_alias], build_alias)dnl
3.41 -pushdef([host_cpu], build_cpu)dnl
3.42 -pushdef([host_vendor], build_vendor)dnl
3.43 -pushdef([host_os], build_os)dnl
3.44 -pushdef([ac_tool_prefix], ac_build_tool_prefix)dnl
3.45 -pushdef([ac_cv_host], ac_cv_build)dnl
3.46 -pushdef([ac_cv_host_alias], ac_cv_build_alias)dnl
3.47 -pushdef([ac_cv_host_cpu], ac_cv_build_cpu)dnl
3.48 -pushdef([ac_cv_host_vendor], ac_cv_build_vendor)dnl
3.49 -pushdef([ac_cv_host_os], ac_cv_build_os)dnl
3.50 -pushdef([ac_cpp], ac_build_cpp)dnl
3.51 -pushdef([ac_compile], ac_build_compile)dnl
3.52 -pushdef([ac_link], ac_build_link)dnl
3.53 -
3.54 -AC_PROG_CC
3.55 -AC_PROG_CPP
3.56 -AC_EXEEXT
3.57 -
3.58 -dnl Restore the old definitions
3.59 -dnl
3.60 -popdef([ac_link])dnl
3.61 -popdef([ac_compile])dnl
3.62 -popdef([ac_cpp])dnl
3.63 -popdef([ac_cv_host_os])dnl
3.64 -popdef([ac_cv_host_vendor])dnl
3.65 -popdef([ac_cv_host_cpu])dnl
3.66 -popdef([ac_cv_host_alias])dnl
3.67 -popdef([ac_cv_host])dnl
3.68 -popdef([ac_tool_prefix])dnl
3.69 -popdef([host_os])dnl
3.70 -popdef([host_vendor])dnl
3.71 -popdef([host_cpu])dnl
3.72 -popdef([host_alias])dnl
3.73 -popdef([host])dnl
3.74 -popdef([CPPFLAGS])dnl
3.75 -popdef([CFLAGS])dnl
3.76 -popdef([CPP])dnl
3.77 -popdef([CC])dnl
3.78 -popdef([ac_objext])dnl
3.79 -popdef([ac_exeext])dnl
3.80 -popdef([ac_cv_objext])dnl
3.81 -popdef([ac_cv_exeext])dnl
3.82 -popdef([ac_cv_prog_cc_g])dnl
3.83 -popdef([ac_cv_prog_cc_works])dnl
3.84 -popdef([ac_cv_prog_cc_cross])dnl
3.85 -popdef([ac_cv_prog_gcc])dnl
3.86 -popdef([ac_cv_prog_CPP])dnl
3.87 -popdef([cross_compiling])dnl
3.88 -
3.89 -dnl Finally, set Makefile variables
3.90 -dnl
3.91 -BUILD_EXEEXT=$ac_build_exeext
3.92 -BUILD_OBJEXT=$ac_build_objext
3.93 -AC_SUBST(BUILD_EXEEXT)dnl
3.94 -AC_SUBST(BUILD_OBJEXT)dnl
3.95 -AC_SUBST([CFLAGS_FOR_BUILD])dnl
3.96 -AC_SUBST([CPPFLAGS_FOR_BUILD])dnl
3.97 -])
4.1 --- a/config.h.in Tue Feb 07 14:27:13 2012 +1000
4.2 +++ b/config.h.in Fri Feb 10 19:26:10 2012 +1000
4.3 @@ -106,18 +106,27 @@
4.4 /* Have Color Clamp */
4.5 #undef HAVE_OPENGL_CLAMP_COLOR
4.6
4.7 +/* Have glClearDepthf function */
4.8 +#undef HAVE_OPENGL_CLEAR_DEPTHF
4.9 +
4.10 /* Have 2.0 framebuffer_object support */
4.11 #undef HAVE_OPENGL_FBO
4.12
4.13 /* Have EXT_framebuffer_object support */
4.14 #undef HAVE_OPENGL_FBO_EXT
4.15
4.16 +/* Have OpenGL fixed-functionality */
4.17 +#undef HAVE_OPENGL_FIXEDFUNC
4.18 +
4.19 /* Have 2.0 shader support */
4.20 #undef HAVE_OPENGL_SHADER
4.21
4.22 /* Have ARB shader support */
4.23 #undef HAVE_OPENGL_SHADER_ARB
4.24
4.25 +/* Have glAreTexturesResident */
4.26 +#undef HAVE_OPENGL_TEX_RESIDENT
4.27 +
4.28 /* Building with the OSMesa video driver */
4.29 #undef HAVE_OSMESA
4.30
5.1 --- a/configure Tue Feb 07 14:27:13 2012 +1000
5.2 +++ b/configure Fri Feb 10 19:26:10 2012 +1000
5.3 @@ -674,6 +674,14 @@
5.4 MAINTAINER_MODE_TRUE
5.5 MAINTAINER_MODE_FALSE
5.6 MAINT
5.7 +build
5.8 +build_cpu
5.9 +build_vendor
5.10 +build_os
5.11 +host
5.12 +host_cpu
5.13 +host_vendor
5.14 +host_os
5.15 CC
5.16 CFLAGS
5.17 LDFLAGS
5.18 @@ -691,14 +699,6 @@
5.19 am__fastdepCC_TRUE
5.20 am__fastdepCC_FALSE
5.21 CPP
5.22 -build
5.23 -build_cpu
5.24 -build_vendor
5.25 -build_os
5.26 -host
5.27 -host_cpu
5.28 -host_vendor
5.29 -host_os
5.30 CC
5.31 CFLAGS
5.32 CPPFLAGS
5.33 @@ -743,6 +743,8 @@
5.34 GLIB_LIBS
5.35 GTK_CFLAGS
5.36 GTK_LIBS
5.37 +GLIB_FOR_BUILD_CFLAGS
5.38 +GLIB_FOR_BUILD_LIBS
5.39 GUI_GTK_TRUE
5.40 GUI_GTK_FALSE
5.41 LIBISOFS_CFLAGS
5.42 @@ -841,6 +843,8 @@
5.43 GLIB_LIBS
5.44 GTK_CFLAGS
5.45 GTK_LIBS
5.46 +GLIB_FOR_BUILD_CFLAGS
5.47 +GLIB_FOR_BUILD_LIBS
5.48 LIBISOFS_CFLAGS
5.49 LIBISOFS_LIBS
5.50 LIBGL_CFLAGS
5.51 @@ -1478,6 +1482,10 @@
5.52 GLIB_LIBS linker flags for GLIB, overriding pkg-config
5.53 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
5.54 GTK_LIBS linker flags for GTK, overriding pkg-config
5.55 + GLIB_FOR_BUILD_CFLAGS
5.56 + C compiler flags for GLIB_FOR_BUILD, overriding pkg-config
5.57 + GLIB_FOR_BUILD_LIBS
5.58 + linker flags for GLIB_FOR_BUILD, overriding pkg-config
5.59 LIBISOFS_CFLAGS
5.60 C compiler flags for LIBISOFS, overriding pkg-config
5.61 LIBISOFS_LIBS
5.62 @@ -2408,6 +2416,98 @@
5.63 ac_config_headers="$ac_config_headers config.h"
5.64
5.65
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" >&5
5.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" >&5
5.73 +echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
5.74 +if test "${ac_cv_build+set}" = set; then
5.75 + echo $ECHO_N "(cached) $ECHO_C" >&6
5.76 +else
5.77 + ac_build_alias=$build_alias
5.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" >&5
5.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" >&5
5.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 +fi
5.90 +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
5.91 +echo "${ECHO_T}$ac_cv_build" >&6; }
5.92 +case $ac_cv_build in
5.93 +*-*-*) ;;
5.94 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
5.95 +echo "$as_me: error: invalid value of canonical build" >&2;}
5.96 + { (exit 1); exit 1; }; };;
5.97 +esac
5.98 +build=$ac_cv_build
5.99 +ac_save_IFS=$IFS; IFS='-'
5.100 +set x $ac_cv_build
5.101 +shift
5.102 +build_cpu=$1
5.103 +build_vendor=$2
5.104 +shift; shift
5.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_IFS
5.109 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5.110 +
5.111 +
5.112 +{ echo "$as_me:$LINENO: checking host system type" >&5
5.113 +echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
5.114 +if test "${ac_cv_host+set}" = set; then
5.115 + echo $ECHO_N "(cached) $ECHO_C" >&6
5.116 +else
5.117 + if test "x$host_alias" = x; then
5.118 + ac_cv_host=$ac_cv_build
5.119 +else
5.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" >&5
5.122 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
5.123 + { (exit 1); exit 1; }; }
5.124 +fi
5.125 +
5.126 +fi
5.127 +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
5.128 +echo "${ECHO_T}$ac_cv_host" >&6; }
5.129 +case $ac_cv_host in
5.130 +*-*-*) ;;
5.131 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
5.132 +echo "$as_me: error: invalid value of canonical host" >&2;}
5.133 + { (exit 1); exit 1; }; };;
5.134 +esac
5.135 +host=$ac_cv_host
5.136 +ac_save_IFS=$IFS; IFS='-'
5.137 +set x $ac_cv_host
5.138 +shift
5.139 +host_cpu=$1
5.140 +host_vendor=$2
5.141 +shift; shift
5.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_IFS
5.146 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5.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.159
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_gnu
5.165 +if test -n "$ac_tool_prefix"; then
5.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=$2
5.168 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5.169 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5.170 +if test "${ac_cv_prog_CC+set}" = set; then
5.171 + echo $ECHO_N "(cached) $ECHO_C" >&6
5.172 +else
5.173 + if test -n "$CC"; then
5.174 + ac_cv_prog_CC="$CC" # Let the user override the test.
5.175 +else
5.176 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.177 +for as_dir in $PATH
5.178 +do
5.179 + IFS=$as_save_IFS
5.180 + test -z "$as_dir" && as_dir=.
5.181 + for ac_exec_ext in '' $ac_executable_extensions; do
5.182 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5.183 + ac_cv_prog_CC="${ac_tool_prefix}gcc"
5.184 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5.185 + break 2
5.186 + fi
5.187 +done
5.188 +done
5.189 +IFS=$as_save_IFS
5.190 +
5.191 +fi
5.192 +fi
5.193 +CC=$ac_cv_prog_CC
5.194 +if test -n "$CC"; then
5.195 + { echo "$as_me:$LINENO: result: $CC" >&5
5.196 +echo "${ECHO_T}$CC" >&6; }
5.197 +else
5.198 + { echo "$as_me:$LINENO: result: no" >&5
5.199 +echo "${ECHO_T}no" >&6; }
5.200 +fi
5.201 +
5.202 +
5.203 +fi
5.204 +if test -z "$ac_cv_prog_CC"; then
5.205 + ac_ct_CC=$CC
5.206 + # Extract the first word of "gcc", so it can be a program name with args.
5.207 +set dummy gcc; ac_word=$2
5.208 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5.209 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5.210 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5.211 + echo $ECHO_N "(cached) $ECHO_C" >&6
5.212 +else
5.213 + if test -n "$ac_ct_CC"; then
5.214 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5.215 +else
5.216 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.217 +for as_dir in $PATH
5.218 +do
5.219 + IFS=$as_save_IFS
5.220 + test -z "$as_dir" && as_dir=.
5.221 + for ac_exec_ext in '' $ac_executable_extensions; do
5.222 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5.223 + ac_cv_prog_ac_ct_CC="gcc"
5.224 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5.225 + break 2
5.226 + fi
5.227 +done
5.228 +done
5.229 +IFS=$as_save_IFS
5.230 +
5.231 +fi
5.232 +fi
5.233 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
5.234 +if test -n "$ac_ct_CC"; then
5.235 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5.236 +echo "${ECHO_T}$ac_ct_CC" >&6; }
5.237 +else
5.238 + { echo "$as_me:$LINENO: result: no" >&5
5.239 +echo "${ECHO_T}no" >&6; }
5.240 +fi
5.241 +
5.242 + if test "x$ac_ct_CC" = x; then
5.243 + CC=""
5.244 + else
5.245 + case $cross_compiling:$ac_tool_warned in
5.246 +yes:)
5.247 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5.248 +whose name does not start with the host triplet. If you think this
5.249 +configuration is useful to you, please write to autoconf@gnu.org." >&5
5.250 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5.251 +whose name does not start with the host triplet. If you think this
5.252 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5.253 +ac_tool_warned=yes ;;
5.254 +esac
5.255 + CC=$ac_ct_CC
5.256 + fi
5.257 +else
5.258 + CC="$ac_cv_prog_CC"
5.259 +fi
5.260 +
5.261 +if test -z "$CC"; then
5.262 + if test -n "$ac_tool_prefix"; then
5.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=$2
5.265 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5.266 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5.267 +if test "${ac_cv_prog_CC+set}" = set; then
5.268 + echo $ECHO_N "(cached) $ECHO_C" >&6
5.269 +else
5.270 + if test -n "$CC"; then
5.271 + ac_cv_prog_CC="$CC" # Let the user override the test.
5.272 +else
5.273 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.274 +for as_dir in $PATH
5.275 +do
5.276 + IFS=$as_save_IFS
5.277 + test -z "$as_dir" && as_dir=.
5.278 + for ac_exec_ext in '' $ac_executable_extensions; do
5.279 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5.280 + ac_cv_prog_CC="${ac_tool_prefix}cc"
5.281 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5.282 + break 2
5.283 + fi
5.284 +done
5.285 +done
5.286 +IFS=$as_save_IFS
5.287 +
5.288 +fi
5.289 +fi
5.290 +CC=$ac_cv_prog_CC
5.291 +if test -n "$CC"; then
5.292 + { echo "$as_me:$LINENO: result: $CC" >&5
5.293 +echo "${ECHO_T}$CC" >&6; }
5.294 +else
5.295 + { echo "$as_me:$LINENO: result: no" >&5
5.296 +echo "${ECHO_T}no" >&6; }
5.297 +fi
5.298 +
5.299 +
5.300 + fi
5.301 +fi
5.302 +if test -z "$CC"; then
5.303 + # Extract the first word of "cc", so it can be a program name with args.
5.304 +set dummy cc; ac_word=$2
5.305 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5.306 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5.307 +if test "${ac_cv_prog_CC+set}" = set; then
5.308 + echo $ECHO_N "(cached) $ECHO_C" >&6
5.309 +else
5.310 + if test -n "$CC"; then
5.311 + ac_cv_prog_CC="$CC" # Let the user override the test.
5.312 +else
5.313 + ac_prog_rejected=no
5.314 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.315 +for as_dir in $PATH
5.316 +do
5.317 + IFS=$as_save_IFS
5.318 + test -z "$as_dir" && as_dir=.
5.319 + for ac_exec_ext in '' $ac_executable_extensions; do
5.320 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5.321 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5.322 + ac_prog_rejected=yes
5.323 + continue
5.324 + fi
5.325 + ac_cv_prog_CC="cc"
5.326 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5.327 + break 2
5.328 + fi
5.329 +done
5.330 +done
5.331 +IFS=$as_save_IFS
5.332 +
5.333 +if test $ac_prog_rejected = yes; then
5.334 + # We found a bogon in the path, so make sure we never use it.
5.335 + set dummy $ac_cv_prog_CC
5.336 + shift
5.337 + if test $# != 0; then
5.338 + # We chose a different compiler from the bogus one.
5.339 + # However, it has the same basename, so the bogon will be chosen
5.340 + # first if we set CC to just the basename; use the full file name.
5.341 + shift
5.342 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5.343 + fi
5.344 +fi
5.345 +fi
5.346 +fi
5.347 +CC=$ac_cv_prog_CC
5.348 +if test -n "$CC"; then
5.349 + { echo "$as_me:$LINENO: result: $CC" >&5
5.350 +echo "${ECHO_T}$CC" >&6; }
5.351 +else
5.352 + { echo "$as_me:$LINENO: result: no" >&5
5.353 +echo "${ECHO_T}no" >&6; }
5.354 +fi
5.355 +
5.356 +
5.357 +fi
5.358 +if test -z "$CC"; then
5.359 + if test -n "$ac_tool_prefix"; then
5.360 + for ac_prog in cl.exe
5.361 + do
5.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=$2
5.364 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5.365 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5.366 +if test "${ac_cv_prog_CC+set}" = set; then
5.367 + echo $ECHO_N "(cached) $ECHO_C" >&6
5.368 +else
5.369 + if test -n "$CC"; then
5.370 + ac_cv_prog_CC="$CC" # Let the user override the test.
5.371 +else
5.372 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.373 +for as_dir in $PATH
5.374 +do
5.375 + IFS=$as_save_IFS
5.376 + test -z "$as_dir" && as_dir=.
5.377 + for ac_exec_ext in '' $ac_executable_extensions; do
5.378 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5.379 + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5.380 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5.381 + break 2
5.382 + fi
5.383 +done
5.384 +done
5.385 +IFS=$as_save_IFS
5.386 +
5.387 +fi
5.388 +fi
5.389 +CC=$ac_cv_prog_CC
5.390 +if test -n "$CC"; then
5.391 + { echo "$as_me:$LINENO: result: $CC" >&5
5.392 +echo "${ECHO_T}$CC" >&6; }
5.393 +else
5.394 + { echo "$as_me:$LINENO: result: no" >&5
5.395 +echo "${ECHO_T}no" >&6; }
5.396 +fi
5.397 +
5.398 +
5.399 + test -n "$CC" && break
5.400 + done
5.401 +fi
5.402 +if test -z "$CC"; then
5.403 + ac_ct_CC=$CC
5.404 + for ac_prog in cl.exe
5.405 +do
5.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=$2
5.408 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5.409 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5.410 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5.411 + echo $ECHO_N "(cached) $ECHO_C" >&6
5.412 +else
5.413 + if test -n "$ac_ct_CC"; then
5.414 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5.415 +else
5.416 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.417 +for as_dir in $PATH
5.418 +do
5.419 + IFS=$as_save_IFS
5.420 + test -z "$as_dir" && as_dir=.
5.421 + for ac_exec_ext in '' $ac_executable_extensions; do
5.422 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5.423 + ac_cv_prog_ac_ct_CC="$ac_prog"
5.424 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5.425 + break 2
5.426 + fi
5.427 +done
5.428 +done
5.429 +IFS=$as_save_IFS
5.430 +
5.431 +fi
5.432 +fi
5.433 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
5.434 +if test -n "$ac_ct_CC"; then
5.435 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5.436 +echo "${ECHO_T}$ac_ct_CC" >&6; }
5.437 +else
5.438 + { echo "$as_me:$LINENO: result: no" >&5
5.439 +echo "${ECHO_T}no" >&6; }
5.440 +fi
5.441 +
5.442 +
5.443 + test -n "$ac_ct_CC" && break
5.444 +done
5.445 +
5.446 + if test "x$ac_ct_CC" = x; then
5.447 + CC=""
5.448 + else
5.449 + case $cross_compiling:$ac_tool_warned in
5.450 +yes:)
5.451 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5.452 +whose name does not start with the host triplet. If you think this
5.453 +configuration is useful to you, please write to autoconf@gnu.org." >&5
5.454 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5.455 +whose name does not start with the host triplet. If you think this
5.456 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5.457 +ac_tool_warned=yes ;;
5.458 +esac
5.459 + CC=$ac_ct_CC
5.460 + fi
5.461 +fi
5.462 +
5.463 +fi
5.464 +
5.465 +
5.466 +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
5.467 +See \`config.log' for more details." >&5
5.468 +echo "$as_me: error: no acceptable C compiler found in \$PATH
5.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" >&5
5.474 +ac_compiler=`set X $ac_compile; echo $2`
5.475 +{ (ac_try="$ac_compiler --version >&5"
5.476 +case "(($ac_try" in
5.477 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5.478 + *) ac_try_echo=$ac_try;;
5.479 +esac
5.480 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5.481 + (eval "$ac_compiler --version >&5") 2>&5
5.482 + ac_status=$?
5.483 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.484 + (exit $ac_status); }
5.485 +{ (ac_try="$ac_compiler -v >&5"
5.486 +case "(($ac_try" in
5.487 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5.488 + *) ac_try_echo=$ac_try;;
5.489 +esac
5.490 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5.491 + (eval "$ac_compiler -v >&5") 2>&5
5.492 + ac_status=$?
5.493 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.494 + (exit $ac_status); }
5.495 +{ (ac_try="$ac_compiler -V >&5"
5.496 +case "(($ac_try" in
5.497 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5.498 + *) ac_try_echo=$ac_try;;
5.499 +esac
5.500 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5.501 + (eval "$ac_compiler -V >&5") 2>&5
5.502 + ac_status=$?
5.503 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.504 + (exit $ac_status); }
5.505 +
5.506 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
5.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; then
5.509 + echo $ECHO_N "(cached) $ECHO_C" >&6
5.510 +else
5.511 + cat >conftest.$ac_ext <<_ACEOF
5.512 +/* confdefs.h. */
5.513 +_ACEOF
5.514 +cat confdefs.h >>conftest.$ac_ext
5.515 +cat >>conftest.$ac_ext <<_ACEOF
5.516 +/* end confdefs.h. */
5.517 +
5.518 +int
5.519 +main ()
5.520 +{
5.521 +#ifndef __GNUC__
5.522 + choke me
5.523 +#endif
5.524 +
5.525 + ;
5.526 + return 0;
5.527 +}
5.528 +_ACEOF
5.529 +rm -f conftest.$ac_objext
5.530 +if { (ac_try="$ac_compile"
5.531 +case "(($ac_try" in
5.532 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5.533 + *) ac_try_echo=$ac_try;;
5.534 +esac
5.535 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5.536 + (eval "$ac_compile") 2>conftest.er1
5.537 + ac_status=$?
5.538 + grep -v '^ *+' conftest.er1 >conftest.err
5.539 + rm -f conftest.er1
5.540 + cat conftest.err >&5
5.541 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.542 + (exit $ac_status); } && {
5.543 + test -z "$ac_c_werror_flag" ||
5.544 + test ! -s conftest.err
5.545 + } && test -s conftest.$ac_objext; then
5.546 + ac_compiler_gnu=yes
5.547 +else
5.548 + echo "$as_me: failed program was:" >&5
5.549 +sed 's/^/| /' conftest.$ac_ext >&5
5.550 +
5.551 + ac_compiler_gnu=no
5.552 +fi
5.553 +
5.554 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5.555 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
5.556 +
5.557 +fi
5.558 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5.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=$CFLAGS
5.563 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5.564 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
5.565 +if test "${ac_cv_prog_cc_g+set}" = set; then
5.566 + echo $ECHO_N "(cached) $ECHO_C" >&6
5.567 +else
5.568 + ac_save_c_werror_flag=$ac_c_werror_flag
5.569 + ac_c_werror_flag=yes
5.570 + ac_cv_prog_cc_g=no
5.571 + CFLAGS="-g"
5.572 + cat >conftest.$ac_ext <<_ACEOF
5.573 +/* confdefs.h. */
5.574 +_ACEOF
5.575 +cat confdefs.h >>conftest.$ac_ext
5.576 +cat >>conftest.$ac_ext <<_ACEOF
5.577 +/* end confdefs.h. */
5.578 +
5.579 +int
5.580 +main ()
5.581 +{
5.582 +
5.583 + ;
5.584 + return 0;
5.585 +}
5.586 +_ACEOF
5.587 +rm -f conftest.$ac_objext
5.588 +if { (ac_try="$ac_compile"
5.589 +case "(($ac_try" in
5.590 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5.591 + *) ac_try_echo=$ac_try;;
5.592 +esac
5.593 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5.594 + (eval "$ac_compile") 2>conftest.er1
5.595 + ac_status=$?
5.596 + grep -v '^ *+' conftest.er1 >conftest.err
5.597 + rm -f conftest.er1
5.598 + cat conftest.err >&5
5.599 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.600 + (exit $ac_status); } && {
5.601 + test -z "$ac_c_werror_flag" ||
5.602 + test ! -s conftest.err
5.603 + } && test -s conftest.$ac_objext; then
5.604 + ac_cv_prog_cc_g=yes
5.605 +else
5.606 + echo "$as_me: failed program was:" >&5
5.607 +sed 's/^/| /' conftest.$ac_ext >&5
5.608 +
5.609 + CFLAGS=""
5.610 + cat >conftest.$ac_ext <<_ACEOF
5.611 +/* confdefs.h. */
5.612 +_ACEOF
5.613 +cat confdefs.h >>conftest.$ac_ext
5.614 +cat >>conftest.$ac_ext <<_ACEOF
5.615 +/* end confdefs.h. */
5.616 +
5.617 +int
5.618 +main ()
5.619 +{
5.620 +
5.621 + ;
5.622 + return 0;
5.623 +}
5.624 +_ACEOF
5.625 +rm -f conftest.$ac_objext
5.626 +if { (ac_try="$ac_compile"
5.627 +case "(($ac_try" in
5.628 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5.629 + *) ac_try_echo=$ac_try;;
5.630 +esac
5.631 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5.632 + (eval "$ac_compile") 2>conftest.er1
5.633 + ac_status=$?
5.634 + grep -v '^ *+' conftest.er1 >conftest.err
5.635 + rm -f conftest.er1
5.636 + cat conftest.err >&5
5.637 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.638 + (exit $ac_status); } && {
5.639 + test -z "$ac_c_werror_flag" ||
5.640 + test ! -s conftest.err
5.641 + } && test -s conftest.$ac_objext; then
5.642 + :
5.643 +else
5.644 + echo "$as_me: failed program was:" >&5
5.645 +sed 's/^/| /' conftest.$ac_ext >&5
5.646 +
5.647 + ac_c_werror_flag=$ac_save_c_werror_flag
5.648 + CFLAGS="-g"
5.649 + cat >conftest.$ac_ext <<_ACEOF
5.650 +/* confdefs.h. */
5.651 +_ACEOF
5.652 +cat confdefs.h >>conftest.$ac_ext
5.653 +cat >>conftest.$ac_ext <<_ACEOF
5.654 +/* end confdefs.h. */
5.655 +
5.656 +int
5.657 +main ()
5.658 +{
5.659 +
5.660 + ;
5.661 + return 0;
5.662 +}
5.663 +_ACEOF
5.664 +rm -f conftest.$ac_objext
5.665 +if { (ac_try="$ac_compile"
5.666 +case "(($ac_try" in
5.667 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5.668 + *) ac_try_echo=$ac_try;;
5.669 +esac
5.670 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5.671 + (eval "$ac_compile") 2>conftest.er1
5.672 + ac_status=$?
5.673 + grep -v '^ *+' conftest.er1 >conftest.err
5.674 + rm -f conftest.er1
5.675 + cat conftest.err >&5
5.676 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.677 + (exit $ac_status); } && {
5.678 + test -z "$ac_c_werror_flag" ||
5.679 + test ! -s conftest.err
5.680 + } && test -s conftest.$ac_objext; then
5.681 + ac_cv_prog_cc_g=yes
5.682 +else
5.683 + echo "$as_me: failed program was:" >&5
5.684 +sed 's/^/| /' conftest.$ac_ext >&5
5.685 +
5.686 +
5.687 +fi
5.688 +
5.689 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5.690 +fi
5.691 +
5.692 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5.693 +fi
5.694 +
5.695 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5.696 + ac_c_werror_flag=$ac_save_c_werror_flag
5.697 +fi
5.698 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5.699 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
5.700 +if test "$ac_test_CFLAGS" = set; then
5.701 + CFLAGS=$ac_save_CFLAGS
5.702 +elif test $ac_cv_prog_cc_g = yes; then
5.703 + if test "$GCC" = yes; then
5.704 + CFLAGS="-g -O2"
5.705 + else
5.706 + CFLAGS="-g"
5.707 + fi
5.708 +else
5.709 + if test "$GCC" = yes; then
5.710 + CFLAGS="-O2"
5.711 + else
5.712 + CFLAGS=
5.713 + fi
5.714 +fi
5.715 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
5.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; then
5.718 + echo $ECHO_N "(cached) $ECHO_C" >&6
5.719 +else
5.720 + ac_cv_prog_cc_c89=no
5.721 +ac_save_CC=$CC
5.722 +cat >conftest.$ac_ext <<_ACEOF
5.723 +/* confdefs.h. */
5.724 +_ACEOF
5.725 +cat confdefs.h >>conftest.$ac_ext
5.726 +cat >>conftest.$ac_ext <<_ACEOF
5.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 has
5.752 + function prototypes and stuff, but not '\xHH' hex character constants.
5.753 + These don't provoke an error unfortunately, instead are silently treated
5.754 + as 'x'. The following induces an error, until -std is added to get
5.755 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5.756 + array size at least. It's necessary to write '\x00'==0 to get something
5.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 parameters
5.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 +int
5.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 +_ACEOF
5.779 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5.780 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5.781 +do
5.782 + CC="$ac_save_CC $ac_arg"
5.783 + rm -f conftest.$ac_objext
5.784 +if { (ac_try="$ac_compile"
5.785 +case "(($ac_try" in
5.786 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5.787 + *) ac_try_echo=$ac_try;;
5.788 +esac
5.789 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5.790 + (eval "$ac_compile") 2>conftest.er1
5.791 + ac_status=$?
5.792 + grep -v '^ *+' conftest.er1 >conftest.err
5.793 + rm -f conftest.er1
5.794 + cat conftest.err >&5
5.795 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.796 + (exit $ac_status); } && {
5.797 + test -z "$ac_c_werror_flag" ||
5.798 + test ! -s conftest.err
5.799 + } && test -s conftest.$ac_objext; then
5.800 + ac_cv_prog_cc_c89=$ac_arg
5.801 +else
5.802 + echo "$as_me: failed program was:" >&5
5.803 +sed 's/^/| /' conftest.$ac_ext >&5
5.804 +
5.805 +
5.806 +fi
5.807 +
5.808 +rm -f core conftest.err conftest.$ac_objext
5.809 + test "x$ac_cv_prog_cc_c89" != "xno" && break
5.810 +done
5.811 +rm -f conftest.$ac_ext
5.812 +CC=$ac_save_CC
5.813 +
5.814 +fi
5.815 +# AC_CACHE_VAL
5.816 +case "x$ac_cv_prog_cc_c89" in
5.817 + x)
5.818 + { echo "$as_me:$LINENO: result: none needed" >&5
5.819 +echo "${ECHO_T}none needed" >&6; } ;;
5.820 + xno)
5.821 + { echo "$as_me:$LINENO: result: unsupported" >&5
5.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" >&5
5.826 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
5.827 +esac
5.828 +
5.829 +
5.830 +ac_ext=c
5.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_gnu
5.835 +
5.836 +depcc="$CC" am_compiler_list=
5.837 +
5.838 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5.839 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5.840 +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5.841 + echo $ECHO_N "(cached) $ECHO_C" >&6
5.842 +else
5.843 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5.844 + # We make a subdir and do the tests there. Otherwise we can end up
5.845 + # making bogus files that we don't know about and never remove. For
5.846 + # instance it was reported that on HP-UX the gcc test will end up
5.847 + # making a dummy file named `D' -- because `-MD' means `put the output
5.848 + # in D'.
5.849 + mkdir conftest.dir
5.850 + # Copy depcomp to subdir because otherwise we won't find it if we're
5.851 + # using a relative directory.
5.852 + cp "$am_depcomp" conftest.dir
5.853 + cd conftest.dir
5.854 + # We will build objects and dependencies in a subdirectory because
5.855 + # it helps to detect inapplicable dependency modes. For instance
5.856 + # both Tru64's cc and ICC support -MD to output dependencies as a
5.857 + # side effect of compilation, but ICC will put the dependencies in
5.858 + # the current directory while Tru64 will put them in the object
5.859 + # directory.
5.860 + mkdir sub
5.861 +
5.862 + am_cv_CC_dependencies_compiler_type=none
5.863 + if test "$am_compiler_list" = ""; then
5.864 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5.865 + fi
5.866 + for depmode in $am_compiler_list; do
5.867 + # Setup a source with many dependencies, because some compilers
5.868 + # like to wrap large dependency lists on column 80 (with \), and
5.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 may
5.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.c
5.875 + for i in 1 2 3 4 5 6; do
5.876 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
5.877 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5.878 + # Solaris 8's {/usr,}/bin/sh.
5.879 + touch sub/conftst$i.h
5.880 + done
5.881 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5.882 +
5.883 + case $depmode in
5.884 + nosideeffect)
5.885 + # after this tag, mechanisms are not by side-effect, so they'll
5.886 + # only be used when explicitly requested
5.887 + if test "x$enable_dependency_tracking" = xyes; then
5.888 + continue
5.889 + else
5.890 + break
5.891 + fi
5.892 + ;;
5.893 + none) break ;;
5.894 + esac
5.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 properly
5.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; then
5.906 + # icc doesn't choke on unknown options, it will just issue warnings
5.907 + # or remarks (even with -Werror). So we grep stderr for any message
5.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 required
5.911 + # The diagnosis changed in icc 8.0:
5.912 + # icc: Command line remark: option '-MP' not supported
5.913 + if (grep 'ignoring option' conftest.err ||
5.914 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5.915 + am_cv_CC_dependencies_compiler_type=$depmode
5.916 + break
5.917 + fi
5.918 + fi
5.919 + done
5.920 +
5.921 + cd ..
5.922 + rm -rf conftest.dir
5.923 +else
5.924 + am_cv_CC_dependencies_compiler_type=none
5.925 +fi
5.926 +
5.927 +fi
5.928 +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5.929 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
5.930 +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5.931 +
5.932 +
5.933 +
5.934 +if
5.935 + test "x$enable_dependency_tracking" != xno \
5.936 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5.937 + am__fastdepCC_TRUE=
5.938 + am__fastdepCC_FALSE='#'
5.939 +else
5.940 + am__fastdepCC_TRUE='#'
5.941 + am__fastdepCC_FALSE=
5.942 +fi
5.943 +
5.944 +
5.945 +
5.946 +am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
5.947 +
5.948 +ac_ext=c
5.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_gnu
5.953 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5.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_gnu
5.958
5.959
5.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" >&5
5.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" >&5
5.967 -echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
5.968 -if test "${ac_cv_build+set}" = set; then
5.969 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.970 -else
5.971 - ac_build_alias=$build_alias
5.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" >&5
5.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" >&5
5.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 -fi
5.984 -{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
5.985 -echo "${ECHO_T}$ac_cv_build" >&6; }
5.986 -case $ac_cv_build in
5.987 -*-*-*) ;;
5.988 -*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
5.989 -echo "$as_me: error: invalid value of canonical build" >&2;}
5.990 - { (exit 1); exit 1; }; };;
5.991 -esac
5.992 -build=$ac_cv_build
5.993 -ac_save_IFS=$IFS; IFS='-'
5.994 -set x $ac_cv_build
5.995 -shift
5.996 -build_cpu=$1
5.997 -build_vendor=$2
5.998 -shift; shift
5.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_IFS
5.1003 -case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5.1004 -
5.1005 -
5.1006 -{ echo "$as_me:$LINENO: checking host system type" >&5
5.1007 -echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
5.1008 -if test "${ac_cv_host+set}" = set; then
5.1009 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.1010 -else
5.1011 - if test "x$host_alias" = x; then
5.1012 - ac_cv_host=$ac_cv_build
5.1013 -else
5.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" >&5
5.1016 -echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
5.1017 - { (exit 1); exit 1; }; }
5.1018 -fi
5.1019 -
5.1020 -fi
5.1021 -{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
5.1022 -echo "${ECHO_T}$ac_cv_host" >&6; }
5.1023 -case $ac_cv_host in
5.1024 -*-*-*) ;;
5.1025 -*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
5.1026 -echo "$as_me: error: invalid value of canonical host" >&2;}
5.1027 - { (exit 1); exit 1; }; };;
5.1028 -esac
5.1029 -host=$ac_cv_host
5.1030 -ac_save_IFS=$IFS; IFS='-'
5.1031 -set x $ac_cv_host
5.1032 -shift
5.1033 -host_cpu=$1
5.1034 -host_vendor=$2
5.1035 -shift; shift
5.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_IFS
5.1040 -case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5.1041 -
5.1042 -
5.1043 ac_main_cc="$CC"
5.1044 test -n "$build_alias" && ac_build_tool_prefix=$build_alias-
5.1045
5.1046 @@ -4716,11 +5521,12 @@
5.1047
5.1048 fi
5.1049
5.1050 +
5.1051 ac_ext=c
5.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_gnu
5.1056 +ac_build_compiler_gnu=$ac_cv_c_compiler_gnu
5.1057 if test -n "$ac_build_tool_prefix"; then
5.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=$2
5.1060 @@ -5102,21 +5908,21 @@
5.1061 test -z "$ac_c_werror_flag" ||
5.1062 test ! -s conftest.err
5.1063 } && test -s conftest.$ac_build_objext; then
5.1064 - ac_compiler_gnu=yes
5.1065 -else
5.1066 - echo "$as_me: failed program was:" >&5
5.1067 -sed 's/^/| /' conftest.$ac_ext >&5
5.1068 -
5.1069 - ac_compiler_gnu=no
5.1070 + ac_build_compiler_gnu=yes
5.1071 +else
5.1072 + echo "$as_me: failed program was:" >&5
5.1073 +sed 's/^/| /' conftest.$ac_ext >&5
5.1074 +
5.1075 + ac_build_compiler_gnu=no
5.1076 fi
5.1077
5.1078 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
5.1079 -ac_cv_c_compiler_gnu=$ac_compiler_gnu
5.1080 +ac_cv_c_compiler_gnu=$ac_build_compiler_gnu
5.1081
5.1082 fi
5.1083 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5.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_BUILD
5.1089 { echo "$as_me:$LINENO: checking whether $CC_FOR_BUILD accepts -g" >&5
5.1090 @@ -5273,10 +6079,10 @@
5.1091 fi
5.1092 { echo "$as_me:$LINENO: checking for $CC_FOR_BUILD option to accept ISO C89" >&5
5.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; then
5.1095 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.1096 -else
5.1097 - ac_cv_prog_cc_c89=no
5.1098 +if test "${ac_cv_build_prog_cc_stdc+set}" = set; then
5.1099 + echo $ECHO_N "(cached) $ECHO_C" >&6
5.1100 +else
5.1101 + ac_cv_build_prog_cc_stdc=no
5.1102 ac_save_CC=$CC_FOR_BUILD
5.1103 cat >conftest.$ac_ext <<_ACEOF
5.1104 /* confdefs.h. */
5.1105 @@ -5356,7 +6162,7 @@
5.1106 test -z "$ac_c_werror_flag" ||
5.1107 test ! -s conftest.err
5.1108 } && test -s conftest.$ac_build_objext; then
5.1109 - ac_cv_prog_cc_c89=$ac_arg
5.1110 + ac_cv_build_prog_cc_stdc=$ac_arg
5.1111 else
5.1112 echo "$as_me: failed program was:" >&5
5.1113 sed 's/^/| /' conftest.$ac_ext >&5
5.1114 @@ -5365,14 +6171,14 @@
5.1115 fi
5.1116
5.1117 rm -f core conftest.err conftest.$ac_build_objext
5.1118 - test "x$ac_cv_prog_cc_c89" != "xno" && break
5.1119 + test "x$ac_cv_build_prog_cc_stdc" != "xno" && break
5.1120 done
5.1121 rm -f conftest.$ac_ext
5.1122 CC_FOR_BUILD=$ac_save_CC
5.1123
5.1124 fi
5.1125 # AC_CACHE_VAL
5.1126 -case "x$ac_cv_prog_cc_c89" in
5.1127 +case "x$ac_cv_build_prog_cc_stdc" in
5.1128 x)
5.1129 { echo "$as_me:$LINENO: result: none needed" >&5
5.1130 echo "${ECHO_T}none needed" >&6; } ;;
5.1131 @@ -5380,9 +6186,9 @@
5.1132 { echo "$as_me:$LINENO: result: unsupported" >&5
5.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" >&5
5.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" >&5
5.1140 +echo "${ECHO_T}$ac_cv_build_prog_cc_stdc" >&6; } ;;
5.1141 esac
5.1142
5.1143
5.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_gnu
5.1149 +ac_build_compiler_gnu=$ac_cv_c_compiler_gnu
5.1150
5.1151 depcc="$CC_FOR_BUILD" am_compiler_list=
5.1152
5.1153 @@ -5501,804 +6307,216 @@
5.1154 fi
5.1155
5.1156
5.1157 -ac_ext=c
5.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_gnu
5.1162 -{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5.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"; then
5.1166 - CPP_FOR_BUILD=
5.1167 -fi
5.1168 -if test -z "$CPP_FOR_BUILD"; then
5.1169 - if test "${ac_cv_build_prog_CPP+set}" = set; then
5.1170 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.1171 -else
5.1172 - # Double quotes because CPP needs to be expanded
5.1173 - for CPP_FOR_BUILD in "$CC_FOR_BUILD -E" "$CC_FOR_BUILD -E -traditional-cpp" "/lib/cpp"
5.1174 - do
5.1175 - ac_preproc_ok=false
5.1176 -for ac_c_preproc_warn_flag in '' yes
5.1177 -do
5.1178 - # Use a header file that comes with gcc, so configuring glibc
5.1179 - # with a fresh cross-compiler works.
5.1180 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5.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 <<_ACEOF
5.1185 -/* confdefs.h. */
5.1186 -_ACEOF
5.1187 -cat confdefs.h >>conftest.$ac_ext
5.1188 -cat >>conftest.$ac_ext <<_ACEOF
5.1189 -/* end confdefs.h. */
5.1190 -#ifdef __STDC__
5.1191 -# include <limits.h>
5.1192 -#else
5.1193 -# include <assert.h>
5.1194 -#endif
5.1195 - Syntax error
5.1196 -_ACEOF
5.1197 -if { (ac_try="$ac_build_cpp conftest.$ac_ext"
5.1198 -case "(($ac_try" in
5.1199 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5.1200 - *) ac_try_echo=$ac_try;;
5.1201 -esac
5.1202 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5.1203 - (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er1
5.1204 - ac_status=$?
5.1205 - grep -v '^ *+' conftest.er1 >conftest.err
5.1206 - rm -f conftest.er1
5.1207 - cat conftest.err >&5
5.1208 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.1209 - (exit $ac_status); } >/dev/null && {
5.1210 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5.1211 - test ! -s conftest.err
5.1212 - }; then
5.1213 - :
5.1214 -else
5.1215 - echo "$as_me: failed program was:" >&5
5.1216 -sed 's/^/| /' conftest.$ac_ext >&5
5.1217 -
5.1218 - # Broken: fails on valid input.
5.1219 -continue
5.1220 -fi
5.1221 -
5.1222 -rm -f conftest.err conftest.$ac_ext
5.1223 -
5.1224 - # OK, works on sane cases. Now check whether nonexistent headers
5.1225 - # can be detected and how.
5.1226 - cat >conftest.$ac_ext <<_ACEOF
5.1227 -/* confdefs.h. */
5.1228 -_ACEOF
5.1229 -cat confdefs.h >>conftest.$ac_ext
5.1230 -cat >>conftest.$ac_ext <<_ACEOF
5.1231 -/* end confdefs.h. */
5.1232 -#include <ac_nonexistent.h>
5.1233 -_ACEOF
5.1234 -if { (ac_try="$ac_build_cpp conftest.$ac_ext"
5.1235 -case "(($ac_try" in
5.1236 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5.1237 - *) ac_try_echo=$ac_try;;
5.1238 -esac
5.1239 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5.1240 - (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er1
5.1241 - ac_status=$?
5.1242 - grep -v '^ *+' conftest.er1 >conftest.err
5.1243 - rm -f conftest.er1
5.1244 - cat conftest.err >&5
5.1245 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.1246 - (exit $ac_status); } >/dev/null && {
5.1247 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5.1248 - test ! -s conftest.err
5.1249 - }; then
5.1250 - # Broken: success on invalid input.
5.1251 -continue
5.1252 -else
5.1253 - echo "$as_me: failed program was:" >&5
5.1254 -sed 's/^/| /' conftest.$ac_ext >&5
5.1255 -
5.1256 - # Passes both tests.
5.1257 -ac_preproc_ok=:
5.1258 -break
5.1259 -fi
5.1260 -
5.1261 -rm -f conftest.err conftest.$ac_ext
5.1262 -
5.1263 -done
5.1264 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5.1265 -rm -f conftest.err conftest.$ac_ext
5.1266 -if $ac_preproc_ok; then
5.1267 - break
5.1268 -fi
5.1269 -
5.1270 - done
5.1271 - ac_cv_build_prog_CPP=$CPP_FOR_BUILD
5.1272 -
5.1273 -fi
5.1274 - CPP_FOR_BUILD=$ac_cv_build_prog_CPP
5.1275 -else
5.1276 - ac_cv_build_prog_CPP=$CPP_FOR_BUILD
5.1277 -fi
5.1278 -{ echo "$as_me:$LINENO: result: $CPP_FOR_BUILD" >&5
5.1279 -echo "${ECHO_T}$CPP_FOR_BUILD" >&6; }
5.1280 -ac_preproc_ok=false
5.1281 -for ac_c_preproc_warn_flag in '' yes
5.1282 -do
5.1283 - # Use a header file that comes with gcc, so configuring glibc
5.1284 - # with a fresh cross-compiler works.
5.1285 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5.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 <<_ACEOF
5.1290 -/* confdefs.h. */
5.1291 -_ACEOF
5.1292 -cat confdefs.h >>conftest.$ac_ext
5.1293 -cat >>conftest.$ac_ext <<_ACEOF
5.1294 -/* end confdefs.h. */
5.1295 -#ifdef __STDC__
5.1296 -# include <limits.h>
5.1297 -#else
5.1298 -# include <assert.h>
5.1299 -#endif
5.1300 - Syntax error
5.1301 -_ACEOF
5.1302 -if { (ac_try="$ac_build_cpp conftest.$ac_ext"
5.1303 -case "(($ac_try" in
5.1304 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5.1305 - *) ac_try_echo=$ac_try;;
5.1306 -esac
5.1307 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5.1308 - (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er1
5.1309 - ac_status=$?
5.1310 - grep -v '^ *+' conftest.er1 >conftest.err
5.1311 - rm -f conftest.er1
5.1312 - cat conftest.err >&5
5.1313 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.1314 - (exit $ac_status); } >/dev/null && {
5.1315 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5.1316 - test ! -s conftest.err
5.1317 - }; then
5.1318 - :
5.1319 -else
5.1320 - echo "$as_me: failed program was:" >&5
5.1321 -sed 's/^/| /' conftest.$ac_ext >&5
5.1322 -
5.1323 - # Broken: fails on valid input.
5.1324 -continue
5.1325 -fi
5.1326 -
5.1327 -rm -f conftest.err conftest.$ac_ext
5.1328 -
5.1329 - # OK, works on sane cases. Now check whether nonexistent headers
5.1330 - # can be detected and how.
5.1331 - cat >conftest.$ac_ext <<_ACEOF
5.1332 -/* confdefs.h. */
5.1333 -_ACEOF
5.1334 -cat confdefs.h >>conftest.$ac_ext
5.1335 -cat >>conftest.$ac_ext <<_ACEOF
5.1336 -/* end confdefs.h. */
5.1337 -#include <ac_nonexistent.h>
5.1338 -_ACEOF
5.1339 -if { (ac_try="$ac_build_cpp conftest.$ac_ext"
5.1340 -case "(($ac_try" in
5.1341 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5.1342 - *) ac_try_echo=$ac_try;;
5.1343 -esac
5.1344 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5.1345 - (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er1
5.1346 - ac_status=$?
5.1347 - grep -v '^ *+' conftest.er1 >conftest.err
5.1348 - rm -f conftest.er1
5.1349 - cat conftest.err >&5
5.1350 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.1351 - (exit $ac_status); } >/dev/null && {
5.1352 - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5.1353 - test ! -s conftest.err
5.1354 - }; then
5.1355 - # Broken: success on invalid input.
5.1356 -continue
5.1357 -else
5.1358 - echo "$as_me: failed program was:" >&5
5.1359 -sed 's/^/| /' conftest.$ac_ext >&5
5.1360 -
5.1361 - # Passes both tests.
5.1362 -ac_preproc_ok=:
5.1363 -break
5.1364 -fi
5.1365 -
5.1366 -rm -f conftest.err conftest.$ac_ext
5.1367 -
5.1368 -done
5.1369 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5.1370 -rm -f conftest.err conftest.$ac_ext
5.1371 -if $ac_preproc_ok; then
5.1372 - :
5.1373 -else
5.1374 - { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP_FOR_BUILD\" fails sanity check
5.1375 -See \`config.log' for more details." >&5
5.1376 -echo "$as_me: error: C preprocessor \"$CPP_FOR_BUILD\" fails sanity check
5.1377 -See \`config.log' for more details." >&2;}
5.1378 - { (exit 1); exit 1; }; }
5.1379 -fi
5.1380 -
5.1381 -ac_ext=c
5.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_gnu
5.1386 -
5.1387 -
5.1388 -
5.1389 -
5.1390 -BUILD_EXEEXT=$ac_build_exeext
5.1391 -BUILD_OBJEXT=$ac_build_objext
5.1392 -
5.1393 -ac_ext=c
5.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_gnu
5.1398 -if test -n "$ac_tool_prefix"; then
5.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=$2
5.1401 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5.1402 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5.1403 -if test "${ac_cv_prog_CC+set}" = set; then
5.1404 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.1405 -else
5.1406 - if test -n "$CC"; then
5.1407 - ac_cv_prog_CC="$CC" # Let the user override the test.
5.1408 -else
5.1409 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.1410 -for as_dir in $PATH
5.1411 -do
5.1412 - IFS=$as_save_IFS
5.1413 - test -z "$as_dir" && as_dir=.
5.1414 - for ac_exec_ext in '' $ac_executable_extensions; do
5.1415 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5.1416 - ac_cv_prog_CC="${ac_tool_prefix}gcc"
5.1417 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5.1418 - break 2
5.1419 - fi
5.1420 -done
5.1421 -done
5.1422 -IFS=$as_save_IFS
5.1423 -
5.1424 -fi
5.1425 -fi
5.1426 -CC=$ac_cv_prog_CC
5.1427 -if test -n "$CC"; then
5.1428 - { echo "$as_me:$LINENO: result: $CC" >&5
5.1429 -echo "${ECHO_T}$CC" >&6; }
5.1430 -else
5.1431 - { echo "$as_me:$LINENO: result: no" >&5
5.1432 -echo "${ECHO_T}no" >&6; }
5.1433 -fi
5.1434 -
5.1435 -
5.1436 -fi
5.1437 -if test -z "$ac_cv_prog_CC"; then
5.1438 - ac_ct_CC=$CC
5.1439 - # Extract the first word of "gcc", so it can be a program name with args.
5.1440 -set dummy gcc; ac_word=$2
5.1441 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5.1442 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5.1443 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5.1444 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.1445 -else
5.1446 - if test -n "$ac_ct_CC"; then
5.1447 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5.1448 -else
5.1449 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.1450 -for as_dir in $PATH
5.1451 -do
5.1452 - IFS=$as_save_IFS
5.1453 - test -z "$as_dir" && as_dir=.
5.1454 - for ac_exec_ext in '' $ac_executable_extensions; do
5.1455 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5.1456 - ac_cv_prog_ac_ct_CC="gcc"
5.1457 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5.1458 - break 2
5.1459 - fi
5.1460 -done
5.1461 -done
5.1462 -IFS=$as_save_IFS
5.1463 -
5.1464 -fi
5.1465 -fi
5.1466 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
5.1467 -if test -n "$ac_ct_CC"; then
5.1468 - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5.1469 -echo "${ECHO_T}$ac_ct_CC" >&6; }
5.1470 -else
5.1471 - { echo "$as_me:$LINENO: result: no" >&5
5.1472 -echo "${ECHO_T}no" >&6; }
5.1473 -fi
5.1474 -
5.1475 - if test "x$ac_ct_CC" = x; then
5.1476 - CC=""
5.1477 - else
5.1478 - case $cross_compiling:$ac_tool_warned in
5.1479 -yes:)
5.1480 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5.1481 -whose name does not start with the host triplet. If you think this
5.1482 -configuration is useful to you, please write to autoconf@gnu.org." >&5
5.1483 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5.1484 -whose name does not start with the host triplet. If you think this
5.1485 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5.1486 -ac_tool_warned=yes ;;
5.1487 -esac
5.1488 - CC=$ac_ct_CC
5.1489 - fi
5.1490 -else
5.1491 - CC="$ac_cv_prog_CC"
5.1492 -fi
5.1493 -
5.1494 -if test -z "$CC"; then
5.1495 - if test -n "$ac_tool_prefix"; then
5.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=$2
5.1498 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5.1499 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5.1500 -if test "${ac_cv_prog_CC+set}" = set; then
5.1501 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.1502 -else
5.1503 - if test -n "$CC"; then
5.1504 - ac_cv_prog_CC="$CC" # Let the user override the test.
5.1505 -else
5.1506 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.1507 -for as_dir in $PATH
5.1508 -do
5.1509 - IFS=$as_save_IFS
5.1510 - test -z "$as_dir" && as_dir=.
5.1511 - for ac_exec_ext in '' $ac_executable_extensions; do
5.1512 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5.1513 - ac_cv_prog_CC="${ac_tool_prefix}cc"
5.1514 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5.1515 - break 2
5.1516 - fi
5.1517 -done
5.1518 -done
5.1519 -IFS=$as_save_IFS
5.1520 -
5.1521 -fi
5.1522 -fi
5.1523 -CC=$ac_cv_prog_CC
5.1524 -if test -n "$CC"; then
5.1525 - { echo "$as_me:$LINENO: result: $CC" >&5
5.1526 -echo "${ECHO_T}$CC" >&6; }
5.1527 -else
5.1528 - { echo "$as_me:$LINENO: result: no" >&5
5.1529 -echo "${ECHO_T}no" >&6; }
5.1530 -fi
5.1531 -
5.1532 -
5.1533 - fi
5.1534 -fi
5.1535 -if test -z "$CC"; then
5.1536 - # Extract the first word of "cc", so it can be a program name with args.
5.1537 -set dummy cc; ac_word=$2
5.1538 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5.1539 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5.1540 -if test "${ac_cv_prog_CC+set}" = set; then
5.1541 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.1542 -else
5.1543 - if test -n "$CC"; then
5.1544 - ac_cv_prog_CC="$CC" # Let the user override the test.
5.1545 -else
5.1546 - ac_prog_rejected=no
5.1547 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.1548 -for as_dir in $PATH
5.1549 -do
5.1550 - IFS=$as_save_IFS
5.1551 - test -z "$as_dir" && as_dir=.
5.1552 - for ac_exec_ext in '' $ac_executable_extensions; do
5.1553 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5.1554 - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5.1555 - ac_prog_rejected=yes
5.1556 - continue
5.1557 - fi
5.1558 - ac_cv_prog_CC="cc"
5.1559 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5.1560 - break 2
5.1561 - fi
5.1562 -done
5.1563 -done
5.1564 -IFS=$as_save_IFS
5.1565 -
5.1566 -if test $ac_prog_rejected = yes; then
5.1567 - # We found a bogon in the path, so make sure we never use it.
5.1568 - set dummy $ac_cv_prog_CC
5.1569 - shift
5.1570 - if test $# != 0; then
5.1571 - # We chose a different compiler from the bogus one.
5.1572 - # However, it has the same basename, so the bogon will be chosen
5.1573 - # first if we set CC to just the basename; use the full file name.
5.1574 - shift
5.1575 - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5.1576 - fi
5.1577 -fi
5.1578 -fi
5.1579 -fi
5.1580 -CC=$ac_cv_prog_CC
5.1581 -if test -n "$CC"; then
5.1582 - { echo "$as_me:$LINENO: result: $CC" >&5
5.1583 -echo "${ECHO_T}$CC" >&6; }
5.1584 -else
5.1585 - { echo "$as_me:$LINENO: result: no" >&5
5.1586 -echo "${ECHO_T}no" >&6; }
5.1587 -fi
5.1588 -
5.1589 -
5.1590 -fi
5.1591 -if test -z "$CC"; then
5.1592 - if test -n "$ac_tool_prefix"; then
5.1593 - for ac_prog in cl.exe
5.1594 - do
5.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=$2
5.1597 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5.1598 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5.1599 -if test "${ac_cv_prog_CC+set}" = set; then
5.1600 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.1601 -else
5.1602 - if test -n "$CC"; then
5.1603 - ac_cv_prog_CC="$CC" # Let the user override the test.
5.1604 -else
5.1605 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.1606 -for as_dir in $PATH
5.1607 -do
5.1608 - IFS=$as_save_IFS
5.1609 - test -z "$as_dir" && as_dir=.
5.1610 - for ac_exec_ext in '' $ac_executable_extensions; do
5.1611 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5.1612 - ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5.1613 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5.1614 - break 2
5.1615 - fi
5.1616 -done
5.1617 -done
5.1618 -IFS=$as_save_IFS
5.1619 -
5.1620 -fi
5.1621 -fi
5.1622 -CC=$ac_cv_prog_CC
5.1623 -if test -n "$CC"; then
5.1624 - { echo "$as_me:$LINENO: result: $CC" >&5
5.1625 -echo "${ECHO_T}$CC" >&6; }
5.1626 -else
5.1627 - { echo "$as_me:$LINENO: result: no" >&5
5.1628 -echo "${ECHO_T}no" >&6; }
5.1629 -fi
5.1630 -
5.1631 -
5.1632 - test -n "$CC" && break
5.1633 - done
5.1634 -fi
5.1635 -if test -z "$CC"; then
5.1636 - ac_ct_CC=$CC
5.1637 - for ac_prog in cl.exe
5.1638 -do
5.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=$2
5.1641 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5.1642 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5.1643 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5.1644 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.1645 -else
5.1646 - if test -n "$ac_ct_CC"; then
5.1647 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5.1648 -else
5.1649 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5.1650 -for as_dir in $PATH
5.1651 -do
5.1652 - IFS=$as_save_IFS
5.1653 - test -z "$as_dir" && as_dir=.
5.1654 - for ac_exec_ext in '' $ac_executable_extensions; do
5.1655 - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5.1656 - ac_cv_prog_ac_ct_CC="$ac_prog"
5.1657 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5.1658 - break 2
5.1659 - fi
5.1660 -done
5.1661 -done
5.1662 -IFS=$as_save_IFS
5.1663 -
5.1664 -fi
5.1665 -fi
5.1666 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
5.1667 -if test -n "$ac_ct_CC"; then
5.1668 - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5.1669 -echo "${ECHO_T}$ac_ct_CC" >&6; }
5.1670 -else
5.1671 - { echo "$as_me:$LINENO: result: no" >&5
5.1672 -echo "${ECHO_T}no" >&6; }
5.1673 -fi
5.1674 -
5.1675 -
5.1676 - test -n "$ac_ct_CC" && break
5.1677 -done
5.1678 -
5.1679 - if test "x$ac_ct_CC" = x; then
5.1680 - CC=""
5.1681 - else
5.1682 - case $cross_compiling:$ac_tool_warned in
5.1683 -yes:)
5.1684 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5.1685 -whose name does not start with the host triplet. If you think this
5.1686 -configuration is useful to you, please write to autoconf@gnu.org." >&5
5.1687 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5.1688 -whose name does not start with the host triplet. If you think this
5.1689 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5.1690 -ac_tool_warned=yes ;;
5.1691 -esac
5.1692 - CC=$ac_ct_CC
5.1693 - fi
5.1694 -fi
5.1695 -
5.1696 -fi
5.1697 -
5.1698 -
5.1699 -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
5.1700 -See \`config.log' for more details." >&5
5.1701 -echo "$as_me: error: no acceptable C compiler found in \$PATH
5.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" >&5
5.1707 -ac_compiler=`set X $ac_compile; echo $2`
5.1708 -{ (ac_try="$ac_compiler --version >&5"
5.1709 -case "(($ac_try" in
5.1710 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5.1711 - *) ac_try_echo=$ac_try;;
5.1712 -esac
5.1713 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5.1714 - (eval "$ac_compiler --version >&5") 2>&5
5.1715 - ac_status=$?
5.1716 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.1717 - (exit $ac_status); }
5.1718 -{ (ac_try="$ac_compiler -v >&5"
5.1719 -case "(($ac_try" in
5.1720 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5.1721 - *) ac_try_echo=$ac_try;;
5.1722 -esac
5.1723 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5.1724 - (eval "$ac_compiler -v >&5") 2>&5
5.1725 - ac_status=$?
5.1726 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.1727 - (exit $ac_status); }
5.1728 -{ (ac_try="$ac_compiler -V >&5"
5.1729 -case "(($ac_try" in
5.1730 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5.1731 - *) ac_try_echo=$ac_try;;
5.1732 -esac
5.1733 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5.1734 - (eval "$ac_compiler -V >&5") 2>&5
5.1735 - ac_status=$?
5.1736 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.1737 - (exit $ac_status); }
5.1738 -
5.1739 -{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
5.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; then
5.1742 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.1743 -else
5.1744 - cat >conftest.$ac_ext <<_ACEOF
5.1745 -/* confdefs.h. */
5.1746 -_ACEOF
5.1747 -cat confdefs.h >>conftest.$ac_ext
5.1748 -cat >>conftest.$ac_ext <<_ACEOF
5.1749 -/* end confdefs.h. */
5.1750 -
5.1751 -int
5.1752 -main ()
5.1753 -{
5.1754 -#ifndef __GNUC__
5.1755 - choke me
5.1756 -#endif
5.1757 -
5.1758 - ;
5.1759 - return 0;
5.1760 -}
5.1761 -_ACEOF
5.1762 -rm -f conftest.$ac_objext
5.1763 -if { (ac_try="$ac_compile"
5.1764 -case "(($ac_try" in
5.1765 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5.1766 - *) ac_try_echo=$ac_try;;
5.1767 -esac
5.1768 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5.1769 - (eval "$ac_compile") 2>conftest.er1
5.1770 - ac_status=$?
5.1771 - grep -v '^ *+' conftest.er1 >conftest.err
5.1772 - rm -f conftest.er1
5.1773 - cat conftest.err >&5
5.1774 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.1775 - (exit $ac_status); } && {
5.1776 - test -z "$ac_c_werror_flag" ||
5.1777 - test ! -s conftest.err
5.1778 - } && test -s conftest.$ac_objext; then
5.1779 - ac_compiler_gnu=yes
5.1780 -else
5.1781 - echo "$as_me: failed program was:" >&5
5.1782 -sed 's/^/| /' conftest.$ac_ext >&5
5.1783 -
5.1784 - ac_compiler_gnu=no
5.1785 -fi
5.1786 -
5.1787 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5.1788 -ac_cv_c_compiler_gnu=$ac_compiler_gnu
5.1789 -
5.1790 -fi
5.1791 -{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5.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=$CFLAGS
5.1796 -{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5.1797 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
5.1798 -if test "${ac_cv_prog_cc_g+set}" = set; then
5.1799 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.1800 -else
5.1801 - ac_save_c_werror_flag=$ac_c_werror_flag
5.1802 - ac_c_werror_flag=yes
5.1803 - ac_cv_prog_cc_g=no
5.1804 - CFLAGS="-g"
5.1805 - cat >conftest.$ac_ext <<_ACEOF
5.1806 -/* confdefs.h. */
5.1807 -_ACEOF
5.1808 -cat confdefs.h >>conftest.$ac_ext
5.1809 -cat >>conftest.$ac_ext <<_ACEOF
5.1810 -/* end confdefs.h. */
5.1811 -
5.1812 -int
5.1813 -main ()
5.1814 -{
5.1815 -
5.1816 - ;
5.1817 - return 0;
5.1818 -}
5.1819 -_ACEOF
5.1820 -rm -f conftest.$ac_objext
5.1821 -if { (ac_try="$ac_compile"
5.1822 -case "(($ac_try" in
5.1823 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5.1824 - *) ac_try_echo=$ac_try;;
5.1825 -esac
5.1826 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5.1827 - (eval "$ac_compile") 2>conftest.er1
5.1828 - ac_status=$?
5.1829 - grep -v '^ *+' conftest.er1 >conftest.err
5.1830 - rm -f conftest.er1
5.1831 - cat conftest.err >&5
5.1832 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.1833 - (exit $ac_status); } && {
5.1834 - test -z "$ac_c_werror_flag" ||
5.1835 - test ! -s conftest.err
5.1836 - } && test -s conftest.$ac_objext; then
5.1837 - ac_cv_prog_cc_g=yes
5.1838 -else
5.1839 - echo "$as_me: failed program was:" >&5
5.1840 -sed 's/^/| /' conftest.$ac_ext >&5
5.1841 -
5.1842 - CFLAGS=""
5.1843 - cat >conftest.$ac_ext <<_ACEOF
5.1844 -/* confdefs.h. */
5.1845 -_ACEOF
5.1846 -cat confdefs.h >>conftest.$ac_ext
5.1847 -cat >>conftest.$ac_ext <<_ACEOF
5.1848 -/* end confdefs.h. */
5.1849 -
5.1850 -int
5.1851 -main ()
5.1852 -{
5.1853 -
5.1854 - ;
5.1855 - return 0;
5.1856 -}
5.1857 -_ACEOF
5.1858 -rm -f conftest.$ac_objext
5.1859 -if { (ac_try="$ac_compile"
5.1860 -case "(($ac_try" in
5.1861 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5.1862 - *) ac_try_echo=$ac_try;;
5.1863 -esac
5.1864 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5.1865 - (eval "$ac_compile") 2>conftest.er1
5.1866 - ac_status=$?
5.1867 - grep -v '^ *+' conftest.er1 >conftest.err
5.1868 - rm -f conftest.er1
5.1869 - cat conftest.err >&5
5.1870 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.1871 - (exit $ac_status); } && {
5.1872 - test -z "$ac_c_werror_flag" ||
5.1873 - test ! -s conftest.err
5.1874 - } && test -s conftest.$ac_objext; then
5.1875 - :
5.1876 -else
5.1877 - echo "$as_me: failed program was:" >&5
5.1878 -sed 's/^/| /' conftest.$ac_ext >&5
5.1879 -
5.1880 - ac_c_werror_flag=$ac_save_c_werror_flag
5.1881 - CFLAGS="-g"
5.1882 - cat >conftest.$ac_ext <<_ACEOF
5.1883 -/* confdefs.h. */
5.1884 -_ACEOF
5.1885 -cat confdefs.h >>conftest.$ac_ext
5.1886 -cat >>conftest.$ac_ext <<_ACEOF
5.1887 -/* end confdefs.h. */
5.1888 -
5.1889 -int
5.1890 -main ()
5.1891 -{
5.1892 -
5.1893 - ;
5.1894 - return 0;
5.1895 -}
5.1896 -_ACEOF
5.1897 -rm -f conftest.$ac_objext
5.1898 -if { (ac_try="$ac_compile"
5.1899 -case "(($ac_try" in
5.1900 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5.1901 - *) ac_try_echo=$ac_try;;
5.1902 -esac
5.1903 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5.1904 - (eval "$ac_compile") 2>conftest.er1
5.1905 - ac_status=$?
5.1906 - grep -v '^ *+' conftest.er1 >conftest.err
5.1907 - rm -f conftest.er1
5.1908 - cat conftest.err >&5
5.1909 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.1910 - (exit $ac_status); } && {
5.1911 - test -z "$ac_c_werror_flag" ||
5.1912 - test ! -s conftest.err
5.1913 - } && test -s conftest.$ac_objext; then
5.1914 - ac_cv_prog_cc_g=yes
5.1915 -else
5.1916 - echo "$as_me: failed program was:" >&5
5.1917 -sed 's/^/| /' conftest.$ac_ext >&5
5.1918 -
5.1919 -
5.1920 -fi
5.1921 -
5.1922 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5.1923 -fi
5.1924 -
5.1925 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5.1926 -fi
5.1927 -
5.1928 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5.1929 - ac_c_werror_flag=$ac_save_c_werror_flag
5.1930 -fi
5.1931 -{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5.1932 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
5.1933 -if test "$ac_test_CFLAGS" = set; then
5.1934 - CFLAGS=$ac_save_CFLAGS
5.1935 -elif test $ac_cv_prog_cc_g = yes; then
5.1936 - if test "$GCC" = yes; then
5.1937 - CFLAGS="-g -O2"
5.1938 - else
5.1939 - CFLAGS="-g"
5.1940 - fi
5.1941 -else
5.1942 - if test "$GCC" = yes; then
5.1943 - CFLAGS="-O2"
5.1944 - else
5.1945 - CFLAGS=
5.1946 - fi
5.1947 -fi
5.1948 -{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
5.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; then
5.1951 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.1952 -else
5.1953 - ac_cv_prog_cc_c89=no
5.1954 -ac_save_CC=$CC
5.1955 + case $ac_cv_build_prog_cc_stdc in
5.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" >&5
5.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; then
5.1960 + echo $ECHO_N "(cached) $ECHO_C" >&6
5.1961 +else
5.1962 + ac_cv_build_prog_cc_stdc=no
5.1963 +ac_save_CC=$CC_FOR_BUILD
5.1964 +cat >conftest.$ac_ext <<_ACEOF
5.1965 +/* confdefs.h. */
5.1966 +_ACEOF
5.1967 +cat confdefs.h >>conftest.$ac_ext
5.1968 +cat >>conftest.$ac_ext <<_ACEOF
5.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 void
5.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 18446744073709551615ull
5.1993 +#define BIG32 4294967295ul
5.1994 +#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
5.1995 +#if !BIG_OK
5.1996 + your preprocessor is broken;
5.1997 +#endif
5.1998 +#if BIG_OK
5.1999 +#else
5.2000 + your preprocessor is broken;
5.2001 +#endif
5.2002 +static long long int bignum = -9223372036854775807LL;
5.2003 +static unsigned long long int ubignum = BIG64;
5.2004 +
5.2005 +struct incomplete_array
5.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 int
5.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 void
5.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': // string
5.2048 + str = va_arg (args_copy, const char *);
5.2049 + break;
5.2050 + case 'd': // int
5.2051 + number = va_arg (args_copy, int);
5.2052 + break;
5.2053 + case 'f': // float
5.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 +int
5.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 warnings
5.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 +_ACEOF
5.2107 +for ac_arg in '' -std=gnu99 -c99 -qlanglvl=extc99
5.2108 +do
5.2109 + CC_FOR_BUILD="$ac_save_CC $ac_arg"
5.2110 + rm -f conftest.$ac_build_objext
5.2111 +if { (ac_try="$ac_build_compile"
5.2112 +case "(($ac_try" in
5.2113 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5.2114 + *) ac_try_echo=$ac_try;;
5.2115 +esac
5.2116 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5.2117 + (eval "$ac_build_compile") 2>conftest.er1
5.2118 + ac_status=$?
5.2119 + grep -v '^ *+' conftest.er1 >conftest.err
5.2120 + rm -f conftest.er1
5.2121 + cat conftest.err >&5
5.2122 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.2123 + (exit $ac_status); } && {
5.2124 + test -z "$ac_c_werror_flag" ||
5.2125 + test ! -s conftest.err
5.2126 + } && test -s conftest.$ac_build_objext; then
5.2127 + ac_cv_build_prog_cc_stdc=$ac_arg
5.2128 +else
5.2129 + echo "$as_me: failed program was:" >&5
5.2130 +sed 's/^/| /' conftest.$ac_ext >&5
5.2131 +
5.2132 +
5.2133 +fi
5.2134 +
5.2135 +rm -f core conftest.err conftest.$ac_build_objext
5.2136 + test "x$ac_cv_build_prog_cc_stdc" != "xno" && break
5.2137 +done
5.2138 +rm -f conftest.$ac_ext
5.2139 +CC_FOR_BUILD=$ac_save_CC
5.2140 +
5.2141 +fi
5.2142 +# AC_CACHE_VAL
5.2143 +case "x$ac_cv_build_prog_cc_stdc" in
5.2144 + x)
5.2145 + { echo "$as_me:$LINENO: result: none needed" >&5
5.2146 +echo "${ECHO_T}none needed" >&6; } ;;
5.2147 + xno)
5.2148 + { echo "$as_me:$LINENO: result: unsupported" >&5
5.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" >&5
5.2153 +echo "${ECHO_T}$ac_cv_build_prog_cc_stdc" >&6; } ;;
5.2154 +esac
5.2155 +if test "x$ac_cv_build_prog_cc_stdc" != xno; then
5.2156 + ac_cv_build_prog_cc_stdc=$ac_cv_build_prog_cc_stdc
5.2157 +else
5.2158 + { echo "$as_me:$LINENO: checking for $CC_FOR_BUILD option to accept ISO C89" >&5
5.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; then
5.2161 + echo $ECHO_N "(cached) $ECHO_C" >&6
5.2162 +else
5.2163 + ac_cv_build_prog_cc_stdc=no
5.2164 +ac_save_CC=$CC_FOR_BUILD
5.2165 cat >conftest.$ac_ext <<_ACEOF
5.2166 /* confdefs.h. */
5.2167 _ACEOF
5.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 do
5.2172 - CC="$ac_save_CC $ac_arg"
5.2173 - rm -f conftest.$ac_objext
5.2174 -if { (ac_try="$ac_compile"
5.2175 -case "(($ac_try" in
5.2176 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5.2177 - *) ac_try_echo=$ac_try;;
5.2178 -esac
5.2179 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5.2180 - (eval "$ac_compile") 2>conftest.er1
5.2181 - ac_status=$?
5.2182 - grep -v '^ *+' conftest.er1 >conftest.err
5.2183 - rm -f conftest.er1
5.2184 - cat conftest.err >&5
5.2185 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.2186 - (exit $ac_status); } && {
5.2187 - test -z "$ac_c_werror_flag" ||
5.2188 - test ! -s conftest.err
5.2189 - } && test -s conftest.$ac_objext; then
5.2190 - ac_cv_prog_cc_c89=$ac_arg
5.2191 -else
5.2192 - echo "$as_me: failed program was:" >&5
5.2193 -sed 's/^/| /' conftest.$ac_ext >&5
5.2194 -
5.2195 -
5.2196 -fi
5.2197 -
5.2198 -rm -f core conftest.err conftest.$ac_objext
5.2199 - test "x$ac_cv_prog_cc_c89" != "xno" && break
5.2200 + CC_FOR_BUILD="$ac_save_CC $ac_arg"
5.2201 + rm -f conftest.$ac_build_objext
5.2202 +if { (ac_try="$ac_build_compile"
5.2203 +case "(($ac_try" in
5.2204 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5.2205 + *) ac_try_echo=$ac_try;;
5.2206 +esac
5.2207 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5.2208 + (eval "$ac_build_compile") 2>conftest.er1
5.2209 + ac_status=$?
5.2210 + grep -v '^ *+' conftest.er1 >conftest.err
5.2211 + rm -f conftest.er1
5.2212 + cat conftest.err >&5
5.2213 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.2214 + (exit $ac_status); } && {
5.2215 + test -z "$ac_c_werror_flag" ||
5.2216 + test ! -s conftest.err
5.2217 + } && test -s conftest.$ac_build_objext; then
5.2218 + ac_cv_build_prog_cc_stdc=$ac_arg
5.2219 +else
5.2220 + echo "$as_me: failed program was:" >&5
5.2221 +sed 's/^/| /' conftest.$ac_ext >&5
5.2222 +
5.2223 +
5.2224 +fi
5.2225 +
5.2226 +rm -f core conftest.err conftest.$ac_build_objext
5.2227 + test "x$ac_cv_build_prog_cc_stdc" != "xno" && break
5.2228 done
5.2229 rm -f conftest.$ac_ext
5.2230 -CC=$ac_save_CC
5.2231 +CC_FOR_BUILD=$ac_save_CC
5.2232
5.2233 fi
5.2234 # AC_CACHE_VAL
5.2235 -case "x$ac_cv_prog_cc_c89" in
5.2236 +case "x$ac_cv_build_prog_cc_stdc" in
5.2237 x)
5.2238 { echo "$as_me:$LINENO: result: none needed" >&5
5.2239 echo "${ECHO_T}none needed" >&6; } ;;
5.2240 @@ -6401,129 +6619,272 @@
5.2241 { echo "$as_me:$LINENO: result: unsupported" >&5
5.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" >&5
5.2246 -echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
5.2247 -esac
5.2248 -
5.2249 -
5.2250 -ac_ext=c
5.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_gnu
5.2255 -
5.2256 -depcc="$CC" am_compiler_list=
5.2257 -
5.2258 -{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5.2259 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5.2260 -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5.2261 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.2262 -else
5.2263 - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5.2264 - # We make a subdir and do the tests there. Otherwise we can end up
5.2265 - # making bogus files that we don't know about and never remove. For
5.2266 - # instance it was reported that on HP-UX the gcc test will end up
5.2267 - # making a dummy file named `D' -- because `-MD' means `put the output
5.2268 - # in D'.
5.2269 - mkdir conftest.dir
5.2270 - # Copy depcomp to subdir because otherwise we won't find it if we're
5.2271 - # using a relative directory.
5.2272 - cp "$am_depcomp" conftest.dir
5.2273 - cd conftest.dir
5.2274 - # We will build objects and dependencies in a subdirectory because
5.2275 - # it helps to detect inapplicable dependency modes. For instance
5.2276 - # both Tru64's cc and ICC support -MD to output dependencies as a
5.2277 - # side effect of compilation, but ICC will put the dependencies in
5.2278 - # the current directory while Tru64 will put them in the object
5.2279 - # directory.
5.2280 - mkdir sub
5.2281 -
5.2282 - am_cv_CC_dependencies_compiler_type=none
5.2283 - if test "$am_compiler_list" = ""; then
5.2284 - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5.2285 - fi
5.2286 - for depmode in $am_compiler_list; do
5.2287 - # Setup a source with many dependencies, because some compilers
5.2288 - # like to wrap large dependency lists on column 80 (with \), and
5.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 may
5.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.c
5.2295 - for i in 1 2 3 4 5 6; do
5.2296 - echo '#include "conftst'$i'.h"' >> sub/conftest.c
5.2297 - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5.2298 - # Solaris 8's {/usr,}/bin/sh.
5.2299 - touch sub/conftst$i.h
5.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" >&5
5.2302 +echo "${ECHO_T}$ac_cv_build_prog_cc_stdc" >&6; } ;;
5.2303 +esac
5.2304 +if test "x$ac_cv_build_prog_cc_stdc" != xno; then
5.2305 + ac_cv_build_prog_cc_stdc=$ac_cv_build_prog_cc_stdc
5.2306 +else
5.2307 + ac_cv_build_prog_cc_stdc=no
5.2308 +fi
5.2309 +
5.2310 +
5.2311 +fi
5.2312 +
5.2313 + ;;
5.2314 +esac
5.2315 + { echo "$as_me:$LINENO: checking for $CC_FOR_BUILD option to accept ISO Standard C" >&5
5.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; then
5.2318 + echo $ECHO_N "(cached) $ECHO_C" >&6
5.2319 +fi
5.2320 +
5.2321 + case $ac_cv_build_prog_cc_stdc in
5.2322 + no) { echo "$as_me:$LINENO: result: unsupported" >&5
5.2323 +echo "${ECHO_T}unsupported" >&6; } ;;
5.2324 + '') { echo "$as_me:$LINENO: result: none needed" >&5
5.2325 +echo "${ECHO_T}none needed" >&6; } ;;
5.2326 + *) { echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_stdc" >&5
5.2327 +echo "${ECHO_T}$ac_cv_build_prog_cc_stdc" >&6; } ;;
5.2328 +esac
5.2329 +
5.2330 +
5.2331 +ac_ext=c
5.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_gnu
5.2336 +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5.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"; then
5.2340 + CPP_FOR_BUILD=
5.2341 +fi
5.2342 +if test -z "$CPP_FOR_BUILD"; then
5.2343 + if test "${ac_cv_build_prog_CPP+set}" = set; then
5.2344 + echo $ECHO_N "(cached) $ECHO_C" >&6
5.2345 +else
5.2346 + # Double quotes because CPP needs to be expanded
5.2347 + for CPP_FOR_BUILD in "$CC_FOR_BUILD -E" "$CC_FOR_BUILD -E -traditional-cpp" "/lib/cpp"
5.2348 + do
5.2349 + ac_preproc_ok=false
5.2350 +for ac_c_preproc_warn_flag in '' yes
5.2351 +do
5.2352 + # Use a header file that comes with gcc, so configuring glibc
5.2353 + # with a fresh cross-compiler works.
5.2354 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5.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 <<_ACEOF
5.2359 +/* confdefs.h. */
5.2360 +_ACEOF
5.2361 +cat confdefs.h >>conftest.$ac_ext
5.2362 +cat >>conftest.$ac_ext <<_ACEOF
5.2363 +/* end confdefs.h. */
5.2364 +#ifdef __STDC__
5.2365 +# include <limits.h>
5.2366 +#else
5.2367 +# include <assert.h>
5.2368 +#endif
5.2369 + Syntax error
5.2370 +_ACEOF
5.2371 +if { (ac_try="$ac_build_cpp conftest.$ac_ext"
5.2372 +case "(($ac_try" in
5.2373 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5.2374 + *) ac_try_echo=$ac_try;;
5.2375 +esac
5.2376 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5.2377 + (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er1
5.2378 + ac_status=$?
5.2379 + grep -v '^ *+' conftest.er1 >conftest.err
5.2380 + rm -f conftest.er1
5.2381 + cat conftest.err >&5
5.2382 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.2383 + (exit $ac_status); } >/dev/null && {
5.2384 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5.2385 + test ! -s conftest.err
5.2386 + }; then
5.2387 + :
5.2388 +else
5.2389 + echo "$as_me: failed program was:" >&5
5.2390 +sed 's/^/| /' conftest.$ac_ext >&5
5.2391 +
5.2392 + # Broken: fails on valid input.
5.2393 +continue
5.2394 +fi
5.2395 +
5.2396 +rm -f conftest.err conftest.$ac_ext
5.2397 +
5.2398 + # OK, works on sane cases. Now check whether nonexistent headers
5.2399 + # can be detected and how.
5.2400 + cat >conftest.$ac_ext <<_ACEOF
5.2401 +/* confdefs.h. */
5.2402 +_ACEOF
5.2403 +cat confdefs.h >>conftest.$ac_ext
5.2404 +cat >>conftest.$ac_ext <<_ACEOF
5.2405 +/* end confdefs.h. */
5.2406 +#include <ac_nonexistent.h>
5.2407 +_ACEOF
5.2408 +if { (ac_try="$ac_build_cpp conftest.$ac_ext"
5.2409 +case "(($ac_try" in
5.2410 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5.2411 + *) ac_try_echo=$ac_try;;
5.2412 +esac
5.2413 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5.2414 + (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er1
5.2415 + ac_status=$?
5.2416 + grep -v '^ *+' conftest.er1 >conftest.err
5.2417 + rm -f conftest.er1
5.2418 + cat conftest.err >&5
5.2419 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.2420 + (exit $ac_status); } >/dev/null && {
5.2421 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5.2422 + test ! -s conftest.err
5.2423 + }; then
5.2424 + # Broken: success on invalid input.
5.2425 +continue
5.2426 +else
5.2427 + echo "$as_me: failed program was:" >&5
5.2428 +sed 's/^/| /' conftest.$ac_ext >&5
5.2429 +
5.2430 + # Passes both tests.
5.2431 +ac_preproc_ok=:
5.2432 +break
5.2433 +fi
5.2434 +
5.2435 +rm -f conftest.err conftest.$ac_ext
5.2436 +
5.2437 +done
5.2438 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5.2439 +rm -f conftest.err conftest.$ac_ext
5.2440 +if $ac_preproc_ok; then
5.2441 + break
5.2442 +fi
5.2443 +
5.2444 done
5.2445 - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5.2446 -
5.2447 - case $depmode in
5.2448 - nosideeffect)
5.2449 - # after this tag, mechanisms are not by side-effect, so they'll
5.2450 - # only be used when explicitly requested
5.2451 - if test "x$enable_dependency_tracking" = xyes; then
5.2452 - continue
5.2453 - else
5.2454 - break
5.2455 - fi
5.2456 - ;;
5.2457 - none) break ;;
5.2458 - esac
5.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 properly
5.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; then
5.2470 - # icc doesn't choke on unknown options, it will just issue warnings
5.2471 - # or remarks (even with -Werror). So we grep stderr for any message
5.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 required
5.2475 - # The diagnosis changed in icc 8.0:
5.2476 - # icc: Command line remark: option '-MP' not supported
5.2477 - if (grep 'ignoring option' conftest.err ||
5.2478 - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5.2479 - am_cv_CC_dependencies_compiler_type=$depmode
5.2480 - break
5.2481 - fi
5.2482 - fi
5.2483 - done
5.2484 -
5.2485 - cd ..
5.2486 - rm -rf conftest.dir
5.2487 -else
5.2488 - am_cv_CC_dependencies_compiler_type=none
5.2489 -fi
5.2490 -
5.2491 -fi
5.2492 -{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5.2493 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
5.2494 -CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5.2495 -
5.2496 -
5.2497 -
5.2498 -if
5.2499 - test "x$enable_dependency_tracking" != xno \
5.2500 - && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5.2501 - am__fastdepCC_TRUE=
5.2502 - am__fastdepCC_FALSE='#'
5.2503 -else
5.2504 - am__fastdepCC_TRUE='#'
5.2505 - am__fastdepCC_FALSE=
5.2506 -fi
5.2507 -
5.2508 -
5.2509 -
5.2510 -am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
5.2511 + ac_cv_build_prog_CPP=$CPP_FOR_BUILD
5.2512 +
5.2513 +fi
5.2514 + CPP_FOR_BUILD=$ac_cv_build_prog_CPP
5.2515 +else
5.2516 + ac_cv_build_prog_CPP=$CPP_FOR_BUILD
5.2517 +fi
5.2518 +{ echo "$as_me:$LINENO: result: $CPP_FOR_BUILD" >&5
5.2519 +echo "${ECHO_T}$CPP_FOR_BUILD" >&6; }
5.2520 +ac_preproc_ok=false
5.2521 +for ac_c_preproc_warn_flag in '' yes
5.2522 +do
5.2523 + # Use a header file that comes with gcc, so configuring glibc
5.2524 + # with a fresh cross-compiler works.
5.2525 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5.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 <<_ACEOF
5.2530 +/* confdefs.h. */
5.2531 +_ACEOF
5.2532 +cat confdefs.h >>conftest.$ac_ext
5.2533 +cat >>conftest.$ac_ext <<_ACEOF
5.2534 +/* end confdefs.h. */
5.2535 +#ifdef __STDC__
5.2536 +# include <limits.h>
5.2537 +#else
5.2538 +# include <assert.h>
5.2539 +#endif
5.2540 + Syntax error
5.2541 +_ACEOF
5.2542 +if { (ac_try="$ac_build_cpp conftest.$ac_ext"
5.2543 +case "(($ac_try" in
5.2544 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5.2545 + *) ac_try_echo=$ac_try;;
5.2546 +esac
5.2547 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5.2548 + (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er1
5.2549 + ac_status=$?
5.2550 + grep -v '^ *+' conftest.er1 >conftest.err
5.2551 + rm -f conftest.er1
5.2552 + cat conftest.err >&5
5.2553 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.2554 + (exit $ac_status); } >/dev/null && {
5.2555 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5.2556 + test ! -s conftest.err
5.2557 + }; then
5.2558 + :
5.2559 +else
5.2560 + echo "$as_me: failed program was:" >&5
5.2561 +sed 's/^/| /' conftest.$ac_ext >&5
5.2562 +
5.2563 + # Broken: fails on valid input.
5.2564 +continue
5.2565 +fi
5.2566 +
5.2567 +rm -f conftest.err conftest.$ac_ext
5.2568 +
5.2569 + # OK, works on sane cases. Now check whether nonexistent headers
5.2570 + # can be detected and how.
5.2571 + cat >conftest.$ac_ext <<_ACEOF
5.2572 +/* confdefs.h. */
5.2573 +_ACEOF
5.2574 +cat confdefs.h >>conftest.$ac_ext
5.2575 +cat >>conftest.$ac_ext <<_ACEOF
5.2576 +/* end confdefs.h. */
5.2577 +#include <ac_nonexistent.h>
5.2578 +_ACEOF
5.2579 +if { (ac_try="$ac_build_cpp conftest.$ac_ext"
5.2580 +case "(($ac_try" in
5.2581 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5.2582 + *) ac_try_echo=$ac_try;;
5.2583 +esac
5.2584 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5.2585 + (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er1
5.2586 + ac_status=$?
5.2587 + grep -v '^ *+' conftest.er1 >conftest.err
5.2588 + rm -f conftest.er1
5.2589 + cat conftest.err >&5
5.2590 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.2591 + (exit $ac_status); } >/dev/null && {
5.2592 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5.2593 + test ! -s conftest.err
5.2594 + }; then
5.2595 + # Broken: success on invalid input.
5.2596 +continue
5.2597 +else
5.2598 + echo "$as_me: failed program was:" >&5
5.2599 +sed 's/^/| /' conftest.$ac_ext >&5
5.2600 +
5.2601 + # Passes both tests.
5.2602 +ac_preproc_ok=:
5.2603 +break
5.2604 +fi
5.2605 +
5.2606 +rm -f conftest.err conftest.$ac_ext
5.2607 +
5.2608 +done
5.2609 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5.2610 +rm -f conftest.err conftest.$ac_ext
5.2611 +if $ac_preproc_ok; then
5.2612 + :
5.2613 +else
5.2614 + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP_FOR_BUILD\" fails sanity check
5.2615 +See \`config.log' for more details." >&5
5.2616 +echo "$as_me: error: C preprocessor \"$CPP_FOR_BUILD\" fails sanity check
5.2617 +See \`config.log' for more details." >&2;}
5.2618 + { (exit 1); exit 1; }; }
5.2619 +fi
5.2620 +
5.2621 +ac_ext=c
5.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_gnu
5.2626 +
5.2627 +
5.2628 +
5.2629 +
5.2630 +BUILD_EXEEXT=$ac_build_exeext
5.2631 +BUILD_OBJEXT=$ac_build_objext
5.2632
5.2633 ac_ext=m
5.2634 ac_cpp='$OBJCPP $CPPFLAGS'
5.2635 @@ -7959,89 +8320,6 @@
5.2636
5.2637 fi
5.2638
5.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" >&5
5.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" >&5
5.2646 -echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
5.2647 -if test "${ac_cv_build+set}" = set; then
5.2648 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.2649 -else
5.2650 - ac_build_alias=$build_alias
5.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" >&5
5.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" >&5
5.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 -fi
5.2663 -{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
5.2664 -echo "${ECHO_T}$ac_cv_build" >&6; }
5.2665 -case $ac_cv_build in
5.2666 -*-*-*) ;;
5.2667 -*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
5.2668 -echo "$as_me: error: invalid value of canonical build" >&2;}
5.2669 - { (exit 1); exit 1; }; };;
5.2670 -esac
5.2671 -build=$ac_cv_build
5.2672 -ac_save_IFS=$IFS; IFS='-'
5.2673 -set x $ac_cv_build
5.2674 -shift
5.2675 -build_cpu=$1
5.2676 -build_vendor=$2
5.2677 -shift; shift
5.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_IFS
5.2682 -case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5.2683 -
5.2684 -
5.2685 -{ echo "$as_me:$LINENO: checking host system type" >&5
5.2686 -echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
5.2687 -if test "${ac_cv_host+set}" = set; then
5.2688 - echo $ECHO_N "(cached) $ECHO_C" >&6
5.2689 -else
5.2690 - if test "x$host_alias" = x; then
5.2691 - ac_cv_host=$ac_cv_build
5.2692 -else
5.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" >&5
5.2695 -echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
5.2696 - { (exit 1); exit 1; }; }
5.2697 -fi
5.2698 -
5.2699 -fi
5.2700 -{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
5.2701 -echo "${ECHO_T}$ac_cv_host" >&6; }
5.2702 -case $ac_cv_host in
5.2703 -*-*-*) ;;
5.2704 -*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
5.2705 -echo "$as_me: error: invalid value of canonical host" >&2;}
5.2706 - { (exit 1); exit 1; }; };;
5.2707 -esac
5.2708 -host=$ac_cv_host
5.2709 -ac_save_IFS=$IFS; IFS='-'
5.2710 -set x $ac_cv_host
5.2711 -shift
5.2712 -host_cpu=$1
5.2713 -host_vendor=$2
5.2714 -shift; shift
5.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_IFS
5.2719 -case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5.2720 -
5.2721 -
5.2722
5.2723
5.2724 depcc="$OBJC" am_compiler_list='gcc3 gcc'
5.2725 @@ -8991,6 +9269,7 @@
5.2726
5.2727 fi
5.2728
5.2729 +CFLAGS_FOR_BUILD="-O2 -std=c99"
5.2730 CFLAGS="-g -fexceptions"
5.2731 OBJCFLAGS="-g -fexceptions"
5.2732
5.2733 @@ -10575,6 +10854,116 @@
5.2734
5.2735
5.2736
5.2737 +pkg_failed=no
5.2738 +{ echo "$as_me:$LINENO: checking for GLIB_FOR_BUILD" >&5
5.2739 +echo $ECHO_N "checking for GLIB_FOR_BUILD... $ECHO_C" >&6; }
5.2740 +
5.2741 +if test -n "$GLIB_FOR_BUILD_CFLAGS"; then
5.2742 + pkg_cv_GLIB_FOR_BUILD_CFLAGS="$GLIB_FOR_BUILD_CFLAGS"
5.2743 + elif test -n "$PKG_CONFIG"; then
5.2744 + if test -n "$PKG_CONFIG" && \
5.2745 + { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5
5.2746 + ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
5.2747 + ac_status=$?
5.2748 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.2749 + (exit $ac_status); }; then
5.2750 + pkg_cv_GLIB_FOR_BUILD_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
5.2751 +else
5.2752 + pkg_failed=yes
5.2753 +fi
5.2754 + else
5.2755 + pkg_failed=untried
5.2756 +fi
5.2757 +if test -n "$GLIB_FOR_BUILD_LIBS"; then
5.2758 + pkg_cv_GLIB_FOR_BUILD_LIBS="$GLIB_FOR_BUILD_LIBS"
5.2759 + elif test -n "$PKG_CONFIG"; then
5.2760 + if test -n "$PKG_CONFIG" && \
5.2761 + { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5
5.2762 + ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
5.2763 + ac_status=$?
5.2764 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.2765 + (exit $ac_status); }; then
5.2766 + pkg_cv_GLIB_FOR_BUILD_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
5.2767 +else
5.2768 + pkg_failed=yes
5.2769 +fi
5.2770 + else
5.2771 + pkg_failed=untried
5.2772 +fi
5.2773 +
5.2774 +
5.2775 +
5.2776 +if test $pkg_failed = yes; then
5.2777 +
5.2778 +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5.2779 + _pkg_short_errors_supported=yes
5.2780 +else
5.2781 + _pkg_short_errors_supported=no
5.2782 +fi
5.2783 + if test $_pkg_short_errors_supported = yes; then
5.2784 + GLIB_FOR_BUILD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0" 2>&1`
5.2785 + else
5.2786 + GLIB_FOR_BUILD_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0" 2>&1`
5.2787 + fi
5.2788 + # Put the nasty error message in config.log where it belongs
5.2789 + echo "$GLIB_FOR_BUILD_PKG_ERRORS" >&5
5.2790 +
5.2791 + { { echo "$as_me:$LINENO: error: Package requirements (glib-2.0) were not met:
5.2792 +
5.2793 +$GLIB_FOR_BUILD_PKG_ERRORS
5.2794 +
5.2795 +Consider adjusting the PKG_CONFIG_PATH environment variable if you
5.2796 +installed software in a non-standard prefix.
5.2797 +
5.2798 +Alternatively, you may set the environment variables GLIB_FOR_BUILD_CFLAGS
5.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 +" >&5
5.2802 +echo "$as_me: error: Package requirements (glib-2.0) were not met:
5.2803 +
5.2804 +$GLIB_FOR_BUILD_PKG_ERRORS
5.2805 +
5.2806 +Consider adjusting the PKG_CONFIG_PATH environment variable if you
5.2807 +installed software in a non-standard prefix.
5.2808 +
5.2809 +Alternatively, you may set the environment variables GLIB_FOR_BUILD_CFLAGS
5.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; then
5.2815 + { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
5.2816 +is in your PATH or set the PKG_CONFIG environment variable to the full
5.2817 +path to pkg-config.
5.2818 +
5.2819 +Alternatively, you may set the environment variables GLIB_FOR_BUILD_CFLAGS
5.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." >&5
5.2825 +echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
5.2826 +is in your PATH or set the PKG_CONFIG environment variable to the full
5.2827 +path to pkg-config.
5.2828 +
5.2829 +Alternatively, you may set the environment variables GLIB_FOR_BUILD_CFLAGS
5.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 +else
5.2837 + GLIB_FOR_BUILD_CFLAGS=$pkg_cv_GLIB_FOR_BUILD_CFLAGS
5.2838 + GLIB_FOR_BUILD_LIBS=$pkg_cv_GLIB_FOR_BUILD_LIBS
5.2839 + { echo "$as_me:$LINENO: result: yes" >&5
5.2840 +echo "${ECHO_T}yes" >&6; }
5.2841 + :
5.2842 +fi
5.2843 +
5.2844 +
5.2845 +
5.2846 +
5.2847 if test "$HAVE_GTK" = 'yes'; then
5.2848 GUI_GTK_TRUE=
5.2849 GUI_GTK_FALSE='#'
5.2850 @@ -11703,6 +12092,274 @@
5.2851
5.2852 fi
5.2853
5.2854 +{ echo "$as_me:$LINENO: checking for glClearDepthf" >&5
5.2855 +echo $ECHO_N "checking for glClearDepthf... $ECHO_C" >&6; }
5.2856 +if test "${ac_cv_func_glClearDepthf+set}" = set; then
5.2857 + echo $ECHO_N "(cached) $ECHO_C" >&6
5.2858 +else
5.2859 + cat >conftest.$ac_ext <<_ACEOF
5.2860 +/* confdefs.h. */
5.2861 +_ACEOF
5.2862 +cat confdefs.h >>conftest.$ac_ext
5.2863 +cat >>conftest.$ac_ext <<_ACEOF
5.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_glClearDepthf
5.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, since
5.2872 + <limits.h> exists even on freestanding compilers. */
5.2873 +
5.2874 +#ifdef __STDC__
5.2875 +# include <limits.h>
5.2876 +#else
5.2877 +# include <assert.h>
5.2878 +#endif
5.2879 +
5.2880 +#undef glClearDepthf
5.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 GCC
5.2884 + builtin and then its argument prototype would still apply. */
5.2885 +#ifdef __cplusplus
5.2886 +extern "C"
5.2887 +#endif
5.2888 +char glClearDepthf ();
5.2889 +/* The GNU C library defines this for functions which it implements
5.2890 + to always fail with ENOSYS. Some functions are actually named
5.2891 + something starting with __ and the normal name is an alias. */
5.2892 +#if defined __stub_glClearDepthf || defined __stub___glClearDepthf
5.2893 +choke me
5.2894 +#endif
5.2895 +
5.2896 +int
5.2897 +main ()
5.2898 +{
5.2899 +return glClearDepthf ();
5.2900 + ;
5.2901 + return 0;
5.2902 +}
5.2903 +_ACEOF
5.2904 +rm -f conftest.$ac_objext conftest$ac_exeext
5.2905 +if { (ac_try="$ac_link"
5.2906 +case "(($ac_try" in
5.2907 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5.2908 + *) ac_try_echo=$ac_try;;
5.2909 +esac
5.2910 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5.2911 + (eval "$ac_link") 2>conftest.er1
5.2912 + ac_status=$?
5.2913 + grep -v '^ *+' conftest.er1 >conftest.err
5.2914 + rm -f conftest.er1
5.2915 + cat conftest.err >&5
5.2916 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.2917 + (exit $ac_status); } && {
5.2918 + test -z "$ac_c_werror_flag" ||
5.2919 + test ! -s conftest.err
5.2920 + } && test -s conftest$ac_exeext &&
5.2921 + $as_test_x conftest$ac_exeext; then
5.2922 + ac_cv_func_glClearDepthf=yes
5.2923 +else
5.2924 + echo "$as_me: failed program was:" >&5
5.2925 +sed 's/^/| /' conftest.$ac_ext >&5
5.2926 +
5.2927 + ac_cv_func_glClearDepthf=no
5.2928 +fi
5.2929 +
5.2930 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5.2931 + conftest$ac_exeext conftest.$ac_ext
5.2932 +fi
5.2933 +{ echo "$as_me:$LINENO: result: $ac_cv_func_glClearDepthf" >&5
5.2934 +echo "${ECHO_T}$ac_cv_func_glClearDepthf" >&6; }
5.2935 +if test $ac_cv_func_glClearDepthf = yes; then
5.2936 +
5.2937 +cat >>confdefs.h <<\_ACEOF
5.2938 +#define HAVE_OPENGL_CLEAR_DEPTHF 1
5.2939 +_ACEOF
5.2940 +
5.2941 +fi
5.2942 +
5.2943 +{ echo "$as_me:$LINENO: checking for glAreTexturesResident" >&5
5.2944 +echo $ECHO_N "checking for glAreTexturesResident... $ECHO_C" >&6; }
5.2945 +if test "${ac_cv_func_glAreTexturesResident+set}" = set; then
5.2946 + echo $ECHO_N "(cached) $ECHO_C" >&6
5.2947 +else
5.2948 + cat >conftest.$ac_ext <<_ACEOF
5.2949 +/* confdefs.h. */
5.2950 +_ACEOF
5.2951 +cat confdefs.h >>conftest.$ac_ext
5.2952 +cat >>conftest.$ac_ext <<_ACEOF
5.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_glAreTexturesResident
5.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, since
5.2961 + <limits.h> exists even on freestanding compilers. */
5.2962 +
5.2963 +#ifdef __STDC__
5.2964 +# include <limits.h>
5.2965 +#else
5.2966 +# include <assert.h>
5.2967 +#endif
5.2968 +
5.2969 +#undef glAreTexturesResident
5.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 GCC
5.2973 + builtin and then its argument prototype would still apply. */
5.2974 +#ifdef __cplusplus
5.2975 +extern "C"
5.2976 +#endif
5.2977 +char glAreTexturesResident ();
5.2978 +/* The GNU C library defines this for functions which it implements
5.2979 + to always fail with ENOSYS. Some functions are actually named
5.2980 + something starting with __ and the normal name is an alias. */
5.2981 +#if defined __stub_glAreTexturesResident || defined __stub___glAreTexturesResident
5.2982 +choke me
5.2983 +#endif
5.2984 +
5.2985 +int
5.2986 +main ()
5.2987 +{
5.2988 +return glAreTexturesResident ();
5.2989 + ;
5.2990 + return 0;
5.2991 +}
5.2992 +_ACEOF
5.2993 +rm -f conftest.$ac_objext conftest$ac_exeext
5.2994 +if { (ac_try="$ac_link"
5.2995 +case "(($ac_try" in
5.2996 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5.2997 + *) ac_try_echo=$ac_try;;
5.2998 +esac
5.2999 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5.3000 + (eval "$ac_link") 2>conftest.er1
5.3001 + ac_status=$?
5.3002 + grep -v '^ *+' conftest.er1 >conftest.err
5.3003 + rm -f conftest.er1
5.3004 + cat conftest.err >&5
5.3005 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.3006 + (exit $ac_status); } && {
5.3007 + test -z "$ac_c_werror_flag" ||
5.3008 + test ! -s conftest.err
5.3009 + } && test -s conftest$ac_exeext &&
5.3010 + $as_test_x conftest$ac_exeext; then
5.3011 + ac_cv_func_glAreTexturesResident=yes
5.3012 +else
5.3013 + echo "$as_me: failed program was:" >&5
5.3014 +sed 's/^/| /' conftest.$ac_ext >&5
5.3015 +
5.3016 + ac_cv_func_glAreTexturesResident=no
5.3017 +fi
5.3018 +
5.3019 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5.3020 + conftest$ac_exeext conftest.$ac_ext
5.3021 +fi
5.3022 +{ echo "$as_me:$LINENO: result: $ac_cv_func_glAreTexturesResident" >&5
5.3023 +echo "${ECHO_T}$ac_cv_func_glAreTexturesResident" >&6; }
5.3024 +if test $ac_cv_func_glAreTexturesResident = yes; then
5.3025 +
5.3026 +cat >>confdefs.h <<\_ACEOF
5.3027 +#define HAVE_OPENGL_TEX_RESIDENT 1
5.3028 +_ACEOF
5.3029 +
5.3030 +fi
5.3031 +
5.3032 +{ echo "$as_me:$LINENO: checking for glTexEnvi" >&5
5.3033 +echo $ECHO_N "checking for glTexEnvi... $ECHO_C" >&6; }
5.3034 +if test "${ac_cv_func_glTexEnvi+set}" = set; then
5.3035 + echo $ECHO_N "(cached) $ECHO_C" >&6
5.3036 +else
5.3037 + cat >conftest.$ac_ext <<_ACEOF
5.3038 +/* confdefs.h. */
5.3039 +_ACEOF
5.3040 +cat confdefs.h >>conftest.$ac_ext
5.3041 +cat >>conftest.$ac_ext <<_ACEOF
5.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_glTexEnvi
5.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, since
5.3050 + <limits.h> exists even on freestanding compilers. */
5.3051 +
5.3052 +#ifdef __STDC__
5.3053 +# include <limits.h>
5.3054 +#else
5.3055 +# include <assert.h>
5.3056 +#endif
5.3057 +
5.3058 +#undef glTexEnvi
5.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 GCC
5.3062 + builtin and then its argument prototype would still apply. */
5.3063 +#ifdef __cplusplus
5.3064 +extern "C"
5.3065 +#endif
5.3066 +char glTexEnvi ();
5.3067 +/* The GNU C library defines this for functions which it implements
5.3068 + to always fail with ENOSYS. Some functions are actually named
5.3069 + something starting with __ and the normal name is an alias. */
5.3070 +#if defined __stub_glTexEnvi || defined __stub___glTexEnvi
5.3071 +choke me
5.3072 +#endif
5.3073 +
5.3074 +int
5.3075 +main ()
5.3076 +{
5.3077 +return glTexEnvi ();
5.3078 + ;
5.3079 + return 0;
5.3080 +}
5.3081 +_ACEOF
5.3082 +rm -f conftest.$ac_objext conftest$ac_exeext
5.3083 +if { (ac_try="$ac_link"
5.3084 +case "(($ac_try" in
5.3085 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5.3086 + *) ac_try_echo=$ac_try;;
5.3087 +esac
5.3088 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5.3089 + (eval "$ac_link") 2>conftest.er1
5.3090 + ac_status=$?
5.3091 + grep -v '^ *+' conftest.er1 >conftest.err
5.3092 + rm -f conftest.er1
5.3093 + cat conftest.err >&5
5.3094 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5.3095 + (exit $ac_status); } && {
5.3096 + test -z "$ac_c_werror_flag" ||
5.3097 + test ! -s conftest.err
5.3098 + } && test -s conftest$ac_exeext &&
5.3099 + $as_test_x conftest$ac_exeext; then
5.3100 + ac_cv_func_glTexEnvi=yes
5.3101 +else
5.3102 + echo "$as_me: failed program was:" >&5
5.3103 +sed 's/^/| /' conftest.$ac_ext >&5
5.3104 +
5.3105 + ac_cv_func_glTexEnvi=no
5.3106 +fi
5.3107 +
5.3108 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5.3109 + conftest$ac_exeext conftest.$ac_ext
5.3110 +fi
5.3111 +{ echo "$as_me:$LINENO: result: $ac_cv_func_glTexEnvi" >&5
5.3112 +echo "${ECHO_T}$ac_cv_func_glTexEnvi" >&6; }
5.3113 +if test $ac_cv_func_glTexEnvi = yes; then
5.3114 +
5.3115 +cat >>confdefs.h <<\_ACEOF
5.3116 +#define HAVE_OPENGL_FIXEDFUNC 1
5.3117 +_ACEOF
5.3118 +
5.3119 +fi
5.3120 +
5.3121 +
5.3122
5.3123
5.3124
5.3125 @@ -14741,7 +15398,7 @@
5.3126 < $srcdir/po/POTFILES.in > po/POTFILES
5.3127
5.3128
5.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.3131
5.3132 cat >confcache <<\_ACEOF
5.3133 # This file is a shell script that caches the results of configure
5.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 fi
5.3138 +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5.3139 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5.3140 +Usually this means the macro was only invoked conditionally." >&5
5.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 +fi
5.3145 if test -z "${am__fastdepCC_FOR_BUILD_TRUE}" && test -z "${am__fastdepCC_FOR_BUILD_FALSE}"; then
5.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." >&5
5.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 fi
5.3152 -if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5.3153 - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5.3154 -Usually this means the macro was only invoked conditionally." >&5
5.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 -fi
5.3159 if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
5.3160 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepOBJC\" was never defined.
5.3161 Usually this means the macro was only invoked conditionally." >&5
5.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_delim
5.3172 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
5.3173 MAINT!$MAINT$ac_delim
5.3174 +build!$build$ac_delim
5.3175 +build_cpu!$build_cpu$ac_delim
5.3176 +build_vendor!$build_vendor$ac_delim
5.3177 +build_os!$build_os$ac_delim
5.3178 +host!$host$ac_delim
5.3179 +host_cpu!$host_cpu$ac_delim
5.3180 +host_vendor!$host_vendor$ac_delim
5.3181 +host_os!$host_os$ac_delim
5.3182 CC!$CC$ac_delim
5.3183 CFLAGS!$CFLAGS$ac_delim
5.3184 LDFLAGS!$LDFLAGS$ac_delim
5.3185 @@ -15636,14 +16302,6 @@
5.3186 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
5.3187 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
5.3188 CPP!$CPP$ac_delim
5.3189 -build!$build$ac_delim
5.3190 -build_cpu!$build_cpu$ac_delim
5.3191 -build_vendor!$build_vendor$ac_delim
5.3192 -build_os!$build_os$ac_delim
5.3193 -host!$host$ac_delim
5.3194 -host_cpu!$host_cpu$ac_delim
5.3195 -host_vendor!$host_vendor$ac_delim
5.3196 -host_os!$host_os$ac_delim
5.3197 CC!$CC$ac_delim
5.3198 CFLAGS!$CFLAGS$ac_delim
5.3199 CPPFLAGS!$CPPFLAGS$ac_delim
5.3200 @@ -15729,6 +16387,8 @@
5.3201 GLIB_LIBS!$GLIB_LIBS$ac_delim
5.3202 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
5.3203 GTK_LIBS!$GTK_LIBS$ac_delim
5.3204 +GLIB_FOR_BUILD_CFLAGS!$GLIB_FOR_BUILD_CFLAGS$ac_delim
5.3205 +GLIB_FOR_BUILD_LIBS!$GLIB_FOR_BUILD_LIBS$ac_delim
5.3206 GUI_GTK_TRUE!$GUI_GTK_TRUE$ac_delim
5.3207 GUI_GTK_FALSE!$GUI_GTK_FALSE$ac_delim
5.3208 LIBISOFS_CFLAGS!$LIBISOFS_CFLAGS$ac_delim
5.3209 @@ -15791,8 +16451,6 @@
5.3210 CATALOGS!$CATALOGS$ac_delim
5.3211 CATOBJEXT!$CATOBJEXT$ac_delim
5.3212 DATADIRNAME!$DATADIRNAME$ac_delim
5.3213 -GMOFILES!$GMOFILES$ac_delim
5.3214 -INSTOBJEXT!$INSTOBJEXT$ac_delim
5.3215 _ACEOF
5.3216
5.3217 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
5.3218 @@ -15834,6 +16492,8 @@
5.3219 ac_delim='%!_!# '
5.3220 for ac_last_try in false false false false false :; do
5.3221 cat >conf$$subs.sed <<_ACEOF
5.3222 +GMOFILES!$GMOFILES$ac_delim
5.3223 +INSTOBJEXT!$INSTOBJEXT$ac_delim
5.3224 INTLLIBS!$INTLLIBS$ac_delim
5.3225 PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
5.3226 PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
5.3227 @@ -15844,7 +16504,7 @@
5.3228 LTLIBOBJS!$LTLIBOBJS$ac_delim
5.3229 _ACEOF
5.3230
5.3231 - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 8; then
5.3232 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 10; then
5.3233 break
5.3234 elif $ac_last_try; then
5.3235 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6.1 --- a/configure.in Tue Feb 07 14:27:13 2012 +1000
6.2 +++ b/configure.in Fri Feb 10 19:26:10 2012 +1000
6.3 @@ -5,17 +5,20 @@
6.4 AM_MAINTAINER_MODE
6.5 AM_CONFIG_HEADER(config.h)
6.6
6.7 +AC_CANONICAL_BUILD
6.8 +AC_CANONICAL_HOST
6.9 +
6.10 +m4_include([m4/ccforbuild.m4])
6.11 +
6.12 AC_ISC_POSIX
6.13 AC_PROG_CC
6.14 +AM_PROG_CC_STDC
6.15 AC_PROG_CC_FOR_BUILD
6.16 -AM_PROG_CC_STDC
6.17 AC_PROG_OBJC
6.18 AC_PROG_SED
6.19 AM_PROG_AS
6.20 AC_CHECK_SIZEOF([void *])
6.21 AC_HEADER_STDC
6.22 -AC_CANONICAL_BUILD
6.23 -AC_CANONICAL_HOST
6.24
6.25 _AM_DEPENDENCIES([OBJC])
6.26
6.27 @@ -102,6 +105,7 @@
6.28 fi
6.29
6.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 fi
6.37 fi
6.38
6.39 +AC_PUSH_CC_FOR_BUILD
6.40 +PKG_CHECK_MODULES(GLIB_FOR_BUILD, glib-2.0)
6.41 +AC_POP_CC_FOR_BUILD
6.42 +
6.43 AM_CONDITIONAL(GUI_GTK, [test "$HAVE_GTK" = 'yes'])
6.44
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.55
6.56
6.57 dnl ------------------- SH4 translator target -------------------
6.58 @@ -443,6 +456,7 @@
6.59 AC_OUTPUT([
6.60 Makefile
6.61 src/Makefile
6.62 +src/tools/Makefile
6.63 po/Makefile.in
6.64 test/Makefile
6.65 Info.plist
7.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
7.2 +++ b/m4/ccforbuild.m4 Fri Feb 10 19:26:10 2012 +1000
7.3 @@ -0,0 +1,107 @@
7.4 +AC_DEFUN([AC_PUSH_CC_FOR_BUILD], [dnl
7.5 +pushdef([ac_cv_prog_CPP], ac_cv_build_prog_CPP)dnl
7.6 +pushdef([ac_cv_prog_gcc], ac_cv_build_prog_gcc)dnl
7.7 +pushdef([ac_cv_prog_cc_works], ac_cv_build_prog_cc_works)dnl
7.8 +pushdef([ac_cv_prog_cc_cross], ac_cv_build_prog_cc_cross)dnl
7.9 +pushdef([ac_cv_prog_cc_g], ac_cv_build_prog_cc_g)dnl
7.10 +pushdef([ac_cv_prog_cc_stdc], ac_cv_build_prog_cc_stdc)dnl
7.11 +pushdef([ac_cv_prog_cc_c99], ac_cv_build_prog_cc_stdc)dnl
7.12 +pushdef([ac_cv_prog_cc_c89], ac_cv_build_prog_cc_stdc)dnl
7.13 +dnl pushdef([ac_cv_c_compiler_gnu], ac_cv_build_c_compiler_gnu)dnl
7.14 +pushdef([ac_cv_exeext], ac_cv_build_exeext)dnl
7.15 +pushdef([ac_cv_objext], ac_cv_build_objext)dnl
7.16 +pushdef([ac_exeext], ac_build_exeext)dnl
7.17 +pushdef([ac_objext], ac_build_objext)dnl
7.18 +pushdef([CC], CC_FOR_BUILD)dnl
7.19 +pushdef([CPP], CPP_FOR_BUILD)dnl
7.20 +pushdef([CFLAGS], CFLAGS_FOR_BUILD)dnl
7.21 +pushdef([CPPFLAGS], CPPFLAGS_FOR_BUILD)dnl
7.22 +pushdef([host], build)dnl
7.23 +pushdef([host_alias], build_alias)dnl
7.24 +pushdef([host_cpu], build_cpu)dnl
7.25 +pushdef([host_vendor], build_vendor)dnl
7.26 +pushdef([host_os], build_os)dnl
7.27 +pushdef([ac_compiler_gnu], ac_build_compiler_gnu)dnl
7.28 +pushdef([ac_tool_prefix], ac_build_tool_prefix)dnl
7.29 +pushdef([ac_cv_host], ac_cv_build)dnl
7.30 +pushdef([ac_cv_host_alias], ac_cv_build_alias)dnl
7.31 +pushdef([ac_cv_host_cpu], ac_cv_build_cpu)dnl
7.32 +pushdef([ac_cv_host_vendor], ac_cv_build_vendor)dnl
7.33 +pushdef([ac_cv_host_os], ac_cv_build_os)dnl
7.34 +pushdef([ac_cpp], ac_build_cpp)dnl
7.35 +pushdef([ac_compile], ac_build_compile)dnl
7.36 +pushdef([ac_link], ac_build_link)dnl
7.37 +])
7.38 +
7.39 +AC_DEFUN([AC_POP_CC_FOR_BUILD], [dnl
7.40 +popdef([ac_link])dnl
7.41 +popdef([ac_compile])dnl
7.42 +popdef([ac_cpp])dnl
7.43 +popdef([ac_cv_host_os])dnl
7.44 +popdef([ac_cv_host_vendor])dnl
7.45 +popdef([ac_cv_host_cpu])dnl
7.46 +popdef([ac_cv_host_alias])dnl
7.47 +popdef([ac_cv_host])dnl
7.48 +popdef([ac_tool_prefix])dnl
7.49 +popdef([ac_compiler_gnu])dnl
7.50 +popdef([host_os])dnl
7.51 +popdef([host_vendor])dnl
7.52 +popdef([host_cpu])dnl
7.53 +popdef([host_alias])dnl
7.54 +popdef([host])dnl
7.55 +popdef([CPPFLAGS])dnl
7.56 +popdef([CFLAGS])dnl
7.57 +popdef([CPP])dnl
7.58 +popdef([CC])dnl
7.59 +popdef([ac_objext])dnl
7.60 +popdef([ac_exeext])dnl
7.61 +popdef([ac_cv_objext])dnl
7.62 +popdef([ac_cv_exeext])dnl
7.63 +dnl popdef([ac_cv_c_compiler_gnu])dnl
7.64 +popdef([ac_cv_prog_cc_c89])dnl
7.65 +popdef([ac_cv_prog_cc_c99])dnl
7.66 +popdef([ac_cv_prog_cc_stdc])dnl
7.67 +popdef([ac_cv_prog_cc_g])dnl
7.68 +popdef([ac_cv_prog_cc_works])dnl
7.69 +popdef([ac_cv_prog_cc_cross])dnl
7.70 +popdef([ac_cv_prog_gcc])dnl
7.71 +popdef([ac_cv_prog_CPP])dnl
7.72 +])
7.73 +
7.74 +
7.75 +AC_DEFUN([AC_PROG_CC_FOR_BUILD], [dnl
7.76 +AC_REQUIRE([AC_PROG_CC])dnl
7.77 +AC_REQUIRE([AC_PROG_CPP])dnl
7.78 +AC_REQUIRE([AC_EXEEXT])dnl
7.79 +AC_REQUIRE([AC_CANONICAL_HOST])dnl
7.80 +dnl
7.81 +ac_main_cc="$CC"
7.82 +test -n "$build_alias" && ac_build_tool_prefix=$build_alias-
7.83 +
7.84 +pushdef([cross_compiling], [#])dnl
7.85 +dnl If main compiler works and CC_FOR_BUILD is unset, use the main compiler
7.86 +if test -z "$CC_FOR_BUILD"; then
7.87 + AC_RUN_IFELSE([int main(){return 0;}], [CC_FOR_BUILD="$CC"], [],[])
7.88 +fi
7.89 +dnl Use the standard macros, but make them use other variable names
7.90 +dnl
7.91 +AC_PUSH_CC_FOR_BUILD
7.92 +
7.93 +AC_PROG_CC
7.94 +AC_PROG_CC_STDC
7.95 +AC_PROG_CPP
7.96 +AC_EXEEXT
7.97 +
7.98 +dnl Restore the old definitions
7.99 +dnl
7.100 +AC_POP_CC_FOR_BUILD
7.101 +popdef([cross_compiling])dnl
7.102 +dnl Finally, set Makefile variables
7.103 +dnl
7.104 +BUILD_EXEEXT=$ac_build_exeext
7.105 +BUILD_OBJEXT=$ac_build_objext
7.106 +AC_SUBST(BUILD_EXEEXT)dnl
7.107 +AC_SUBST(BUILD_OBJEXT)dnl
7.108 +AC_SUBST([CFLAGS_FOR_BUILD])dnl
7.109 +AC_SUBST([CPPFLAGS_FOR_BUILD])dnl
7.110 +])
8.1 --- a/src/Makefile.am Tue Feb 07 14:27:13 2012 +1000
8.2 +++ b/src/Makefile.am Fri Feb 10 19:26:10 2012 +1000
8.3 @@ -1,4 +1,7 @@
8.4 ## Process this file with automake to produce Makefile.in
8.5 +
8.6 +SUBDIRS=tools
8.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 = lxdream
8.15 -noinst_PROGRAMS = gendec genglsl genmach
8.16 check_PROGRAMS = test/testxlt test/testlxpaths
8.17
8.18 pkglib_PROGRAMS=
8.19 @@ -35,9 +37,6 @@
8.20
8.21 #all-am: checkversion
8.22
8.23 -gendec_SOURCES = tools/gendec.c tools/gendec.h tools/insparse.c tools/actparse.c
8.24 -genmach_SOURCES = tools/genmach.c tools/genmach.h tools/mdparse.c
8.25 -genglsl_SOURCES = tools/genglsl.c
8.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 endif
8.31
8.32
8.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.h
8.40 test_testlxpaths_SOURCES = test/testlxpaths.c lxpaths.c
8.41 test_testlxpaths_LDADD = @GLIB_LIBS@
8.42
8.43 -sh4/sh4core.c: gendec$(EXEEXT) sh4/sh4.def sh4/sh4core.in
8.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 tools
8.50 +
8.51 +sh4/sh4core.c: $(GENDEC) sh4/sh4.def sh4/sh4core.in
8.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.in
8.55 + $(GENDEC) $(srcdir)/sh4/sh4.def $(srcdir)/sh4/sh4core.in -o $@
8.56 +sh4/sh4dasm.c: $(GENDEC) sh4/sh4.def sh4/sh4dasm.in
8.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.in
8.60 + $(GENDEC) $(srcdir)/sh4/sh4.def $(srcdir)/sh4/sh4dasm.in -o $@
8.61 +sh4/sh4x86.c: $(GENDEC) sh4/sh4.def sh4/sh4x86.in
8.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.in
8.65 + $(GENDEC) $(srcdir)/sh4/sh4.def $(srcdir)/sh4/sh4x86.in -o $@
8.66 +sh4/sh4stat.c: $(GENDEC) sh4/sh4.def sh4/sh4stat.in
8.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.glsl
8.70 + $(GENDEC) $(srcdir)/sh4/sh4.def $(srcdir)/sh4/sh4stat.in -o $@
8.71 +pvr2/shaders.def: $(GENGLSL) pvr2/shaders.glsl
8.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.def
8.76 drivers/mac_keymap.h: dckeysyms.h drivers/mac_keymap.txt drivers/genkeymap.pl
8.77 $(mkdir_p) `dirname $@`
9.1 --- a/src/Makefile.in Tue Feb 07 14:27:13 2012 +1000
9.2 +++ b/src/Makefile.in Fri Feb 10 19:26:10 2012 +1000
9.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.in
9.13 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
9.14 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
9.15 - $(top_srcdir)/configure.in
9.16 + $(top_srcdir)/m4/ccforbuild.m4 $(top_srcdir)/configure.in
9.17 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
9.18 $(ACLOCAL_M4)
9.19 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
9.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.lo
9.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-recursive
9.79 ETAGS = etags
9.80 CTAGS = ctags
9.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 = tools
9.99 SVNVERSION = @SVNVERSION@
9.100 INCLUDES = \
9.101 -DPACKAGE_DATA_DIR=\""$(datadir)"\" \
9.102 @@ -570,9 +567,6 @@
9.103
9.104
9.105 #all-am: checkversion
9.106 -gendec_SOURCES = tools/gendec.c tools/gendec.h tools/insparse.c tools/actparse.c
9.107 -genmach_SOURCES = tools/genmach.c tools/genmach.h tools/mdparse.c
9.108 -genglsl_SOURCES = tools/genglsl.c
9.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_client
9.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.h
9.120 test_testlxpaths_SOURCES = test/testlxpaths.c lxpaths.c
9.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-am
9.127 + $(MAKE) $(AM_MAKEFLAGS) all-recursive
9.128
9.129 .SUFFIXES:
9.130 .SUFFIXES: .c .m .o .obj
9.131 @@ -713,9 +707,6 @@
9.132
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.c
9.160
9.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.180
9.181 -gendec.o: tools/gendec.c
9.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; fi
9.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.c
9.187 -
9.188 -gendec.obj: tools/gendec.c
9.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; fi
9.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.c
9.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; fi
9.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.c
9.201 -
9.202 -insparse.obj: tools/insparse.c
9.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; fi
9.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.c
9.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; fi
9.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.c
9.215 -
9.216 -actparse.obj: tools/actparse.c
9.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; fi
9.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.c
9.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; fi
9.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.c
9.229 -
9.230 -genglsl.obj: tools/genglsl.c
9.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; fi
9.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.c
9.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; fi
9.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.c
9.243 -
9.244 -genmach.obj: tools/genmach.c
9.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; fi
9.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.c
9.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; fi
9.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.c
9.257 -
9.258 -mdparse.obj: tools/mdparse.c
9.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; fi
9.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.c
9.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; fi
9.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.271
9.272 +# This directory's subdirectories are mostly independent; you can cd
9.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 + done
9.338 +ctags-recursive:
9.339 + list='$(SUBDIRS)'; for subdir in $$list; do \
9.340 + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
9.341 + done
9.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 $$unique
9.348 tags: TAGS
9.349
9.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 fi
9.374 ctags: CTAGS
9.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 done
9.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 + done
9.399 check-am: all-am
9.400 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
9.401 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
9.402 check: $(BUILT_SOURCES)
9.403 - $(MAKE) $(AM_MAKEFLAGS) check-am
9.404 + $(MAKE) $(AM_MAKEFLAGS) check-recursive
9.405 all-am: Makefile $(PROGRAMS)
9.406 -installdirs:
9.407 +installdirs: installdirs-recursive
9.408 +installdirs-am:
9.409 for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkglibdir)"; do \
9.410 test -z "$$dir" || $(mkdir_p) "$$dir"; \
9.411 done
9.412 install: $(BUILT_SOURCES)
9.413 - $(MAKE) $(AM_MAKEFLAGS) install-am
9.414 -install-exec: install-exec-am
9.415 -install-data: install-data-am
9.416 -uninstall: uninstall-am
9.417 + $(MAKE) $(AM_MAKEFLAGS) install-recursive
9.418 +install-exec: install-exec-recursive
9.419 +install-data: install-data-recursive
9.420 +uninstall: uninstall-recursive
9.421
9.422 install-am: all-am
9.423 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
9.424
9.425 -installcheck: installcheck-am
9.426 +installcheck: installcheck-recursive
9.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-am
9.435 +clean: clean-recursive
9.436
9.437 clean-am: clean-binPROGRAMS clean-checkPROGRAMS clean-generic \
9.438 - clean-noinstPROGRAMS clean-pkglibPROGRAMS mostlyclean-am
9.439 + clean-pkglibPROGRAMS mostlyclean-am
9.440
9.441 -distclean: distclean-am
9.442 +distclean: distclean-recursive
9.443 -rm -rf ./$(DEPDIR)
9.444 -rm -f Makefile
9.445 distclean-am: clean-am distclean-compile distclean-generic \
9.446 distclean-tags
9.447
9.448 -dvi: dvi-am
9.449 +dvi: dvi-recursive
9.450
9.451 dvi-am:
9.452
9.453 -html: html-am
9.454 +html: html-recursive
9.455
9.456 -info: info-am
9.457 +info: info-recursive
9.458
9.459 info-am:
9.460
9.461 @@ -3176,44 +3168,48 @@
9.462
9.463 install-exec-am: install-binPROGRAMS install-pkglibPROGRAMS
9.464
9.465 -install-info: install-info-am
9.466 +install-info: install-info-recursive
9.467
9.468 install-man:
9.469
9.470 installcheck-am:
9.471
9.472 -maintainer-clean: maintainer-clean-am
9.473 +maintainer-clean: maintainer-clean-recursive
9.474 -rm -rf ./$(DEPDIR)
9.475 -rm -f Makefile
9.476 maintainer-clean-am: distclean-am maintainer-clean-generic
9.477
9.478 -mostlyclean: mostlyclean-am
9.479 +mostlyclean: mostlyclean-recursive
9.480
9.481 mostlyclean-am: mostlyclean-compile mostlyclean-generic
9.482
9.483 -pdf: pdf-am
9.484 +pdf: pdf-recursive
9.485
9.486 pdf-am:
9.487
9.488 -ps: ps-am
9.489 +ps: ps-recursive
9.490
9.491 ps-am:
9.492
9.493 uninstall-am: uninstall-binPROGRAMS uninstall-info-am \
9.494 uninstall-pkglibPROGRAMS
9.495
9.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-recursive
9.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-pkglibPROGRAMS
9.524
9.525
9.526 @@ -3235,21 +3231,24 @@
9.527 @BUILD_SHARED_TRUE@@INPUT_LIRC_TRUE@input_lirc.lo: drivers/input_lirc.c
9.528 @BUILD_SHARED_TRUE@@INPUT_LIRC_TRUE@ $(COMPILE) -DPLUGIN $(PLUGINCFLAGS) -c $< -o $@
9.529
9.530 -sh4/sh4core.c: gendec$(EXEEXT) sh4/sh4.def sh4/sh4core.in
9.531 +$(GENDEC) $(GENGLSL) $(GENMACH):
9.532 + $(MAKE) $(AM_MAKEFLAGS) -C tools
9.533 +
9.534 +sh4/sh4core.c: $(GENDEC) sh4/sh4.def sh4/sh4core.in
9.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.in
9.538 + $(GENDEC) $(srcdir)/sh4/sh4.def $(srcdir)/sh4/sh4core.in -o $@
9.539 +sh4/sh4dasm.c: $(GENDEC) sh4/sh4.def sh4/sh4dasm.in
9.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.in
9.543 + $(GENDEC) $(srcdir)/sh4/sh4.def $(srcdir)/sh4/sh4dasm.in -o $@
9.544 +sh4/sh4x86.c: $(GENDEC) sh4/sh4.def sh4/sh4x86.in
9.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.in
9.548 + $(GENDEC) $(srcdir)/sh4/sh4.def $(srcdir)/sh4/sh4x86.in -o $@
9.549 +sh4/sh4stat.c: $(GENDEC) sh4/sh4.def sh4/sh4stat.in
9.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.glsl
9.553 + $(GENDEC) $(srcdir)/sh4/sh4.def $(srcdir)/sh4/sh4stat.in -o $@
9.554 +pvr2/shaders.def: $(GENGLSL) pvr2/shaders.glsl
9.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.def
9.559 drivers/mac_keymap.h: dckeysyms.h drivers/mac_keymap.txt drivers/genkeymap.pl
9.560 $(mkdir_p) `dirname $@`
10.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
10.2 +++ b/src/tools/Makefile.am Fri Feb 10 19:26:10 2012 +1000
10.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 genmach
10.13 +
10.14 +gendec_SOURCES = gendec.c gendec.h insparse.c actparse.c
10.15 +gendec_LDADD = @GLIB_LIBS@ @GTK_LIBS@ $(INTLLIBS)
10.16 +
10.17 +genmach_SOURCES = genmach.c genmach.h mdparse.c
10.18 +genmach_LDADD = @GLIB_LIBS@ @GTK_LIBS@ $(INTLLIBS)
10.19 +
10.20 +genglsl_SOURCES = genglsl.c
10.21 +genglsl_LDADD = @GLIB_LIBS@ @GTK_LIBS@ $(INTLLIBS)
10.22 +
11.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
11.2 +++ b/src/tools/Makefile.in Fri Feb 10 19:26:10 2012 +1000
11.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 Foundation
11.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; without
11.15 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11.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)" && cd
11.28 +INSTALL = @INSTALL@
11.29 +install_sh_DATA = $(install_sh) -c -m 644
11.30 +install_sh_PROGRAM = $(install_sh) -c
11.31 +install_sh_SCRIPT = $(install_sh) -c
11.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/tools
11.44 +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
11.45 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
11.46 +am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
11.47 + $(top_srcdir)/m4/ccforbuild.m4 $(top_srcdir)/configure.in
11.48 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
11.49 + $(ACLOCAL_M4)
11.50 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
11.51 +CONFIG_HEADER = $(top_builddir)/config.h
11.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)/depcomp
11.67 +am__depfiles_maybe = depfiles
11.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 = etags
11.75 +CTAGS = ctags
11.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.c
11.278 +gendec_LDADD = @GLIB_LIBS@ @GTK_LIBS@ $(INTLLIBS)
11.279 +genmach_SOURCES = genmach.c genmach.h mdparse.c
11.280 +genmach_LDADD = @GLIB_LIBS@ @GTK_LIBS@ $(INTLLIBS)
11.281 +genglsl_SOURCES = genglsl.c
11.282 +genglsl_LDADD = @GLIB_LIBS@ @GTK_LIBS@ $(INTLLIBS)
11.283 +all: all-am
11.284 +
11.285 +.SUFFIXES:
11.286 +.SUFFIXES: .c .o .obj
11.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/Makefile
11.299 +.PRECIOUS: Makefile
11.300 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
11.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--refresh
11.311 +
11.312 +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
11.313 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
11.314 +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
11.315 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
11.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.c
11.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; fi
11.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; fi
11.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 $$unique
11.365 +tags: TAGS
11.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 + fi
11.382 +ctags: CTAGS
11.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 $$unique
11.396 +
11.397 +GTAGS:
11.398 + here=`$(am__cd) $(top_builddir) && pwd` \
11.399 + && cd $(top_srcdir) \
11.400 + && gtags -i $(GTAGS_ARGS) $$here
11.401 +
11.402 +distclean-tags:
11.403 + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
11.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 + done
11.432 +check-am: all-am
11.433 +check: check-am
11.434 +all-am: Makefile $(PROGRAMS)
11.435 +installdirs:
11.436 +install: install-am
11.437 +install-exec: install-exec-am
11.438 +install-data: install-data-am
11.439 +uninstall: uninstall-am
11.440 +
11.441 +install-am: all-am
11.442 + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
11.443 +
11.444 +installcheck: installcheck-am
11.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)'"` install
11.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-am
11.461 +
11.462 +clean-am: clean-generic clean-noinstPROGRAMS mostlyclean-am
11.463 +
11.464 +distclean: distclean-am
11.465 + -rm -rf ./$(DEPDIR)
11.466 + -rm -f Makefile
11.467 +distclean-am: clean-am distclean-compile distclean-generic \
11.468 + distclean-tags
11.469 +
11.470 +dvi: dvi-am
11.471 +
11.472 +dvi-am:
11.473 +
11.474 +html: html-am
11.475 +
11.476 +info: info-am
11.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-am
11.485 +
11.486 +install-man:
11.487 +
11.488 +installcheck-am:
11.489 +
11.490 +maintainer-clean: maintainer-clean-am
11.491 + -rm -rf ./$(DEPDIR)
11.492 + -rm -f Makefile
11.493 +maintainer-clean-am: distclean-am maintainer-clean-generic
11.494 +
11.495 +mostlyclean: mostlyclean-am
11.496 +
11.497 +mostlyclean-am: mostlyclean-compile mostlyclean-generic
11.498 +
11.499 +pdf: pdf-am
11.500 +
11.501 +pdf-am:
11.502 +
11.503 +ps: ps-am
11.504 +
11.505 +ps-am:
11.506 +
11.507 +uninstall-am: uninstall-info-am
11.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-am
11.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:
.