From 4bd726d0bc325a1a52aeda349399f2bc0895a0c7 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 29 Sep 2006 13:19:45 +0100 Subject: [PATCH] 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 --- libstdc++-v3/ChangeLog | 5 +++++ libstdc++-v3/acinclude.m4 | 2 +- libstdc++-v3/configure | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index d65af03b6c1..ab3f1e99555 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2006-09-29 Joseph S. Myers + + * acinclude.m4 (enable_symvers): Default to no if unable to link. + * configure: Regenerate. + 2006-09-28 Paolo Carlini * include/bits/stl_uninitialized.h diff --git a/libstdc++-v3/acinclude.m4 b/libstdc++-v3/acinclude.m4 index 8fe294d4c40..a15e076ce78 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 e95d3ec13d1..ee9178c4a61 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 -- 2.30.2