From fe2ee7c4a717e8256283e985faee5bd7c927d69e Mon Sep 17 00:00:00 2001
From: David Edelsohn <edelsohn@gnu.org>
Date: Wed, 13 Jun 2001 02:12:07 +0000
Subject: [PATCH] config-ml.in (powerpc-*-* | rs6000-*-*): Allow aix64 and
 pthread multilibs to be disabled.

        * config-ml.in (powerpc-*-* | rs6000-*-*): Allow aix64 and pthread
        multilibs to be disabled.

From-SVN: r43294
---
 ChangeLog    |  5 +++++
 config-ml.in | 22 ++++++++++++++++++++++
 2 files changed, 27 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 8ab33d9a5b86..bd2db16a8466 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-06-12  David Edelsohn  <edelsohn@gnu.org>
+
+	* config-ml.in (powerpc-*-* | rs6000-*-*): Allow aix64 and pthread
+	multilibs to be disabled.
+
 2001-06-11  Daniel Berlin  <dan@cgsoftware.com>
 
 	* MAINTAINERS (Write After Approval): Add myself.
diff --git a/config-ml.in b/config-ml.in
index 8c879184384e..16885f95f0e1 100644
--- a/config-ml.in
+++ b/config-ml.in
@@ -392,6 +392,28 @@ mips*-*-*)
 	esac
 	;;
 powerpc*-*-* | rs6000*-*-*)
+	if [ x$enable_aix64 = xno ]
+	then
+	  old_multidirs="${multidirs}"
+	  multidirs=""
+	  for x in ${old_multidirs}; do
+	    case "$x" in
+	      *ppc64* ) : ;;
+	      *) multidirs="${multidirs} ${x}" ;;
+	    esac
+	  done
+	fi
+	if [ x$enable_pthread = xno ]
+	then
+	  old_multidirs="${multidirs}"
+	  multidirs=""
+	  for x in ${old_multidirs}; do
+	    case "$x" in
+	      *pthread* ) : ;;
+	      *) multidirs="${multidirs} ${x}" ;;
+	    esac
+	  done
+	fi
 	if [ x$enable_softfloat = xno ]
 	then
 	  old_multidirs="${multidirs}"
-- 
GitLab