# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ([2.65]) AC_INIT AM_INIT_AUTOMAKE([htmltpl], [0.1], [a.ozumenko@gmail.com]) AC_CONFIG_SRCDIR([test/test.c]) AC_CONFIG_HEADERS([config.h]) # Checks for programs. AC_PROG_CC # Add libtool AC_PROG_LIBTOOL # Checks for libraries. # Checks for header files. AC_CHECK_HEADERS([fcntl.h limits.h stdlib.h string.h unistd.h]) # Checks for typedefs, structures, and compiler characteristics. AC_C_INLINE AC_TYPE_OFF_T AC_TYPE_SIZE_T # Checks for library functions. AC_FUNC_MALLOC AC_FUNC_REALLOC AC_CHECK_FUNCS([memset strdup strerror]) AC_CONFIG_FILES([Makefile src/Makefile test/Makefile]) AC_OUTPUT