Upgrade to Automake 1.13.3.
* src/ult_src.c (test_for_include): Return NULL immediately if
  buffer is NULL.
  (ult_src): Use this to remove a level of indentation.
* src/manp.c (guess_manpath): Honour MAN_TEST_DISABLE_PATH
  environment variable, allowing the test suite to disable PATH
  handling.  (May change without notice.)
  (read_config_file): Honour MAN_TEST_DISABLE_SYSTEM_CONFIG
  environment variable, allowing the test suite to disable reading
  the system configuration file.  (May change without notice.)
* src/tests/testlib.sh: Set MAN_TEST_DISABLE_SYSTEM_CONFIG=1.
* src/tests/man-4: Set MAN_TEST_DISABLE_PATH=1.
* src/manp.c (def_path): Expand wildcards in MANDATORY_MANPATH.
* src/tests/mandb-3: Don't rely on ".so test.1" not working.
Search the full manpath when expanding manual pages that consist
only of a .so directive (Fedora bug #693458).
* src/ult_src.c (find_include): New function, handling manpath
  search where necessary.
  (ult_src): Call it when a .so directive is found.
* src/Makefile.am (lexgrog_SOURCES): Add globbing.c and globbing.h.
* src/tests/man-5: New file.
* src/tests/Makefile.am (ALL_TESTS): Add man-5.
* NEWS: Document this.
Upgrade to Gnulib 20130623.
* Version: 2.6.4.
* configure.ac: Move check for whether nroff supports warning
  control down below check for whether troff is groff, otherwise it
  always returns false.  Reported by Niels Thykier.
* NEWS: Document this.
* lib/encodings.c (find_charset_locale): Fall back to C.UTF-8 then
  en_US.UTF-8 if /usr/share/i18n/SUPPORTED does not exist, the
  requested character set is UTF-8, and the current LC_CTYPE locale
  is not UTF-8 (Fedora bug #657409).
* src/tests/man-6: New file.
* src/tests/Makefile.am (ALL_TESTS): Add man-6.
* NEWS: Document this.
* src/check_mandirs.c (testmandirs): Check return value of chdir.
* lib/encodings.c (find_charset_locale): Fix memory leaks.
* src/manconv_client.c (add_manconv): Don't allocate codes until
  after checking for the UTF-8/UTF-8 early-return case.
* src/man.c (get_preprocessors_from_file): Return a non-const string
  rather than keeping a static copy.
  (get_preprocessors): Return a non-const string.
  (make_roff_command): Free the return value of get_preprocessors
  before returning.
* src/manp.c (add_nls_manpaths): Duplicate manpathlist in the case
  where locales is NULL or empty, allowing the manpathlist parameter
  to be made const.
* src/manp.h (add_nls_manpaths): Update prototype.
* src/man.c (locale_manpath): Make manpath parameter const.
* src/whatis.c (locale_manpath): Likewise.
Fix ChangeLog formatting.
* lib/encodings.c (get_locale_charset): Free saved_locale.
* src/check_mandirs.c (testmandirs): Close directory handle on
  early-return paths.
* src/man.c (local_man_loop): Free locale_manpath's argument after
  call.
  (main): Likewise.  Free cwd, internal_locale, and program_name
  before calling gripe_no_name.  Free database before exiting.
  (format_display) [TROFF_IS_GROFF]: Free old_cwd.
  (display) [TROFF_IS_GROFF]: Free page_lang.
  (display): Free formatted_encoding.
  (find_cat_file): Free cat_dir.
  (try_section): Free info and info_buffer if they weren't added to
  the candidates.
  (display_filesystem): Free title and filename.
  (try_db): Free database before setting it.
  (man): Free each candidate using free_candidate, not free.
* src/manp.c (get_nls_manpath): Free manpathlist_copy.
  (add_nls_manpaths): Free locales_copy.
  (add_to_dirlist): Free buf before returning.
* src/whatis.c (suitable_manpath): Free locale_manpath's argument
  after call.
  (do_whatis): Free page on early-continue path.
* docs/HACKING: Mention that xasprintf may be more readable than
  appendstr.
* include/manconfig.h.in (mkdbname): Rephrase using xasprintf.
* lib/decompress.c (decompress_open): Likewise.
* lib/pathsearch.c (pathsearch): Likewise.
* lib/tempfile.c (create_tempdir): Likewise.
* lib/util.c (remove_directory): Likewise.
* src/check_mandirs.c (add_dir_entries, mkcatdirs): Likewise.
* src/compression.c (comp_file): Likewise.
* src/convert_name.c (convert_name): Likewise.
* src/globbing.c (make_pattern, match_in_directory, look_for_file):
  Likewise.
* src/man.c (parse_opt, display_filesystem, display_database,
  do_global_apropos_section): Likewise.
* src/manconv_client.c (add_manconv): Likewise.
* src/mandb.c (mandb, process_manpath, purge_catsubdirs,
  purge_catdirs, main): Likewise.
* src/manp.c (pathappend, get_nls_manpath, get_manpath,
  read_config_file, has_mandir): Likewise.
* src/ult_src.c (ult_hardlink): Likewise.
* src/whatis.c (simple_convert, use_grep, display, main): Likewise.
* src/zsoelim.l (zsoelim_open_file): Likewise.
* src/accessdb.c (parse_opt): Use mkdbname to construct default
  database path.
* src/mandb.c (xcopy): Allocate buf on the heap, as 32768 bytes may
  be too large for some stacks.  Reported by Coverity via Peter
  Schiffer.
* Version: 2.6.5.