- Issue #14327: Call AC_CANONICAL_HOST in configure.ac and check in
  config.{guess,sub}.
diff --git a/configure.ac b/configure.ac
index 6db4f3e..dd09dc5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -33,6 +33,8 @@
 AC_CONFIG_SRCDIR([Include/object.h])
 AC_CONFIG_HEADER(pyconfig.h)
 
+AC_CANONICAL_HOST
+
 dnl Ensure that if prefix is specified, it does not end in a slash. If
 dnl it does, we get path names containing '//' which is both ugly and
 dnl can cause trouble.