aboutsummaryrefslogtreecommitdiffstats
path: root/handbook/poky-doc-tools/configure.ac
blob: 0d15c8198c5184689486bfc0ff5fa5448ba604e9 (plain)
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
AC_PREREQ(2.53)
AC_INIT(poky-doc-tools, 0.1, http://o-hand.com)
AM_INIT_AUTOMAKE()

AC_PATH_PROG(HAVE_XSLTPROC, xsltproc, no)
if test x$HAVE_XSLTPROC = xno; then
  AC_MSG_ERROR([Required xsltproc program not found])
fi

AC_PATH_PROG(HAVE_FOP, fop, no)
if test x$HAVE_FOP = xno; then
  AC_MSG_ERROR([Required fop program not found])
fi

AC_CHECK_FILE([/usr/share/xml/docbook/stylesheet/nwalsh/template/titlepage.xsl],HAVE_NWALSH="yes", HAVE_NWALSH="no")
if test x$HAVE_FOP = xno; then
  AC_MSG_ERROR([Required 'nwalsh' docbook stylesheets not found])
fi

AC_OUTPUT([
Makefile
common/Makefile
])

echo "
                == poky-doc-tools $VERSION configured successfully. ==
"