From 9dabb7ade303364a237f3d57e6f2e26b74c4b9d6 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Thu, 28 Oct 2021 22:14:06 +0200 Subject: [PATCH] Fix automake warning because of redefined DEFAULT_INCLUDES Signed-off-by: Stefan Weil --- Makefile.am | 2 -- configure.ac | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index ed3fa0ca..4323f8fc 100644 --- a/Makefile.am +++ b/Makefile.am @@ -24,8 +24,6 @@ SUBDIRS = src/arch src/ccutil src/viewer src/cutil src/opencl src/ccstruct SUBDIRS += src/dict src/classify src/wordrec src/textord src/lstm SUBDIRS += src/ccmain src/api . tessdata doc unittest -DEFAULT_INCLUDES = - EXTRA_DIST = README.md LICENSE EXTRA_DIST += aclocal.m4 config configure.ac autogen.sh EXTRA_DIST += tesseract.pc.in $(TRAINING_SUBDIR) java doc diff --git a/configure.ac b/configure.ac index 147c3a6d..817c92be 100644 --- a/configure.ac +++ b/configure.ac @@ -24,7 +24,7 @@ AC_CONFIG_SRCDIR([src/api/tesseractmain.cpp]) AC_PREFIX_DEFAULT([/usr/local]) # Automake configuration. Do not require README file (we use README.md). -AM_INIT_AUTOMAKE([foreign subdir-objects]) +AM_INIT_AUTOMAKE([foreign subdir-objects nostdinc]) # Define date of package, etc. Could be useful in auto-generated # documentation.