summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 8bd79fb..2933d05 100644
--- a/configure.ac
+++ b/configure.ac
@@ -13,10 +13,10 @@ fi
AC_ARG_WITH(cpu, [ --with-cpu define host cpu])
-if test -z "$with_cpu"
+AC_CANONICAL_HOST
+
+if test -n "$with_cpu"
then
- AC_CANONICAL_HOST
-else
host_cpu=$with_cpu
fi
# Checking for target cpu and setting custom configuration