Add tests coverage report generation
[command.git] / configure.ac
1 AC_INIT([Command], [0.3], [bugz@dlugolecki.net.pl], [command], [http://dlugolecki.net.pl/software/command/])
2 AC_PREREQ([2.59])
3 AM_INIT_AUTOMAKE([1.10 -Wall])
4 AC_CONFIG_HEADERS([config.h])
5 AC_PROG_CXX
6 AC_CONFIG_FILES([
7     include/Makefile
8     Makefile
9     tests/Makefile
10     examples/Makefile
11     docs/Makefile
12 ])
13
14 AC_CHECK_PROGS([DOXYGEN], [doxygen])
15 if test -z "$DOXYGEN"; then
16     AC_MSG_WARN([Doxygen not found - continuing without Doxygen support])
17 fi
18
19 AM_CONDITIONAL([HAVE_DOXYGEN], [test -n "$DOXYGEN"])
20 AM_COND_IF([HAVE_DOXYGEN], [AC_CONFIG_FILES([docs/Doxyfile])])
21
22 AC_OUTPUT
23