diff --git a/config.h.in b/config.h.in index 474b75552..9d31e765c 100644 --- a/config.h.in +++ b/config.h.in @@ -19,7 +19,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #if !defined(WINNT) -#ident "$Id: config.h.in,v 1.6 2003/01/10 19:01:04 steve Exp $" +#ident "$Id: config.h.in,v 1.7 2003/02/20 00:49:24 steve Exp $" #endif #if defined(__cplusplus) @@ -43,10 +43,15 @@ # undef HAVE_DL_H # undef HAVE_FCHMOD # undef HAVE_LIBREADLINE +# undef HAVE_LIBZ +# undef HAVE_LIBBZ2 # undef HAVE_SYS_WAIT_H /* * $Log: config.h.in,v $ + * Revision 1.7 2003/02/20 00:49:24 steve + * detect -lz and -lbz2 libraries. + * * Revision 1.6 2003/01/10 19:01:04 steve * Only use libiberty.h if available. * diff --git a/configure.in b/configure.in index d31f8a62b..72e575317 100644 --- a/configure.in +++ b/configure.in @@ -34,6 +34,9 @@ AC_LANG_CPLUSPLUS AC_CHECK_HEADERS(getopt.h malloc.h libiberty.h iosfwd sys/wait.h) +AC_CHECK_LIB(z, gzwrite) +AC_CHECK_LIB(bz2, BZ2_bzdopen) + AC_MSG_CHECKING(for sys/times) AC_TRY_LINK( #include