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
This commit is contained in:
Joseph Myers 2006-09-29 13:19:45 +01:00 committed by Joseph Myers
parent 7a19767892
commit 4bd726d0bc
3 changed files with 7 additions and 2 deletions

View 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

View 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

View file

@ -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