mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-19 15:03:45 +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
a153a51f39
commit
85c404e582
@ -411,7 +411,7 @@ AC_CHECK_FUNCS([getline])
|
||||
# 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