1 dnl Copyright (C) 2003 Silicon Graphics, Inc.
3 dnl This program is free software: you can redistribute it and/or modify it
4 dnl under the terms of the GNU General Public License as published by
5 dnl the Free Software Foundation, either version 2 of the License, or
6 dnl (at your option) any later version.
8 dnl This program is distributed in the hope that it will be useful,
9 dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
10 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 dnl GNU General Public License for more details.
13 dnl You should have received a copy of the GNU General Public License
14 dnl along with this program. If not, see <http://www.gnu.org/licenses/>.
16 # Find format of installed man pages.
17 # Always gzipped on Debian, but not Redhat pre-7.0.
18 # We don't deal with bzip2'd man pages, which Mandrake uses,
19 # someone will send us a patch sometime hopefully. :-)
21 AC_DEFUN([AC_MANUAL_FORMAT],
22 [ have_zipped_manpages=false
23 for d in ${prefix}/share/man ${prefix}/man ; do
24 if test -f $d/man1/man.1.gz
26 have_zipped_manpages=true
30 AC_SUBST(have_zipped_manpages)