2004-10-11 Stepan Kasal * configure.ac: Add a short explanation about cross compile. Index: configure.ac =================================================================== RCS file: /cvsroot/texinfo/texinfo/configure.ac,v retrieving revision 1.40 diff -u -r1.40 configure.ac --- configure.ac 8 Oct 2004 22:01:14 -0000 1.40 +++ configure.ac 11 Oct 2004 07:57:45 -0000 @@ -79,10 +79,17 @@ # term library. AC_CANONICAL_BUILD +# We run some of the binaries which were just built. +# This means that if we are cross compiling, we have to configure the +# package twice: once with the native compiler (this is done in a +# subdirectory $native_tools), and once with the cross compiler. +# The former is invoked automatically here, with --host=$build. +# $native_tools is also added to SUBDIRS in the main Makefile.am, +# so that make compiles the native tools first. +# if test "$cross_compiling" = no; then native_tools= else - # Make twice, once locally, then with host compiler. native_tools=tools test -d "$native_tools" || mkdir "$native_tools" confdir=`(cd "$srcdir";pwd)`