changeset 13150:dc107d7e5520

string: Remove unused substitution.
author Bruno Haible <bruno@clisp.org>
date Sun, 04 Apr 2010 23:41:29 +0200
parents cb033e9787c8
children 1adfe934d629
files ChangeLog m4/string_h.m4 modules/string
diffstat 3 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Apr 04 23:13:31 2010 +0200
+++ b/ChangeLog	Sun Apr 04 23:41:29 2010 +0200
@@ -1,3 +1,10 @@
+2010-04-04  Bruno Haible  <bruno@clisp.org>
+
+	string: Remove unused substitution.
+	* m4/string_h.m4 (gl_HEADER_STRING_H_DEFAULTS): Don't initialize
+	HAVE_DECL_STRERROR.
+	* modules/string (Makefile.am): Don't substitute HAVE_DECL_STRERROR.
+
 2010-04-04  Bruno Haible  <bruno@clisp.org>
 
 	strtod: Avoid a possible C++ test error.
--- a/m4/string_h.m4	Sun Apr 04 23:13:31 2010 +0200
+++ b/m4/string_h.m4	Sun Apr 04 23:41:29 2010 +0200
@@ -5,7 +5,7 @@
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 14
+# serial 15
 
 # Written by Paul Eggert.
 
@@ -90,7 +90,6 @@
   HAVE_STRSEP=1;                AC_SUBST([HAVE_STRSEP])
   HAVE_STRCASESTR=1;            AC_SUBST([HAVE_STRCASESTR])
   HAVE_DECL_STRTOK_R=1;         AC_SUBST([HAVE_DECL_STRTOK_R])
-  HAVE_DECL_STRERROR=1;         AC_SUBST([HAVE_DECL_STRERROR])
   HAVE_DECL_STRSIGNAL=1;        AC_SUBST([HAVE_DECL_STRSIGNAL])
   HAVE_STRVERSCMP=1;            AC_SUBST([HAVE_STRVERSCMP])
   REPLACE_MEMCHR=0;             AC_SUBST([REPLACE_MEMCHR])
--- a/modules/string	Sun Apr 04 23:13:31 2010 +0200
+++ b/modules/string	Sun Apr 04 23:41:29 2010 +0200
@@ -76,7 +76,6 @@
 	      -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
 	      -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
 	      -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
-	      -e 's|@''HAVE_DECL_STRERROR''@|$(HAVE_DECL_STRERROR)|g' \
 	      -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
 	      -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
 	      -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \