cellar/configure.ac

33 lines
717 B
Plaintext

AC_INIT([cellar], [0])
AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
AC_CONFIG_MACRO_DIR([m4])
AC_PROG_CXX
AX_CXX_COMPILE_STDCXX_11
AC_PATH_PROG([COG], [cog], [not found])
if test "$COG" == "not found" ; then
AC_PATH_PROG([COGPY], [cog.py], [not found])
if test "$COGPY" == "not found" ; then
AC_MSG_ERROR(["Please install the Cog code generator, probably via "pip install cogapp"])
fi
COG="$COGPY"
AC_SUBST(COG)
fi
AX_CXX_HAVE_SSTREAM
PKG_CHECK_MODULES([TCLAP], [tclap >= 1.2.1])
AX_BOOST_BASE([1.63], , [AC_MSG_ERROR([boost 1.63 required])])
AX_BOOST_SYSTEM
AX_BOOST_FILESYSTEM
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([
Makefile
src/Makefile
])
AC_OUTPUT