dnl configure.ac: this file is processed by autoconf to produce ./configure. dnl dnl $Id: configure.ac,v 1.5 2006-03-28 02:35:50 wcc Exp $ AC_PREREQ(2.59) sinclude(../eggmod.m4) AC_INIT([Eggdrop Compress Module],[1.6.18],[bugs@eggheads.org]) AC_CONFIG_SRCDIR(compress.c) AC_CONFIG_AUX_DIR(../../../misc) AC_COPYRIGHT([Copyright (C) 1999 - 2006 Eggheads Development Team]) AC_REVISION($Revision: 1.5 $) # 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 <