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