From: Enrico Scholz Date: Tue, 30 Dec 2003 14:08:57 +0000 (+0000) Subject: * another s!sys_virtual_context!vserver! X-Git-Tag: version_0_26_90~2 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f5d3852af9b9a41f40b0ba2ae20c77bf9076d20;p=util-vserver.git * another s!sys_virtual_context!vserver! * test for ext2fs.h headers with the C++ compiler; this will detect problems with RH rawhide headers very early (https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=112448) git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/branches/SYSCALL_SWITCH@506 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/configure.ac b/util-vserver/configure.ac index 1a8908c..8c452ec 100644 --- a/util-vserver/configure.ac +++ b/util-vserver/configure.ac @@ -101,11 +101,13 @@ done IFS=$old_IFS AC_MSG_RESULT([$enable_apis]) +AC_LANG_PUSH(C++) AC_CHECK_HEADERS([ext2fs/ext2fs.h], [], [AC_CHECK_HEADERS([linux/ext2_fs.h], [], [AC_MSG_ERROR([Sorry, do not know, how to include 'ext2fs.h'])])]) +AC_LANG_POP -AC_CHECK_FUNCS([sys_virtual_context]) +AC_CHECK_FUNCS([vserver]) AC_CHECK_DECLS(MS_MOVE,,,[#include ]) AC_CHECK_TYPES(xid_t,,,[#include ])