-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
50 lines (40 loc) · 1.03 KB
/
configure.ac
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
49
50
dnl Process this file with autoconf to produce a configure script.
AC_INIT([docbook-utils], [0.6.15])
AC_CONFIG_SRCDIR([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
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_CONFIG_FILES([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])
AC_OUTPUT