| # -*- Autoconf -*- |
| # Process this file with autoconf to produce a configure script. |
| |
| AC_PREREQ([2.61]) |
| AC_INIT([zlib], [1.1.4]) |
| AM_INIT_AUTOMAKE([-Wall foreign dist-bzip2]) |
| |
| # Checks for programs. |
| AC_PROG_CC |
| AC_PROG_LIBTOOL |
| |
| # Checks for libraries. |
| |
| # Checks for header files. |
| AC_HEADER_STDC |
| AC_CHECK_HEADERS([fcntl.h malloc.h stddef.h stdlib.h string.h unistd.h errno.h]) |
| |
| # Checks for typedefs, structures, and compiler characteristics. |
| AC_C_CONST |
| AC_TYPE_OFF_T |
| |
| # Checks for library functions. |
| AC_FUNC_ERROR_AT_LINE |
| AC_FUNC_MMAP |
| AC_FUNC_VPRINTF |
| AC_CHECK_FUNCS([munmap strerror]) |
| |
| AC_CONFIG_HEADERS([config.h]) |
| AC_CONFIG_FILES([Makefile]) |
| AC_OUTPUT |