summaryrefslogtreecommitdiff
path: root/configure.ac
Commit message (Collapse)AuthorAge
* * Version: 2.7.0-pre1.Colin Watson2014-09-16
|
* Order files by first physical extent before readingColin Watson2014-09-16
| | | | | | | | | | | | | | | | | | | | | Inspired by a similar change in dpkg. This takes 'mandb -c' from 104 to 32 seconds in a test installation, and 'man -K' from 74 to 38 seconds. On non-Linux systems where FIEMAP is not available, use posix_fadvise instead to preload files. Fixes Debian bug #574410. * gnulib: Import nonblocking and openat modules. * configure.ac: Check for <linux/fiemap.h> and posix_fadvise. * lib/orderfiles.c: New file. * lib/orderfiles.h: New file. * lib/Makefile.am (libman_la_SOURCES): Add orderfiles.c and orderfiles.h. * src/check_mandirs.c (add_dir_entries): Order files before reading them. * src/man.c (try_section, do_global_apropos_section): Likewise. * src/straycats.c (check_for_stray): Likewise. * NEWS: Document this.
* Move argument handling out of configure to new MAN_ARG_* macrosColin Watson2014-09-15
| | | | | | | | | | | * m4/man-arg-automatic-create.m4, m4/man-arg-automatic-update.m4, m4/man-arg-cats.m4, m4/man-arg-config-file.m4, m4/man-arg-db.m4, m4/man-arg-device.m4, m4/man-arg-mandirs.m4, m4/man-arg-override-dir.m4, m4/man-arg-sections.m4, m4/man-arg-setuid.m4, m4/man-arg-systemdtmpfilesdir.m4, m4/man-arg-undoc.m4: New files. * configure.ac: Call new macros rather than inlining argument handling.
* Simplify <dirent.h> handling using GnulibColin Watson2014-09-13
| | | | | | | | | * gnulib: Import dirent module. * configure.ac: Remove obsolescent AC_HEADER_DIRENT macro. * src/check_mandirs.c: Simplify a large conditional block to "#include <dirent.h>". * src/straycats.c: Likewise. * src/ult_src.c: Likewise.
* Speed up the test suite if we have high-precision file timestampsColin Watson2014-09-11
| | | | | | | | | * configure.ac: Substitute STAT_HAS_NSEC as "yes" or "no" depending on whether high-precision file timestamps are available. * src/tests/Makefile.am (TESTS_ENVIRONMENT): Export STAT_HAS_NSEC to tests. * src/tests/testlib.sh (next_second): Do nothing if STAT_HAS_NSEC is "yes".
* Add systemd tmpfiles snippet to clean up old cat files after a weekColin Watson2014-06-17
| | | | | | | | | | | | Fixes Fedora bug #1110274. * configure.ac: Accept --with-systemdtmpfilesdir option. (AC_CONFIG_FILES): Add init/Makefile and init/systemd/Makefile. * Makefile.am (SUBDIRS): Add init. * init/Makefile.am: New file. * init/systemd/Makefile.am: New file. * init/systemd/man-db.conf: New file. * .gitignore: Add init/Makefile and init/systemd/Makefile.
* * Version: 2.6.7.1.Colin Watson2014-04-10
|
* * Version: 2.6.7.Colin Watson2014-04-10
|
* Run the pager in man's original working directoryColin Watson2014-03-26
| | | | | | | | | Reported by Peng Yu. * src/man.c (make_display_command): Set pager_cmd's working directory to man's original working directory. * configure.ac: Require libpipeline >= 1.3.0. * NEWS: Document this.
* Move Autotools auxiliary build files from tools to build-aux.Colin Watson2014-02-20
| | | | | This keeps man-db's own tools separate, reducing confusion, and "build-aux" is a more conventional location for the Autotools files.
* * Version: 2.6.6.Colin Watson2014-01-23
|
* Add support for override directory in search pathPeter Schiffer2014-01-23
| | | | | | | | | | | | * configure.ac: Add --with-override-dir option. * include/manconfig.h.in (OVERRIDE_DIR): New definition. * src/manp.c (insert_override_dir): New function. (get_manpath_from_path): Call it before add_dir_to_list. * src/tests/man-9: New file. * src/tests/Makefile.am (TESTS_ENVIRONMENT): Set and export OVERRIDE_DIR. (ALL_TESTS): Add man-9. * NEWS: Document this.
* * Version: 2.6.6-pre2.Colin Watson2014-01-16
|
* * Version: 2.6.6-pre1.Colin Watson2014-01-10
|
* * configure.ac: Only call AC_PROG_AR if it is defined, to restoreColin Watson2013-11-27
| | | | compatibility with Automake 1.10. * NEWS: Document this.
* * Version: 2.6.5.Colin Watson2013-06-27
|
* * configure.ac: Move check for whether nroff supports warningColin Watson2013-06-26
| | | | | control down below check for whether troff is groff, otherwise it always returns false. Reported by Niels Thykier. * NEWS: Document this.
* * Version: 2.6.4.Colin Watson2013-06-23
|
* * man/po4a/po/zh_CN.po: New from Translation Project (thanks, WylmerColin Watson2013-06-11
| | | | | | | | | | | | Wang). * configure.ac (AC_CONFIG_FILES): Add man/zh_CN/Makefile. * man/LINGUAS.po4a: Add zh_CN. * man/Makefile.am (DIST_SUBDIRS): Add zh_CN. * man/zh_CN/Makefile.am, man/zh_CN/translator.add: New files. * man/po4a/Makefile.am (POFILES): Add po/zh_CN.po. * man/po4a/po4a.cfg (po4a_langs): Add zh_CN. * man/THANKS: Add translator credit. * .bzrignore: Add man/zh_CN/man1, man/zh_CN/man5, and man/zh_CN/man8.
* * configure.ac: Check whether tbl supports the 'x' format characterColin Watson2013-06-06
| | | | | | (e.g. versions of groff before 1.20), and substitute TBL_X_FORMAT accordingly. * man/replace.sin.in: Replace "l lx." with "l l." if tbl does not support the 'x' format character.
* * configure.ac: Add a check for whether 'nroff -wmac' works.Colin Watson2013-06-06
| | | | | | | | * src/man.c (default_roff_warnings, roff_warnings): Define if NROFF_WARNINGS is defined, rather than TROFF_IS_GROFF. (options): Hide the --warnings option unless NROFF_WARNINGS is defined. (parse_opt, make_roff_command): Handle the --warnings option if NROFF_WARNINGS is defined, rather than TROFF_IS_GROFF.
* * configure.ac: Set MANDIR_LAYOUT using AC_SUBST as well asColin Watson2013-06-06
| | | | | | AC_DEFINE/AC_DEFINE_UNQUOTED. * src/tests/Makefile.am (TESTS_ENVIRONMENT): Export MANDIR_LAYOUT. * src/tests/testlib.sh (skip): New function. * src/tests/man-3: Skip unless the GNU layout is in use.
* * configure.ac: Use BSD layout on *-*bsd* (e.g. FreeBSD), not justColin Watson2013-06-06
| | | | *-bsd*. Test for Berkeley DB in libc, as is the case on FreeBSD.
* * Version: 2.6.4-pre1.Colin Watson2013-06-03
|
* Quieten most warnings from compiling Gnulib (Debian bug #668429).Colin Watson2013-06-03
| | | | | | | | * configure.ac: Add gl_WARN_ADD results to WARN_CFLAGS rather than CFLAGS. * lib/Makefile.am (AM_CFLAGS): Add $(WARN_CFLAGS). * libdb/Makefile.am (AM_CFLAGS): Likewise. * src/Makefile.am (AM_CFLAGS): Likewise. Move $(libpipeline_CFLAGS) here from AM_CPPFLAGS.
* Upgrade to Automake 1.13.2 and Gnulib 20130529.Colin Watson2013-05-30
| | | | | | | | | | | | | * .bzrignore: Add gnulib/lib/locale.h, man/**/*.log, man/**/*.trs, src/tests/*.log, and src/tests/*.trs. * autogen.sh: Drop gnulib/gets.patch backport. * gnulib/gets.patch: Remove. * configure.ac (AM_INIT_AUTOMAKE): Set minimum Automake version to 1.11. Add parallel-tests option for compatibility with 1.11. * man/Rules.man (TESTS_ENVIRONMENT): Move to ... (LOG_COMPILER): ... this. * src/tests/Makefile.am (TESTS_ENVIRONMENT): Rewrite as a list of variable exports rather than as a command prefix, for compatibility with parallel-tests.
* * configure.ac (AC_HEADER_SYS_WAIT): Remove; no longer used.Colin Watson2013-01-21
|
* * man/po4a/po/da.po: New from Translation Project (thanks, JoeColin Watson2012-11-24
| | | | | | | | | | | Hansen). * configure.ac (AC_CONFIG_FILES): Add man/da/Makefile. * man/LINGUAS.po4a: Add da. * man/Makefile.am (DIST_SUBDIRS): Add da. * man/da/Makefile.am, man/da/translator.add: New files. * man/po4a/Makefile.am (POFILES): Add po/da.po. * man/po4a/po4a.cfg (po4a_langs): Add da. * man/THANKS: Credit Joe Hansen with man/da as well as da.po. * .bzrignore: Add man/da/man1, man/da/man5, and man/da/man8.
* * Version: 2.6.3.Colin Watson2012-09-17
|
* Stop distributing .tar.gz, as promised in the release notes forColin Watson2012-09-17
| | | | | 2.6.2. * configure.ac (AM_INIT_AUTOMAKE): Add no-dist-gzip. * docs/man-db.lsm (Primary-site): Drop .tar.gz size.
* * configure.ac: Use AM_PROG_AR before LT_INIT, for compatibilityColin Watson2012-09-17
| | | | with Automake 1.12. * NEWS: Document this.
* * Version: 2.6.2.Colin Watson2012-06-18
| | | * man/po4a/po/man-db-manpages.pot, po/man-db.pot, po/*.po: Update.
* * configure.ac: Add elinks and w3m to list of HTML browsers toVille Skyttä2012-06-18
|\ | | | | search for.
| * Add elinks and w3m to list of HTML browsers to look for.Ville Skyttä2011-02-19
| |
* | * configure.ac: Adjust indentation. Set unlzma to empty if xz isColin Watson2012-06-18
| | | | | | found.
* | * configure.ac: Only check for lzma if xz is not found.Ville Skyttä2012-06-18
|\ \ | | | | | | * include/comp_src.h.in (comp_list): Likewise.
| * | Clean up xz/lzma/lzip confusion.Ville Skyttä2012-06-07
| | | | | | | | | | | | lzip doesn't do lzma, and we don't need to check for lzma if we have xz.
* | | * configure.ac (AM_INIT_AUTOMAKE): Distribute tarballs compressedColin Watson2012-06-18
|/ / | | | | using xz as well as gzip.
* | * Version: 2.6.1.Colin Watson2012-02-14
| | | | | | * man/po4a/po/man-db-manpages.pot, po/man-db.pot, po/*.po: Update.
* | * Version: 2.6.1-pre1.Colin Watson2012-02-05
| | | | | | * man/po4a/po/man-db-manpages.pot, po/man-db.pot, po/*.po: Update.
* | Fix 'make distcheck' to pass with Automake 1.11.2.Colin Watson2012-02-05
| | | | | | | | | | | | | | | | * Makefile.am (distuninstallcheck_listfiles): Ignore the configuration file, which is deliberately left in place on uninstall. * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-override. * src/Makefile.am (EXTRA_DIST): Force distribution of lexgrog.c and zsoelim.c.
* | Add support for Lzip-compressed manual pages.Matias A. Fonzo2012-02-02
| | | | | | | | | | | | | | * configure.ac: Check for lzip. Don't test for lzma if lzip is present, as was already the case for xz. * include/comp_src.h.in (comp_list): Add lzip. * include/manconfig.h.in: Define UNLZIP. * NEWS: Document this.
* | * Version: 2.6.0.2.Colin Watson2011-04-13
| | | | | | * man/po4a/po/man-db-manpages.pot, po/man-db.pot, po/*.po: Update.
* | * Version: 2.6.0.1.Colin Watson2011-04-10
| | | | | | * man/po4a/po/man-db-manpages.pot, po/man-db.pot, po/*.po: Update.
* | * Version: 2.6.0.Colin Watson2011-04-09
| | | | | | | | * man/po4a/po/man-db-manpages.pot, man/po4a/po/*.po, po/man-db.pot, po/*.po: Update.
* | * gnulib: Import flock module.Colin Watson2011-03-28
| | | | | | | | | | * lib/Makefile.am (libman_la_SOURCES): Remove flock.h. * lib/README: Remove flock.*. * lib/flock.c, lib/flock.h: Remove.
* | * configure.ac: Add support for db5.Colin Watson2011-03-28
| | | | | | * NEWS: Document this.
* | * configure.ac: Apply correct M4 quotation throughout.Colin Watson2011-03-28
| | | | | | | | | | | | | | | | * m4/man-bdb.m4: Likewise. * m4/man-gnu-nroff.m4: Likewise. * m4/man-linguas.m4: Likewise. * m4/man-trans-subst.m4: Likewise. * m4/man-bdb.m4: Use AS_VAR_IF rather than AS_IF plus AS_VAR_GET.
* | * m4/man-gcc-warning.m4: Remove.Colin Watson2011-03-28
| | | | | | | | * gnulib: Import warnings module. * configure.ac: Replace MAN_GCC_WARNING with gl_WARN_ADD.
* | * Version: 2.6.0-pre1.Colin Watson2011-03-27
| | | | | | | | * po/man-db.pot, po/*.po: Update. * man/po4a/po/man-db-manpages.pot: Update.