X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=configure.ac;h=b990066154cb468a5fbbe8554b93dce04752e9b7;hb=refs%2Ftags%2Fv0.3;hp=2be3fb0fade9c9ec6ea9810d1973bb9c2aa0cc98;hpb=dd5fbed80e02dbb68a864fb59723dd106eebe14f;p=command.git diff --git a/configure.ac b/configure.ac index 2be3fb0..b990066 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_INIT([Command], [0.1], [bugz@dlugolecki.net.pl], [command], [http://dlugolecki.net.pl/software/command/]) +AC_INIT([Command], [0.3], [bugz@dlugolecki.net.pl], [command], [http://dlugolecki.net.pl/software/command/]) AC_PREREQ([2.59]) AM_INIT_AUTOMAKE([1.10 -Wall]) AC_CONFIG_HEADERS([config.h]) @@ -7,8 +7,17 @@ AC_CONFIG_FILES([ include/Makefile Makefile tests/Makefile + examples/Makefile + docs/Makefile ]) -# docs/Makefile + +AC_CHECK_PROGS([DOXYGEN], [doxygen]) +if test -z "$DOXYGEN"; then + AC_MSG_WARN([Doxygen not found - continuing without Doxygen support]) +fi + +AM_CONDITIONAL([HAVE_DOXYGEN], [test -n "$DOXYGEN"]) +AM_COND_IF([HAVE_DOXYGEN], [AC_CONFIG_FILES([docs/Doxyfile])]) AC_OUTPUT