From f6b31585bbd6b7dc784911c1f4715788930b51a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Elio=20=27Flameeyes=27=20Petten=C3=B2?= Date: Fri, 17 Apr 2009 19:39:38 +0200 Subject: [PATCH] Don't call AC_CANONICAL_SYSTEM but AC_CANONICAL_HOST. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The former macro checks for definitions for all the three definitions (host, build and target) but the configure script only uses $host. Refer to http://www.flameeyes.eu/autotools-mythbuster/autoconf/canonical.html or to http://blog.flameeyes.eu/s/canonical-target for more details. Signed-off-by: BenoƮt Dejean --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 4a9e1c4d..adfeea6e 100644 --- a/configure.in +++ b/configure.in @@ -31,7 +31,7 @@ AC_INIT([libgtop], [libgtop_version], AC_CONFIG_SRCDIR(copyright.txt) AC_CONFIG_HEADERS(config.h) -AC_CANONICAL_SYSTEM +AC_CANONICAL_HOST AM_INIT_AUTOMAKE AC_SUBST(ACLOCAL_AMFLAGS, [\${ACLOCAL_FLAGS}])