~ubuntu-branches/ubuntu/edgy/wine-doc/edgy

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
51
52
53
54
55
56
57
58
59
60
61
62
63
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.53)

m4_define(WINE_VERSION,regexp(m4_include(VERSION),[version \([-.0-9A-Za-z]+\)],[\1]))

AC_INIT([WineDocs],WINE_VERSION,[wine-devel@winehq.org])
dnl AC_CANONICAL_HOST
AC_PROG_MAKE_SET

dnl Check for various programs
AC_CHECK_PROGS(DB2HTML, docbook2html db2html, false)
AC_CHECK_PROGS(DB2PDF, docbook2pdf db2pdf, false)
AC_CHECK_PROGS(DB2PS, docbook2ps db2ps, false)
AC_CHECK_PROGS(DB2TXT, docbook2txt db2txt, false)
AC_CHECK_PROGS(NSGMLS, nsgmls, false)

dnl **** Generate output files ****

MAKE_RULES=Make.rules
AC_SUBST_FILE(MAKE_RULES)

AC_CONFIG_FILES([
Make.rules
Makefile
en/Makefile
fr/Makefile
])

AC_OUTPUT


if test "$DB2HTML" = "false"
then
  echo
  echo "*** Note: Your system appears to be missing docbook2html and db2html"
  echo "*** which is needed to convert the documentation to HTML."
  echo "*** To remedy this you will need one of the following packages"
  echo "***  - Debian:        docbook-utils"
  echo "***  - Fedora Core:   docbook-utils"
  echo "***  - SUSE:          docbook-utils"
fi

if test "$NSGMLS" = "false"
then
  echo
  echo "*** Note: Your system appears to be missing the nsgmls parser"
  echo "*** which is needed to build the translated documentation using po4a."
  echo "*** To remedy this you will need one of the following packages"
  echo "***  - Debian:        sp"
  echo "***  - Fedora Core:   openjade"
  echo "***  - SUSE:          opensp"
fi

echo
echo "Configure finished.  Do '${ac_make}' to compile the documentation."
echo

dnl Local Variables:
dnl comment-start: "dnl "
dnl comment-end: ""
dnl comment-start-skip: "\\bdnl\\b\\s *"
dnl compile-command: "autoconf"
dnl End: