forked from shr-project/shr-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
36 lines (33 loc) · 1.13 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
##############################################################################
# init
AC_INIT([shr-specs], [2011.03.08.2], [[email protected]], [shr-specs])
AC_CONFIG_SRCDIR([tools/rules.mk])
AM_INIT_AUTOMAKE([-Wall -Werror foreign no-dist-gzip dist-bzip2])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
##############################################################################
# xlst is necessary for specs generation
AC_PATH_PROG(XSLTPROC, xsltproc, no)
AC_SUBST(XSLTPROC)
if test $XSLTPROC = "no"; then
AC_MSG_ERROR([xsltproc is mandatory for this package])
fi
##############################################################################
# python is mandatory for docs generation
AC_PATH_PROG(PYTHON, python, no)
AC_SUBST(PYTHON)
if test $PYTHON = "no"; then
AC_MSG_ERROR([python is mandatory for this package])
fi
##############################################################################
# output
AC_CONFIG_FILES([
Makefile
shr-specs.pc
])
AC_OUTPUT
echo
echo
echo
echo "shr-specs configured successfully."
echo
echo "Now type 'make' to compile and 'make install' to install this package."