* modules/errno (Files, configure.ac): Move replacement strings...
* modules/strerror-override: ...to new module.
* modules/strerror (Depends-on): Add strerror-override.
* modules/strerror_r-posix (Depends-on): Likewise.
* MODULES.html.sh: Document new module.
Reported by Bruno Haible.
Signed-off-by: Eric Blake <eblake@redhat.com>
+2011-06-06 Eric Blake <eblake@redhat.com>
+
+ strerror-override: avoid bloating errno module
+ * modules/errno (Files, configure.ac): Move replacement strings...
+ * modules/strerror-override: ...to new module.
+ * modules/strerror (Depends-on): Add strerror-override.
+ * modules/strerror_r-posix (Depends-on): Likewise.
+ * MODULES.html.sh: Document new module.
+ Reported by Bruno Haible.
+
2011-06-06 Bruno Haible <bruno@clisp.org>
spawn-pipe tests: Rename program.
func_module atexit
func_module strtod
func_module strerror
+ func_module strerror-override
func_module mktime
func_end_table
Files:
lib/errno.in.h
-lib/strerror-override.h
-lib/strerror-override.c
m4/errno_h.m4
Depends-on:
configure.ac:
gl_HEADER_ERRNO_H
-if test -n "$ERRNO_H"; then
- AC_LIBOBJ([strerror-override])
-fi
Makefile.am:
BUILT_SOURCES += $(ERRNO_H)
string
errno [test $REPLACE_STRERROR = 1]
intprops [test $REPLACE_STRERROR = 1]
+strerror-override [test $REPLACE_STRERROR = 1]
verify [test $REPLACE_STRERROR = 1]
configure.ac:
--- /dev/null
+Description:
+strerror_override() function: provide strings for gnulib-specific errno values
+
+Files:
+lib/strerror-override.h
+lib/strerror-override.c
+
+Depends-on:
+errno
+
+configure.ac:
+AC_REQUIRE([gl_HEADER_ERRNO_H])
+if test -n "$ERRNO_H"; then
+ AC_LIBOBJ([strerror-override])
+fi
+
+Makefile.am:
+
+Include:
+"strerror-override.h"
+
+License:
+LGPLv2+
+
+Maintainer:
+all
extensions
errno [test $HAVE_DECL_STRERROR_R = 0 || test $REPLACE_STRERROR_R = 1]
lock [test $HAVE_DECL_STRERROR_R = 0 || test $REPLACE_STRERROR_R = 1]
+strerror-override [test $HAVE_DECL_STRERROR_R = 0 || test $REPLACE_STRERROR_R = 1]
configure.ac:
gl_FUNC_STRERROR_R