AC_PREREQ([2.72]) AC_INIT([obe], [0.0.0], [johnny@johnnyrichard.com]) AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects]) AM_SILENT_RULES([yes]) AC_CONFIG_SRCDIR([src/obe.c]) AC_CONFIG_HEADERS([config.h]) # Checks for programs. AC_PROG_CC AC_PATH_PROG(HELP2MAN, help2man, false // no help2man //) # Checks for libraries. PKG_CHECK_MODULES([CHECK], [check >= 0.9.6], [], AC_MSG_ERROR(['check' is required, but not found])) # Checks for header files. AC_CHECK_HEADERS([stdint.h]) # Checks for typedefs, structures, and compiler characteristics. AC_CHECK_HEADER_STDBOOL AC_C_INLINE AC_TYPE_SIZE_T AC_TYPE_UINT32_T AC_TYPE_UINT8_T # Checks for library functions. AC_FUNC_MALLOC AC_CHECK_FUNCS([strerror]) AC_CONFIG_FILES([Makefile tests/Makefile]) AC_OUTPUT