File: x_ac_man2html.m4

package info (click to toggle)
slurm-wlm 22.05.8-4%2Bdeb12u3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 48,492 kB
  • sloc: ansic: 475,246; exp: 69,020; sh: 8,862; javascript: 6,528; python: 6,444; makefile: 4,185; perl: 4,069; pascal: 131
file content (23 lines) | stat: -rw-r--r-- 689 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
##*****************************************************************************
#  AUTHOR:
#    Don Lipari <lipari1@llnl.gov>
#
#  SYNOPSIS:
#    X_AC_MAN2HTML
#
#  DESCRIPTION:
#    Test for the presence of the man2html command.
#
##*****************************************************************************

AC_DEFUN([X_AC_MAN2HTML],
[
   AC_MSG_CHECKING([whether man2html is available])
   AC_CHECK_PROG(ac_have_man2html, man2html, [yes], [no], [$bindir:/usr/bin:/usr/local/bin])

   AM_CONDITIONAL(HAVE_MAN2HTML, test "x$ac_have_man2html" = "xyes")

   if test "x$ac_have_man2html" != "xyes" ; then
      AC_MSG_WARN([unable to build man page html files without man2html])
   fi
])