acinclude.m4 (enable_symvers): Default to no if unable to link.
authorJoseph Myers <joseph@codesourcery.com>
Fri, 29 Sep 2006 12:19:45 +0000 (13:19 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Fri, 29 Sep 2006 12:19:45 +0000 (13:19 +0100)
* acinclude.m4 (enable_symvers): Default to no if unable to link.
* configure: Regenerate.

From-SVN: r117301

libstdc++-v3/ChangeLog
libstdc++-v3/acinclude.m4
libstdc++-v3/configure

index d65af03b6c13859b1a4b4cb63763269e0a8aec68..ab3f1e99555c7656c97861b62c58cbe416d085a8 100644 (file)
@@ -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
index 8fe294d4c40ab67f9dbf8182de660f091eb752eb..a15e076ce784a4f9e11d142a396855749b2cd1ff 100644 (file)
@@ -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
index e95d3ec13d115d47456dccf6bfd1b90e947e1f05..ee9178c4a61ee194bc20e26da05b97fa432f4cc2 100755 (executable)
@@ -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