dnl configure.ac: this file is processed by autoconf to produce ./configure. dnl dnl $Id: configure.ac,v 1.12 2011/07/09 15:07:48 thommey Exp $ AC_PREREQ(2.59) sinclude(../eggmod.m4) AC_INIT([Eggdrop Compress Module],[1.6.21],[bugs@eggheads.org]) AC_CONFIG_SRCDIR(compress.c) AC_CONFIG_AUX_DIR(../../../misc) AC_COPYRIGHT([Copyright (C) 1999 - 2011 Eggheads Development Team]) AC_REVISION($Revision: 1.12 $) # 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 <