Commit 88a1c0ab by Alexandre Oliva Committed by Alexandre Oliva

ltcf-c.sh (ld_shlibs): Disable on unknown CPU types.

* ltcf-c.sh (ld_shlibs) [aix5*]: Disable on unknown CPU types.
* ltcf-cxx.sh, ltcf-gcj.sh: Likewise.

From-SVN: r39297
parent 58245fb1
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-26 Michael Sokolov <msokolov@ivan.Harhan.ORG> 2001-01-26 Michael Sokolov <msokolov@ivan.Harhan.ORG>
* ltcf-cxx.sh: Use parentheses around eval $ac_compile. * ltcf-cxx.sh: Use parentheses around eval $ac_compile.
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# ltcf-c.sh - Create a C compiler specific configuration # 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 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
# #
# This file is free software; you can redistribute it and/or modify it # This file is free software; you can redistribute it and/or modify it
...@@ -283,6 +283,12 @@ else ...@@ -283,6 +283,12 @@ else
# Exported symbols can be pulled into shared objects from archives # Exported symbols can be pulled into shared objects from archives
whole_archive_flag_spec=' ' whole_archive_flag_spec=' '
build_libtool_need_lc=yes build_libtool_need_lc=yes
# We don't want to build shared libraries on unknown CPU types.
case $host_cpu in
powerpc | rs6000) ;;
*) ld_shlibs=no ;;
esac
;; ;;
amigaos*) amigaos*)
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# ltcf-cxx.sh - Create a C++ compiler specific configuration # 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 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
# #
# Original C++ support by:Gary V. Vaughan <gvv@techie.com> # Original C++ support by:Gary V. Vaughan <gvv@techie.com>
...@@ -141,6 +141,12 @@ case "$host_os" in ...@@ -141,6 +141,12 @@ case "$host_os" in
# Exported symbols can be pulled into shared objects from archives # Exported symbols can be pulled into shared objects from archives
whole_archive_flag_spec=' ' whole_archive_flag_spec=' '
build_libtool_need_lc=yes build_libtool_need_lc=yes
# We don't want to build shared libraries on unknown CPU types.
case $host_cpu in
powerpc | rs6000) ;;
*) ld_shlibs=no ;;
esac
;; ;;
chorus*) chorus*)
case "$cc_basename" in case "$cc_basename" in
......
...@@ -286,6 +286,12 @@ else ...@@ -286,6 +286,12 @@ else
# According to Greg Wooledge, -bexpall is only supported from AIX 4.2 on # According to Greg Wooledge, -bexpall is only supported from AIX 4.2 on
always_export_symbols=yes ;; always_export_symbols=yes ;;
esac esac
# We don't want to build shared libraries on unknown CPU types.
case $host_cpu in
powerpc | rs6000) ;;
*) ld_shlibs=no ;;
esac
;; ;;
amigaos*) amigaos*)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment