From 267734bc34fda70aab2d0ad7fb322e817006dc74 Mon Sep 17 00:00:00 2001 From: Shreeshrii Date: Sat, 19 Aug 2017 19:01:46 +0530 Subject: [PATCH] Changes needed for adding make check for unittest --- Makefile.am | 2 +- configure.ac | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 258cbdd0..3a1342a9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -20,7 +20,7 @@ endif .PHONY: install-langs ScrollView.jar install-jars training SUBDIRS = arch ccutil viewer cutil opencl ccstruct dict classify wordrec textord lstm -SUBDIRS += ccmain api . tessdata doc +SUBDIRS += ccmain api . tessdata doc unittest EXTRA_DIST = README.md\ aclocal.m4 config configure.ac autogen.sh contrib \ diff --git a/configure.ac b/configure.ac index ab4e30ae..ff9fca49 100644 --- a/configure.ac +++ b/configure.ac @@ -66,7 +66,7 @@ AC_SUBST([GENERIC_VERSION]) # ---------------------------------------- # Do not require README file (we use README.md) -AM_INIT_AUTOMAKE([foreign]) +AM_INIT_AUTOMAKE([foreign subdir-objects]) AC_CONFIG_HEADERS([config_auto.h:config/config.h.in]) AM_MAINTAINER_MODE @@ -501,6 +501,7 @@ AC_CONFIG_FILES([tessdata/Makefile]) AC_CONFIG_FILES([tessdata/configs/Makefile]) AC_CONFIG_FILES([tessdata/tessconfigs/Makefile]) AC_CONFIG_FILES([testing/Makefile]) +AC_CONFIG_FILES([unittest/Makefile]) AC_CONFIG_FILES([java/Makefile]) AC_CONFIG_FILES([java/com/Makefile]) AC_CONFIG_FILES([java/com/google/Makefile])