[go: up one dir, main page]

File: configure.in

package info (click to toggle)
docbook-utils 0.6.9-12
  • links: PTS
  • area: main
  • in suites: woody
  • size: 696 kB
  • ctags: 35
  • sloc: perl: 1,010; sh: 454; makefile: 123
file content (47 lines) | stat: -rw-r--r-- 1,003 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
dnl Process this file with autoconf to produce a configure script.
AC_INIT(Makefile.am)

AC_DEFUN(AC_FIND_PROGRAM,
[
$3=""
for i in $2; do
  for j in $1; do
    if test -x "$i/$j"; then
      $3=$i
      break 2
    fi
  done
done
])

AM_INIT_AUTOMAKE(docbook-utils, 0.6.9)

docdir='$(prefix)/doc'
AC_SUBST(docdir)

dnl Checks for programs.
jade_bindirs="/usr/bin /usr/local/bin"
AC_FIND_PROGRAM(nsgmls, $jade_bindirs, jade_bindir)
AC_SUBST(jade_bindir)

perl_bindirs="/usr/bin /usr/local/bin"
AC_FIND_PROGRAM(perl, $perl_bindirs, perl_bindir)
AC_SUBST(perl_bindir)

dnl Checks for libraries.

dnl Checks for header files.

dnl Checks for typedefs, structures, and compiler characteristics.

dnl Checks for library functions.

AC_OUTPUT(Makefile \
	bin/Makefile bin/jw bin/sgmldiff \
	backends/Makefile backends/man backends/texi \
	frontends/Makefile frontends/docbook \
	helpers/Makefile \
	doc/Makefile \
	doc/refentry/Makefile \
	doc/man/Makefile doc/man/jw.1 \
	doc/HTML/Makefile doc/HTML/jw.html)