aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/acinclude.m4
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 /libstdc++-v3/acinclude.m4
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
Diffstat (limited to 'libstdc++-v3/acinclude.m4')
-rw-r--r--libstdc++-v3/acinclude.m42
1 files changed, 1 insertions, 1 deletions
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