resetting manifest requested domain to floor
[platform/upstream/man-db.git] / m4 / man-gnu-nroff.m4
1 # man-gnu-nroff.m4 serial 2
2 dnl
3 dnl Check to see if nroff is GNU nroff, take nroff path as arg.
4 dnl
5 AC_DEFUN([MAN_PROG_GNU_NROFF],
6 [AC_MSG_CHECKING([whether nroff is GNU nroff])
7
8 AC_CACHE_VAL([man_cv_prog_gnu_nroff],
9   [if test `$1 <<EOF | tr -d '\n'
10 \\n(.g
11 EOF
12 ` -eq 1
13    then
14         man_cv_prog_gnu_nroff=yes
15    else
16         man_cv_prog_gnu_nroff=no
17    fi])
18
19 if test "$man_cv_prog_gnu_nroff" = "yes" 
20 then
21         AC_DEFINE([GNU_NROFF], [1], [Define if nroff is GNU nroff.])
22 fi
23 AC_MSG_RESULT([$man_cv_prog_gnu_nroff])
24 ])