* configure.ac: configure scribo directory and generate unit tests.
* bootstrap: generate unit tests for scribo.
---
ChangeLog | 8 ++++++++
bootstrap | 3 +++
configure.ac | 24 ++++++++++++++++++++++++
3 files changed, 35 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index ba9076d..f92aa95 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2009-05-22 Guillaume Lazzara <lazzara(a)lrde.epita.fr>
+
+ Configure scribo directory and generate unit tests.
+
+ * configure.ac: configure scribo directory.
+
+ * bootstrap: generate unit tests for scribo.
+
2009-05-15 Guillaume Lazzara <lazzara(a)lrde.epita.fr>
* configure.ac: configure various test directories.
diff --git a/bootstrap b/bootstrap
index 102faf1..9e8babf 100755
--- a/bootstrap
+++ b/bootstrap
@@ -135,6 +135,9 @@ run milena ./generate_dist_headers.sh
# for the tutorial.
run milena/doc ./generate_dist_files.sh
+# Generate unit test files for Scribo.
+run scribo/tests/unit_test ./build_unit_test.sh `pwd`/scribo
+
# Tell what's going on.
set -x
diff --git a/configure.ac b/configure.ac
index 25fd1b0..e9fe195 100644
--- a/configure.ac
+++ b/configure.ac
@@ -107,6 +107,7 @@ AC_ARG_ENABLE([all],
enable_trimesh=yes
with_swig=yes
enable_swilena=yes
+ enable_scribo=yes
enable_apps=yes
enable_tools=yes
])
@@ -169,6 +170,28 @@ AC_CONFIG_FILES(m4_do([swilena/python/sps-local],
[:swilena/python/sps-local.in]),
[chmod +x swilena/python/sps-local])
+## -------- ##
+## Scribo. ##
+## -------- ##
+
+AM_CONDITIONAL([ENABLE_SCRIBO], [test x$enable_scribo = xyes])
+
+AC_CONFIG_FILES([
+ scribo/Makefile
+ scribo/src/Makefile
+ scribo/src/binarization/Makefile
+])
+
+AC_CONFIG_FILES([scribo/tests/data.hh])
+
+AC_CONFIG_FILES([
+ scribo/tests/Makefile
+ scribo/tests/filter/Makefile
+ scribo/tests/preprocessing/Makefile
+ scribo/tests/table/Makefile
+ scribo/tests/text/Makefile
+])
+
## --------------- ##
## Configuration. ##
@@ -190,6 +213,7 @@ AC_CONFIG_FILES([
milena/mesh/Makefile
])
+
## ------- ##
## Tests. ##
## ------- ##
--
1.5.6.5
Show replies by date