aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2006-09-29 13:19:45 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2006-09-29 13:19:45 +0100
commit4bd726d0bc325a1a52aeda349399f2bc0895a0c7 (patch)
tree8bb6e6cf74f74a9ddb4a15b9f7fbedcfe542ee06
parent7a19767892abd27ce0cc52edddbf2436e649e22f (diff)
downloadgcc-4bd726d0bc325a1a52aeda349399f2bc0895a0c7.zip
gcc-4bd726d0bc325a1a52aeda349399f2bc0895a0c7.tar.gz
gcc-4bd726d0bc325a1a52aeda349399f2bc0895a0c7.tar.bz2
acinclude.m4 (enable_symvers): Default to no if unable to link.
* acinclude.m4 (enable_symvers): Default to no if unable to link. * configure: Regenerate. From-SVN: r117301
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/acinclude.m42
-rwxr-xr-xlibstdc++-v3/configure2
3 files changed, 7 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index d65af03..ab3f1e9 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,8 @@
+2006-09-29 Joseph S. Myers <joseph@codesourcery.com>
+
+ * acinclude.m4 (enable_symvers): Default to no if unable to link.
+ * configure: Regenerate.
+
2006-09-28 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_uninitialized.h
diff --git a/libstdc++-v3/acinclude.m4 b/libstdc++-v3/acinclude.m4
index 8fe294d..a15e076 100644
--- a/libstdc++-v3/acinclude.m4
+++ b/libstdc++-v3/acinclude.m4
@@ -2158,7 +2158,7 @@ AC_REQUIRE([GLIBCXX_CHECK_LINKER_FEATURES])
# Turn a 'yes' into a suitable default.
if test x$enable_symvers = xyes ; then
- if test $enable_shared = no || test "x$LD" = x ; then
+ if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
enable_symvers=no
else
if test $with_gnu_ld = yes ; then
diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure
index e95d3ec..ee9178c 100755
--- a/libstdc++-v3/configure
+++ b/libstdc++-v3/configure
@@ -107644,7 +107644,7 @@ fi;
# Turn a 'yes' into a suitable default.
if test x$enable_symvers = xyes ; then
- if test $enable_shared = no || test "x$LD" = x ; then
+ if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
enable_symvers=no
else
if test $with_gnu_ld = yes ; then