beefed up - mingw has std::wstring, but not wide I/O

This commit is contained in:
jez 2006-12-13 19:19:30 +00:00
parent 35851a0417
commit 8f464e802b

View file

@ -1,8 +1,8 @@
AC_DEFUN([ARABICA_HAS_STD_WSTRING],
[
AC_MSG_CHECKING([for std::wstring support])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <string>]],
[[std::wstring test;]])],
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <iostream>]],
[[std::wcout << std::wstring("test");]])],
[AS_VAR_SET(wchar_t_available, yes)],
[AS_VAR_SET(wchar_t_available, no)])
AC_MSG_RESULT($wchar_t_available)