Added the missing check for libw needed for wcslen() (Just defines in headers
don't fix such a problem.) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -464,6 +464,13 @@ dnl #######################
|
||||
dnl # check for functions #
|
||||
dnl #######################
|
||||
|
||||
WCHAR_LINK=
|
||||
dnl check for wcslen
|
||||
AC_CHECK_LIB(c,wcslen,,
|
||||
AC_CHECK_LIB(w,wcslen,
|
||||
WCHAR_LINK="-lw" ,AC_MSG_ERROR("Cannot find wcslen function.")))
|
||||
AC_SUBST(WCHAR_LINK)
|
||||
|
||||
dnl check for vprintf/vsprintf() which are GNU extensions
|
||||
AC_FUNC_VPRINTF
|
||||
|
||||
|
Reference in New Issue
Block a user