Author: afester
Date: Sat Dec 17 08:52:40 2005
New Revision: 357349

URL: http://svn.apache.org/viewcvs?rev=357349&view=rev
Log:
LOGCXX-92: check for std::wstring instead of wchar_t (std::wstring is necessary 
and includes wchar_t)

Modified:
    logging/log4cxx/trunk/configure.in

Modified: logging/log4cxx/trunk/configure.in
URL: 
http://svn.apache.org/viewcvs/logging/log4cxx/trunk/configure.in?rev=357349&r1=357348&r2=357349&view=diff
==============================================================================
--- logging/log4cxx/trunk/configure.in (original)
+++ logging/log4cxx/trunk/configure.in Sat Dec 17 08:52:40 2005
@@ -357,7 +357,9 @@
 
 #for wchar_t
 AC_MSG_CHECKING([for wchar_t])
-AC_COMPILE_IFELSE(AC_LANG_SOURCE(wchar_t* w;), [have_wchar_t=yes], 
[have_wchar_t=no])
+AC_COMPILE_IFELSE(AC_LANG_SOURCE([[
+           #include <string>
+           std::wstring w;]]), [have_wchar_t=yes], [have_wchar_t=no])
 AC_MSG_RESULT($have_wchar_t)
 
 if test "$have_wchar_t" = "yes"


Reply via email to