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

1 by Ove Kaaven
Import upstream version 0.9
1
dnl Process this file with autoconf to produce a configure script.
2
AC_PREREQ(2.53)
3
4
m4_define(WINE_VERSION,regexp(m4_include(VERSION),[version \([-.0-9A-Za-z]+\)],[\1]))
5
6
AC_INIT([WineDocs],WINE_VERSION,[wine-devel@winehq.org])
7
dnl AC_CANONICAL_HOST
8
AC_PROG_MAKE_SET
9
10
dnl Check for various programs
11
AC_CHECK_PROGS(DB2HTML, docbook2html db2html, false)
12
AC_CHECK_PROGS(DB2PDF, docbook2pdf db2pdf, false)
13
AC_CHECK_PROGS(DB2PS, docbook2ps db2ps, false)
14
AC_CHECK_PROGS(DB2TXT, docbook2txt db2txt, false)
15
AC_CHECK_PROGS(NSGMLS, nsgmls, false)
16
17
dnl **** Generate output files ****
18
19
MAKE_RULES=Make.rules
20
AC_SUBST_FILE(MAKE_RULES)
21
22
AC_CONFIG_FILES([
23
Make.rules
24
Makefile
25
en/Makefile
26
fr/Makefile
27
])
28
29
AC_OUTPUT
30
31
32
if test "$DB2HTML" = "false"
33
then
34
  echo
35
  echo "*** Note: Your system appears to be missing docbook2html and db2html"
36
  echo "*** which is needed to convert the documentation to HTML."
37
  echo "*** To remedy this you will need one of the following packages"
38
  echo "***  - Debian:        docbook-utils"
39
  echo "***  - Fedora Core:   docbook-utils"
40
  echo "***  - SUSE:          docbook-utils"
41
fi
42
43
if test "$NSGMLS" = "false"
44
then
45
  echo
46
  echo "*** Note: Your system appears to be missing the nsgmls parser"
47
  echo "*** which is needed to build the translated documentation using po4a."
48
  echo "*** To remedy this you will need one of the following packages"
49
  echo "***  - Debian:        sp"
50
  echo "***  - Fedora Core:   openjade"
51
  echo "***  - SUSE:          opensp"
52
fi
53
54
echo
55
echo "Configure finished.  Do '${ac_make}' to compile the documentation."
56
echo
57
58
dnl Local Variables:
59
dnl comment-start: "dnl "
60
dnl comment-end: ""
61
dnl comment-start-skip: "\\bdnl\\b\\s *"
62
dnl compile-command: "autoconf"
63
dnl End: