Development of the ocr part of AOI
Samo Penic
2019-06-11 5d557801d61beb4970ffc4c62ba81cd0cd76db68
commit | author | age
5d5578 1 #                                               -*- Autoconf -*-
SP 2 # Process this file with autoconf to produce a configure script.
3
4 AC_PREREQ([2.65])
5 AC_INIT([sizif-helpers], [0.2], [samo.penic@gmail.com])
6 AM_INIT_AUTOMAKE
7 AC_CONFIG_SRCDIR([config.h.in])
8 AC_CONFIG_HEADERS([config.h])
9 # Checks for programs.
10 AC_PROG_CC
11 #AC_LANG([C])
12 LT_INIT
13 AC_PROG_LIBTOOL
14 #AM_GNU_GETTEXT_VERSION([0.16])
15 #AM_GNU_GETTEXT([external])
16
17 # Checks for header files.
18 AC_CHECK_HEADERS([stdlib.h string.h leptonica/allheaders.h])
19
20 # Checks for typedefs, structures, and compiler characteristics.
21 AC_C_INLINE
22 AC_TYPE_SIZE_T
23
24
25 # Checks for library functions.
26 AC_SEARCH_LIBS([atan2],[m])
27 AC_SEARCH_LIBS([TIFFOpen],[tiff],, echo 'Install libtiff-dev'; exit 1)
28 AC_SEARCH_LIBS([png_create_info_struct],[png],, echo 'Install libpng-dev'; exit
29 1)
30 AC_SEARCH_LIBS([pixMorphSequence], [lept],, echo 'Install libleptonica-dev'; exit 1)
31 AC_SEARCH_LIBS([gzgets],[z],, echo 'Install zlib1g-dev'; exit 1)
32 AC_DEFINE([NEWLEPT],[],[Use new leptonica])]
33
34 AC_CONFIG_FILES([Makefile
35                 src/Makefile])
36 AC_OUTPUT