minor cleanups
[util-vserver.git] / util-vserver / configure.ac
index e68f35c..4535451 100644 (file)
@@ -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])
@@ -162,3 +164,31 @@ 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:
+              CPPFLAGS: '$CPPFLAGS'
+                CFLAGS: '$CFLAGS'
+              CXXFLAGS: '$CXXFLAGS'
+          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
+
+Paths:
+                prefix: $prefix
+     sysconf-Directory: $sysconfdir
+         cfg-Directory: $sysconfdir/vservers
+      initrd-Directory: $initrddir
+         Kernelheaders: $kernelincludedir
+       vserver-Rootdir: $vserverdir
+])