mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-18 06:30:14 +08:00
configure.ac: Detect wchar_t using wchar.h header
The wchar_t type is defined in `wchar.h` and if this header is not included by autoconf the detection of the type will fail. This type is required by `unicharset_extractor` to autogenerate the character properties. This problem was detected when running under Fedora 21.
This commit is contained in:
parent
449fc8af29
commit
2517ffefe7
@ -314,7 +314,7 @@ AC_SYS_LARGEFILE
|
||||
# Checks for typedefs, structures, and compiler characteristics.
|
||||
# ----------------------------------------
|
||||
|
||||
AC_CHECK_TYPES(wchar_t)
|
||||
AC_CHECK_TYPES(wchar_t,,,[#include "wchar.h"])
|
||||
AC_CHECK_TYPES(long long int)
|
||||
AC_CHECK_TYPES(mbstate_t,,,[#include "wchar.h"])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user