e43ca2 | 1996-11-15 | Fredrik Hübinette (Hubbe) | | AC_INIT(zlibmod.c)
AC_CONFIG_HEADER(zlib_machine.h)
AC_ARG_WITH(zlib, [ --with(out)-zlib Support gzip compression],[],[with_zlib=yes])
AC_PROG_CC
AC_PROG_RANLIB
AC_SUBST(RANLIB)
|
6265aa | 1997-01-18 | Fredrik Hübinette (Hubbe) | | AC_SUBST_FILE(dependencies)
dependencies=$srcdir/dependencies
AC_SUBST_FILE(module_makefile)
module_makefile=$srcdir/../module_makefile
|
e43ca2 | 1996-11-15 | Fredrik Hübinette (Hubbe) | |
if test x$with_zlib = xyes ; then
AC_CHECK_HEADERS(zlib.h)
if test $ac_cv_header_zlib_h = yes ; then
AC_CHECK_LIB(z, compress, [[LIBS="${LIBS-} -lz"]],
AC_CHECK_LIB(gz, compress))
fi
fi
AC_OUTPUT(Makefile,echo FOO >stamp-h )
|