From 85c433f05b176d4db91c76619cdd756c17f94705 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 28 Oct 2007 21:39:15 +0100 Subject: Notify xgettext about functions that have a format string argument. --- modules/xvasprintf | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'modules/xvasprintf') diff --git a/modules/xvasprintf b/modules/xvasprintf index 984509cb42..18be1fe39d 100644 --- a/modules/xvasprintf +++ b/modules/xvasprintf @@ -1,6 +1,10 @@ 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 @@ -16,6 +20,8 @@ stdarg 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 -- cgit v1.2.1