From 3cb7aa98c2271081b80b0a2df7fc02be03e2a1bf Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sat, 4 Apr 2015 18:10:18 +0200 Subject: [PATCH] configure.ac: Use $host_os instead of $target_os. $build and $build_os refer to the machine on which the software is built, $host and $host_os refer to the machine for which the software is (cross-)built. The variables $target and $target_os (despite the confusing names) are only relevant in the context of building cross-compilers. --- configure.ac | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 35f9d74..f01644b 100644 --- a/configure.ac +++ b/configure.ac @@ -33,8 +33,6 @@ AC_CONFIG_HEADERS([config.h]) AC_CONFIG_MACRO_DIR([autostuff]) AC_CONFIG_AUX_DIR([autostuff]) -AC_CANONICAL_TARGET - # We require at least automake 1.11 (needed for 'silent rules'). AM_INIT_AUTOMAKE([1.11 -Wall -Werror check-news]) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) @@ -79,7 +77,7 @@ AC_SUBST(SP_LIB_LDFLAGS) SP_PKGLIBS="" SP_LIBS="" -case $target_os in +case $host_os in *linux*) AM_CONDITIONAL([LINUX], true) AM_CONDITIONAL([WIN32], false) -- 2.11.4.GIT