]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltcf-c.sh (ld_shlibs) [aix5*]: Disable on unknown CPU types.
authorAlexandre Oliva <aoliva@redhat.com>
Sat, 27 Jan 2001 19:20:51 +0000 (19:20 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Sat, 27 Jan 2001 19:20:51 +0000 (19:20 +0000)
* ltcf-cxx.sh, ltcf-gcj.sh: Likewise.

ChangeLog
ltcf-c.sh
ltcf-cxx.sh
ltcf-gcj.sh

index 09450ca495488e23d6dccb77203254610817ce44..0360571b99facee0b98b7346d5e238522fe9da13 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-01-27  Alexandre Oliva  <aoliva@redhat.com>
+
+       * ltcf-c.sh (ld_shlibs) [aix5*]: Disable on unknown CPU types.
+       * ltcf-cxx.sh, ltcf-gcj.sh: Likewise.
+
 2001-01-27  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
 
        * ltcf-cxx.sh (ac_cv_prog_cc_pic_works, ac_cv_prog_cc_static_works):
index 93e83162a2bc3e6ad14ce504159301bad6d68b57..bffaa5d173977af9eff6e448baa8b8e94daad723 100644 (file)
--- a/ltcf-c.sh
+++ b/ltcf-c.sh
@@ -2,7 +2,7 @@
 
 # ltcf-c.sh - Create a C compiler specific configuration
 #
-# Copyright (C) 1996-2000 Free Software Foundation, Inc.
+# Copyright (C) 1996-2000, 2001 Free Software Foundation, Inc.
 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
 #
 # This file is free software; you can redistribute it and/or modify it
@@ -295,6 +295,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*)
index 5b2e8722d2a68ed3bfc0a09e3e8291f4f5d968f9..58fb94beeb99b1e6dced141de6895ad732168f50 100644 (file)
@@ -2,7 +2,7 @@
 
 # ltcf-cxx.sh - Create a C++ compiler specific configuration
 #
-# Copyright (C) 1996-1999,2000 Free Software Foundation, Inc.
+# Copyright (C) 1996-1999, 2000, 2001 Free Software Foundation, Inc.
 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
 #
 # Original C++ support by:Gary V. Vaughan <gvv@techie.com>
@@ -137,6 +137,12 @@ case "$host_os" in
   aix4*)
     # FIXME: insert proper C++ library support
     ld_shlibs=no
+
+    # We don't want to build shared libraries on unknown CPU types.
+    case $host_cpu in
+    powerpc | rs6000) ;;
+    *) ld_shlibs=no ;;
+    esac
     ;;
   chorus*)
     case "$cc_basename" in
index 975310ee2e15d650e9714035bd1d4e5c9c973427..8697f58ecd4a010d0e6e179cf48f592644a3c31b 100644 (file)
@@ -286,6 +286,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*)