libdice/configure.ac
Florian Stinglmayr 92b909158c add tiny expression library and make it a dice expression parser
Use tiny expression library (from Github) and expand it to provide
dice expression parsing. This needs more testing obviously.
2018-02-17 10:52:46 +01:00

26 lines
494 B
Plaintext

AC_PREREQ([2.69])
AC_INIT([libdice], [0.1], [florian@n0la.org])
AM_INIT_AUTOMAKE([subdir-objects])
LT_INIT()
AC_CONFIG_HEADERS([config.h])
AC_PROG_CC
AC_PROG_LEX
AC_PROG_YACC
PKG_CHECK_MODULES([CMOCKA], [cmocka])
AC_CHECK_HEADER_STDBOOL()
AC_CHECK_FUNCS([arc4random arc4random_uniform strlcat strlcpy],,
[PKG_CHECK_MODULES([BSD], [libbsd])])
AC_CONFIG_FILES([Makefile tests/Makefile])
AC_SEARCH_LIBS([cos], [m], [], [
AC_MSG_ERROR([unable to find the cos() function])
])
AC_OUTPUT