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:
Karsten Ballüder 1998-11-25 11:41:56 +00:00
parent f033eb0a6c
commit 35c9d9582b
3 changed files with 327 additions and 162 deletions

478
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -437,6 +437,11 @@ if test "$ac_cv_header_linux_joystick_h" = "yes"; then
fi
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_CPLUSPLUS
AC_CHECK_HEADERS(iostream)

View File

@ -374,6 +374,12 @@
/* Define if you don't have vprintf but do 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. */
#undef HAVE_GETLOADAVG