File: x_ac_man2html.m4

package info (click to toggle)
slurm-wlm-contrib 24.11.5-2
  • links: PTS, VCS
  • area: contrib
  • in suites: trixie
  • size: 50,596 kB
  • sloc: ansic: 529,598; exp: 64,795; python: 17,051; sh: 9,411; javascript: 6,528; makefile: 4,030; perl: 3,762; 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
])