From 1db2d2a85d5bf9733bddaa93b850ae7f093887a4 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Sat, 27 Jan 2001 19:18:55 +0000 Subject: [PATCH] * ltconfig.in (ld_shlibs) [aix4*]: Disable on unknown CPU types. --- ChangeLog | 4 ++++ ltconfig.in | 9 ++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d21695949..c4eecb235 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2001-01-27 Alexandre Oliva + + * ltconfig.in (ld_shlibs) [aix4*]: Disable on unknown CPU types. + 2000-10-30 Aneesh Kumar K.V * ltconfig.in (archive_expsym_cmds): Support for -export-symbol diff --git a/ltconfig.in b/ltconfig.in index 59df0b4f7..cfa10dbe0 100755 --- a/ltconfig.in +++ b/ltconfig.in @@ -1,7 +1,8 @@ #! /bin/sh # ltconfig - Create a system-specific libtool. -# Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc. +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 +# Free Software Foundation, Inc. # Originally by Gordon Matzigkeit , 1996 # # This file is free software; you can redistribute it and/or modify it @@ -1315,6 +1316,12 @@ else # According to Greg Wooledge, -bexpall is only supported from AIX 4.2 on always_export_symbols=yes ;; esac + + # We don't want to build shared libraries on unknown CPU types. + case $host_cpu in + powerpc | rs6000) ;; + *) ld_shlibs=no ;; + esac ;; amigaos*) -- 2.47.2