* demo/Makefile.am: Add guards.
---
scribo/ChangeLog | 6 ++++++
scribo/demo/Makefile.am | 8 ++++++--
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/scribo/ChangeLog b/scribo/ChangeLog
index e8fe131..b98f55b 100644
--- a/scribo/ChangeLog
+++ b/scribo/ChangeLog
@@ -1,5 +1,11 @@
2011-11-29 Guillaume Lazzara <z(a)lrde.epita.fr>
+ Do not compile scribo-viewer if Tesseract is not present.
+
+ * demo/Makefile.am: Add guards.
+
+2011-11-29 Guillaume Lazzara <z(a)lrde.epita.fr>
+
Make recognition faster and store recognition confidence.
* scribo/core/line_info.hh,
diff --git a/scribo/demo/Makefile.am b/scribo/demo/Makefile.am
index 328f17e..b5825c9 100644
--- a/scribo/demo/Makefile.am
+++ b/scribo/demo/Makefile.am
@@ -1,5 +1,5 @@
-# Copyright (C) 2009, 2010 EPITA Research and Development Laboratory
-# (LRDE).
+# Copyright (C) 2009, 2010, 2011 EPITA Research and Development
+# Laboratory (LRDE).
#
# This file is part of Olena.
#
@@ -25,8 +25,12 @@ SUBDIRS += review
if HAVE_MAGICKXX
+if HAVE_TESSERACT
+
SUBDIRS += viewer
+endif HAVE_TESSERACT
+
endif HAVE_MAGICKXX
--
1.7.2.5
Show replies by date