getopt: update client modules
[pspp] / modules / argp
index da65d4f3c033c3d07a4fec241148f48e1f5a3dce..e772b3e6bc922ec1d06b74d8b86147725bf95c15 100644 (file)
@@ -1,6 +1,11 @@
 Description:
 Hierarchical processing of command line arguments.
 
+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=argp_error:2:c-format --flag=argp_failure:4:c-format
+
 Files:
 lib/argp.h
 lib/argp-ba.c
@@ -20,7 +25,7 @@ m4/argp.m4
 Depends-on:
 alloca
 dirname
-getopt
+getopt-gnu
 strchrnul
 sysexits
 malloc
@@ -31,9 +36,14 @@ extensions
 vsnprintf
 sleep
 strerror
+memchr
+memmove
 
 configure.ac:
 gl_ARGP
+m4_ifdef([AM_XGETTEXT_OPTION],
+  [AM_][XGETTEXT_OPTION([--flag=argp_error:2:c-format])
+   AM_][XGETTEXT_OPTION([--flag=argp_failure:4:c-format])])
 
 Makefile.am:
 lib_SOURCES += argp.h argp-ba.c argp-eexst.c \