diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 10:49:50 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 10:49:50 +0000 |
commit | 74b60c5712f2a84904b95d008953c140a9bd5dd2 (patch) | |
tree | dd12cc58c6d4cfb5e2c1183f47757295ce3b5662 /m4/man-arg-cats.m4 | |
parent | Initial commit. (diff) | |
download | man-db-74b60c5712f2a84904b95d008953c140a9bd5dd2.tar.xz man-db-74b60c5712f2a84904b95d008953c140a9bd5dd2.zip |
Adding upstream version 2.9.4.upstream/2.9.4upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'm4/man-arg-cats.m4')
-rw-r--r-- | m4/man-arg-cats.m4 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/m4/man-arg-cats.m4 b/m4/man-arg-cats.m4 new file mode 100644 index 0000000..e17bd7a --- /dev/null +++ b/m4/man-arg-cats.m4 @@ -0,0 +1,14 @@ +# man-arg-cats.m4 serial 1 +dnl MAN_ARG_CATS +dnl Add a --disable-cats option. + +AC_DEFUN([MAN_ARG_CATS], +[ +AC_ARG_ENABLE([cats], +[AS_HELP_STRING([--disable-cats], [don't allow man to create/update cat files])], + [if test "$enableval" = "yes" + then + AC_DEFINE([MAN_CATS], [1], [Allow man to create/update cat files.]) + fi], + [AC_DEFINE([MAN_CATS], [1], [Allow man to create/update cat files.])]) +]) |