1 dnl @synopsis AC_CXX_HAVE_LSTRING
3 dnl If the compiler can prevent names clashes using namespaces, define
7 dnl @author James Berry
8 dnl @version 2005-02-21
9 dnl @license AllPermissive
11 AC_DEFUN([AC_CXX_HAVE_LSTRING],
12 [AC_CACHE_CHECK([whether the compiler implements L"widestring"],
13 ac_cv_cxx_have_lstring,
18 [[const wchar_t* s=L"wide string";]]),
19 ac_cv_cxx_have_lstring=yes, ac_cv_cxx_have_lstring=no)
22 if test "$ac_cv_cxx_have_lstring" = yes; then
23 AC_DEFINE(HAVE_LSTRING,,[define if the compiler implements L"widestring"])