summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-02-19 14:44:50 -0500
committerCraig Small <csmall@enc.com.au>2013-02-21 22:45:32 +1100
commit5100d75f6b4a834b6a324f7d66be49b2a9b98c9d (patch)
treee710ecd2a721ecce2534ca8f233475f8f211f671
parent89fa40f0a55096a62809e852244d7db3f445b0cd (diff)
use AC_CANONICAL_HOST
--host is used for the system where the compiled code will run. --target is not the correct system to look that up. http://www.gnu.org/software/autoconf/manual/html_node/Manual-Configuration.html#Manual-Configuration Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Craig Small <csmall@enc.com.au>
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 9df639d..56fa485 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5,7 +5,7 @@ AC_INIT([psmisc],[22.20])
AC_CONFIG_SRCDIR([src/comm.h])
AC_CONFIG_HEADER([config.h])
AC_CONFIG_AUX_DIR([config])
-AC_CANONICAL_TARGET
+AC_CANONICAL_HOST
AM_INIT_AUTOMAKE([1.10])
AC_LANG([C])
@@ -118,7 +118,7 @@ AC_CHECK_MEMBERS([struct pt_regs.uregs],[],[], [#include <asm/ptrace.h>])
AC_CHECK_MEMBERS([struct pt_regs.regs,
struct pt_regs.cp0_status],[],[], [#include <asm/ptrace.h>])
-case ${target_os} in
+case ${host_os} in
gnu*)
want_fuser=no
;;