Fix HP bustage from bug 112708 by testing for strtok_r in C++ rather than C.

git-svn-id: svn://10.0.0.236/trunk@109450 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dbaron%fas.harvard.edu
2001-12-01 07:16:07 +00:00
parent 7978eda6a0
commit 0090b7de69

View File

@@ -1594,9 +1594,13 @@ dnl ========================================================
AC_PROG_GCC_TRADITIONAL
AC_FUNC_MEMCMP
AC_CHECK_FUNCS(random strerror lchown fchmod snprintf localtime_r statvfs memmove rint)
AC_CHECK_FUNCS(nl_langinfo strtok_r)
AC_CHECK_FUNCS(nl_langinfo)
AC_LANG_CPLUSPLUS
dnl Do the check for strtok_r since HP 10.20 has it in C but not C++.
AC_CHECK_FUNCS(strtok_r)
AC_CACHE_CHECK(
[for gnu_get_libc_version()],
ac_cv_func_gnu_get_libc_version,