diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 17436c84a8959f36ca7230a9641d825b71dafde7..389850ba867f8cea32cad44e23636f77b3821234 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,8 @@
+2005-04-05  Kelley Cook  <kcook@gcc.gnu.org>
+
+	* acconfig.h (HAVE_TANL): Correct cut-and-paste typo.
+	* config.h.in: Regenerate.
+
 2005-04-04  Mark Mitchell  <mark@codesourcery.com>
 
 	* testsuite/Makefile.am (check-local): Remove.
diff --git a/libstdc++-v3/acconfig.h b/libstdc++-v3/acconfig.h
index f4cb96abaafdb4468418d4cb1092bb4e0a31f268..0d74a0fb12552029e0de941ab8aad8795e54ebfc 100644
--- a/libstdc++-v3/acconfig.h
+++ b/libstdc++-v3/acconfig.h
@@ -418,8 +418,8 @@
 #endif
 
 #if defined (HAVE__TANL) && ! defined (HAVE_TANL)
-# define HAVE_TANF 1
-# define tanf _tanf
+# define HAVE_TANL 1
+# define tanl _tanl
 #endif
 
 #if defined (HAVE__STRTOF) && ! defined (HAVE_STRTOF)
diff --git a/libstdc++-v3/config.h.in b/libstdc++-v3/config.h.in
index 01229cc5244d73ede16d0f8e1771eb49b28f0266..71aebe6b14b3d4c765a071fcc8a1fc2a115bc982 100644
--- a/libstdc++-v3/config.h.in
+++ b/libstdc++-v3/config.h.in
@@ -994,8 +994,8 @@
 #endif
 
 #if defined (HAVE__TANL) && ! defined (HAVE_TANL)
-# define HAVE_TANF 1
-# define tanf _tanf
+# define HAVE_TANL 1
+# define tanl _tanl
 #endif
 
 #if defined (HAVE__STRTOF) && ! defined (HAVE_STRTOF)