# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ(2.60) AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS) AC_CONFIG_AUX_DIR([config]) AC_CONFIG_SRCDIR([src/luazipfilter.c]) AC_CONFIG_HEADER([src/config.h]) dnl Detect the canonical host and target build environment AC_CANONICAL_HOST AM_INIT_AUTOMAKE # Checks for programs. AC_PROG_CC AC_PROG_LIBTOOL # Checks for libraries. # Checks for header files. AC_HEADER_STDC AC_CHECK_HEADERS([stdlib.h string.h sys/param.h syslog.h unistd.h]) # Checks for typedefs, structures, and compiler characteristics. AC_C_CONST AC_TYPE_SIZE_T # Checks for library functions. AC_FUNC_MALLOC AC_FUNC_VPRINTF AC_CHECK_FUNCS([strchr strncasecmp strndup]) AC_CONFIG_FILES([Makefile]) AC_OUTPUT