sync to 0.30.213
[util-vserver.git] / configure
index 88f1dc9..f528ce3 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.59 for util-vserver 0.30.212.
+# Generated by GNU Autoconf 2.59 for util-vserver 0.30.213.
 #
 # Report bugs to <vserver@list.linux-vserver.org>.
 #
@@ -423,8 +423,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
 # Identity of this package.
 PACKAGE_NAME='util-vserver'
 PACKAGE_TARNAME='util-vserver'
-PACKAGE_VERSION='0.30.212'
-PACKAGE_STRING='util-vserver 0.30.212'
+PACKAGE_VERSION='0.30.213'
+PACKAGE_STRING='util-vserver 0.30.213'
 PACKAGE_BUGREPORT='vserver@list.linux-vserver.org'
 
 ac_unique_file="src/capchroot.c"
@@ -465,7 +465,7 @@ ac_includes_default="\
 # include <unistd.h>
 #endif"
 
-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT build build_cpu build_vendor build_os host host_cpu host_vendor host_os GPG_KEY CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LN_S ENSC_HAVE_CXX_COMPILER_TRUE ENSC_HAVE_CXX_COMPILER_FALSE ENSC_HAVE_C99_COMPILER_TRUE ENSC_HAVE_C99_COMPILER_FALSE ENSC_PATHPROG_SED CAT CHOWN CMP CP DIRNAME EGREP ENV GREP LN MKDIR MKFIFO MKTEMP MOUNT MV NICE PS RM RMDIR SED SH TAC TAR TOUCH TTY UMOUNT WC IP IPTABLES MODPROBE NAMEIF NOHUP RMMOD VCONFIG WGET FILE GZIP BZIP2 CPIO RESTORE RSYNC DOXYGEN XSLTP XSLTPROC HAVE_XSLTP_TRUE HAVE_XSLTP_FALSE HAVE_XSLTPROC_TRUE HAVE_XSLTPROC_FALSE LIB_DEBUG_CPPFLAGS ENSC_USE_EXPENSIVE_TESTS initrddir RELEASE_CPPFLAGS DIET DIETFLAGS USE_DIETLIBC_TRUE USE_DIETLIBC_FALSE USE_DIETLIBC_COMPAT_TRUE USE_DIETLIBC_COMPAT_FALSE ENSC_USE_DIETLIBC_TRUE ENSC_USE_DIETLIBC_FALSE ENSC_USE_GLIBC_TRUE ENSC_USE_GLIBC_FALSE ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL vserverdir SVN2CL HAVE_SVN2CL_TRUE HAVE_SVN2CL_FALSE ENSC_ENABLE_INTERNAL_HEADERS_TRUE ENSC_ENABLE_INTERNAL_HEADERS_FALSE ENSC_HAVE_BEECRYPT_TRUE ENSC_HAVE_BEECRYPT_FALSE ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE LIBOBJS LTLIBOBJS'
+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT build build_cpu build_vendor build_os host host_cpu host_vendor host_os GPG_KEY CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LN_S ENSC_HAVE_CXX_COMPILER_TRUE ENSC_HAVE_CXX_COMPILER_FALSE ENSC_HAVE_C99_COMPILER_TRUE ENSC_HAVE_C99_COMPILER_FALSE ENSC_PATHPROG_SED CAT CHOWN CMP CP DIRNAME EGREP ENV GREP LN MKDIR MKFIFO MKTEMP MOUNT MV NICE PS RM RMDIR SED SH TAC TAR TOUCH TTY UMOUNT WC IP IPTABLES MODPROBE NAMEIF NOHUP RMMOD VCONFIG WGET FILE GZIP BZIP2 CPIO RESTORE RSYNC DOXYGEN XSLTP XSLTPROC HAVE_XSLTP_TRUE HAVE_XSLTP_FALSE HAVE_XSLTPROC_TRUE HAVE_XSLTPROC_FALSE LIB_DEBUG_CPPFLAGS ENSC_USE_EXPENSIVE_TESTS initrddir RELEASE_CPPFLAGS CPP DIET DIETFLAGS USE_DIETLIBC_TRUE USE_DIETLIBC_FALSE USE_DIETLIBC_COMPAT_TRUE USE_DIETLIBC_COMPAT_FALSE ENSC_USE_DIETLIBC_TRUE ENSC_USE_DIETLIBC_FALSE ENSC_USE_GLIBC_TRUE ENSC_USE_GLIBC_FALSE ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL vserverdir SVN2CL HAVE_SVN2CL_TRUE HAVE_SVN2CL_FALSE ENSC_ENABLE_INTERNAL_HEADERS_TRUE ENSC_ENABLE_INTERNAL_HEADERS_FALSE ENSC_HAVE_BEECRYPT_TRUE ENSC_HAVE_BEECRYPT_FALSE ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE HAVE_GENTOO_INIT_TRUE HAVE_GENTOO_INIT_FALSE HAVE_SYSV_INIT_TRUE HAVE_SYSV_INIT_FALSE LIBOBJS LTLIBOBJS'
 ac_subst_files=''
 
 # Initialize some variables set by options.
@@ -930,6 +930,10 @@ ac_env_CFLAGS_set=${CFLAGS+set}
 ac_env_CFLAGS_value=$CFLAGS
 ac_cv_env_CFLAGS_set=${CFLAGS+set}
 ac_cv_env_CFLAGS_value=$CFLAGS
+ac_env_CPP_set=${CPP+set}
+ac_env_CPP_value=$CPP
+ac_cv_env_CPP_set=${CPP+set}
+ac_cv_env_CPP_value=$CPP
 ac_env_DIET_set=${DIET+set}
 ac_env_DIET_value=$DIET
 ac_cv_env_DIET_set=${DIET+set}
@@ -938,10 +942,6 @@ ac_env_DIETFLAGS_set=${DIETFLAGS+set}
 ac_env_DIETFLAGS_value=$DIETFLAGS
 ac_cv_env_DIETFLAGS_set=${DIETFLAGS+set}
 ac_cv_env_DIETFLAGS_value=$DIETFLAGS
-ac_env_CPP_set=${CPP+set}
-ac_env_CPP_value=$CPP
-ac_cv_env_CPP_set=${CPP+set}
-ac_cv_env_CPP_value=$CPP
 ac_env_CXXCPP_set=${CXXCPP+set}
 ac_env_CXXCPP_value=$CXXCPP
 ac_cv_env_CXXCPP_set=${CXXCPP+set}
@@ -962,7 +962,7 @@ if test "$ac_init_help" = "long"; then
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures util-vserver 0.30.212 to adapt to many kinds of systems.
+\`configure' configures util-vserver 0.30.213 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1028,7 +1028,7 @@ fi
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of util-vserver 0.30.212:";;
+     short | recursive ) echo "Configuration of util-vserver 0.30.213:";;
    esac
   cat <<\_ACEOF
 
@@ -1047,11 +1047,11 @@ Optional Features:
                           disable tests which might be expensive on some
                           systems (default: no)
   --enable-release        enable release mode (default: no)
-  --disable-dietlibc      do not use dietlibc resp. enforce its usage (with
-                          --enable-dietlibc) (default: autodetect dietlibc)
   --disable-alternative-syscalls
                           do not use the alternative _syscallX macros provided
                           by Herbert Poetzl (default: use them)
+  --disable-dietlibc      do not use dietlibc resp. enforce its usage (with
+                          --enable-dietlibc) (default: autodetect dietlibc)
   --enable-shared[=PKGS]
                           build shared libraries [default=yes]
   --enable-static[=PKGS]
@@ -1071,15 +1071,17 @@ Optional Packages:
   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   --with-initrddir <DIR>  use <DIR> as directory for SysV init-files (default:
                           $sysconfdir/init.d)
+  --with-syscall=METHOD   call syscall(2) with the specified METHOD; valid
+                          values are 'fast', 'traditional' and 'auto'
+                          (default: auto)
   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   --with-pic              try to use only PIC/non-PIC objects [default=use
                           both]
   --with-tags[=TAGS]
                           include additional configurations [automatic]
   --with-vrootdir=DIR     place vservers under DIR (default: /vservers)
-  --with-syscall=METHOD   call syscall(2) with the specified METHOD; valid
-                          values are 'fast', 'traditional' and 'auto'
-                          (default: auto)
+  --with-initscripts=TYPE force host initscripts; valid values are 'gentoo'
+                          and 'sysv' (default: guess)
 
 Some influential environment variables:
   CXX         C++ compiler command
@@ -1090,9 +1092,9 @@ Some influential environment variables:
               headers in a nonstandard directory <include dir>
   CC          C compiler command
   CFLAGS      C compiler flags
+  CPP         C preprocessor
   DIET        The 'diet' wrapper (default: diet)
   DIETFLAGS   Flags passed to the 'diet' wrapper (default: -O)
-  CPP         C preprocessor
   CXXCPP      C++ preprocessor
   F77         Fortran 77 compiler command
   FFLAGS      Fortran 77 compiler flags
@@ -1196,7 +1198,7 @@ fi
 test -n "$ac_init_help" && exit 0
 if $ac_init_version; then
   cat <<\_ACEOF
-util-vserver configure 0.30.212
+util-vserver configure 0.30.213
 generated by GNU Autoconf 2.59
 
 Copyright (C) 2003 Free Software Foundation, Inc.
@@ -1210,7 +1212,7 @@ cat >&5 <<_ACEOF
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by util-vserver $as_me 0.30.212, which was
+It was created by util-vserver $as_me 0.30.213, which was
 generated by GNU Autoconf 2.59.  Invocation command line was
 
   $ $0 $@
@@ -1857,7 +1859,7 @@ fi
 
 # Define the identity of the package.
  PACKAGE='util-vserver'
- VERSION='0.30.212'
+ VERSION='0.30.213'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -4079,6 +4081,10 @@ Can not find the 'awk' tool within '${ensc_searchpath:-$PATH}'.
                fi
        fi
 
+       if test -e "${AWK}"; then
+               AWK=`readlink -f "${AWK}"`
+       fi
+
        test "${AWK}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'AWK'@!${AWK}!g;"
 
        test "${AWK}"
@@ -4160,6 +4166,10 @@ Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'.
                fi
        fi
 
+       if test -e "${CAT}"; then
+               CAT=`readlink -f "${CAT}"`
+       fi
+
        test "${CAT}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CAT'@!${CAT}!g;"
 
        test "${CAT}"
@@ -4241,6 +4251,10 @@ Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'.
                fi
        fi
 
+       if test -e "${CHOWN}"; then
+               CHOWN=`readlink -f "${CHOWN}"`
+       fi
+
        test "${CHOWN}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CHOWN'@!${CHOWN}!g;"
 
        test "${CHOWN}"
@@ -4322,6 +4336,10 @@ Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'.
                fi
        fi
 
+       if test -e "${CMP}"; then
+               CMP=`readlink -f "${CMP}"`
+       fi
+
        test "${CMP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CMP'@!${CMP}!g;"
 
        test "${CMP}"
@@ -4403,6 +4421,10 @@ Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'.
                fi
        fi
 
+       if test -e "${CP}"; then
+               CP=`readlink -f "${CP}"`
+       fi
+
        test "${CP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CP'@!${CP}!g;"
 
        test "${CP}"
@@ -4484,6 +4506,10 @@ Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'.
                fi
        fi
 
+       if test -e "${DIRNAME}"; then
+               DIRNAME=`readlink -f "${DIRNAME}"`
+       fi
+
        test "${DIRNAME}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'DIRNAME'@!${DIRNAME}!g;"
 
        test "${DIRNAME}"
@@ -4565,11 +4591,13 @@ Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'.
                fi
        fi
 
+       if test -e "${EGREP}"; then
+               EGREP=`readlink -f "${EGREP}"`
+       fi
+
        test "${EGREP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'EGREP'@!${EGREP}!g;"
 
        test "${EGREP}"
-       env_old_searchpath="${ensc_searchpath}"
-       ensc_searchpath="/bin:${ensc_searchpath:-$PATH}"
 
 
 
@@ -4648,10 +4676,13 @@ Can not find the 'env' tool within '${ensc_searchpath:-$PATH}'.
                fi
        fi
 
+       if test -e "${ENV}"; then
+               ENV=`readlink -f "${ENV}"`
+       fi
+
        test "${ENV}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'ENV'@!${ENV}!g;"
 
        test "${ENV}"
-       ensc_searchpath="${env_old_searchpath}"
 
 
 
@@ -4730,6 +4761,10 @@ Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'.
                fi
        fi
 
+       if test -e "${GREP}"; then
+               GREP=`readlink -f "${GREP}"`
+       fi
+
        test "${GREP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'GREP'@!${GREP}!g;"
 
        test "${GREP}"
@@ -4811,6 +4846,10 @@ Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'.
                fi
        fi
 
+       if test -e "${LN}"; then
+               LN=`readlink -f "${LN}"`
+       fi
+
        test "${LN}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'LN'@!${LN}!g;"
 
        test "${LN}"
@@ -4892,6 +4931,10 @@ Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'.
                fi
        fi
 
+       if test -e "${MKDIR}"; then
+               MKDIR=`readlink -f "${MKDIR}"`
+       fi
+
        test "${MKDIR}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MKDIR'@!${MKDIR}!g;"
 
        test "${MKDIR}"
@@ -4973,6 +5016,10 @@ Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'.
                fi
        fi
 
+       if test -e "${MKFIFO}"; then
+               MKFIFO=`readlink -f "${MKFIFO}"`
+       fi
+
        test "${MKFIFO}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MKFIFO'@!${MKFIFO}!g;"
 
        test "${MKFIFO}"
@@ -5054,6 +5101,10 @@ Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'.
                fi
        fi
 
+       if test -e "${MKTEMP}"; then
+               MKTEMP=`readlink -f "${MKTEMP}"`
+       fi
+
        test "${MKTEMP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MKTEMP'@!${MKTEMP}!g;"
 
        test "${MKTEMP}"
@@ -5135,6 +5186,10 @@ Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'.
                fi
        fi
 
+       if test -e "${MOUNT}"; then
+               MOUNT=`readlink -f "${MOUNT}"`
+       fi
+
        test "${MOUNT}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MOUNT'@!${MOUNT}!g;"
 
        test "${MOUNT}"
@@ -5216,6 +5271,10 @@ Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'.
                fi
        fi
 
+       if test -e "${MV}"; then
+               MV=`readlink -f "${MV}"`
+       fi
+
        test "${MV}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MV'@!${MV}!g;"
 
        test "${MV}"
@@ -5297,6 +5356,10 @@ Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'.
                fi
        fi
 
+       if test -e "${NICE}"; then
+               NICE=`readlink -f "${NICE}"`
+       fi
+
        test "${NICE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'NICE'@!${NICE}!g;"
 
        test "${NICE}"
@@ -5378,6 +5441,10 @@ Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'.
                fi
        fi
 
+       if test -e "${PS}"; then
+               PS=`readlink -f "${PS}"`
+       fi
+
        test "${PS}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'PS'@!${PS}!g;"
 
        test "${PS}"
@@ -5459,6 +5526,10 @@ Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'.
                fi
        fi
 
+       if test -e "${RM}"; then
+               RM=`readlink -f "${RM}"`
+       fi
+
        test "${RM}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RM'@!${RM}!g;"
 
        test "${RM}"
@@ -5540,6 +5611,10 @@ Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'.
                fi
        fi
 
+       if test -e "${RMDIR}"; then
+               RMDIR=`readlink -f "${RMDIR}"`
+       fi
+
        test "${RMDIR}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RMDIR'@!${RMDIR}!g;"
 
        test "${RMDIR}"
@@ -5621,6 +5696,10 @@ Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'.
                fi
        fi
 
+       if test -e "${SED}"; then
+               SED=`readlink -f "${SED}"`
+       fi
+
        test "${SED}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'SED'@!${SED}!g;"
 
        test "${SED}"
@@ -5702,6 +5781,10 @@ Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'.
                fi
        fi
 
+       if test -e "${SH}"; then
+               SH=`readlink -f "${SH}"`
+       fi
+
        test "${SH}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'SH'@!${SH}!g;"
 
        test "${SH}"
@@ -5783,6 +5866,10 @@ Can not find the 'tac' tool within '${ensc_searchpath:-$PATH}'.
                fi
        fi
 
+       if test -e "${TAC}"; then
+               TAC=`readlink -f "${TAC}"`
+       fi
+
        test "${TAC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TAC'@!${TAC}!g;"
 
        test "${TAC}"
@@ -5864,6 +5951,10 @@ Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'.
                fi
        fi
 
+       if test -e "${TAR}"; then
+               TAR=`readlink -f "${TAR}"`
+       fi
+
        test "${TAR}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TAR'@!${TAR}!g;"
 
        test "${TAR}"
@@ -5945,6 +6036,10 @@ Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'.
                fi
        fi
 
+       if test -e "${TOUCH}"; then
+               TOUCH=`readlink -f "${TOUCH}"`
+       fi
+
        test "${TOUCH}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TOUCH'@!${TOUCH}!g;"
 
        test "${TOUCH}"
@@ -6026,6 +6121,10 @@ Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'.
                fi
        fi
 
+       if test -e "${TTY}"; then
+               TTY=`readlink -f "${TTY}"`
+       fi
+
        test "${TTY}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TTY'@!${TTY}!g;"
 
        test "${TTY}"
@@ -6107,6 +6206,10 @@ Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'.
                fi
        fi
 
+       if test -e "${UMOUNT}"; then
+               UMOUNT=`readlink -f "${UMOUNT}"`
+       fi
+
        test "${UMOUNT}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'UMOUNT'@!${UMOUNT}!g;"
 
        test "${UMOUNT}"
@@ -6188,6 +6291,10 @@ Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'.
                fi
        fi
 
+       if test -e "${WC}"; then
+               WC=`readlink -f "${WC}"`
+       fi
+
        test "${WC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'WC'@!${WC}!g;"
 
        test "${WC}"
@@ -6271,6 +6378,10 @@ Usually, this tool is shipped in the 'iproute' or 'iproute2' package of your dis
                fi
        fi
 
+       if test -e "${IP}"; then
+               IP=`readlink -f "${IP}"`
+       fi
+
        test "${IP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'IP'@!${IP}!g;"
 
        test "${IP}"
@@ -6352,6 +6463,10 @@ Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'.
                fi
        fi
 
+       if test -e "${IPTABLES}"; then
+               IPTABLES=`readlink -f "${IPTABLES}"`
+       fi
+
        test "${IPTABLES}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'IPTABLES'@!${IPTABLES}!g;"
 
        test "${IPTABLES}"
@@ -6433,6 +6548,10 @@ Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'.
                fi
        fi
 
+       if test -e "${MODPROBE}"; then
+               MODPROBE=`readlink -f "${MODPROBE}"`
+       fi
+
        test "${MODPROBE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MODPROBE'@!${MODPROBE}!g;"
 
        test "${MODPROBE}"
@@ -6514,6 +6633,10 @@ Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'.
                fi
        fi
 
+       if test -e "${NAMEIF}"; then
+               NAMEIF=`readlink -f "${NAMEIF}"`
+       fi
+
        test "${NAMEIF}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'NAMEIF'@!${NAMEIF}!g;"
 
        test "${NAMEIF}"
@@ -6595,6 +6718,10 @@ Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'.
                fi
        fi
 
+       if test -e "${NOHUP}"; then
+               NOHUP=`readlink -f "${NOHUP}"`
+       fi
+
        test "${NOHUP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'NOHUP'@!${NOHUP}!g;"
 
        test "${NOHUP}"
@@ -6676,6 +6803,10 @@ Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'.
                fi
        fi
 
+       if test -e "${RMMOD}"; then
+               RMMOD=`readlink -f "${RMMOD}"`
+       fi
+
        test "${RMMOD}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RMMOD'@!${RMMOD}!g;"
 
        test "${RMMOD}"
@@ -6757,6 +6888,10 @@ See http://www.candelatech.com/~greear/vlan.html; usually this tool is shipped i
                fi
        fi
 
+       if test -e "${VCONFIG}"; then
+               VCONFIG=`readlink -f "${VCONFIG}"`
+       fi
+
        test "${VCONFIG}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'VCONFIG'@!${VCONFIG}!g;"
 
        test "${VCONFIG}"
@@ -6838,6 +6973,10 @@ Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'.
                fi
        fi
 
+       if test -e "${WGET}"; then
+               WGET=`readlink -f "${WGET}"`
+       fi
+
        test "${WGET}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'WGET'@!${WGET}!g;"
 
        test "${WGET}"
@@ -6919,6 +7058,10 @@ Can not find the 'file' tool within '${ensc_searchpath:-$PATH}'.
                fi
        fi
 
+       if test -e "${FILE}"; then
+               FILE=`readlink -f "${FILE}"`
+       fi
+
        test "${FILE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'FILE'@!${FILE}!g;"
 
        test "${FILE}"
@@ -7000,6 +7143,10 @@ Can not find the 'gzip' tool within '${ensc_searchpath:-$PATH}'.
                fi
        fi
 
+       if test -e "${GZIP}"; then
+               GZIP=`readlink -f "${GZIP}"`
+       fi
+
        test "${GZIP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'GZIP'@!${GZIP}!g;"
 
        test "${GZIP}"
@@ -7081,6 +7228,10 @@ Can not find the 'bzip2' tool within '${ensc_searchpath:-$PATH}'.
                fi
        fi
 
+       if test -e "${BZIP2}"; then
+               BZIP2=`readlink -f "${BZIP2}"`
+       fi
+
        test "${BZIP2}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'BZIP2'@!${BZIP2}!g;"
 
        test "${BZIP2}"
@@ -7162,6 +7313,10 @@ Can not find the 'cpio' tool within '${ensc_searchpath:-$PATH}'.
                fi
        fi
 
+       if test -e "${CPIO}"; then
+               CPIO=`readlink -f "${CPIO}"`
+       fi
+
        test "${CPIO}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CPIO'@!${CPIO}!g;"
 
        test "${CPIO}"
@@ -7243,6 +7398,10 @@ Can not find the 'restore' tool within '${ensc_searchpath:-$PATH}'.
                fi
        fi
 
+       if test -e "${RESTORE}"; then
+               RESTORE=`readlink -f "${RESTORE}"`
+       fi
+
        test "${RESTORE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RESTORE'@!${RESTORE}!g;"
 
        test "${RESTORE}"
@@ -7324,6 +7483,10 @@ Can not find the 'rsync' tool within '${ensc_searchpath:-$PATH}'.
                fi
        fi
 
+       if test -e "${RSYNC}"; then
+               RSYNC=`readlink -f "${RSYNC}"`
+       fi
+
        test "${RSYNC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RSYNC'@!${RSYNC}!g;"
 
        test "${RSYNC}"
@@ -7406,6 +7569,10 @@ Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'.
                fi
        fi
 
+       if test -e "${DOXYGEN}"; then
+               DOXYGEN=`readlink -f "${DOXYGEN}"`
+       fi
+
        test "${DOXYGEN}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'DOXYGEN'@!${DOXYGEN}!g;"
 
        test "${DOXYGEN}"
@@ -7487,6 +7654,10 @@ Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'.
                fi
        fi
 
+       if test -e "${XSLTP}"; then
+               XSLTP=`readlink -f "${XSLTP}"`
+       fi
+
        test "${XSLTP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'XSLTP'@!${XSLTP}!g;"
 
        test "${XSLTP}"
@@ -7568,6 +7739,10 @@ Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'.
                fi
        fi
 
+       if test -e "${XSLTPROC}"; then
+               XSLTPROC=`readlink -f "${XSLTPROC}"`
+       fi
+
        test "${XSLTPROC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'XSLTPROC'@!${XSLTPROC}!g;"
 
        test "${XSLTPROC}"
@@ -9952,47 +10127,526 @@ fi;
 echo "${ECHO_T}$ensc_release_mode" >&6
 
 
+# HACK: This needs to be before ENSC_DIETLIBC_NEED_COMPAT, or the alternative
+# syscalls will never be enabled for glibc.
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
+echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
+# On Suns, sometimes $CPP names a directory.
+if test -n "$CPP" && test -d "$CPP"; then
+  CPP=
+fi
+if test -z "$CPP"; then
+  if test "${ac_cv_prog_CPP+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+      # Double quotes because CPP needs to be expanded
+    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
+    do
+      ac_preproc_ok=false
+for ac_c_preproc_warn_flag in '' yes
+do
+  # Use a header file that comes with gcc, so configuring glibc
+  # with a fresh cross-compiler works.
+  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+  # <limits.h> exists even on freestanding compilers.
+  # On the NeXT, cc -E runs the code through the compiler's parser,
+  # not just through cpp. "Syntax error" is here to catch this case.
+  cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+                    Syntax error
+_ACEOF
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } >/dev/null; then
+  if test -s conftest.err; then
+    ac_cpp_err=$ac_c_preproc_warn_flag
+    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
+  else
+    ac_cpp_err=
+  fi
+else
+  ac_cpp_err=yes
+fi
+if test -z "$ac_cpp_err"; then
+  :
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
 
-case $host_cpu in
-       (i*86|athlon)   min_diet_ver=0.25;;
-       (ia64|hppa*)    min_diet_ver=0.29;;
-       (sparc*)        min_diet_ver=0.30;;
-       (*)             min_diet_ver=0.28;;
-esac
-
-
-       echo "$as_me:$LINENO: checking whether to enable dietlibc" >&5
-echo $ECHO_N "checking whether to enable dietlibc... $ECHO_C" >&6
+  # Broken: fails on valid input.
+continue
+fi
+rm -f conftest.err conftest.$ac_ext
 
+  # OK, works on sane cases.  Now check whether non-existent headers
+  # can be detected and how.
+  cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+#include <ac_nonexistent.h>
+_ACEOF
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } >/dev/null; then
+  if test -s conftest.err; then
+    ac_cpp_err=$ac_c_preproc_warn_flag
+    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
+  else
+    ac_cpp_err=
+  fi
+else
+  ac_cpp_err=yes
+fi
+if test -z "$ac_cpp_err"; then
+  # Broken: success on invalid input.
+continue
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
 
+  # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+rm -f conftest.err conftest.$ac_ext
 
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then
+  break
+fi
 
-       : ${DIET:=diet}
-       : ${DIETFLAGS=-Os}
+    done
+    ac_cv_prog_CPP=$CPP
 
-       # Check whether --enable-dietlibc or --disable-dietlibc was given.
-if test "${enable_dietlibc+set}" = set; then
-  enableval="$enable_dietlibc"
-  case "$enableval" in
-                         (yes) use_dietlibc=forced;;
-                         (no)  use_dietlibc=forced_no;;
-                         (*)   { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for --enable-dietlibc" >&5
-echo "$as_me: error: '$enableval' is not a valid value for --enable-dietlibc" >&2;}
-   { (exit 1); exit 1; }; };;
-                      esac
+fi
+  CPP=$ac_cv_prog_CPP
 else
-  which "$DIET" >/dev/null 2>/dev/null && use_dietlibc=detected || use_dietlibc=detected_no
-fi;
-
-       if test "$use_dietlibc" = detected -a "$min_diet_ver"; then
-           _dietlibc_ver=$($DIET -v 2>&1 | sed '1p;d')
-           _dietlibc_ver=${_dietlibc_ver##*diet version }
-           _dietlibc_ver=${_dietlibc_ver##*dietlibc-}
-           _dietlibc_ver_maj=${_dietlibc_ver%%.*}
-           _dietlibc_ver_min=${_dietlibc_ver##*.}
-           _dietlibc_ver_min=${_dietlibc_ver_min%%[!0-9]*}
-           _dietlibc_cmp="$min_diet_ver"
-           _dietlibc_cmp_maj=${_dietlibc_cmp%%.*}
+  ac_cv_prog_CPP=$CPP
+fi
+echo "$as_me:$LINENO: result: $CPP" >&5
+echo "${ECHO_T}$CPP" >&6
+ac_preproc_ok=false
+for ac_c_preproc_warn_flag in '' yes
+do
+  # Use a header file that comes with gcc, so configuring glibc
+  # with a fresh cross-compiler works.
+  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+  # <limits.h> exists even on freestanding compilers.
+  # On the NeXT, cc -E runs the code through the compiler's parser,
+  # not just through cpp. "Syntax error" is here to catch this case.
+  cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+                    Syntax error
+_ACEOF
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } >/dev/null; then
+  if test -s conftest.err; then
+    ac_cpp_err=$ac_c_preproc_warn_flag
+    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
+  else
+    ac_cpp_err=
+  fi
+else
+  ac_cpp_err=yes
+fi
+if test -z "$ac_cpp_err"; then
+  :
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+  # Broken: fails on valid input.
+continue
+fi
+rm -f conftest.err conftest.$ac_ext
+
+  # OK, works on sane cases.  Now check whether non-existent headers
+  # can be detected and how.
+  cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+#include <ac_nonexistent.h>
+_ACEOF
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } >/dev/null; then
+  if test -s conftest.err; then
+    ac_cpp_err=$ac_c_preproc_warn_flag
+    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
+  else
+    ac_cpp_err=
+  fi
+else
+  ac_cpp_err=yes
+fi
+if test -z "$ac_cpp_err"; then
+  # Broken: success on invalid input.
+continue
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+  # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+rm -f conftest.err conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then
+  :
+else
+  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
+See \`config.log' for more details." >&5
+echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
+See \`config.log' for more details." >&2;}
+   { (exit 1); exit 1; }; }
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+echo "$as_me:$LINENO: checking for egrep" >&5
+echo $ECHO_N "checking for egrep... $ECHO_C" >&6
+if test "${ac_cv_prog_egrep+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
+    then ac_cv_prog_egrep='grep -E'
+    else ac_cv_prog_egrep='egrep'
+    fi
+fi
+echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
+echo "${ECHO_T}$ac_cv_prog_egrep" >&6
+ EGREP=$ac_cv_prog_egrep
+
+
+
+
+
+
+       echo "$as_me:$LINENO: checking for number of syscall 'vserver'" >&5
+echo $ECHO_N "checking for number of syscall 'vserver'... $ECHO_C" >&6
+if test "${ensc_cv_value_syscall_vserver+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+               ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+               cat >conftest.$ac_ext <<_ACEOF
+
+#ifdef ENSC_SYSCALL_FALLBACK
+#  include ENSC_SYSCALL_FALLBACK
+#else
+#  include <asm/unistd.h>
+#endif
+#ifdef __NR_vserver
+ensc_syscall_tmp_nr=__NR_vserver;
+ensc_syscall_tmp_src=ENSC_MARK
+#endif
+
+_ACEOF
+               ensc_syscall_tmp_nr=
+               ensc_syscall_tmp_src=
+               test x"$ensc_syscall_tmp_nr" != x || \
+                       eval $($CPP $CPPFLAGS -D ENSC_MARK='glibc'                                    conftest.c | $EGREP '^ensc_syscall_tmp_(nr=[1-9][0-9]*;|src=.*)$')
+               test x"$ensc_syscall_tmp_nr" != x -o x'lib/syscall-fallback.h' = x || \
+                       eval $($CPP $CPPFLAGS -D ENSC_MARK='fallback' -D ENSC_SYSCALL_FALLBACK='"lib/syscall-fallback.h"' conftest.c | $EGREP '^ensc_syscall_tmp_(nr=[1-9][0-9]*;|src=.*)$')
+               test "$ensc_syscall_tmp_nr" || {
+                       ensc_syscall_tmp_nr=273
+                       ensc_syscall_tmp_src=default
+               }
+
+               if test x"$ensc_syscall_tmp_nr" = x; then
+                       { { echo "$as_me:$LINENO: error: Can not determine value of __NR_vserver; please verify your glibc/kernelheaders, and/or set CPPFLAGS='-D__NR_vserver=<value>' environment when calling configure." >&5
+echo "$as_me: error: Can not determine value of __NR_vserver; please verify your glibc/kernelheaders, and/or set CPPFLAGS='-D__NR_vserver=<value>' environment when calling configure." >&2;}
+   { (exit 1); exit 1; }; }
+               fi
+               ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+               ensc_cv_value_syscall_vserver="$ensc_syscall_tmp_nr/$ensc_syscall_tmp_src"
+
+fi
+echo "$as_me:$LINENO: result: $ensc_cv_value_syscall_vserver" >&5
+echo "${ECHO_T}$ensc_cv_value_syscall_vserver" >&6
+
+       ensc_syscall_tmp_nr=${ensc_cv_value_syscall_vserver%/*}
+       ensc_syscall_tmp_src=${ensc_cv_value_syscall_vserver#*/}
+
+       if test x"$ensc_syscall_tmp_src" != x'glibc'; then
+
+cat >>confdefs.h <<_ACEOF
+#define ENSC_SYSCALL__NR_vserver $ensc_syscall_tmp_nr
+_ACEOF
+
+       fi
+
+
+       echo "$as_me:$LINENO: checking whether to use alternative _syscallX macros" >&5
+echo $ECHO_N "checking whether to use alternative _syscallX macros... $ECHO_C" >&6
+       # Check whether --enable-alternative-syscalls or --disable-alternative-syscalls was given.
+if test "${enable_alternative_syscalls+set}" = set; then
+  enableval="$enable_alternative_syscalls"
+  case $enableval in
+                          (yes|no)   ensc_use_alternative_syscall_macros=$enableval;;
+                          (*)        { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--disable-alternative-syscalls'" >&5
+echo "$as_me: error: '$enableval' is not a valid value for '--disable-alternative-syscalls'" >&2;}
+   { (exit 1); exit 1; }; };;
+                      esac
+else
+  ensc_use_alternative_syscall_macros=yes
+fi;
+
+       case $ensc_use_alternative_syscall_macros in
+               (yes)
+cat >>confdefs.h <<\_ACEOF
+#define ENSC_USE_ALTERNATIVE_SYSCALL_MACROS 1
+_ACEOF
+;;
+       esac
+
+       echo "$as_me:$LINENO: result: $ensc_use_alternative_syscall_macros" >&5
+echo "${ECHO_T}$ensc_use_alternative_syscall_macros" >&6
+
+
+
+
+        echo "$as_me:$LINENO: checking for syscall(2) invocation method" >&5
+echo $ECHO_N "checking for syscall(2) invocation method... $ECHO_C" >&6
+
+# Check whether --with-syscall or --without-syscall was given.
+if test "${with_syscall+set}" = set; then
+  withval="$with_syscall"
+
+else
+  with_syscall=auto
+fi;
+        echo "$as_me:$LINENO: result: $with_syscall" >&5
+echo "${ECHO_T}$with_syscall" >&6
+
+        case x"$with_syscall" in
+            (xauto)
+               echo "$as_me:$LINENO: checking which syscall(2) invocation works" >&5
+echo $ECHO_N "checking which syscall(2) invocation works... $ECHO_C" >&6
+if test "${ensc_cv_test_syscall+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+                               ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+                               cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+
+#include "$srcdir/lib/syscall-wrap.h"
+#include <errno.h>
+
+#define __NR_foo0      300
+#define __NR_foo1      301
+#define __NR_foo2      302
+#define __NR_foo3      303
+#define __NR_foo4      304
+#define __NR_foo5      305
+inline static _syscall0(int, foo0)
+inline static _syscall1(int, foo1, int, a)
+inline static _syscall2(int, foo2, int, a, int, b)
+inline static _syscall3(int, foo3, int, a, int, b, int, c)
+inline static _syscall4(int, foo4, int, a, int, b, int, c, int, d)
+inline static _syscall5(int, foo5, int, a, int, b, int, c, int, d, int, e)
+
+int main() {
+  return foo0() || \
+        foo1(1) || \
+        foo2(1,2) || \
+         foo3(1,2,3) || \
+         foo4(1,2,3,4) || \
+        foo5(1,2,3,4,5);
+}
+
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+  (eval $ac_compile) 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+        { ac_try='test -z "$ac_c_werror_flag"
+                        || test ! -s conftest.err'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; } &&
+        { ac_try='test -s conftest.$ac_objext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  ensc_cv_test_syscall=fast
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ensc_cv_test_syscall=traditional
+fi
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+
+                               ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+echo "$as_me:$LINENO: result: $ensc_cv_test_syscall" >&5
+echo "${ECHO_T}$ensc_cv_test_syscall" >&6
+               with_syscall=$ensc_cv_test_syscall
+               ;;
+            (xfast|xtraditional)
+               ;;
+            *)
+               { { echo "$as_me:$LINENO: error: '$with_syscall' is not a valid value for '--with-syscall'" >&5
+echo "$as_me: error: '$with_syscall' is not a valid value for '--with-syscall'" >&2;}
+   { (exit 1); exit 1; }; }
+               ;;
+        esac
+
+       if test x"$with_syscall $ensc_use_alternative_syscall_macros" = 'xfast yes'; then
+           with_syscall='alternative'
+        fi
+
+        if test x"$with_syscall" = xtraditional; then
+
+cat >>confdefs.h <<\_ACEOF
+#define ENSC_SYSCALL_TRADITIONAL 1
+_ACEOF
+
+        fi
+
+
+
+
+
+
+case $host_cpu in
+       (i*86|athlon)   min_diet_ver=0.25;;
+       (ia64|hppa*)    min_diet_ver=0.29;;
+       (sparc*)        min_diet_ver=0.30;;
+       (x86_64)        min_diet_ver=0.27;;
+       (*)             min_diet_ver=0.28;;
+esac
+
+
+       echo "$as_me:$LINENO: checking whether to enable dietlibc" >&5
+echo $ECHO_N "checking whether to enable dietlibc... $ECHO_C" >&6
+
+
+
+
+       : ${DIET:=diet}
+       : ${DIETFLAGS=-Os}
+
+       # Check whether --enable-dietlibc or --disable-dietlibc was given.
+if test "${enable_dietlibc+set}" = set; then
+  enableval="$enable_dietlibc"
+  case "$enableval" in
+                         (yes) use_dietlibc=forced;;
+                         (no)  use_dietlibc=forced_no;;
+                         (*)   { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for --enable-dietlibc" >&5
+echo "$as_me: error: '$enableval' is not a valid value for --enable-dietlibc" >&2;}
+   { (exit 1); exit 1; }; };;
+                      esac
+else
+  which "$DIET" >/dev/null 2>/dev/null && use_dietlibc=detected || use_dietlibc=detected_no
+fi;
+
+       if test "$use_dietlibc" = detected -a "$min_diet_ver"; then
+           _dietlibc_ver=$($DIET -v 2>&1 | sed '1p;d')
+           _dietlibc_ver=${_dietlibc_ver##*diet version }
+           _dietlibc_ver=${_dietlibc_ver##*dietlibc-}
+           _dietlibc_ver_maj=${_dietlibc_ver%%.*}
+           _dietlibc_ver_min=${_dietlibc_ver##*.}
+           _dietlibc_ver_min=${_dietlibc_ver_min%%[!0-9]*}
+           _dietlibc_cmp="$min_diet_ver"
+           _dietlibc_cmp_maj=${_dietlibc_cmp%%.*}
            _dietlibc_cmp_min=${_dietlibc_cmp##*.}
 
            ENSC_VERSION_DIETLIBC=$_dietlibc_ver_maj.$_dietlibc_ver_min
@@ -10206,84 +10860,115 @@ _ACEOF
 
        fi
 
-       fi
 
 
-if test x"$ensc_have_dietlibc" = xno; then
-       { echo "$as_me:$LINENO: WARNING: ***                                                         ***" >&5
-echo "$as_me: WARNING: ***                                                         ***" >&2;}
-       { echo "$as_me:$LINENO: WARNING: *** it is strongly recommended to link util-vserver against ***" >&5
-echo "$as_me: WARNING: *** it is strongly recommended to link util-vserver against ***" >&2;}
-       { echo "$as_me:$LINENO: WARNING: *** dietlibc;  glibc's NSS functions are very unreliable in ***" >&5
-echo "$as_me: WARNING: *** dietlibc;  glibc's NSS functions are very unreliable in ***" >&2;}
-       { echo "$as_me:$LINENO: WARNING: *** chroot() environments,  so you have to  expect problems ***" >&5
-echo "$as_me: WARNING: *** chroot() environments,  so you have to  expect problems ***" >&2;}
-       { echo "$as_me:$LINENO: WARNING: *** there.                                                  ***" >&5
-echo "$as_me: WARNING: *** there.                                                  ***" >&2;}
-       { echo "$as_me:$LINENO: WARNING: ***                                                         ***" >&5
-echo "$as_me: WARNING: ***                                                         ***" >&2;}
 
 
-if false; then
-  USE_DIETLIBC_COMPAT_TRUE=
-  USE_DIETLIBC_COMPAT_FALSE='#'
+       echo "$as_me:$LINENO: checking whether dietlibc declares syscall" >&5
+echo $ECHO_N "checking whether dietlibc declares syscall... $ECHO_C" >&6
+if test "${ensc_cv_c_dietlibc_syscall+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  USE_DIETLIBC_COMPAT_TRUE='#'
-  USE_DIETLIBC_COMPAT_FALSE=
-fi
 
+               _ensc_dietlibc_syscall_old_CC="$CC"
+               CC="${DIET:-diet} $CC"
+
+               ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+               cat >conftest.$ac_ext <<_ACEOF
+
+                       #include <sys/syscall.h>
+                       long int syscall(long int __sysno, ...);
+
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+  (eval $ac_compile) 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+        { ac_try='test -z "$ac_c_werror_flag"
+                        || test ! -s conftest.err'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; } &&
+        { ac_try='test -s conftest.$ac_objext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  ensc_cv_c_dietlibc_syscall=no
 else
-       # HACK: libtool does not have cmdline options to build only
-       # dynamic libraries; this can be done with the
-       # '--disable-static' ./configure option only.  As our static
-       # libraries will be build with dietlibc, we have to do set
-       # this option which is evaluated by 'AC_PROG_LIBTOOL'
-       # below.  Therefore, this macro must not be called earlier.
-       enable_static=no
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ensc_cv_c_dietlibc_syscall=yes
+fi
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+               ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
+               CC="$_ensc_dietlibc_syscall_old_CC"
 
+fi
+echo "$as_me:$LINENO: result: $ensc_cv_c_dietlibc_syscall" >&5
+echo "${ECHO_T}$ensc_cv_c_dietlibc_syscall" >&6
 
+       if test x"$ensc_cv_c_dietlibc_syscall" = xyes; then
+               cat >>confdefs.h <<\_ACEOF
+#define ENSC_DIETLIBC_HAS_SYSCALL 1
+_ACEOF
 
-       if test "$host_cpu" = x86_64 -a $ENSC_VERSION_DIETLIBC_NUM -le 0027; then
-               { echo "$as_me:$LINENO: WARNING: ***                                                             ***" >&5
-echo "$as_me: WARNING: ***                                                             ***" >&2;}
-               { echo "$as_me:$LINENO: WARNING: *** dietlibc<=0.27 is known to be broken for x86_64 systems     ***" >&5
-echo "$as_me: WARNING: *** dietlibc<=0.27 is known to be broken for x86_64 systems     ***" >&2;}
-               { echo "$as_me:$LINENO: WARNING: *** please make sure that at least the environ.S fix is applied ***" >&5
-echo "$as_me: WARNING: *** please make sure that at least the environ.S fix is applied ***" >&2;}
-               { echo "$as_me:$LINENO: WARNING: *** and lib/__nice.c added                                      ***" >&5
-echo "$as_me: WARNING: *** and lib/__nice.c added                                      ***" >&2;}
-               { echo "$as_me:$LINENO: WARNING: ***                                                             ***" >&5
-echo "$as_me: WARNING: ***                                                             ***" >&2;}
        fi
 
+       fi
 
-       echo "$as_me:$LINENO: checking whether to use alternative _syscallX macros" >&5
-echo $ECHO_N "checking whether to use alternative _syscallX macros... $ECHO_C" >&6
-       # Check whether --enable-alternative-syscalls or --disable-alternative-syscalls was given.
-if test "${enable_alternative_syscalls+set}" = set; then
-  enableval="$enable_alternative_syscalls"
-  case $enableval in
-                          (yes|no)   ensc_use_alternative_syscall_macros=$enableval;;
-                          (*)        { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--disable-alternative-syscalls'" >&5
-echo "$as_me: error: '$enableval' is not a valid value for '--disable-alternative-syscalls'" >&2;}
-   { (exit 1); exit 1; }; };;
-                      esac
-else
-  ensc_use_alternative_syscall_macros=yes
-fi;
 
-       case $ensc_use_alternative_syscall_macros in
-               (yes)
-cat >>confdefs.h <<\_ACEOF
-#define ENSC_USE_ALTERNATIVE_SYSCALL_MACROS 1
-_ACEOF
-;;
-       esac
+if test x"$ensc_have_dietlibc" = xno; then
+       { echo "$as_me:$LINENO: WARNING: ***                                                         ***" >&5
+echo "$as_me: WARNING: ***                                                         ***" >&2;}
+       { echo "$as_me:$LINENO: WARNING: *** it is strongly recommended to link util-vserver against ***" >&5
+echo "$as_me: WARNING: *** it is strongly recommended to link util-vserver against ***" >&2;}
+       { echo "$as_me:$LINENO: WARNING: *** dietlibc;  glibc's NSS functions are very unreliable in ***" >&5
+echo "$as_me: WARNING: *** dietlibc;  glibc's NSS functions are very unreliable in ***" >&2;}
+       { echo "$as_me:$LINENO: WARNING: *** chroot() environments,  so you have to  expect problems ***" >&5
+echo "$as_me: WARNING: *** chroot() environments,  so you have to  expect problems ***" >&2;}
+       { echo "$as_me:$LINENO: WARNING: *** there.                                                  ***" >&5
+echo "$as_me: WARNING: *** there.                                                  ***" >&2;}
+       { echo "$as_me:$LINENO: WARNING: ***                                                         ***" >&5
+echo "$as_me: WARNING: ***                                                         ***" >&2;}
+
 
-       echo "$as_me:$LINENO: result: $ensc_use_alternative_syscall_macros" >&5
-echo "${ECHO_T}$ensc_use_alternative_syscall_macros" >&6
+if false; then
+  USE_DIETLIBC_COMPAT_TRUE=
+  USE_DIETLIBC_COMPAT_FALSE='#'
+else
+  USE_DIETLIBC_COMPAT_TRUE='#'
+  USE_DIETLIBC_COMPAT_FALSE=
+fi
+
+else
+       # HACK: libtool does not have cmdline options to build only
+       # dynamic libraries; this can be done with the
+       # '--disable-static' ./configure option only.  As our static
+       # libraries will be build with dietlibc, we have to do set
+       # this option which is evaluated by 'AC_PROG_LIBTOOL'
+       # below.  Therefore, this macro must not be called earlier.
+       enable_static=no
 
 
 
@@ -10543,21 +11228,6 @@ SED=$lt_cv_path_SED
 echo "$as_me:$LINENO: result: $SED" >&5
 echo "${ECHO_T}$SED" >&6
 
-echo "$as_me:$LINENO: checking for egrep" >&5
-echo $ECHO_N "checking for egrep... $ECHO_C" >&6
-if test "${ac_cv_prog_egrep+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
-    then ac_cv_prog_egrep='grep -E'
-    else ac_cv_prog_egrep='egrep'
-    fi
-fi
-echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
-echo "${ECHO_T}$ac_cv_prog_egrep" >&6
- EGREP=$ac_cv_prog_egrep
-
-
 
 # Check whether --with-gnu-ld or --without-gnu-ld was given.
 if test "${with_gnu_ld+set}" = set; then
@@ -10968,7 +11638,7 @@ ia64-*-hpux*)
   ;;
 *-*-irix6*)
   # Find out which ABI we are using.
-  echo '#line 10971 "configure"' > conftest.$ac_ext
+  echo '#line 11641 "configure"' > conftest.$ac_ext
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
@@ -11145,244 +11815,10 @@ sparc*-*solaris*)
   ;;
 
 
-esac
-
-need_locks="$enable_libtool_lock"
-
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
-echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
-# On Suns, sometimes $CPP names a directory.
-if test -n "$CPP" && test -d "$CPP"; then
-  CPP=
-fi
-if test -z "$CPP"; then
-  if test "${ac_cv_prog_CPP+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-      # Double quotes because CPP needs to be expanded
-    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
-    do
-      ac_preproc_ok=false
-for ac_c_preproc_warn_flag in '' yes
-do
-  # Use a header file that comes with gcc, so configuring glibc
-  # with a fresh cross-compiler works.
-  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
-  # <limits.h> exists even on freestanding compilers.
-  # On the NeXT, cc -E runs the code through the compiler's parser,
-  # not just through cpp. "Syntax error" is here to catch this case.
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-#ifdef __STDC__
-# include <limits.h>
-#else
-# include <assert.h>
-#endif
-                    Syntax error
-_ACEOF
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null; then
-  if test -s conftest.err; then
-    ac_cpp_err=$ac_c_preproc_warn_flag
-    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
-  else
-    ac_cpp_err=
-  fi
-else
-  ac_cpp_err=yes
-fi
-if test -z "$ac_cpp_err"; then
-  :
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-  # Broken: fails on valid input.
-continue
-fi
-rm -f conftest.err conftest.$ac_ext
-
-  # OK, works on sane cases.  Now check whether non-existent headers
-  # can be detected and how.
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-#include <ac_nonexistent.h>
-_ACEOF
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null; then
-  if test -s conftest.err; then
-    ac_cpp_err=$ac_c_preproc_warn_flag
-    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
-  else
-    ac_cpp_err=
-  fi
-else
-  ac_cpp_err=yes
-fi
-if test -z "$ac_cpp_err"; then
-  # Broken: success on invalid input.
-continue
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-  # Passes both tests.
-ac_preproc_ok=:
-break
-fi
-rm -f conftest.err conftest.$ac_ext
-
-done
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
-rm -f conftest.err conftest.$ac_ext
-if $ac_preproc_ok; then
-  break
-fi
-
-    done
-    ac_cv_prog_CPP=$CPP
-
-fi
-  CPP=$ac_cv_prog_CPP
-else
-  ac_cv_prog_CPP=$CPP
-fi
-echo "$as_me:$LINENO: result: $CPP" >&5
-echo "${ECHO_T}$CPP" >&6
-ac_preproc_ok=false
-for ac_c_preproc_warn_flag in '' yes
-do
-  # Use a header file that comes with gcc, so configuring glibc
-  # with a fresh cross-compiler works.
-  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
-  # <limits.h> exists even on freestanding compilers.
-  # On the NeXT, cc -E runs the code through the compiler's parser,
-  # not just through cpp. "Syntax error" is here to catch this case.
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-#ifdef __STDC__
-# include <limits.h>
-#else
-# include <assert.h>
-#endif
-                    Syntax error
-_ACEOF
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null; then
-  if test -s conftest.err; then
-    ac_cpp_err=$ac_c_preproc_warn_flag
-    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
-  else
-    ac_cpp_err=
-  fi
-else
-  ac_cpp_err=yes
-fi
-if test -z "$ac_cpp_err"; then
-  :
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-  # Broken: fails on valid input.
-continue
-fi
-rm -f conftest.err conftest.$ac_ext
-
-  # OK, works on sane cases.  Now check whether non-existent headers
-  # can be detected and how.
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-#include <ac_nonexistent.h>
-_ACEOF
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null; then
-  if test -s conftest.err; then
-    ac_cpp_err=$ac_c_preproc_warn_flag
-    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
-  else
-    ac_cpp_err=
-  fi
-else
-  ac_cpp_err=yes
-fi
-if test -z "$ac_cpp_err"; then
-  # Broken: success on invalid input.
-continue
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-  # Passes both tests.
-ac_preproc_ok=:
-break
-fi
-rm -f conftest.err conftest.$ac_ext
+esac
 
-done
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
-rm -f conftest.err conftest.$ac_ext
-if $ac_preproc_ok; then
-  :
-else
-  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
-See \`config.log' for more details." >&5
-echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
-See \`config.log' for more details." >&2;}
-   { (exit 1); exit 1; }; }
-fi
+need_locks="$enable_libtool_lock"
 
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
@@ -12102,7 +12538,7 @@ fi
 
 
 # Provide some information about the compiler.
-echo "$as_me:12105:" \
+echo "$as_me:12541:" \
      "checking for Fortran 77 compiler version" >&5
 ac_compiler=`set X $ac_compile; echo $2`
 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
@@ -13165,11 +13601,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:13168: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:13604: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:13172: \$? = $ac_status" >&5
+   echo "$as_me:13608: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
@@ -13433,11 +13869,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:13436: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:13872: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:13440: \$? = $ac_status" >&5
+   echo "$as_me:13876: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
@@ -13537,11 +13973,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:13540: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:13976: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?
    cat out/conftest.err >&5
-   echo "$as_me:13544: \$? = $ac_status" >&5
+   echo "$as_me:13980: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then
      # The compiler can only warn and ignore the option if not recognized
@@ -15006,7 +15442,7 @@ linux*)
   libsuff=
   case "$host_cpu" in
   x86_64*|s390x*|powerpc64*)
-    echo '#line 15009 "configure"' > conftest.$ac_ext
+    echo '#line 15445 "configure"' > conftest.$ac_ext
     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
@@ -15903,7 +16339,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<EOF
-#line 15906 "configure"
+#line 16342 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -16003,7 +16439,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<EOF
-#line 16006 "configure"
+#line 16442 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -18343,11 +18779,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:18346: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:18782: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:18350: \$? = $ac_status" >&5
+   echo "$as_me:18786: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
@@ -18447,11 +18883,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:18450: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:18886: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?
    cat out/conftest.err >&5
-   echo "$as_me:18454: \$? = $ac_status" >&5
+   echo "$as_me:18890: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then
      # The compiler can only warn and ignore the option if not recognized
@@ -18983,7 +19419,7 @@ linux*)
   libsuff=
   case "$host_cpu" in
   x86_64*|s390x*|powerpc64*)
-    echo '#line 18986 "configure"' > conftest.$ac_ext
+    echo '#line 19422 "configure"' > conftest.$ac_ext
     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
@@ -20038,11 +20474,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:20041: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:20477: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:20045: \$? = $ac_status" >&5
+   echo "$as_me:20481: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
@@ -20142,11 +20578,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:20145: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:20581: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?
    cat out/conftest.err >&5
-   echo "$as_me:20149: \$? = $ac_status" >&5
+   echo "$as_me:20585: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then
      # The compiler can only warn and ignore the option if not recognized
@@ -21591,7 +22027,7 @@ linux*)
   libsuff=
   case "$host_cpu" in
   x86_64*|s390x*|powerpc64*)
-    echo '#line 21594 "configure"' > conftest.$ac_ext
+    echo '#line 22030 "configure"' > conftest.$ac_ext
     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
@@ -22366,11 +22802,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:22369: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:22805: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:22373: \$? = $ac_status" >&5
+   echo "$as_me:22809: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
@@ -22634,11 +23070,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:22637: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:23073: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:22641: \$? = $ac_status" >&5
+   echo "$as_me:23077: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
@@ -22738,11 +23174,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:22741: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:23177: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?
    cat out/conftest.err >&5
-   echo "$as_me:22745: \$? = $ac_status" >&5
+   echo "$as_me:23181: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then
      # The compiler can only warn and ignore the option if not recognized
@@ -24207,7 +24643,7 @@ linux*)
   libsuff=
   case "$host_cpu" in
   x86_64*|s390x*|powerpc64*)
-    echo '#line 24210 "configure"' > conftest.$ac_ext
+    echo '#line 24646 "configure"' > conftest.$ac_ext
     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
@@ -25647,205 +26083,6 @@ echo "${ECHO_T}$enable_apis" >&6
 
 
 
-
-
-       echo "$as_me:$LINENO: checking for number of syscall 'vserver'" >&5
-echo $ECHO_N "checking for number of syscall 'vserver'... $ECHO_C" >&6
-if test "${ensc_cv_value_syscall_vserver+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-
-               ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-               cat >conftest.$ac_ext <<_ACEOF
-
-#ifdef ENSC_SYSCALL_FALLBACK
-#  include ENSC_SYSCALL_FALLBACK
-#else
-#  include <asm/unistd.h>
-#endif
-#ifdef __NR_vserver
-ensc_syscall_tmp_nr=__NR_vserver;
-ensc_syscall_tmp_src=ENSC_MARK
-#endif
-
-_ACEOF
-               ensc_syscall_tmp_nr=
-               ensc_syscall_tmp_src=
-               test x"$ensc_syscall_tmp_nr" != x || \
-                       eval $($CPP $CPPFLAGS -D ENSC_MARK='glibc'                                    conftest.c | $EGREP '^ensc_syscall_tmp_(nr=[1-9][0-9]*;|src=.*)$')
-               test x"$ensc_syscall_tmp_nr" != x -o x'lib/syscall-fallback.h' = x || \
-                       eval $($CPP $CPPFLAGS -D ENSC_MARK='fallback' -D ENSC_SYSCALL_FALLBACK='"lib/syscall-fallback.h"' conftest.c | $EGREP '^ensc_syscall_tmp_(nr=[1-9][0-9]*;|src=.*)$')
-               test "$ensc_syscall_tmp_nr" || {
-                       ensc_syscall_tmp_nr=273
-                       ensc_syscall_tmp_src=default
-               }
-
-               if test x"$ensc_syscall_tmp_nr" = x; then
-                       { { echo "$as_me:$LINENO: error: Can not determine value of __NR_vserver; please verify your glibc/kernelheaders, and/or set CPPFLAGS='-D__NR_vserver=<value>' environment when calling configure." >&5
-echo "$as_me: error: Can not determine value of __NR_vserver; please verify your glibc/kernelheaders, and/or set CPPFLAGS='-D__NR_vserver=<value>' environment when calling configure." >&2;}
-   { (exit 1); exit 1; }; }
-               fi
-               ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-               ensc_cv_value_syscall_vserver="$ensc_syscall_tmp_nr/$ensc_syscall_tmp_src"
-
-fi
-echo "$as_me:$LINENO: result: $ensc_cv_value_syscall_vserver" >&5
-echo "${ECHO_T}$ensc_cv_value_syscall_vserver" >&6
-
-       ensc_syscall_tmp_nr=${ensc_cv_value_syscall_vserver%/*}
-       ensc_syscall_tmp_src=${ensc_cv_value_syscall_vserver#*/}
-
-       if test x"$ensc_syscall_tmp_src" != x'glibc'; then
-
-cat >>confdefs.h <<_ACEOF
-#define ENSC_SYSCALL__NR_vserver $ensc_syscall_tmp_nr
-_ACEOF
-
-       fi
-
-
-
-
-        echo "$as_me:$LINENO: checking for syscall(2) invocation method" >&5
-echo $ECHO_N "checking for syscall(2) invocation method... $ECHO_C" >&6
-
-# Check whether --with-syscall or --without-syscall was given.
-if test "${with_syscall+set}" = set; then
-  withval="$with_syscall"
-
-else
-  with_syscall=auto
-fi;
-        echo "$as_me:$LINENO: result: $with_syscall" >&5
-echo "${ECHO_T}$with_syscall" >&6
-
-        case x"$with_syscall" in
-            (xauto)
-               echo "$as_me:$LINENO: checking which syscall(2) invocation works" >&5
-echo $ECHO_N "checking which syscall(2) invocation works... $ECHO_C" >&6
-if test "${ensc_cv_test_syscall+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-
-                               ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-                               cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-
-#include "$srcdir/lib/syscall-wrap.h"
-#include <errno.h>
-
-#define __NR_foo0      300
-#define __NR_foo1      301
-#define __NR_foo2      302
-#define __NR_foo3      303
-#define __NR_foo4      304
-#define __NR_foo5      305
-inline static _syscall0(int, foo0)
-inline static _syscall1(int, foo1, int, a)
-inline static _syscall2(int, foo2, int, a, int, b)
-inline static _syscall3(int, foo3, int, a, int, b, int, c)
-inline static _syscall4(int, foo4, int, a, int, b, int, c, int, d)
-inline static _syscall5(int, foo5, int, a, int, b, int, c, int, d, int, e)
-
-int main() {
-  return foo0() || \
-        foo1(1) || \
-        foo2(1,2) || \
-         foo3(1,2,3) || \
-         foo4(1,2,3,4) || \
-        foo5(1,2,3,4,5);
-}
-
-_ACEOF
-rm -f conftest.$ac_objext
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
-  (eval $ac_compile) 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-        { ac_try='test -z "$ac_c_werror_flag"
-                        || test ! -s conftest.err'
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-  (eval $ac_try) 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-        { ac_try='test -s conftest.$ac_objext'
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-  (eval $ac_try) 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
-  ensc_cv_test_syscall=fast
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-ensc_cv_test_syscall=traditional
-fi
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
-
-                               ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-echo "$as_me:$LINENO: result: $ensc_cv_test_syscall" >&5
-echo "${ECHO_T}$ensc_cv_test_syscall" >&6
-               with_syscall=$ensc_cv_test_syscall
-               ;;
-            (xfast|xtraditional)
-               ;;
-            *)
-               { { echo "$as_me:$LINENO: error: '$with_syscall' is not a valid value for '--with-syscall'" >&5
-echo "$as_me: error: '$with_syscall' is not a valid value for '--with-syscall'" >&2;}
-   { (exit 1); exit 1; }; }
-               ;;
-        esac
-
-       if test x"$with_syscall $ensc_use_alternative_syscall_macros" = 'xfast yes'; then
-           with_syscall='alternative'
-        fi
-
-        if test x"$with_syscall" = xtraditional; then
-
-cat >>confdefs.h <<\_ACEOF
-#define ENSC_SYSCALL_TRADITIONAL 1
-_ACEOF
-
-        fi
-
-
-
-
-
-
     ac_ext=cc
 ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
 
 
+echo "$as_me:$LINENO: checking for host initscripts" >&5
+echo $ECHO_N "checking for host initscripts... $ECHO_C" >&6
+
+# Check whether --with-initscripts or --without-initscripts was given.
+if test "${with_initscripts+set}" = set; then
+  withval="$with_initscripts"
+
+       case "$withval" in
+       gentoo) ensc_with_init=gentoo;;
+       sysv)   ensc_with_init=sysv;;
+       *)      { { echo "$as_me:$LINENO: error: invalid initscripts value, only gentoo and sysv are supported" >&5
+echo "$as_me: error: invalid initscripts value, only gentoo and sysv are supported" >&2;}
+   { (exit 1); exit 1; }; };;
+       esac
+
+else
+
+       if test -e /etc/gentoo-release; then
+               ensc_with_init=gentoo
+       else
+               ensc_with_init=sysv
+       fi
+
+fi;
+echo "$as_me:$LINENO: result: $ensc_with_init" >&5
+echo "${ECHO_T}$ensc_with_init" >&6
+
+
+if test x"$ensc_with_init" = xgentoo; then
+  HAVE_GENTOO_INIT_TRUE=
+  HAVE_GENTOO_INIT_FALSE='#'
+else
+  HAVE_GENTOO_INIT_TRUE='#'
+  HAVE_GENTOO_INIT_FALSE=
+fi
+
+
+
+if test x"$ensc_with_init" = xsysv; then
+  HAVE_SYSV_INIT_TRUE=
+  HAVE_SYSV_INIT_FALSE='#'
+else
+  HAVE_SYSV_INIT_TRUE='#'
+  HAVE_SYSV_INIT_FALSE=
+fi
+
+
+
 
 cat >>confdefs.h <<\_ACEOF
 #define UTMP_GID 22
@@ -27492,6 +27777,20 @@ if test -z "${ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE}" && test -z "${ENSC_CAN_BEEC
   { { echo "$as_me:$LINENO: error: conditional \"ENSC_CAN_BEECRYPT_WITH_DIETLIBC\" was never defined.
 Usually this means the macro was only invoked conditionally." >&5
 echo "$as_me: error: conditional \"ENSC_CAN_BEECRYPT_WITH_DIETLIBC\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+   { (exit 1); exit 1; }; }
+fi
+if test -z "${HAVE_GENTOO_INIT_TRUE}" && test -z "${HAVE_GENTOO_INIT_FALSE}"; then
+  { { echo "$as_me:$LINENO: error: conditional \"HAVE_GENTOO_INIT\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"HAVE_GENTOO_INIT\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+   { (exit 1); exit 1; }; }
+fi
+if test -z "${HAVE_SYSV_INIT_TRUE}" && test -z "${HAVE_SYSV_INIT_FALSE}"; then
+  { { echo "$as_me:$LINENO: error: conditional \"HAVE_SYSV_INIT\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"HAVE_SYSV_INIT\" was never defined.
 Usually this means the macro was only invoked conditionally." >&2;}
    { (exit 1); exit 1; }; }
 fi
@@ -27793,7 +28092,7 @@ _ASBOX
 } >&5
 cat >&5 <<_CSEOF
 
-This file was extended by util-vserver $as_me 0.30.212, which was
+This file was extended by util-vserver $as_me 0.30.213, which was
 generated by GNU Autoconf 2.59.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -27856,7 +28155,7 @@ _ACEOF
 
 cat >>$CONFIG_STATUS <<_ACEOF
 ac_cs_version="\\
-util-vserver config.status 0.30.212
+util-vserver config.status 0.30.213
 configured by $0, generated by GNU Autoconf 2.59,
   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
@@ -28170,6 +28469,7 @@ s,@LIB_DEBUG_CPPFLAGS@,$LIB_DEBUG_CPPFLAGS,;t t
 s,@ENSC_USE_EXPENSIVE_TESTS@,$ENSC_USE_EXPENSIVE_TESTS,;t t
 s,@initrddir@,$initrddir,;t t
 s,@RELEASE_CPPFLAGS@,$RELEASE_CPPFLAGS,;t t
+s,@CPP@,$CPP,;t t
 s,@DIET@,$DIET,;t t
 s,@DIETFLAGS@,$DIETFLAGS,;t t
 s,@USE_DIETLIBC_TRUE@,$USE_DIETLIBC_TRUE,;t t
@@ -28185,7 +28485,6 @@ s,@AR@,$AR,;t t
 s,@ac_ct_AR@,$ac_ct_AR,;t t
 s,@RANLIB@,$RANLIB,;t t
 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
-s,@CPP@,$CPP,;t t
 s,@CXXCPP@,$CXXCPP,;t t
 s,@F77@,$F77,;t t
 s,@FFLAGS@,$FFLAGS,;t t
@@ -28201,6 +28500,10 @@ s,@ENSC_HAVE_BEECRYPT_TRUE@,$ENSC_HAVE_BEECRYPT_TRUE,;t t
 s,@ENSC_HAVE_BEECRYPT_FALSE@,$ENSC_HAVE_BEECRYPT_FALSE,;t t
 s,@ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE@,$ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE,;t t
 s,@ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE@,$ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE,;t t
+s,@HAVE_GENTOO_INIT_TRUE@,$HAVE_GENTOO_INIT_TRUE,;t t
+s,@HAVE_GENTOO_INIT_FALSE@,$HAVE_GENTOO_INIT_FALSE,;t t
+s,@HAVE_SYSV_INIT_TRUE@,$HAVE_SYSV_INIT_TRUE,;t t
+s,@HAVE_SYSV_INIT_FALSE@,$HAVE_SYSV_INIT_FALSE,;t t
 s,@LIBOBJS@,$LIBOBJS,;t t
 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
 CEOF