+2007-10-28 Bruno Haible <bruno@clisp.org>
+
+ * modules/error: Add a notice recommending to change XGETTEXT_OPTIONS.
+ Invoke AM_GETTEXT_OPTION if it exists.
+ * modules/vasprintf: Likewise.
+ * modules/verror: Likewise.
+ * modules/xprintf: Likewise.
+ * modules/xvasprintf: Likewise.
+
2007-10-27 Ben Pfaff <blp@gnu.org>
* lib/math.in.h: Define isfinite macro and prototypes for
Description:
error() and error_at_line() functions: Error reporting.
+Notice:
+If you are using GNU gettext version 0.16.1 or older, add the following options
+to XGETTEXT_OPTIONS in your po/Makevars:
+ --flag=error:3:c-format --flag=error_at_line:5:c-format
+
Files:
lib/error.h
lib/error.c
configure.ac:
gl_ERROR
+m4_ifdef([AM_XGETTEXT_OPTION],
+ [AM_XGETTEXT_OPTION([--flag=error:3:c-format])
+ AM_XGETTEXT_OPTION([--flag=error_at_line:5:c-format])])
Makefile.am:
Description:
vsprintf with automatic memory allocation.
+Notice:
+If you are using GNU gettext version 0.16.1 or older, add the following options
+to XGETTEXT_OPTIONS in your po/Makevars:
+ --flag=asprintf:2:c-format --flag=vasprintf:2:c-format
+
Files:
lib/vasprintf.c
lib/asprintf.c
configure.ac:
gl_FUNC_VASPRINTF
gl_STDIO_MODULE_INDICATOR([vasprintf])
+m4_ifdef([AM_XGETTEXT_OPTION],
+ [AM_XGETTEXT_OPTION([--flag=asprintf:2:c-format])
+ AM_XGETTEXT_OPTION([--flag=vasprintf:2:c-format])])
Makefile.am:
Description:
verror() and verror_at_line() functions: Error reporting with va_list.
+Notice:
+If you are using GNU gettext version 0.16.1 or older, add the following options
+to XGETTEXT_OPTIONS in your po/Makevars:
+ --flag=verror:3:c-format --flag=verror_at_line:5:c-format
+
Files:
lib/verror.h
lib/verror.c
xvasprintf
configure.ac:
+m4_ifdef([AM_XGETTEXT_OPTION],
+ [AM_XGETTEXT_OPTION([--flag=verror:3:c-format])
+ AM_XGETTEXT_OPTION([--flag=verror_at_line:5:c-format])])
Makefile.am:
lib_SOURCES += verror.h verror.c
Description:
a wrapper around printf that calls error upon ENOMEM or EILSEQ errors
+Notice:
+If you are using GNU gettext version 0.16.1 or older, add the following options
+to XGETTEXT_OPTIONS in your po/Makevars:
+ --flag=xprintf:1:c-format --flag=xvprintf:1:c-format
+ --flag=xfprintf:2:c-format --flag=xvfprintf:2:c-format
+
Files:
lib/xprintf.h
lib/xprintf.c
stdio
configure.ac:
+m4_ifdef([AM_XGETTEXT_OPTION],
+ [AM_XGETTEXT_OPTION([--flag=xprintf:1:c-format])
+ AM_XGETTEXT_OPTION([--flag=xvprintf:1:c-format])
+ AM_XGETTEXT_OPTION([--flag=xfprintf:2:c-format])
+ AM_XGETTEXT_OPTION([--flag=xvfprintf:2:c-format])])
Makefile.am:
lib_SOURCES += xprintf.h xprintf.c
Description:
vasprintf and asprintf with out-of-memory checking. Also see xalloc-die.
+Notice:
+If you are using GNU gettext version 0.16.1 or older, add the following options
+to XGETTEXT_OPTIONS in your po/Makevars: --flag=xasprintf:1:c-format
+
Files:
lib/xvasprintf.h
lib/xvasprintf.c
configure.ac:
gl_XVASPRINTF
+m4_ifdef([AM_XGETTEXT_OPTION],
+ [AM_XGETTEXT_OPTION([--flag=xasprintf:1:c-format])])
Makefile.am:
lib_SOURCES += xvasprintf.h xvasprintf.c xasprintf.c