added check for existing sys_virtual_context() function
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Tue, 14 Oct 2003 13:54:37 +0000 (13:54 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Tue, 14 Oct 2003 13:54:37 +0000 (13:54 +0000)
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

util-vserver/configure.ac

index 7ce8171..093c3e1 100644 (file)
@@ -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 <linux/fs.h>])
 AC_CHECK_TYPES(ctx_t,,,[#include <sys/types.h>])