From 6f5d3852af9b9a41f40b0ba2ae20c77bf9076d20 Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Tue, 30 Dec 2003 14:08:57 +0000 Subject: [PATCH] * 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 --- util-vserver/configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 ]) -- 1.8.1.5