# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ([wordextract], [0.2], [b0ric.alex@gmail.com]) AC_INIT(wordxtract, 0.2, b0ric.alex@gmail.com) AM_INIT_AUTOMAKE([-Wall -Werror]) AC_CONFIG_SRCDIR([src/dict.h]) AC_CONFIG_HEADER([config.h]) # Checks for programs. AC_PROG_CC AM_PATH_GTK_2_0([2.12.0]) PKG_CHECK_MODULES(GTK, gtk+-2.0,, exit) AC_SUBST(GTK_LIBS) AC_SUBST(GTK_CFLAGS) # Checks for libraries. # Checks for header files. AC_HEADER_STDC AC_CHECK_HEADERS([stdlib.h string.h]) # Checks for typedefs, structures, and compiler characteristics. AC_C_CONST AC_C_INLINE AC_TYPE_MODE_T # Checks for library functions. AC_FUNC_MALLOC AC_FUNC_STAT AC_CHECK_FUNCS([mkdir]) AC_CONFIG_FILES([Makefile src/Makefile]) AC_OUTPUT