# Configure script for Ganeti
AC_PREREQ(2.59)
-AC_INIT(ganeti, 1.2.3, ganeti@googlegroups.com)
+AC_INIT(ganeti, 1.2.6~rc0, ganeti@googlegroups.com)
AC_CONFIG_AUX_DIR(autotools)
AC_CONFIG_SRCDIR(configure)
AM_INIT_AUTOMAKE([foreign tar-ustar])
[xen_initrd="/boot/initrd-2.6-xenU"])
AC_SUBST(XEN_INITRD, $xen_initrd)
+# --enable-rapi
+AC_ARG_ENABLE([rapi],
+ [AS_HELP_STRING([--enable-rapi],
+ [Whether to enable remote API daemon]
+ )])
+if test "$enable_rapi" = "yes"
+then
+ enable_rapi_py=True
+else
+ enable_rapi=no
+ enable_rapi_py=False
+fi
+AC_SUBST(PY_ENABLE_RAPI, $enable_rapi_py)
+
+
# Check common programs
AC_PROG_INSTALL
AC_PROG_LN_S
AC_CONFIG_FILES([
Makefile
daemons/Makefile
+ devel/Makefile
doc/Makefile
doc/examples/Makefile
lib/Makefile