X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=util-vserver%2Fconfigure.ac;h=3cafbb8f0f9c3aa538186d16f8ffdfee5a963725;hb=be9d3a848e765cfc4c79802016d664da6200cc15;hp=e68f35c068dc679fe652ee004558bc2a09a3afdd;hpb=1aeef55118bd167003c35d7bf69cbc17206ec3fd;p=util-vserver.git diff --git a/util-vserver/configure.ac b/util-vserver/configure.ac index e68f35c..3cafbb8 100644 --- a/util-vserver/configure.ac +++ b/util-vserver/configure.ac @@ -24,7 +24,7 @@ dnl distribution terms that you use for the rest of that program. dnl AC_PREREQ(2.57) -AC_INIT(util-vserver, 0.28.191, enrico.scholz@informatik.tu-chemnitz.de) +AC_INIT(util-vserver, 0.28.193, enrico.scholz@informatik.tu-chemnitz.de) AC_CONFIG_SRCDIR([src/capchroot.c]) AC_CONFIG_HEADER([config.h]) @@ -40,6 +40,7 @@ dnl AC_PROG_RANLIB AC_PROG_LIBTOOL AM_PROG_CC_C_O ENSC_CXXCOMPILER +ENSC_C99COMPILER check_paths=$PATH:/sbin:/usr/sbin:/usr/local/sbin AC_PATH_PROGS(AWK, [awk], [awk], [ $check_paths ]) @@ -54,6 +55,7 @@ AC_PATH_PROGS(PS, [ps], [/bin/ps], [ $check_paths ]) AC_PATH_PROGS(XSLTPROC, [xsltproc], [xsltproc]) AC_PATH_PROGS(SED, [sed], [sed]) AC_PATH_PROGS(CMP, [cmp], [cmp]) +AC_PATH_PROGS(WGET, [wget], [wget]) ENSC_CHECK_CC_FLAG([-std=c99 -Wall -pedantic -W]) ENSC_CHECK_CXX_FLAG([-ansi -Wall -pedantic -W -fmessage-length=0]) @@ -147,6 +149,7 @@ if test x"$enable_api_olduts" != x; then fi AC_MSG_RESULT([$enable_apis]) +ENSC_SYSCALL ENSC_CHECK_EXT2FS_HEADER AC_CHECK_FUNCS([vserver]) AC_CHECK_DECLS(MS_MOVE,,,[#include ]) @@ -162,3 +165,35 @@ fi AH_BOTTOM([#include "compat.h"]) AC_CONFIG_FILES([util-vserver.spec Makefile distrib/Makefile]) AC_OUTPUT + +ensc_cxx_affected= +ensc_c99_affected= +test x"$ensc_cv_cxx_cxxcompiler" = xyes || ensc_cxx_affected=" (affected: vbuild, vcheck)" +test x"$ensc_cv_c99_c99compiler" = xyes || ensc_c99_affected=" (affected: vunify)" + +AC_MSG_NOTICE([ + +$PACKAGE_STRING + +Features: + CC: $CC, $($CC --version | sed -e '1p;d') + CXX: $CXX, $($CXX --version | sed -e '1p;d') + CPPFLAGS: '$CPPFLAGS' + CFLAGS: '$CFLAGS' + CXXFLAGS: '$CXXFLAGS' + build/host: $build/$host + Use dietlibc: $ensc_have_dietlibc + Build C++ programs: $ensc_cv_cxx_cxxcompiler$ensc_cxx_affected + Build C99 programs: $ensc_cv_c99_c99compiler$ensc_c99_affected + Available APIs: $enable_apis + ext2fs Source: $ensc_cv_test_ext2fs_header + syscall(2) invocation: $with_syscall + +Paths: + prefix: $prefix + sysconf-Directory: $sysconfdir + cfg-Directory: $sysconfdir/vservers + initrd-Directory: $initrddir + Kernelheaders: $kernelincludedir + vserver-Rootdir: $vserverdir +])