1
0
Fork 0
man-db/m4/man-arg-sections.m4
Daniel Baumann 1fa764a8d3
Adding upstream version 2.13.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-21 08:13:55 +02:00

17 lines
491 B
Text

# man-arg-sections.m4 serial 3
dnl MAN_ARG_SECTIONS
dnl Add a --with-sections option.
AC_DEFUN([MAN_ARG_SECTIONS],
[
AC_ARG_WITH([sections],
[AS_HELP_STRING([--with-sections=SECTIONS], [use manual page sections SECTIONS @<:@1 n l 8 3 0 2 3type 5 4 9 6 7@:>@])],
[if test "$withval" = "yes" || test "$withval" = "no"
then
AC_MSG_ERROR([--with-sections requires an argument])
else
sections="$withval"
fi],
[: ${sections=1 n l 8 3 0 2 3type 5 4 9 6 7}])
AC_SUBST([sections])dnl
])