Use AC_CANONICAL_HOST in configure.ac
Submitted by Maarten Bosmans
AC_CANONICAL_HOST is the correct macro to use for detecting cross-compilation.
This should be changed in both master (where it is AC_CANONICAL_TARGET right now) and in the 3.8 branch (where it is AC_CANONICAL_SYSTEM).
Trivial patch for 3.8 branch looks like: --- glade3/configure.ac 2009-06-13 01:03:21.000000000 +0200 +++ glade3/configure.ac 2009-06-19 12:38:26.000000000 +0200 @@ -21,7 +21,7 @@ AC_DEFINE(GLADE_MICRO_VERSION, glade_micro_version, [Glade micro version]) AC_SUBST(GLADE_MICRO_VERSION, glade_micro_version)
AM_INIT_AUTOMAKE([1.9 foreign no-dist-gzip dist-bzip2])