- Issue #23968, keep platform_triplet and multiarch macros in sync
diff --git a/configure b/configure
index f5cabad..0d73045 100755
--- a/configure
+++ b/configure
@@ -5395,6 +5395,8 @@
if test x$PLATFORM_TRIPLET != x$MULTIARCH; then
as_fn_error $? "internal configure error for the platform triplet, please file a bug report" "$LINENO" 5
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
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