File: configure.in

package info (click to toggle)
docbook-utils 0.6.14-3.4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,280 kB
  • sloc: perl: 1,108; sh: 858; makefile: 82
file content (48 lines) | stat: -rw-r--r-- 1,009 bytes parent folder | download | duplicates (3)
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
48
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.14)

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

dnl Checks for programs.
jade_bindirs="/usr/bin /usr/local/bin"
AC_FIND_PROGRAM(onsgmls, $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 docbook-utils.spec \
	bin/Makefile bin/jw bin/sgmldiff \
	backends/Makefile backends/man backends/texi \
	frontends/Makefile frontends/docbook \
	helpers/Makefile \
	doc/Makefile \
	doc/version \
	doc/refentry/Makefile \
	doc/man/Makefile \
	doc/HTML/Makefile)