]> granicus.if.org Git - strace/blobdiff - configure.in
Support cross-compiling between architectures
[strace] / configure.in
index dcac0172c66a4cd59be750b99dddaaf690b973cd..ed13615b00fd88ef3f1b5415a06e22e33fe2aafe 100644 (file)
@@ -1,5 +1,5 @@
 AC_INIT(strace.c)
-AC_CANONICAL_HOST()
+AC_CANONICAL_SYSTEM()
 AC_MSG_CHECKING(for supported operating system)
 changequote(,)dnl
 
@@ -37,7 +37,7 @@ opsys_list='
 '
 
 AC_MSG_CHECKING(for supported architecture)
-case "$host_cpu" in
+case "$target_cpu" in
 i[3456]86|pentium)
        arch=i386
        ;;