cellar/configure.ac

30 lines
651 B
Plaintext
Raw Normal View History

2017-03-12 15:43:11 -07:00
AC_INIT([cellar], [0])
AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
2017-03-12 17:13:07 -07:00
AC_CONFIG_MACRO_DIR([m4])
2017-03-12 15:43:11 -07:00
AC_PROG_CXX
2017-03-12 16:05:31 -07:00
AX_CXX_COMPILE_STDCXX_11
2017-03-12 15:43:11 -07:00
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
2017-03-12 17:13:07 -07:00
AX_BOOST_BASE([1.63], , [AC_MSG_ERROR([boost 1.63 required])])
AX_BOOST_SYSTEM
AX_BOOST_FILESYSTEM
2017-03-12 15:43:11 -07:00
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([
Makefile
src/Makefile
])
AC_OUTPUT