From: Enrico Scholz Date: Mon, 13 Oct 2003 20:21:21 +0000 (+0000) Subject: added rcs2log support X-Git-Tag: VERSION_0_10~1263 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0bcaf1aef9fe5d9999bcd772a180df5aa1f9881;p=util-vserver.git added rcs2log support added checks for MS_MOVE and ctx_t define UTMP_GID as 22 for now git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@98 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/configure.ac b/util-vserver/configure.ac index 2a39e83..df9e5e5 100644 --- a/util-vserver/configure.ac +++ b/util-vserver/configure.ac @@ -53,6 +53,9 @@ AC_PATH_PROGS(WC, [wc], [wc], [ $check_paths ]) AC_CHECK_PROGS(CVS2CL, [cvs2cl]) AM_CONDITIONAL(HAVE_CVS2CL, [test x"$CVS2CL" != x]) +AC_CHECK_PROGS(RCS2LOG, [rcs2log]) +AM_CONDITIONAL(HAVE_RCS2LOG, [test x"$RCS2LOG" != x]) + ENSC_CHECK_CC_FLAG([-std=c99]) AC_MSG_CHECKING([whether to enable dietlibc]) @@ -110,7 +113,12 @@ test "$kerneldir" -a -e $i/include/linux/version.h || { kernelincludedir=$kerneldir/include AC_SUBST(kernelincludedir) AC_MSG_RESULT($kernelincludedir/linux) - + +AC_CHECK_DECLS(MS_MOVE,,,[#include ]) +AC_CHECK_TYPES(ctx_t,,,[#include ]) + +dnl BIG HACK! Do some autodetection here! +AC_DEFINE(UTMP_GID, [22], [The utmp gid-number]) AC_CONFIG_FILES([util-vserver.spec Makefile distrib/Makefile]) AC_OUTPUT