getcwd-lgpl: new module
[pspp] / modules / error
index cdf57f07d5aca767e541df91bbff9f3ebbe94f95..7d43aba1cc615d2d26d36c52a6ee3ba4e53b4447 100644 (file)
@@ -1,5 +1,10 @@
 Description:
-error() and error_at_line() functions: Error reporting.
+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
@@ -8,9 +13,13 @@ m4/error.m4
 
 Depends-on:
 strerror
+unistd
 
 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: