As per libstdc++/52700, this fixes the configure bits for
libgfortran/libssp/libquadmath. With these fixes, I believe all the
libs are safe for --enable-symvers=gnu* variants.
Super simple patches...
I intend to put this on the 4.7 branch as well.
tested x86/linux
-benjamin
2012-05-29 Benjamin Kosnik b...@redhat.com
PR libstdc++/51007
* configure.ac: Allow gnu, gnu* variants for --enable-symvers argument.
* configure: Regenerated.
diff --git a/libquadmath/configure b/libquadmath/configure
index e5c3de6..8beb1a6 100755
--- a/libquadmath/configure
+++ b/libquadmath/configure
@@ -12355,7 +12355,7 @@ else
quadmath_use_symver=yes
fi
-if test x$quadmath_use_symver = xyes; then
+if test x$quadmath_use_symver != xno; then
if test x$gcc_no_link = xyes; then
# If we cannot link, we cannot build shared libraries, so do not use
# symbol versioning.
diff --git a/libquadmath/configure.ac b/libquadmath/configure.ac
index 512b9f8..d3bfb04 100644
--- a/libquadmath/configure.ac
+++ b/libquadmath/configure.ac
@@ -169,7 +169,7 @@ AS_HELP_STRING([--disable-symvers],
[disable symbol versioning for libquadmath]),
quadmath_use_symver=$enableval,
quadmath_use_symver=yes)
-if test x$quadmath_use_symver = xyes; then
+if test x$quadmath_use_symver != xno; then
if test x$gcc_no_link = xyes; then
# If we cannot link, we cannot build shared libraries, so do not use
# symbol versioning.
2012-05-29 Benjamin Kosnik b...@redhat.com
PR libstdc++/51007
* configure.ac: Allow gnu, gnu* variants for --enable-symvers argument.
* configure: Regenerated.
diff --git a/libssp/configure.ac b/libssp/configure.ac
index 0eee36c..93dfa8d 100644
--- a/libssp/configure.ac
+++ b/libssp/configure.ac
@@ -77,7 +77,7 @@ AS_HELP_STRING([--disable-symvers],
[disable symbol versioning for libssp]),
ssp_use_symver=$enableval,
ssp_use_symver=yes)
-if test x$ssp_use_symver = xyes; then
+if test x$ssp_use_symver != xno; then
if test x$gcc_no_link = xyes; then
# If we cannot link, we cannot build shared libraries, so do not use
# symbol versioning.
2012-05-29 Benjamin Kosnik b...@redhat.com
PR libstdc++/51007
* configure.ac: Allow gnu, gnu* variants for --enable-symvers argument.
* configure: Regenerated.
diff --git a/libgfortran/configure.ac b/libgfortran/configure.ac
index fc58a5c..97b337e 100644
--- a/libgfortran/configure.ac
+++ b/libgfortran/configure.ac
@@ -157,7 +157,7 @@ AS_HELP_STRING([--disable-symvers],
[disable symbol versioning for libgfortran]),
gfortran_use_symver=$enableval,
gfortran_use_symver=yes)
-if test x$gfortran_use_symver = xyes; then
+if test x$gfortran_use_symver != xno; then
save_LDFLAGS=$LDFLAGS
LDFLAGS=$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map
cat conftest.map EOF