838N/A# Process this file with autoconf to produce a configure script.
838N/AAC_CONFIG_AUX_DIR([config])
838N/AAM_INIT_AUTOMAKE([-Wno-portability])
838N/AAC_CHECK_PROG(DOCBOOK, docbook2man, yes, no)
838N/AAM_CONDITIONAL(ENABLE_DOCBOOK, test x$DOCBOOK = xyes)
838N/AAS_AC_EXPAND(PREFIX, $prefix)
838N/AAS_AC_EXPAND(LIBDIR, $libdir)
838N/AAS_AC_EXPAND(BINDIR, $bindir)
838N/AAS_AC_EXPAND(INCLUDEDIR, $includedir)
838N/AAS_AC_EXPAND(LIBEXECDIR, $libexecdir)
838N/AAS_AC_EXPAND(SYSCONFDIR, $sysconfdir)
2091N/AAS_AC_EXPAND(DATADIR, $datadir)
3339N/AAS_AC_EXPAND(LOCALSTATEDIR, $localstatedir)
838N/AAS_AC_EXPAND(LXC_GENERATE_DATE, "$(date)")
838N/A# Some systems lack PR_CAPBSET_DROP definition => HAVE_DECL_PR_CAPBSET_DROP
838N/Aif test "x$GCC" = "xyes"; then
838N/ALXC_MAJOR_VERSION=$(echo $PACKAGE_VERSION | cut -d. -f1)
838N/ALXC_MINOR_VERSION=$(echo $PACKAGE_VERSION | cut -d. -f2)
3418N/ALXC_MICRO_VERSION=$(echo $PACKAGE_VERSION | cut -d. -f3)
3339N/AAC_ARG_WITH([kernel-release],
3339N/A [AC_HELP_STRING([--with-kernel-release=RELEASE],
3339N/A [specify the "uname -r"-value to build for])],
3339N/A [KERNEL_RELEASE="${withval}"],
3339N/A [KERNEL_RELEASE=`uname -r`])
3070N/AAC_ARG_ENABLE(test, [ --enable-test compile test program [default=no]],, enable_test=no)
3070N/AAM_CONDITIONAL(ENABLE_TEST, test x$enable_test = xyes)
1934N/AAC_CONFIG_COMMANDS([default],[[]],[[]])
2091N/Aif test "x$DOCBOOK" = "xno"; then
1337N/AThe docbook tool is not installed, the man pages won't be generated.
3070N/AIf you want the man pages, install docbook and rerun 'configure'.
2091N/Aif test "x$SETCAP" = "xno"; then
2091N/AThe setcap binary was not found. This means the tools to set the
2091N/Aprivilege for the lxc commands are not available, that's ok, but you
2091N/Awill need to run these commands as root or install libcap-2.
2275N/AIf you wish to have a non root user to use the lxc tools,
2275N/Ayou can add the needed capabilities to the tools by invoking
2275N/Athe 'lxc-setcap' script. To remove the capabilities, use