summaryrefslogtreecommitdiffstats
path: root/m4/man-arg-automatic-create.m4
blob: 599da2cd2d35790ca3c98e14984105fb6ccdff5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# man-arg-automatic-create.m4 serial 1
dnl MAN_ARG_AUTOMATIC_CREATE
dnl Add an --enable-automatic-create option.

AC_DEFUN([MAN_ARG_AUTOMATIC_CREATE],
[
AC_ARG_ENABLE([automatic-create],
[AS_HELP_STRING([--enable-automatic-create], [allow man to create user databases on the fly])],
	[if test "$enableval" = "yes"
	 then
		AC_DEFINE([MAN_DB_CREATES], [1], [Allow man to create user databases on the fly.])
	 fi])
])