X-Git-Url: https://code.grnet.gr/git/ganeti-local/blobdiff_plain/aff173bb7a40a59c820f53dac6e64f450a9e4dc5..130440e7d0f26fb256b801c1474dccfe6f3cb76c:/configure.ac diff --git a/configure.ac b/configure.ac index 37b858c..331c856 100644 --- a/configure.ac +++ b/configure.ac @@ -64,6 +64,21 @@ AC_ARG_WITH([xen-initrd], [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 @@ -92,6 +107,7 @@ AC_CONFIG_FILES([ doc/Makefile doc/examples/Makefile lib/Makefile + lib/rapi/Makefile man/Makefile qa/Makefile qa/hooks/Makefile