Bump version to keep in sync with libfso-glib
[specs.git] / configure.ac
blob8d2a2589d1fc1e7df2bc9d03515fd0885c351ce2
1 ##############################################################################
2 # init
3 AC_INIT([fso-specs], [2012.07.27.2], [smartphones-standards@linuxtogo.org], [fso-specs])
4 AC_CONFIG_SRCDIR([tools/rules.mk])
5 AM_INIT_AUTOMAKE([-Wall -Werror foreign no-dist-gzip dist-bzip2])
6 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
8 ##############################################################################
9 # xlst is necessary for specs generation
10 AC_PATH_PROG(XSLTPROC, xsltproc, no)
11 AC_SUBST(XSLTPROC)
12 if test $XSLTPROC = "no"; then
13     AC_MSG_ERROR([xsltproc is mandatory for this package])
16 ##############################################################################
17 # python is mandatory for docs generation
18 AC_PATH_PROG(PYTHON, python, no)
19 AC_SUBST(PYTHON)
20 if test $PYTHON = "no"; then
21     AC_MSG_ERROR([python is mandatory for this package])
24 ##############################################################################
25 # output
26 AC_CONFIG_FILES([
27         Makefile
28         html/index.html
29         fso-specs.pc
31 AC_OUTPUT
32 echo
33 echo
34 echo
35 echo "fso-specs configured successfully."
36 echo
37 echo "Now type 'make' to compile and 'make install' to install this package."