libdice/configure.ac
Florian Stinglmayr 07e05034fc differentiate libdice flex/bison with prefix "dp"
This allows the library to be linked with other libraries that also
use flex and bison.
2018-05-11 17:02:45 +02:00

28 lines
489 B
Plaintext

AC_PREREQ([2.69])
AC_INIT([libdice], [0.2], [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 >= 1.0.1])
AC_CHECK_HEADER_STDBOOL()
AC_CHECK_FUNCS([arc4random_uniform],,
[PKG_CHECK_MODULES([BSD], [libbsd])])
AC_CONFIG_FILES([Makefile tests/Makefile])
AC_SEARCH_LIBS([sqrt], [m])
AC_SEARCH_LIBS([cos], [m])
PKG_INSTALLDIR
AC_CONFIG_FILES([libdice.pc])
AC_OUTPUT