From: Enrico Scholz Date: Tue, 14 Oct 2003 13:54:37 +0000 (+0000) Subject: added check for existing sys_virtual_context() function X-Git-Tag: version_0_23_96~39 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e6dc574834006662eee104681ec80387db38781;p=util-vserver.git added check for existing sys_virtual_context() function renamed '--enable-supported-api' switch to '--enable-apis' git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/branches/SYSCALL_SWITCH@139 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/configure.ac b/util-vserver/configure.ac index 7ce8171..093c3e1 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.91, enrico.scholz@informatik.tu-chemnitz.de) +AC_INIT(util-vserver, 0.23.91.1, enrico.scholz@informatik.tu-chemnitz.de) AC_CONFIG_SRCDIR([src/capchroot.c]) AC_CONFIG_HEADER([config.h]) @@ -66,9 +66,9 @@ AC_SUBST(kernelincludedir) AC_MSG_RESULT($kernelincludedir/linux) AC_MSG_CHECKING([for supported APIs]) -AC_ARG_ENABLE([supported-api], - [AC_HELP_STRING([--enable-supported-api=APIS], - [enable support for given apis; supported values: legacy,compat,ALL (default: ALL)])], +AC_ARG_ENABLE([apis], + [AC_HELP_STRING([--enable-apis=APIS], + [enable support for the given apis; possible values are: legacy,compat,ALL (default: ALL)])], [], [supported_apis=ALL]) @@ -85,7 +85,7 @@ done IFS=$old_IFS AC_MSG_RESULT([$supported_apis]) - +AC_CHECK_FUNCS([sys_virtual_context]) AC_CHECK_DECLS(MS_MOVE,,,[#include ]) AC_CHECK_TYPES(ctx_t,,,[#include ])