# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ(2.61) AC_INIT(AstSphinx, 0.01, scribblej@scribblej.com) AC_CONFIG_SRCDIR([astsphinx.c]) AC_CONFIG_HEADER([config.h]) AM_INIT_AUTOMAKE # Checks for programs. AC_PROG_CC # Checks for libraries. AC_CHECK_LIB([pocketsphinx], [ps_init]) AC_CHECK_LIB([sphinxbase], [ngram_model_read]) # Checks for header files. AC_HEADER_STDC AC_CHECK_HEADERS([fcntl.h netinet/in.h stdlib.h string.h sys/ioctl.h sys/socket.h]) # Checks for typedefs, structures, and compiler characteristics. AC_C_CONST AC_TYPE_INT32_T # Checks for library functions. AC_FUNC_FORK AC_CHECK_FUNCS([socket strerror]) AC_CONFIG_FILES([Makefile]) AC_OUTPUT