+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.
+
+2009-08-12 Sergey Poznyakoff <gray@gnu.org.ua>
+
+ Minor improvement in gitlog-to-changelog
+
+ * build-aux/gitlog-to-changelog: New option `--format' makes
+ output format string configurable.
+
+2009-08-12 Sergey Poznyakoff <gray@gnu.org.ua>
+
+ Optimize exclude: use hash tables for non-wildcard patterns.
+
+ * lib/exclude.c: Include hash.h and mbuiter.h
+ (struct exclude_pattern, exclude_segment): New data types.
+ (struct exclude): Rewrite.
+ (fnmatch_pattern_has_wildcards): New function.
+ (new_exclude_segment, free_exclude_segment): New functions.
+ (excluded_file_pattern_p, excluded_file_name_p): New functions.
+ (excluded_file_name, add_exclude): Rewrite using new struct exclude.
+ * lib/exclude.h (is_fnmatch_pattern): New prototype.
+ * modules/exclude: Depend on hash and mbuiter.
+
+ * modules/exclude-tests: New file.
+ * tests/test-exclude.c: New file.
+ * tests/test-exclude1.sh: New file.
+ * tests/test-exclude2.sh: New file.
+ * tests/test-exclude3.sh: New file.
+ * tests/test-exclude4.sh: New file.
+ * tests/test-exclude5.sh: New file.
+ * tests/test-exclude6.sh: New file.
+ * tests/test-exclude7.sh: New file.
+
+2009-08-12 Bruno Haible <bruno@clisp.org>
+
+ Ensure that getopt() gets declared by <unistd.h>.
+ * lib/unistd.in.h: Conditionally include getopt.h.
+ * m4/getopt.m4 (gl_GETOPT_SUBSTITUTE): Require gl_UNISTD_H_DEFAULTS.
+ Set GNULIB_UNISTD_H_GETOPT.
+ * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Initialize
+ GNULIB_UNISTD_H_GETOPT.
+ * modules/unistd (Makefile.am): Substitute GNULIB_UNISTD_H_GETOPT.
+
+2009-08-12 Bruno Haible <bruno@clisp.org>
+
+ Clarify logic.
+ * m4/getopt.m4 (gl_GETOPT_CHECK_HEADERS, gl_GETOPT_IFELSE): Use
+ gl_replace_getopt instead of GETOPT_H.
+
2009-08-12 Bruno Haible <bruno@clisp.org>
* m4/getopt.m4: Add comments.