-
Notifications
You must be signed in to change notification settings - Fork 25
/
configure.ac
37 lines (29 loc) · 866 Bytes
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.61])
AC_INIT([fsmlite], [0.7.5], [tkemmer@computer.org])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_MACRO_DIR([m4])
AC_LANG([C++])
AM_INIT_AUTOMAKE([foreign])
AC_PROG_CXX
AC_PROG_MKDIR_P
AC_PROG_INSTALL
AC_CHECK_PROGS([DOXYGEN], [doxygen], [false])
AC_CHECK_PROGS([SPHINXBUILD], [sphinx-build], [false])
AX_CXXFLAGS_WARN_ALL
AX_CXX_COMPILE_STDCXX_11
AC_ARG_ENABLE([coverage],
AS_HELP_STRING([--enable-coverage], [enable code coverage]),
AS_IF([test "$enableval" = "yes"], [
AX_APPEND_COMPILE_FLAGS([--coverage -O0])
MOSTLYCLEANFILES="*.gcda *.gcno *.gcov $MOSTLYCLEANFILES"
AC_SUBST([MOSTLYCLEANFILES])
])
)
AC_CONFIG_FILES([
Makefile
src/Makefile
tests/Makefile
docs/Makefile
])
AC_OUTPUT