added rcs2log support
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Mon, 13 Oct 2003 20:21:21 +0000 (20:21 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Mon, 13 Oct 2003 20:21:21 +0000 (20:21 +0000)
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

util-vserver/configure.ac

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