dnl configure.ac: this file is processed by autoconf to produce ./configure. dnl dnl $Id: configure.ac,v 1.10 2010/01/03 13:27:41 pseudo Exp $ AC_PREREQ(2.59) sinclude(../eggmod.m4) AC_INIT([Eggdrop Compress Module],[1.6.20],[bugs@eggheads.org]) AC_CONFIG_SRCDIR(compress.c) AC_CONFIG_AUX_DIR(../../../misc) AC_COPYRIGHT([Copyright (C) 1999 - 2010 Eggheads Development Team]) AC_REVISION($Revision: 1.10 $) # Check for gzopen() in -lz. AC_CHECK_LIB(z, gzopen, [ZLIB="-lz"], []) AC_CHECK_HEADER(zlib.h) # Disable the module if either the header file or the library are missing. if test "x${ZLIB}" = "x"; then cat >&2 <&2 <