File: manual_format.m4

package info (click to toggle)
dmapi 2.2.1-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 332 kB
  • ctags: 642
  • sloc: ansic: 2,859; sh: 349; makefile: 280
file content (17 lines) | stat: -rw-r--r-- 489 bytes parent folder | download | duplicates (34)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 
# Find format of installed man pages.
# Always gzipped on Debian, but not Redhat pre-7.0.
# We don't deal with bzip2'd man pages, which Mandrake uses,
# someone will send us a patch sometime hopefully. :-)
# 
AC_DEFUN([AC_MANUAL_FORMAT],
  [ have_zipped_manpages=false
    for d in ${prefix}/share/man ${prefix}/man ; do
        if test -f $d/man1/man.1.gz
        then
            have_zipped_manpages=true
            break
        fi
    done
    AC_SUBST(have_zipped_manpages)
  ])