Small optimizations on performance and memory.
[genetic.git] / configure.ac
index 28bc56ea307c0666b3362b336202eaaa6171353c..47bcfeb4975c3a0523045b208ae4b431d4ca6c04 100644 (file)
@@ -1,16 +1,22 @@
-AC_INIT([Genetic], [0.1], [bugz@dlugolecki.net.pl], [genetic], [http://dlugolecki.net.pl/software/genetic/])
-AC_CANONICAL_SYSTEM
+AC_INIT([Genetic], [0.2], [bugz@dlugolecki.net.pl], [genetic], [http://dlugolecki.net.pl/software/genetic/])
 AC_PREREQ([2.59])
 AM_INIT_AUTOMAKE([1.10 -Wall])
 AC_CONFIG_HEADERS([config.h])
 AC_PROG_CXX
 AC_CONFIG_FILES([
     Makefile
+    include/Makefile
     tests/Makefile
-    tests/gene/Makefile
-    tests/chromosome/Makefile
-    tests/generation/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