]> git.saurik.com Git - wxWidgets.git/blobdiff - configure.in
Popup Window now supported in OS/2 (for tipwindows and such associated with toolbars).
[wxWidgets.git] / configure.in
index d15bcf1778a39d33a3de1304bac64854ec8bc01e..a4ddb8cc1f1d045a921caa3eef7467d45fc3883e 100644 (file)
@@ -2781,7 +2781,12 @@ if test "$WCHAR_OK" = 1; then
     dnl libc versions if possible
     AC_CHECK_FUNCS(wcsrtombs)
 else
-    AC_MSG_WARN([Wide character support is unavailable])
+    dnl use built-in wcslen for Darwin (what about other BSD based systems?)
+    if test "$USE_DARWIN" = 1; then
+        AC_DEFINE(wxUSE_WCHAR_T)
+    else
+        AC_MSG_WARN([Wide character support is unavailable])
+    fi
 fi
 
 dnl check for vprintf/vsprintf() which are GNU extensions