- Issue #23968, keep platform_triplet and multiarch macros in sync
diff --git a/configure.ac b/configure.ac
index 64c844d..2e0cb39 100644
--- a/configure.ac
+++ b/configure.ac
@@ -882,6 +882,8 @@
   if test x$PLATFORM_TRIPLET != x$MULTIARCH; then
     AC_MSG_ERROR([internal configure error for the platform triplet, please file a bug report])
   fi
+elif test x$PLATFORM_TRIPLET != x && test x$MULTIARCH = x; then
+  MULTIARCH=$PLATFORM_TRIPLET
 fi
 if test x$PLATFORM_TRIPLET = x; then
   PLATDIR=plat-$MACHDEP