Added examples for binding functions and methods
[command.git] / configure.ac
index 90d8d73ad7b3ab759b6cfbf530175f64e80bcd9a..b990066154cb468a5fbbe8554b93dce04752e9b7 100644 (file)
@@ -1,14 +1,23 @@
-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])
 AC_PROG_CXX
 AC_CONFIG_FILES([
+    include/Makefile
     Makefile
+    tests/Makefile
+    examples/Makefile
+    docs/Makefile
 ])
-#    include/Makefile
-#    tests/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