root / configure.ac @ f491c3a8
History | View | Annotate | Download (911 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]) |
7 |
|
8 |
# --with-ssh-initscript=... |
9 |
AC_ARG_WITH([ssh-initscript], |
10 |
[AS_HELP_STRING([--with-ssh-initscript], |
11 |
[SSH init script to use (default is /etc/init.d/ssh)] |
12 |
)], |
13 |
[ssh_initd_script="$withval"], |
14 |
[ssh_initd_script="/etc/init.d/ssh"]) |
15 |
AC_SUBST(SSH_INITD_SCRIPT, $ssh_initd_script) |
16 |
|
17 |
# Check common programs |
18 |
AC_PROG_INSTALL |
19 |
|
20 |
# Check for Python |
21 |
AM_PATH_PYTHON(2.4) |
22 |
|
23 |
# Check for docbook2man |
24 |
found_docbook2man= |
25 |
AC_CHECK_PROG(found_docbook2man, [docbook2man], [yes]) |
26 |
if test "$found_docbook2man" != "yes" |
27 |
then |
28 |
AC_MSG_WARN([docbook2man not found.]) |
29 |
fi |
30 |
|
31 |
AC_CONFIG_FILES([ |
32 |
Makefile |
33 |
daemons/Makefile |
34 |
doc/Makefile |
35 |
doc/examples/Makefile |
36 |
lib/Makefile |
37 |
man/Makefile |
38 |
qa/Makefile |
39 |
scripts/Makefile |
40 |
test/Makefile |
41 |
tools/Makefile |
42 |
]) |
43 |
|
44 |
AC_OUTPUT |