+2010-03-28 Bruno Haible <bruno@clisp.org>
+
+ Mark privileged tests modules.
+ * modules/idpriv-drop-tests (Status): New section.
+ * modules/idpriv-droptemp-tests (Status): New section.
+
+2010-03-28 Bruno Haible <bruno@clisp.org>
+
+ Split C++ tests into separate tests modules.
+ * modules/dirent-c++-tests: New file, extracted from
+ modules/dirent-tests.
+ * modules/dirent-tests: Depend on it.
+ * modules/fcntl-h-c++-tests: New file, extracted from
+ modules/fcntl-h-tests.
+ * modules/fcntl-h-tests: Depend on it.
+ * modules/glob-c++-tests: New file, extracted from modules/glob-tests.
+ * modules/glob-tests: Depend on it.
+ * modules/iconv-h-c++-tests: New file, extracted from
+ modules/iconv-h-tests.
+ * modules/iconv-h-tests: Depend on it.
+ * modules/langinfo-c++-tests: New file, extracted from
+ modules/langinfo-tests.
+ * modules/langinfo-tests: Depend on it.
+ * modules/locale-c++-tests: New file, extracted from
+ modules/locale-tests.
+ * modules/locale-tests: Depend on it.
+ * modules/math-c++-tests: New file, extracted from modules/math-tests.
+ * modules/math-tests: Depend on it.
+ * modules/pty-c++-tests: New file, extracted from modules/pty-tests.
+ * modules/pty-tests: Depend on it.
+ * modules/search-c++-tests: New file, extracted from
+ modules/search-tests.
+ * modules/search-tests: Depend on it.
+ * modules/signal-c++-tests: New file, extracted from
+ modules/signal-tests.
+ * modules/signal-tests: Depend on it.
+ * modules/spawn-c++-tests: New file, extracted from
+ modules/spawn-tests.
+ * modules/spawn-tests: Depend on it.
+ * modules/stdio-c++-tests: New file, extracted from
+ modules/stdio-tests.
+ * modules/stdio-tests: Depend on it.
+ * modules/stdlib-c++-tests: New file, extracted from
+ modules/stdlib-tests.
+ * modules/stdlib-tests: Depend on it.
+ * modules/string-c++-tests: New file, extracted from
+ modules/string-tests.
+ * modules/string-tests: Depend on it.
+ * modules/sys_ioctl-c++-tests: New file, extracted from
+ modules/sys_ioctl-tests.
+ * modules/sys_ioctl-tests: Depend on it.
+ * modules/sys_select-c++-tests: New file, extracted from
+ modules/sys_select-tests.
+ * modules/sys_select-tests: Depend on it.
+ * modules/sys_socket-c++-tests: New file, extracted from
+ modules/sys_socket-tests.
+ * modules/sys_socket-tests: Depend on it.
+ * modules/sys_stat-c++-tests: New file, extracted from
+ modules/sys_stat-tests.
+ * modules/sys_stat-tests: Depend on it.
+ * modules/sys_time-c++-tests: New file, extracted from
+ modules/sys_time-tests.
+ * modules/sys_time-tests: Depend on it.
+ * modules/time-c++-tests: New file, extracted from modules/time-tests.
+ * modules/time-tests: Depend on it.
+ * modules/unistd-c++-tests: New file, extracted from
+ modules/unistd-tests.
+ * modules/unistd-tests: Depend on it.
+ * modules/wchar-c++-tests: New file, extracted from
+ modules/wchar-tests.
+ * modules/wchar-tests: Depend on it.
+ * modules/wctype-c++-tests: New file, extracted from
+ modules/wctype-tests.
+ * modules/wctype-tests: Depend on it.
+ Reported by Simon Josefsson.
+
+2010-03-28 Bruno Haible <bruno@clisp.org>
+
+ gnulib-tool: Allow 'foo-tests' module even if there is no module 'foo'.
+ * gnulib-tool (func_exists_module): New function, extracted from
+ func_verify_module.
+ (func_verify_module): Use it.
+ (func_get_dependencies): Synthetize a dependency from 'foo-tests' to
+ 'foo' only if 'foo' exists.
+ * doc/gnulib.texi (Extra tests modules): Explain how to split a tests
+ module.
+
+2010-03-28 Bruno Haible <bruno@clisp.org>
+
+ gnulib-tool: Add support for special categories of tests.
+ * gnulib-tool: New options --with-c++-tests, --with-longrunning-tests,
+ --with-privileged-tests, --with-unportable-tests, --with-all-tests.
+ (func_usage): Document them.
+ (inc_cxx_tests, inc_longrunning_tests, inc_privileged_tests,
+ inc_unportable_tests, inc_all_tests): New variables.
+ (func_acceptable): Consider these variables.
+ (func_modules_transitive_closure): Make it work when the 'Status' field
+ consists of multiple words.
+ (func_import): Store and restore the values of inc_cxx_tests,
+ inc_longrunning_tests, inc_privileged_tests, inc_unportable_tests,
+ inc_all_tests in gnulib-comp.m4.
+ (func_create_testdir): Set inc_all_tests to true.
+ * doc/gnulib.texi (Extra tests modules): New section.
+ Suggested by Jim Meyering.
+
+2010-03-28 Bruno Haible <bruno@clisp.org>
+
+ ansi-c++-opt: Allow turning off the C++ build by default.
+ * m4/ansi-c++.m4 (gl_CXX_CHOICE): Let CXX_CHOICE default to 'no' if
+ gl_CXX_CHOICE_DEFAULT_NO is defined.
+ Requested by Eric Blake.
+
+2010-03-28 Bruno Haible <bruno@clisp.org>
+
+ unistd: Avoid #define replacements in C++ mode.
+ * lib/unistd.in.h (socket, connect, accept, bind, getpeername,
+ getsockname, getsockopt, listen, recv, send, recvfrom, sendto,
+ setsockopt, shutdown, select): In C++, attach a warning to the function
+ if possible, rather than #defining the symbol to a dysfunctional alias.
+ Reported by John W. Eaton <jwe@gnu.org>.
+
+2010-03-28 Bruno Haible <bruno@clisp.org>
+
+ Fix link errors on mingw.
+ * lib/sys_ioctl.in.h (ioctl): Fix declaration idiom.
+ * modules/sys_ioctl-tests (Makefile.am): Link test-sys_ioctl-c++ with
+ $(LIBSOCKET).
+ * modules/sys_select-tests (Makefile.am): Link test-sys_select-c++ with
+ $(LIBSOCKET).
+
+2010-03-28 Bruno Haible <bruno@clisp.org>
+ Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ lib-ignore: Determine different options for different compilers.
+ * m4/lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Set a variable which
+ depends on the current language (C/C++/Fortran). Don't set LDFLAGS.
+ Add comments.
+ (_gl_IGNORE_UNUSED_LIBRARIES_OPTIONS): New macro.
+ * NEWS: Mention the change.
+
+2010-03-27 Bruno Haible <bruno@clisp.org>
+
+ Remove unused GNULIB_XYZ macro definitions.
+ * modules/dup3 (configure.ac): Remove gl_MODULE_INDICATOR invocation.
+ * modules/fseek (configure.ac): Likewise.
+ * modules/ioctl (configure.ac): Likewise.
+ * modules/open (configure.ac): Likewise.
+ * modules/stdlib-safer (configure.ac): Likewise.
+
+2010-03-27 Bruno Haible <bruno@clisp.org>
+
+ Add a remark about certain modules.
+ * modules/malloc (Comment): New section.
+ * modules/realloc (Comment): Likewise.
+ * modules/sigpipe (Comment): Likewise.
+
+2010-03-27 Bruno Haible <bruno@clisp.org>
+
+ Resolve conflict between the two kinds of module indicators.
+ * m4/gnulib-common.m4 (gl_MODULE_INDICATOR_FOR_TESTS): Define
+ GNULIB_TEST_XYZ instead of GNULIB_XYZ.
+ * modules/canonicalize (configure.ac): Invoke
+ gl_MODULE_INDICATOR_FOR_TESTS.
+ * tests/test-canonicalize-lgpl.c: Test GNULIB_TEST_XYZ instead of
+ GNULIB_XYZ.
+ * tests/test-dirent-c++.cc: Likewise.
+ * tests/test-dirent-safer.c: Likewise.
+ * tests/test-dup2.c: Likewise.
+ * tests/test-fchdir.c: Likewise.
+ * tests/test-fcntl-h-c++.cc: Likewise.
+ * tests/test-getopt.c: Likewise.
+ * tests/test-getopt.h: Likewise.
+ * tests/test-langinfo-c++.cc: Likewise.
+ * tests/test-locale-c++.cc: Likewise.
+ * tests/test-math-c++.cc: Likewise.
+ * tests/test-pty-c++.cc: Likewise.
+ * tests/test-search-c++.cc: Likewise.
+ * tests/test-signal-c++.cc: Likewise.
+ * tests/test-spawn-c++.cc: Likewise.
+ * tests/test-stdio-c++.cc: Likewise.
+ * tests/test-stdlib-c++.cc: Likewise.
+ * tests/test-string-c++.cc: Likewise.
+ * tests/test-sys_ioctl-c++.cc: Likewise.
+ * tests/test-sys_select-c++.cc: Likewise.
+ * tests/test-sys_socket-c++.cc: Likewise.
+ * tests/test-sys_stat-c++.cc: Likewise.
+ * tests/test-sys_time-c++.cc: Likewise.
+ * tests/test-time-c++.cc: Likewise.
+ * tests/test-unistd-c++.cc: Likewise.
+ * tests/test-wchar-c++.cc: Likewise.
+ * tests/uninorm/test-u8-nfc.c: Likewise.
+ * tests/uninorm/test-u8-nfd.c: Likewise.
+ * tests/uninorm/test-u8-nfkc.c: Likewise.
+ * tests/uninorm/test-u8-nfkd.c: Likewise.
+ * tests/uninorm/test-u16-nfc.c: Likewise.
+ * tests/uninorm/test-u16-nfd.c: Likewise.
+ * tests/uninorm/test-u16-nfkc.c: Likewise.
+ * tests/uninorm/test-u16-nfkd.c: Likewise.
+ * tests/uninorm/test-u32-nfc.c: Likewise.
+ * tests/uninorm/test-u32-nfc-big.c: Likewise.
+ * tests/uninorm/test-u32-nfd.c: Likewise.
+ * tests/uninorm/test-u32-nfd-big.c: Likewise.
+ * tests/uninorm/test-u32-nfkc.c: Likewise.
+ * tests/uninorm/test-u32-nfkc-big.c: Likewise.
+ * tests/uninorm/test-u32-nfkd.c: Likewise.
+ * tests/uninorm/test-u32-nfkd-big.c: Likewise.
+ * tests/uninorm/test-u32-normalize-big.c: Likewise.
+
+2010-03-27 Bruno Haible <bruno@clisp.org>
+
+ Distinguish two kinds of module indicators.
+ * m4/gnulib-common.m4 (gl_MODULE_INDICATOR_FOR_TESTS): Renamed from
+ gl_MODULE_INDICATOR.
+ (gl_MODULE_INDICATOR): New macro.
+ * m4/dirent_h.m4 (gl_DIRENT_MODULE_INDICATOR): Invoke
+ gl_MODULE_INDICATOR_FOR_TESTS instead of gl_MODULE_INDICATOR.
+ * m4/fcntl_h.m4 (gl_FCNTL_MODULE_INDICATOR): Likewise.
+ * m4/langinfo_h.m4 (gl_LANGINFO_MODULE_INDICATOR): Likewise.
+ * m4/locale_h.m4 (gl_LOCALE_MODULE_INDICATOR): Likewise.
+ * m4/math_h.m4 (gl_MATH_MODULE_INDICATOR): Likewise.
+ * m4/pty_h.m4 (gl_PTY_MODULE_INDICATOR): Likewise.
+ * m4/search_h.m4 (gl_SEARCH_MODULE_INDICATOR): Likewise.
+ * m4/signal_h.m4 (gl_SIGNAL_MODULE_INDICATOR): Likewise.
+ * m4/spawn_h.m4 (gl_SPAWN_MODULE_INDICATOR): Likewise.
+ * m4/stdio_h.m4 (gl_STDIO_MODULE_INDICATOR): Likewise.
+ * m4/stdlib_h.m4 (gl_STDLIB_MODULE_INDICATOR): Likewise.
+ * m4/string_h.m4 (gl_STRING_MODULE_INDICATOR): Likewise.
+ * m4/sys_ioctl_h.m4 (gl_SYS_IOCTL_MODULE_INDICATOR): Likewise.
+ * m4/sys_select_h.m4 (gl_SYS_SELECT_MODULE_INDICATOR): Likewise.
+ * m4/sys_socket_h.m4 (gl_SYS_SOCKET_MODULE_INDICATOR): Likewise.
+ * m4/sys_stat_h.m4 (gl_SYS_STAT_MODULE_INDICATOR): Likewise.
+ * m4/sys_time_h.m4 (gl_SYS_TIME_MODULE_INDICATOR): Likewise.
+ * m4/time_h.m4 (gl_TIME_MODULE_INDICATOR): Likewise.
+ * m4/unistd_h.m4 (gl_UNISTD_MODULE_INDICATOR): Likewise.
+ * m4/wchar_h.m4 (gl_WCHAR_MODULE_INDICATOR): Likewise.
+ * modules/cloexec (configure.ac): Likewise.
+ * modules/getopt-gnu (configure.ac): Likewise.
+ * modules/uninorm/u8-normalize (configure.ac): Likewise.
+ * modules/uninorm/u16-normalize (configure.ac): Likewise.
+ * modules/uninorm/u32-normalize (configure.ac): Likewise.
+ * modules/fdopendir (configure.ac): Invoke gl_MODULE_INDICATOR.
+
2010-03-27 Bruno Haible <bruno@clisp.org>
New module description field 'Comment'.