From 676b86be4d7e759fcad7251784006aa92cef4b7f 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 25d413e5..d31d4061 100644 --- a/Makefile.am +++ b/Makefile.am @@ -5,8 +5,6 @@ ACLOCAL_AMFLAGS = -I m4 CLEANFILES = -DEFAULT_INCLUDES = - SUBDIRS = . tessdata EXTRA_DIST = README.md LICENSE diff --git a/configure.ac b/configure.ac index 8332b1d5..cad03f14 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.