diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index e9f68830103dcdf6c813c915a8dbdb3756794147..67a8a32d3ed1466e5f9a2387a6df33554dcca877 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,10 @@
+2005-10-11  Andrew Pinski  <pinskia@physics.uc.edu>
+
+	PR libstdc++/23926
+	* acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Fix typo in check
+	for GNU LD.
+	* configure: Regenerate.
+
 2005-10-10  Benjamin Kosnik  <bkoz@redhat.com>
 
 	* configure.ac (libtool_VERSION): To 6:7:0.
diff --git a/libstdc++-v3/acinclude.m4 b/libstdc++-v3/acinclude.m4
index d66970220a410d0a2c8444adabdcb22165a7b2d0..9185a67309e7e5e5b834b6452c45302cd712df83 100644
--- a/libstdc++-v3/acinclude.m4
+++ b/libstdc++-v3/acinclude.m4
@@ -1696,7 +1696,7 @@ if test x$enable_symvers = xyes ; then
   if test $enable_shared = no ||
      test "x$LD" = x ; then
     enable_symvers=no
-  elif test $with_gnu_ld == yes ; then
+  elif test $with_gnu_ld = yes ; then
     enable_symvers=gnu
   else
     case ${target_os} in
diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure
index 5a25997476643e4edfae9e03ad0ff24382407185..e754c9e54e0ccb3221d04a71dae8f8cc925c24f8 100755
--- a/libstdc++-v3/configure
+++ b/libstdc++-v3/configure
@@ -87257,7 +87257,7 @@ if test x$enable_symvers = xyes ; then
   if test $enable_shared = no ||
      test "x$LD" = x ; then
     enable_symvers=no
-  elif test $with_gnu_ld == yes ; then
+  elif test $with_gnu_ld = yes ; then
     enable_symvers=gnu
   else
     case ${target_os} in