X-Git-Url: https://unix4lyfe.org/gitweb/darkstat-debian/blobdiff_plain/4da209d9116b41ab59eeedc5823bc2cb64b5bc3e..HEAD:/configure.ac diff --git a/configure.ac b/configure.ac index 7af8316..dd237e4 100644 --- a/configure.ac +++ b/configure.ac @@ -1,36 +1,11 @@ # Need at least 2.64 for PACKAGE_URL AC_PREREQ([2.64]) -AC_INIT(darkstat, 3.0.717, , , http://unix4lyfe.org/darkstat/) +AC_INIT(darkstat, 3.0.719, , , https://unix4lyfe.org/darkstat/) AC_CONFIG_SRCDIR([darkstat.c]) AC_CONFIG_HEADER([config.h]) RULE="------------------------------------------------------------" -# Let user specify CHROOT_DIR, or else autodetect it, or else die. -AC_ARG_WITH(chroot-dir, AS_HELP_STRING([--with-chroot-dir], - [specify the chroot directory (default: /var/empty)]), - [if test "x$withval" = "xyes"; then - AC_MSG_ERROR([please specify --with-chroot-dir=/path/to/darkstat/chroot]) - fi - _chd="$withval"], - [# Find an "empty" directory to serve as the chroot. - _chd="/var/empty" - AC_MSG_CHECKING([for $_chd]) - if test -d $_chd ; then - AC_MSG_RESULT(found it) - else - AC_MSG_RESULT(not there) - _chd="/var/lib/empty" - AC_MSG_CHECKING([for $_chd]) - if test -d $_chd ; then - AC_MSG_RESULT(found it) - else - AC_MSG_RESULT(not there either) - AC_MSG_ERROR([please specify --with-chroot-dir=/path/to/darkstat/chroot]) - fi - fi]) -AC_DEFINE_UNQUOTED(CHROOT_DIR, "$_chd", [Default chroot directory.]) - # Allow configure-time override of PRIVDROP_USER. AC_ARG_WITH(privdrop-user, AS_HELP_STRING([--with-privdrop-user], [specify which user to drop privileges to (default: nobody)]), @@ -42,6 +17,9 @@ AC_DEFINE_UNQUOTED(PRIVDROP_USER, "$_pdu", [User to privdrop to.]) AC_PROG_INSTALL AC_PROG_CC +# Compiler's language features. +AC_C_RESTRICT + m4_pattern_allow([^AM_DEFAULT_VERBOSITY$]) AC_ARG_ENABLE([silent-rules], [ --enable-silent-rules less verbose build output (undo: 'make V=1') @@ -131,10 +109,9 @@ $RULE I can't link to zlib. You really can't have a modern operating system without zlib. -If you are using a package-based operating system (like -something with RPMs), see if there is a zlib-devel package -that you can install, to provide the zlib headers and -libraries. +On Debian or a derivative, try: sudo apt-get install zlib1g-dev + +On an RPM system, see if there is a zlib-devel package. $RULE END