detect -lz and -lbz2 libraries.

This commit is contained in:
steve 2003-02-20 00:49:24 +00:00
parent 3b1cdaa9bf
commit 9e63ed305d
2 changed files with 9 additions and 1 deletions

View File

@ -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.
*

View File

@ -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 <unistd.h>