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>
This commit is contained in:
committed by
Benoît Dejean
parent
f3c86c8767
commit
f6b31585bb
@@ -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}])
|
||||
|
Reference in New Issue
Block a user