X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=util-vserver%2Fconfigure.ac;h=e59c7a8d9d1ec30816fb677d524a7b0f7381c4e5;hb=34038bee85d38d1b1f16a3e4e0979ae9499925a2;hp=0cf7e4180a3e20114ad8625867fd910a7b7bed8d;hpb=2c118a0fc52c88d4dd5ef62f0161406d379ea49c;p=util-vserver.git diff --git a/util-vserver/configure.ac b/util-vserver/configure.ac index 0cf7e41..e59c7a8 100644 --- a/util-vserver/configure.ac +++ b/util-vserver/configure.ac @@ -25,7 +25,7 @@ dnl AC_PREREQ(2.57) -AC_INIT(util-vserver, 0.23.96, enrico.scholz@informatik.tu-chemnitz.de) +AC_INIT(util-vserver, 0.23.97, enrico.scholz@informatik.tu-chemnitz.de) AC_CONFIG_SRCDIR([src/capchroot.c]) AC_CONFIG_HEADER([config.h]) @@ -48,6 +48,21 @@ AC_ARG_VAR(CC, [The C compiler]) ENSC_KERNEL_HEADERS(kernelincludedir) ENSC_UV_VROOTDIR(vserverdir) + +AC_MSG_CHECKING([whether to enable linuxconf modules]) +AC_ARG_ENABLE([linuxconf], + [AC_HELP_STRING([--enable-linuxconf], + [enable 'newvserver' linuxconf module (default: no)])], + [case "$enableval" in + yes|no) ;; + *) AC_MSG_ERROR(['$i' is not a supported value for '--enable-linuxconf']);; + esac], + [enable_linuxconf=no]) + +AC_MSG_RESULT($enable_linuxconf) +AM_CONDITIONAL(ENSC_ENABLE_LINUXCONF, [test x"$enable_linuxconf" = xyes]) + + AC_MSG_CHECKING([for supported APIs]) AC_ARG_ENABLE([apis], [AC_HELP_STRING([--enable-apis=APIS],