Skip to content

Commit 2517ffe

Browse files
committed
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.
1 parent 449fc8a commit 2517ffe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ AC_SYS_LARGEFILE
314314
# Checks for typedefs, structures, and compiler characteristics.
315315
# ----------------------------------------
316316

317-
AC_CHECK_TYPES(wchar_t)
317+
AC_CHECK_TYPES(wchar_t,,,[#include "wchar.h"])
318318
AC_CHECK_TYPES(long long int)
319319
AC_CHECK_TYPES(mbstate_t,,,[#include "wchar.h"])
320320

0 commit comments

Comments
 (0)