[libgtop] Don't call AC_CANONICAL_SYSTEM but AC_CANONICAL_HOST.



commit f6b31585bbd6b7dc784911c1f4715788930b51a7
Author: Diego Elio 'Flameeyes' Pettenò <flameeyes gmail com>
Date:   Fri Apr 17 19:39:38 2009 +0200

    Don't call AC_CANONICAL_SYSTEM but AC_CANONICAL_HOST.
    
    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 <benoit placenet org>
---
 configure.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.in b/configure.in
index 4a9e1c4..adfeea6 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}])



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]