Added examples for binding functions and methods
[command.git] / configure.ac
index 2be3fb0fade9c9ec6ea9810d1973bb9c2aa0cc98..b990066154cb468a5fbbe8554b93dce04752e9b7 100644 (file)
@@ -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