From: doko@ubuntu.com Date: Mon, 29 Aug 2016 18:03:25 +0000 (+0200) Subject: - Issue #23968, keep platform_triplet and multiarch macros in sync X-Git-Tag: v3.6.0b1~528^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=75b1cb10b53d55cf51f32049ba76a6be82b4f6bb;p=python - Issue #23968, keep platform_triplet and multiarch macros in sync --- diff --git a/configure b/configure index f5cabadac7..0d73045105 100755 --- a/configure +++ b/configure @@ -5395,6 +5395,8 @@ if test x$PLATFORM_TRIPLET != x && test x$MULTIARCH != x; then 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 64c844dc54..2e0cb397ce 100644 --- a/configure.ac +++ b/configure.ac @@ -882,6 +882,8 @@ if test x$PLATFORM_TRIPLET != x && test x$MULTIARCH != x; then 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