initialise wide string properly

This commit is contained in:
jez 2007-01-15 17:40:58 +00:00
parent 8a4b5403f7
commit 7ce89d4a24

View file

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