#22980: fix triplet configure test for powerpc-linux-gnu
diff --git a/configure b/configure
index 473f6b2..46f8287 100755
--- a/configure
+++ b/configure
@@ -5071,6 +5071,7 @@
cat >> conftest.c <<EOF
#undef linux
#undef i386
+#undef powerpc
#undef unix
#if defined(__linux__)
# if defined(__x86_64__) && defined(__LP64__)
diff --git a/configure.ac b/configure.ac
index aab01a4..26d7b36 100644
--- a/configure.ac
+++ b/configure.ac
@@ -730,6 +730,7 @@
cat >> conftest.c <<EOF
#undef linux
#undef i386
+#undef powerpc
#undef unix
#if defined(__linux__)
# if defined(__x86_64__) && defined(__LP64__)