From d211d8c9c65fbc103594580484a3b7fa0249e160 Mon Sep 17 00:00:00 2001 From: Federico <19206300+quaqo@users.noreply.github.com> Date: Sun, 8 Jan 2023 20:15:45 +0100 Subject: [PATCH] Fix autotools with leptonica >= 1.83 From leptonica 1.83 release notes: * Rename the autotools generated libraries from liblept to libleptonica --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 3b8404b..b38f11e 100644 --- a/configure.ac +++ b/configure.ac @@ -73,7 +73,7 @@ AC_CONFIG_COMMANDS([libtool-rpath-patch], fi], [libtool_patch_use_rpath=$enable_rpath]) -AC_CHECK_LIB([lept], [findFileFormatStream], [], [ +AC_CHECK_LIB([leptonica], [findFileFormatStream], [], [ echo "Error! Leptonica not detected." exit -1 ])