root / configure.ac @ 7c18ef8e
History | View | Annotate | Download (654 Bytes)
1 |
# Configure script for Ganeti |
---|---|
2 |
|
3 |
AC_PREREQ(2.59) |
4 |
AC_INIT(ganeti, 1.2b2, ganeti@googlegroups.com) |
5 |
AC_CONFIG_AUX_DIR(autotools) |
6 |
AM_INIT_AUTOMAKE([foreign tar-ustar dist-bzip2]) |
7 |
|
8 |
# Check common programs |
9 |
AC_PROG_INSTALL |
10 |
|
11 |
# Check for Python |
12 |
AM_PATH_PYTHON(2.4) |
13 |
|
14 |
# Check for docbook2man |
15 |
found_docbook2man= |
16 |
AC_CHECK_PROG(found_docbook2man, [docbook2man], [yes]) |
17 |
if test "$found_docbook2man" != "yes" |
18 |
then |
19 |
AC_MSG_WARN([docbook2man not found.]) |
20 |
fi |
21 |
|
22 |
AC_SUBST(PACKAGE_VERSION) |
23 |
|
24 |
AC_CONFIG_FILES([Makefile man/Makefile doc/Makefile |
25 |
testing/Makefile tools/Makefile |
26 |
lib/Makefile scripts/Makefile daemons/Makefile |
27 |
doc/examples/Makefile lib/version.py]) |
28 |
|
29 |
AC_OUTPUT |