File: man-arg-undoc.m4

package info (click to toggle)
man-db 2.13.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 23,332 kB
  • sloc: ansic: 82,993; sh: 7,868; lex: 1,555; makefile: 970; perl: 141; sed: 16
file content (17 lines) | stat: -rw-r--r-- 580 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# man-arg-undoc.m4 serial 1
dnl MAN_ARG_UNDOC
dnl Add an --enable-undoc option.

AC_DEFUN([MAN_ARG_UNDOC],
[
AC_ARG_ENABLE([undoc],
[AS_HELP_STRING([--enable-undoc=COMMAND], [suggest COMMAND for missing manual pages])],
	[if test "$enableval" = "yes" || test "$enableval" = "no"
	 then
		AC_MSG_ERROR([--enable-undoc requires an argument])
	 else
		AC_MSG_NOTICE([Suggesting '$enableval' for missing manual pages])
		AC_DEFINE_UNQUOTED([UNDOC_COMMAND], ["$enableval"],
				   [Define as the name of a command you want to suggest when a non-existent page is requested.])
	 fi])
])