+2009-08-13 Eric Blake <ebb9@byu.net>
+
+ getopt: update client modules
+ * modules/argp (Depends-on): Use getopt-gnu.
+ * modules/git-merge-changelog (Depends-on): Likewise.
+ * modules/long-options (Depends-on): Likewise.
+ * modules/xstrtol (Depends-on): Likewise.
+
+2009-08-13 Simon Josefsson <simon@josefsson.org>
+
+ * tests/test-version-etc.sh: Don't fail on different
+ project/version. Don't fail on CRLF differences. Rewrite to use
+ multiple -e instead of multiple sed forks, suggested by Eric Blake
+ <ebb9@byu.net>.
+ * tests/test-argp-version-etc-1.sh: Likewise.
+
+2009-08-13 Simon Josefsson <simon@josefsson.org>
+
+ * tests/test-version-etc.sh: Don't fail on different
+ project/version.
+
+2009-08-12 Bruno Haible <bruno@clisp.org>
+
+ Tests for modules 'getopt-posix', 'getopt-gnu'.
+ * modules/getopt-posix-tests: New file.
+ * tests/test-getopt.c: New file.
+ * tests/test-getopt.h: New file.
+ * tests/test-getopt_long.h: New file.
+
+ New modules 'getopt-posix', 'getopt-gnu'.
+ * modules/getopt-gnu: New file, renamed from modules/getopt.
+ * modules/getopt-posix: New file.
+ * modules/getopt: Turn into an obsolete alias for getopt-gnu.
+ * m4/getopt.m4 (gl_FUNC_GETOPT_POSIX, gl_FUNC_GETOPT_GNU): New macros.
+ (gl_GETOPT): Remove macro.
+ (gl_GETOPT_CHECK_HEADERS): Do some checks only for gl_FUNC_GETOPT_GNU.
+ Disable the test against BSD systems that declare optreset. Test
+ against mingw bug. Test against lack of support of optional arguments
+ on many platforms.
+ * doc/glibc-headers/getopt.texi: Update module name and list of
+ relevant platforms.
+ * doc/posix-functions/getopt.texi: Mention modules 'getopt-posix' and
+ 'getopt-gnu' and more portability problems.
+ * NEWS: Mention the changes.
+
2009-08-12 Bruno Haible <bruno@clisp.org>
+ Ensure that optarg etc. get declared by <unistd.h>.
+ * m4/getopt.m4 (gl_GETOPT_CHECK_HEADERS): Require
+ AC_USE_SYSTEM_EXTENSIONS.
+ * modules/getopt (Depends-on): Add 'extensions'.
+
+2009-08-12 Bruno Haible <bruno@clisp.org>
+
+ Avoid test link errors.
+ * modules/pipe-filter-ii-tests (Makefile.am): Define
+ test_pipe_filter_ii1_LDADD and test_pipe_filter_ii2_main_LDADD.
+ * modules/pipe-filter-gi-tests (Makefile.am): Define
+ test_pipe_filter_gi1_LDADD and test_pipe_filter_gi2_main_LDADD.
+ Reported by Tom G. Christensen <tgc@jupiterrise.com>.
+
+2009-08-12 Bruno Haible <bruno@clisp.org>
+
+ * m4/getopt.m4 (gl_REPLACE_GETOPT): New macro, was called
+ gl_GETOPT_SUBSTITUTE before.
+ (gl_GETOPT): Use it.
+ * m4/argp.m4 (gl_ARGP): Update.
+ Reported by Sergey Poznyakoff.
+
* m4/getopt.m4: Reorder macros.
(gl_GETOPT): Inline gl_GETOPT_SUBSTITUTE.
(gl_GETOPT_SUBSTITUTE): Remove macro.