# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ(2.60) AC_INIT([hinversi],[0.8.1],[asturio@gmx.net]) AC_CONFIG_AUX_DIR([build-aux]) AC_CONFIG_SRCDIR([lib/othello.c]) AC_CONFIG_HEADER([config.h]) AM_INIT_AUTOMAKE([-Wall -Werror]) # Checks for programs. AC_PROG_LIBTOOL AC_PROG_CXX AC_PROG_CC AC_PROG_CPP AC_PROG_INSTALL AC_PROG_LN_S AC_PROG_MAKE_SET AC_PROG_RANLIB AM_PATH_CHECK([0.8.2], [with_check=yes], [with_check=no]) AM_CONDITIONAL([WITH_CHECK], [test "$with_check" = yes]) # Checks for libraries. # Checks for header files. AC_HEADER_STDC AC_CHECK_HEADERS([float.h libintl.h limits.h locale.h stdlib.h string.h sys/time.h]) # Checks for typedefs, structures, and compiler characteristics. AC_C_CONST AC_C_INLINE AC_TYPE_SIZE_T AC_HEADER_TIME # Checks for library functions. AM_GNU_GETTEXT([external]) AM_GNU_GETTEXT_VERSION([0.15]) AC_FUNC_MALLOC AC_CHECK_FUNCS([gettimeofday memset setlocale]) AC_CONFIG_FILES([Makefile check/Makefile human-cli/Makefile lib/Makefile po/Makefile.in lib/libhinversi.pc doc/Doxyfile doc/Makefile]) AC_OUTPUT