Added test for sprintf and vsnprintf to fix string.cpp for non-GNU systems.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
f033eb0a6c
commit
35c9d9582b
@ -437,6 +437,11 @@ if test "$ac_cv_header_linux_joystick_h" = "yes"; then
|
|||||||
fi
|
fi
|
||||||
AC_SUBST(GTK_JOYSTICK)
|
AC_SUBST(GTK_JOYSTICK)
|
||||||
|
|
||||||
|
dnl check for vprintf/vsprintf() which are GNU extensions
|
||||||
|
AC_FUNC_VPRINTF
|
||||||
|
dnl check for vsnprintf() which is another GNU extension
|
||||||
|
AC_CHECK_FUNC(vsnprintf)
|
||||||
|
|
||||||
AC_LANG_SAVE
|
AC_LANG_SAVE
|
||||||
AC_LANG_CPLUSPLUS
|
AC_LANG_CPLUSPLUS
|
||||||
AC_CHECK_HEADERS(iostream)
|
AC_CHECK_HEADERS(iostream)
|
||||||
|
@ -374,6 +374,12 @@
|
|||||||
/* Define if you don't have vprintf but do have _doprnt. */
|
/* Define if you don't have vprintf but do have _doprnt. */
|
||||||
#undef HAVE_DOPRNT
|
#undef HAVE_DOPRNT
|
||||||
|
|
||||||
|
/* Define if you have vprintf() */
|
||||||
|
#undef HAVE_VPRINTF
|
||||||
|
|
||||||
|
/* Define if you have vsnprintf() */
|
||||||
|
#undef HAVE_VSNPRINTF
|
||||||
|
|
||||||
/* Define if your system has its own `getloadavg' function. */
|
/* Define if your system has its own `getloadavg' function. */
|
||||||
#undef HAVE_GETLOADAVG
|
#undef HAVE_GETLOADAVG
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user