summaryrefslogtreecommitdiffstats
path: root/m4/man-arg-cats.m4
blob: e17bd7a33ba3aa3ac8e2b2e01f80aa3e85303bd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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.])])
])