check for strtok_r() using C++ compiler

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2000-03-13 08:27:44 +00:00
parent 67003d1af8
commit 6098c7f953
2 changed files with 165 additions and 139 deletions

296
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -2321,9 +2321,15 @@ fi
dnl check for uname (POSIX) and gethostname (BSD)
AC_CHECK_FUNCS(uname gethostname, break)
dnl check for MT-safe version of strtok
dnl check for MT-safe version of strtok (on DEC Alpha, it's ok for C compiler
dnl but not for C++ one - hence change language)
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
AC_CHECK_FUNCS(strtok_r)
AC_LANG_RESTORE
dnl check for inet_addr and inet_aton (these may live either in libc, or in
dnl libnsl or libresolv)
INET_LINK=